Devuan bug report logs - #500
Package: usbmuxd calls systemd in its udev rules so it will never start in Devuan

Package: usbmuxd; Reported by: Vernon Van Steenkist <vernonjvs@gmail.com>; Keywords: debian; Forwarded to https://bugs.debian.org/966403; Maintainer for usbmuxd is (unknown).

Message received at 500@bugs.devuan.org:


Received: (at 500) by bugs.devuan.org; 31 Jul 2020 03:40:16 +0000
Return-Path: <golinux@devuan.org>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Fri, 31 Jul 2020 03:40:16 +0000 (UTC)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	(Authenticated sender: golinux@devuan.org)
	with ESMTPSA id AE1D7F608A2
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 30 Jul 2020 22:37:57 -0500
From: golinux@devuan.org
To: Vernon Van Steenkist <vernonjvs@gmail.com>, 500@bugs.devuan.org, devuan
 developers internal list <devuan-dev@lists.dyne.org>
Cc: Mark Hindley <mark@hindley.org.uk>
Subject: Re: [devuan-dev] bug#500: bug#500: Package: usbmuxd calls systemd in
 its udev rules so it will never start in Devuan
In-Reply-To: <0f32e1a8-ed43-63f7-26b4-7d87cabc1a87@gmail.com>
References: <2a42584e-91e3-08ed-5276-da5de882ce31@gmail.com>
 <20200729090145.GE3011@hindley.org.uk>
 <aa2e9fda-b4c0-b9c9-2116-4dd99a4cfa86@gmail.com>
 <20200730092211.GI3011@hindley.org.uk>
 <2a42584e-91e3-08ed-5276-da5de882ce31@gmail.com>
 <0f32e1a8-ed43-63f7-26b4-7d87cabc1a87@gmail.com>
X-Priority: 1 (Highest)
Message-ID: <b3e3979b3c9caf5f9005ce811c24ec10@devuan.org>
X-Sender: golinux@devuan.org
User-Agent: Dyne.org Webmail
X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

On 2020-07-30 21:25, Vernon Van Steenkist wrote:
> 
> However, today I found out that there is a friends of devuan wiki and
> I now think that may be a better place. I don't know the relationship
> between friends of devuan and the main devuan project and why I could
> find no link to this wiki on the devuan.org web site. Is there a risk
> that the friends of devuan could become the fiends of devuan :) ?
> 
> What do you think?
> 

All the links to the FoD wiki have been removed because a wiki requires 
hands on and no one has stepped up to do that consistently.  Several 
years ago someone was going to set up a new media wiki format. That 
never happened. Then more recently there was another offer to set up a 
different wiki format but again, nothing materialized.  Sadly, until we 
have a reliable, long-term wiki-whisperer to tend it, I don't see a wiki 
being a viable option.

golinux

Acknowledgement sent to golinux@devuan.org:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#500; Package usbmuxd. Full text available.

Message received at 500@bugs.devuan.org:


Received: (at 500) by bugs.devuan.org; 31 Jul 2020 02:30:12 +0000
Return-Path: <vernonjvs@gmail.com>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Fri, 31 Jul 2020 02:30:12 +0000 (UTC)
Received: from mail-qk1-f194.google.com (mail-qk1-f194.google.com [209.85.222.194])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id A2C65F6088B
	for <500@bugs.devuan.org>; Fri, 31 Jul 2020 04:26:01 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="cEcG+a5z";
	dkim-atps=neutral
Received: by mail-qk1-f194.google.com with SMTP id l6so27562230qkc.6
        for <500@bugs.devuan.org>; Thu, 30 Jul 2020 19:26:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=subject:to:cc:references:from:message-id:date:user-agent
         :mime-version:in-reply-to:content-transfer-encoding:content-language;
        bh=jNpnbXp+ZrrxIE0qNBa579NkgY9FpZwqlHrzFFilvY0=;
        b=cEcG+a5zz9hct8U7Q0m+tTqRawQFXr2YOsUZgrpK8bJNm8f46mUK29ZmHc8fv+wDU6
         9/Mdel30XMePNBVHPI/WEpVSH8iFN9SXgCWCc16FLLsFtvv1p69mBY0ccABFPSzbewDG
         4cWqfrlhwaMPjgj2O+2DSunXVBZYX1x2aOdD42ZBOhQj8l8aBmMM2yLCVXS0ZvZt30qA
         HzbPadrLZvYcaXm6/cpaYadCekv7OqHSFnVpU48j4E7xQdr5QTcFrpe17klfsOjDFxk2
         D0D9ueg/5brwmGtY0VfOKPddRl7qKuVjBjO/GCjeDm8Ui3exc2RWtZmH6qa7rURnuJ1s
         6Cvw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:to:cc:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-transfer-encoding
         :content-language;
        bh=jNpnbXp+ZrrxIE0qNBa579NkgY9FpZwqlHrzFFilvY0=;
        b=QPArJSjj5jKBu2TOPKcDf2j8X28w0+xHqJuq9wRRN2BNwPFgFExM+TqdibVTJK7yjz
         /JDHvcvaH/v0AbvzeB9wLWQTHEykSj/YHY8jF3WuNnMKZr2gdKw27HabiAlo2ofFIho+
         tearo3bptmr3kdKVOr2NOcv74HXZnZ+A8Kjrr4Qm876ZN6MvAE43ygmfxUy4IoRzoMky
         5O20Brp1WDh9RBOO8HquP5NXWOXSPAevoCTz3tPmjpjEG4yNAyYYtPwrBl0MlDMiJ7Vq
         hMQwANzHzC8U/RPxU/oltL826AfIm7iM1XM8iPnUF3baX/2V0t1gjA1d6BaAKBsr8r6L
         rA6A==
X-Gm-Message-State: AOAM531ozUcYPRvgauhRxp5ITjiAK9NX1R3SG7XYz15nLN/0wm+D92pK
	1vu9s7F+11UKcL+SjS46AehMzMX7g6U=
X-Google-Smtp-Source: ABdhPJyz6pOUVmfm280S08hLQkq18RrrcTryt4LikiNmrrOcR9qEdnIhKrKgvRf1tkJ1v/Cg7RX3RQ==
X-Received: by 2002:ae9:e318:: with SMTP id v24mr2049181qkf.500.1596162359541;
        Thu, 30 Jul 2020 19:25:59 -0700 (PDT)
Received: from [192.168.0.17] (rrcs-72-43-221-6.nys.biz.rr.com. [72.43.221.6])
        by smtp.gmail.com with ESMTPSA id f4sm6490190qtp.38.2020.07.30.19.25.58
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Thu, 30 Jul 2020 19:25:59 -0700 (PDT)
Subject: Re: [devuan-dev] bug#500: Package: usbmuxd calls systemd in its udev
 rules so it will never start in Devuan
To: Mark Hindley <mark@hindley.org.uk>
Cc: 500@bugs.devuan.org
References: <2a42584e-91e3-08ed-5276-da5de882ce31@gmail.com>
 <20200729090145.GE3011@hindley.org.uk>
 <aa2e9fda-b4c0-b9c9-2116-4dd99a4cfa86@gmail.com>
 <20200730092211.GI3011@hindley.org.uk>
From: Vernon Van Steenkist <vernonjvs@gmail.com>
X-Priority: 1 (Highest)
Message-ID: <0f32e1a8-ed43-63f7-26b4-7d87cabc1a87@gmail.com>
Date: Thu, 30 Jul 2020 22:25:51 -0400
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <20200730092211.GI3011@hindley.org.uk>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,
	RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Mark,

On 7/30/20 5:22 AM, Mark Hindley wrote:
[...|
> I agree that the current actions of some Debian maintainers in actively removing
> non-systemd functionality is very unhelpful. My personal opinion is that by
> accepting such actions unchallenged we risk them increasing on a 'nobody noticed
> or complained so nobody cares' basis. If the current trickle increases
> substantially, Devuan's limited person-power could easily be overstretched.

Agree. Especially considering Devuan's limited person-power. However, 
these Devuan Beowulf systemd dependency issues are accumulating as well 
- NetworkManager, PulseAudio to name a few. A quick grep -li systemd 
/lib/udev/rules.d/* indicates there may be others.

I think it would be helpful to have some central place where all Devuan 
systemd dependencies and their workarounds are stored. Currently, the 
workarounds are scattered around different posts in the Devuan forum 
making them non-trivial to find. Initially, I though it would be a good 
idea to create a new Devuan forum category to hold these Devuan systemd 
dependency workaround.

However, today I found out that there is a friends of devuan wiki and I 
now think that may be a better place. I don't know the relationship 
between friends of devuan and the main devuan project and why I could 
find no link to this wiki on the devuan.org web site. Is there a risk 
that the friends of devuan could become the fiends of devuan :) ?

What do you think?

> So I think that a bug that can be demonstrated on a non-systemd PID1 Debian
> system shold be fixed in Debian.  I accept that maybe easier said than done: I
> have a number of Debian bugs open that are being ignored and I realise how
> frustrating it is.
>
> My suggestion is to retitle your Debian bug #966403 to mention non-systemd PID1
> rather than Devuan and add a patch (and patch tag) to reintroduce legacy udev
> support. And then be persistent until you get a response.
>
> How do you feel about that?


I agree and have changed the title and added additional clarification.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966403

I am all new to this and don't know the best way to pester Debian 
developers. Any thoughts are appreciated.


Thanks for all your responses.

Vernon


Acknowledgement sent to Vernon Van Steenkist <vernonjvs@gmail.com>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#500; Package usbmuxd. Full text available.
Set bug forwarded-to-address to 'https://bugs.debian.org/966403'. Request was from Mark Hindley <mark@hindley.org.uk> to 500-submit@bugs.devuan.org. Full text available.
Added tag(s) debian. Request was from Mark Hindley <mark@hindley.org.uk> to 500-submit@bugs.devuan.org. Full text available.

Message received at 500@bugs.devuan.org:


Received: (at 500) by bugs.devuan.org; 30 Jul 2020 09:30:12 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Thu, 30 Jul 2020 09:30:11 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 3DD1FF608FA
	for <500@bugs.devuan.org>; Thu, 30 Jul 2020 11:22:20 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1k14lQ-0001XH-4r; Thu, 30 Jul 2020 10:22:12 +0100
Received: (nullmailer pid 5525 invoked by uid 1000);
	Thu, 30 Jul 2020 09:22:11 -0000
Date: Thu, 30 Jul 2020 10:22:11 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Vernon Van Steenkist <vernonjvs@gmail.com>
Cc: 500@bugs.devuan.org
Subject: Re: [devuan-dev] bug#500: Package: usbmuxd calls systemd in its udev
 rules so it will never start in Devuan
Message-ID: <20200730092211.GI3011@hindley.org.uk>
References: <2a42584e-91e3-08ed-5276-da5de882ce31@gmail.com>
 <20200729090145.GE3011@hindley.org.uk>
 <aa2e9fda-b4c0-b9c9-2116-4dd99a4cfa86@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <aa2e9fda-b4c0-b9c9-2116-4dd99a4cfa86@gmail.com>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 debian
Control: forwarded -1 https://bugs.debian.org/966403

Vernon,

Thanks for this information which is very helpful.
 
> It appears that not having sysvinit support in usbmuxd.rules is not a bug
> but an intended feature.

I would phrase this another way: it is a conscious decision, but it is still a
bug. Non-systemd PID1 is still possible in Debian and so this behaviour will be
evident on such a system.

[…]

> I tested the above usbmuxd.rules file on my non-systemd Devuan and my
> systemd Ubuntu 18.04 machine (I don't have any pure Debian machines) and the
> above usbmuxd.rules worked on both machines (started usbmuxd when I
> connected my iphone). Therefore, it is unclear to me why Debian removed
> sysvinit usbmuxd.rules support in the next release of Debian
> (usbmuxd_1.1.0-2+b2_i386.deb).  I find the CHANGELOG cryptic and I can't
> make heads or tails of it.

I agree, it isn't really mentioned at all.
 
> So, Debian removing sysvinit support from Debian package usbmuxd which
> supported both systemd and sysvinit is not a bug but a feature.

A conscious decision, but still a bug on some Debian systems.

> > If so, this patch should go to Debian as this bug will also be present on a
> > Debian system that is not running systemd as PID1.
> 
> Actually, I already (accidentally :) ) sent a bug report to Debian regarding
> this a few days ago. However, based on the Debian usbmuxd package history of
> purposefully removing sysvinit support from a usbmuxd.package that supported
> both systemd and sysvinit, it appears that Debian is willfully moving away
> from supporting sysvinit. Therefore I don't expect a response from Debian.
> 
> How would you like me to proceed?

I agree that the current actions of some Debian maintainers in actively removing
non-systemd functionality is very unhelpful. My personal opinion is that by
accepting such actions unchallenged we risk them increasing on a 'nobody noticed
or complained so nobody cares' basis. If the current trickle increases
substantially, Devuan's limited person-power could easily be overstretched.

So I think that a bug that can be demonstrated on a non-systemd PID1 Debian
system shold be fixed in Debian.  I accept that maybe easier said than done: I
have a number of Debian bugs open that are being ignored and I realise how
frustrating it is.

My suggestion is to retitle your Debian bug #966403 to mention non-systemd PID1
rather than Devuan and add a patch (and patch tag) to reintroduce legacy udev
support. And then be persistent until you get a response.

How do you feel about that?

Best wishes

Mark




Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#500; Package usbmuxd. Full text available.

Message received at 500@bugs.devuan.org:


Received: (at 500) by bugs.devuan.org; 29 Jul 2020 09:10:07 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Wed, 29 Jul 2020 09:10:07 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 47156F60999
	for <500@bugs.devuan.org>; Wed, 29 Jul 2020 11:01:50 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1k0hy6-0001cF-2Q; Wed, 29 Jul 2020 10:01:47 +0100
Received: (nullmailer pid 10621 invoked by uid 1000);
	Wed, 29 Jul 2020 09:01:45 -0000
Date: Wed, 29 Jul 2020 10:01:45 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Vernon Van Steenkist <vernonjvs@gmail.com>, 500@bugs.devuan.org
Subject: Re: [devuan-dev] bug#500: Package: usbmuxd calls systemd in its udev
 rules so it will never start in Devuan
Message-ID: <20200729090145.GE3011@hindley.org.uk>
References: <2a42584e-91e3-08ed-5276-da5de882ce31@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <2a42584e-91e3-08ed-5276-da5de882ce31@gmail.com>
X-Debbugs-No-Ack: No Thanks
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Vernon,

[Congratulations on submitting the 500th Devuan bug! ;)]

On Tue, Jul 28, 2020 at 10:50:58PM -0400, Vernon Van Steenkist wrote:
> Package: usbmuxd
> Version: 1.1.1~git20181007.f838cf6-1 i386
> 
> Beowulf usbmuxd is maintained by Debian. A Devuan usbmuxd package probably
> should be created because the Debian version references systemd in its udev
> rules so usbmuxd will never start under Devuan.

Thanks for this.

[...]

> Suggested /lib/udev/rules.d/85-usbmuxd.rules for a new Devuan usbmuxd
> package.
> 
> 
> # usbmuxd ("Apple Mobile Device" muxer listening on /var/run/usbmuxd)
> 
> # Forces iDevices to the last USB configuration and runs usbmuxd
> ACTION=="add", SUBSYSTEM=="usb", OWNER="usbmux", ATTR{idVendor}=="05ac",
> ATTR{idProduct}=="12[9a][0-9a-f]", ENV{USBMUX_SUPPORTED}="1",
> ATTR{bConfigurationValue}!="$attr{bNumConfigurations}",
> ATTR{bConfigurationValue}="$attr{bNumConfigurations}", OWNER="usbmux",
> RUN+="/usr/sbin/usbmuxd -u -U usbmux"

I am certainly not an expert on udev rules.

Do you know if/how this can be made to sit alongside the existing systemd rules
without conflicting? i.e only use this rule if systemd is not installed
available?

If so, this patch should go to Debian as this bug will also be present on a
Debian system that is not running systemd as PID1.

Thanks

Mark

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#500; Package usbmuxd. Full text available.

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 29 Jul 2020 03:00:06 +0000
Return-Path: <vernonjvs@gmail.com>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Wed, 29 Jul 2020 03:00:06 +0000 (UTC)
Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id EB677F609D3
	for <submit@bugs.devuan.org>; Wed, 29 Jul 2020 04:51:04 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="KMALD/ok";
	dkim-atps=neutral
Received: by mail-qt1-f172.google.com with SMTP id s16so16584654qtn.7
        for <submit@bugs.devuan.org>; Tue, 28 Jul 2020 19:51:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=from:subject:to:message-id:date:user-agent:mime-version
         :content-transfer-encoding:content-language;
        bh=0K1/Fn7gJS0WRVrSEedgBBHxYmtgfMyHgVac58KHHSo=;
        b=KMALD/okRzYUN0n7+oihkadwuYOeGb/6xJEU3TCCG4NL7PukJEtEtfn7fPXumsjH1i
         fLAHO7kAQbCwbPTjNvsYRUq8eCgrLAaTK1OVKBg1tckusoJ42jT91VsYVz9LTi5J6lFP
         tW1w2eXEop9NhgVIXV+pKLE8sc1CYyY95GzJqzZUlW7vZ49A1YebxgGT7afKedJvy2MC
         2b64a74kwt7OEELPTGmvyGBQ7ZJMuJo6D+4VtGGk3Dyq2eMVqOWWmf3J4rCWIiu4gp9b
         2wQbgF2kxWMjlJOhfaXvL9I5pLx64b8QsVV/4LKv2BxcAFX/9U9g1RGM0UmSjlSUMxr9
         IKRw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:from:subject:to:message-id:date:user-agent
         :mime-version:content-transfer-encoding:content-language;
        bh=0K1/Fn7gJS0WRVrSEedgBBHxYmtgfMyHgVac58KHHSo=;
        b=ix0ewtsKjR1szeYH3jvqcHgs8Ma0EgWBQ6oM2ZOUjwNS1BSSHt6AFsKpxrDxBwHHrQ
         w5g7T17rJhnS4Nm5s8RdXtD8oHK91Sxg6LtUKJIDJomZ1ilUMNmWPNDkceG+2Jcw3oru
         QZND5dL43Um2fSSolhZ8l2PCFddNt/I1KWDCyIR6L2TYmTr3KLxa8xtewyOfmT77eRzI
         c0BWma2naAImSucNU2RoiUCdgAHrbxx7LMX4W2ZeVEZF0o9VREwPoqyrmfscZ8YQeXhE
         VGKySLufsnS57Q5bSD60zp1geRCT/WEGaef3lmg5lDp6e761f4NTispx8sbUwWyLotg0
         LIFQ==
X-Gm-Message-State: AOAM530vm1jvWaM90wANRrynWnelnH3ZQZTe+FspplvcvgnQR4zt89FG
	WIckGc4CFi5tP/brB8kB2kd4do9sjh8=
X-Google-Smtp-Source: ABdhPJzhgUXsjBYJqCGJJYJO/kW+qcarvt05bFFwpKYdVVkJYMSgwNsBO2rXoreeajL7qJkAYuv3Dw==
X-Received: by 2002:ac8:7b94:: with SMTP id p20mr15496553qtu.312.1595991062348;
        Tue, 28 Jul 2020 19:51:02 -0700 (PDT)
Received: from [192.168.0.32] (rrcs-72-43-221-6.nys.biz.rr.com. [72.43.221.6])
        by smtp.gmail.com with ESMTPSA id x28sm509949qki.55.2020.07.28.19.50.58
        for <submit@bugs.devuan.org>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Tue, 28 Jul 2020 19:50:59 -0700 (PDT)
From: Vernon Van Steenkist <vernonjvs@gmail.com>
Subject: Package: usbmuxd calls systemd in its udev rules so it will never
 start in Devuan
To: submit@bugs.devuan.org
Message-ID: <2a42584e-91e3-08ed-5276-da5de882ce31@gmail.com>
Date: Tue, 28 Jul 2020 22:50:58 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,
	RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: usbmuxd
Version: 1.1.1~git20181007.f838cf6-1 i386

Beowulf usbmuxd is maintained by Debian. A Devuan usbmuxd package 
probably should be created because the Debian version references systemd 
in its udev rules so usbmuxd will never start under Devuan.

Debian usbmuxd /lib/udev/rules.d/39-usbmuxd.rules file contents


# systemd should receive all events relating to device
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", 
ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*", TAG+="systemd"

# Initialize iOS devices into "deactivated" USB configuration state and 
activate usbmuxd
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", 
ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*", ACTION=="add", 
ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}="0", 
OWNER="usbmux", ENV{SYSTEMD_WANTS}="usbmuxd.service"

# Make sure properties don't get lost when bind action is called
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", 
ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*", ACTION=="bind", 
ENV{USBMUX_SUPPORTED}="1", OWNER="usbmux", 
ENV{SYSTEMD_WANTS}="usbmuxd.service"

# Exit usbmuxd when the last device is removed
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", 
ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*", ACTION=="remove", 
RUN+="/usr/sbin/usbmuxd -x"


Suggested /lib/udev/rules.d/85-usbmuxd.rules for a  new Devuan usbmuxd 
package.


# usbmuxd ("Apple Mobile Device" muxer listening on /var/run/usbmuxd)

# Forces iDevices to the last USB configuration and runs usbmuxd
ACTION=="add", SUBSYSTEM=="usb", OWNER="usbmux", ATTR{idVendor}=="05ac", 
ATTR{idProduct}=="12[9a][0-9a-f]", ENV{USBMUX_SUPPORTED}="1", 
ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", 
ATTR{bConfigurationValue}="$attr{bNumConfigurations}", OWNER="usbmux", 
RUN+="/usr/sbin/usbmuxd -u -U usbmux"

# Exit usbmuxd when the last device is removed
ACTION=="remove", SUBSYSTEM=="usb", 
ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*", ENV{INTERFACE}=="255/*", 
RUN+="/usr/sbin/usbmuxd -x"

Please don't hesitate to contact me if you have any questions.

Thanks,
Vernon




Acknowledgement sent to Vernon Van Steenkist <vernonjvs@gmail.com>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org.

Your message had a Version: pseudo-header with an invalid package version:

1.1.1~git20181007.f838cf6-1 i386

please either use found or fixed to the control server with a correct version, or reply to this report indicating the correct version so the maintainer (or someone else) can correct it for you.

Full text available.


Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#500; Package usbmuxd. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sun, 22 May 2022 10:39:01 UTC