New comment by austinrojers on void-packages repository
https://github.com/void-linux/void-packages/issues/34458#issuecomment-992071490
Comment:
**I think we have found the culprit:**
```
GNU nano 5.9 /usr/lib/udev/rules.d/39-usbmuxd.rules
# usbmuxd (Apple Mobile Device Muxer listening on /var/run/usbmuxd)
# systemd should receive all events relating to device
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*|5ac/8600/*", 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]/*|5ac/8600/*", ACTION=="add", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}="0", OWNER="usbmux", RUN+="/usr/bin/usbmuxd --user usbmux --udev"
# 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]/*|5ac/8600/*", ACTION=="bind", ENV{USBMUX_SUPPORTED}="1", OWNER="usbmux", RUN+="/usr/bin/usbmuxd --user usbmux --udev"
# Exit usbmuxd when the last device is removed
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*|5ac/8600/*", ACTION=="remove", RUN+="/usr/bin/usbmuxd -x"
```
Isn't it a bug in the package? There is _systemd_ mentioned here?😕
```
❯ sudo grep -r -i "usbmux" /etc
/etc/sv/usbmuxd/run:exec usbmuxd -f -u
/etc/passwd-:usbmux:x:986:983:usbmux unprivileged user:/var/lib/lockdown:/sbin/nologin
/etc/shadow-:usbmux:!:18964::::::
/etc/group:usbmux:x:983:
/etc/gshadow:usbmux:!::
/etc/passwd:usbmux:x:986:983:usbmux unprivileged user:/var/lib/lockdown:/sbin/nologin
/etc/shadow:usbmux:!:18964::::::
grep: /etc/ld.so.cache: binary file matches
❯ sudo grep -r -i "usbmux" /usr/share
grep: /usr/share/locale/as/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ast/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/be/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/bg/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/bn/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/bn_IN/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/bs/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ca/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ca@valencia/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/cs/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/da/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/de/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/el/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/en_GB/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/es/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/et/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/eu/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/fi/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/fr/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/fur/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/gl/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/gu/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/he/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/hi/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/hr/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/hu/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/id/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/it/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ja/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/kk/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/kn/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ko/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/lt/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/lv/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/mk/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ml/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/mr/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ms/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/nb/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/nl/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/nn/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/oc/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/or/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/pa/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/pl/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/pt/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/pt_BR/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ro/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ru/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/sk/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/sl/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/sr/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/sr@latin/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/sv/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ta/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/te/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/th/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/tr/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ug/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/uk/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/vi/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/zh_CN/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/zh_HK/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/zh_TW/LC_MESSAGES/gvfs.mo: binary file matches
/usr/share/man/man1/idevicepair.1:idevicepair \- Manage host pairings with devices and usbmuxd.
/usr/share/man/man1/idevicepair.1:Manage host pairings with devices and usbmuxd.
/usr/share/man/man1/idevicepair.1:print the system buid of the usbmuxd host.
/usr/share/man/man1/inetcat.1:inetcat \- Opens a read/write interface via STDIN/STDOUT to a TCP port on a usbmux device
/usr/share/man/man1/inetcat.1:interface to a TCP port on a usbmux device and exposing it via STDIN/STDOUT.
/usr/share/man/man1/inetcat.1:https://github.com/libimobiledevice/libusbmuxd
/usr/share/man/man1/iproxy.1:iproxy \- A proxy that binds local TCP ports to be forwarded to the specified ports on a usbmux device
/usr/share/man/man1/iproxy.1:the local ports will be forwarded to the specified port (or ports) on a usbmux
/usr/share/man/man1/iproxy.1:https://github.com/libimobiledevice/libusbmuxd
/usr/share/man/man8/usbmuxd.8:.TH "usbmuxd" 8
/usr/share/man/man8/usbmuxd.8:usbmuxd \- Expose a socket to multiplex connections from and to iOS devices.
/usr/share/man/man8/usbmuxd.8:.B usbmuxd
/usr/share/man/man8/usbmuxd.8:usbmuxd stands for "USB multiplexing daemon". This daemon is in charge of
/usr/share/man/man8/usbmuxd.8:means you can connect to any listening localhost socket on the device. usbmuxd
/usr/share/man/man8/usbmuxd.8:When usbmuxd is running (normally started, or stopped as a result of "udev"
/usr/share/man/man8/usbmuxd.8:"/var/run/usbmuxd" that is designed to be compatible with the socket interface
/usr/share/man/man8/usbmuxd.8:You should also create a "usbmux" user that has access to USB devices on your
/usr/share/man/man8/usbmuxd.8:The first usbmuxd daemon implementation was authored by Hector Martin.
/usr/share/man/man8/usbmuxd.8:https://github.com/libimobiledevice/usbmuxd
grep: /usr/share/man/mandoc.db: binary file matches
❯ sudo grep -r -i "usbmux" /var
/var/db/xbps/.libusbmuxd-files.plist: /usr/lib/libusbmuxd-2.0.so.6.0.0
/var/db/xbps/.libusbmuxd-files.plist: /usr/lib/libusbmuxd-2.0.so.6
/var/db/xbps/.libusbmuxd-files.plist: /usr/lib/libusbmuxd-2.0.so.6.0.0
/var/db/xbps/.usbmuxd-files.plist: /etc/sv/usbmuxd
/var/db/xbps/.usbmuxd-files.plist: /etc/sv/usbmuxd/run
/var/db/xbps/.usbmuxd-files.plist: /usr/bin/usbmuxd
**/var/db/xbps/.usbmuxd-files.plist: /usr/lib/udev/rules.d/39-usbmuxd.rules**
/var/db/xbps/.usbmuxd-files.plist: /usr/share/man/man8/usbmuxd.8
/var/db/xbps/.usbmuxd-files.plist: /etc/sv/usbmuxd/supervise
/var/db/xbps/.usbmuxd-files.plist: /run/runit/supervise.usbmuxd
/var/db/xbps/.libusbmuxd-devel-files.plist: /usr/include/usbmuxd-proto.h
/var/db/xbps/.libusbmuxd-devel-files.plist: /usr/include/usbmuxd.h
/var/db/xbps/.libusbmuxd-devel-files.plist: /usr/lib/libusbmuxd-2.0.a
/var/db/xbps/.libusbmuxd-devel-files.plist: /usr/lib/pkgconfig/libusbmuxd-2.0.pc
/var/db/xbps/.libusbmuxd-devel-files.plist: /usr/lib/libusbmuxd-2.0.so
/var/db/xbps/.libusbmuxd-devel-files.plist: /usr/lib/libusbmuxd-2.0.so.6.0.0
/var/db/xbps/pkgdb-0.38.plist: usbmuxd>=0
/var/db/xbps/pkgdb-0.38.plist: libusbmuxd>=2.0.2_1
/var/db/xbps/pkgdb-0.38.plist: libusbmuxd-2.0.so.6
/var/db/xbps/pkgdb-0.38.plist: libusbmuxd-devel>=0
/var/db/xbps/pkgdb-0.38.plist: libusbmuxd
/var/db/xbps/pkgdb-0.38.plist: https://raw.githubusercontent.com/libimobiledevice/libusbmuxd/master/NEWS
/var/db/xbps/pkgdb-0.38.plist: libusbmuxd
/var/db/xbps/pkgdb-0.38.plist: libusbmuxd-2.0.2_1
/var/db/xbps/pkgdb-0.38.plist: libusbmuxd-2.0.so.6
/var/db/xbps/pkgdb-0.38.plist: libusbmuxd:a9b46a6be5
/var/db/xbps/pkgdb-0.38.plist: libusbmuxd-devel
/var/db/xbps/pkgdb-0.38.plist: https://raw.githubusercontent.com/libimobiledevice/libusbmuxd/master/NEWS
/var/db/xbps/pkgdb-0.38.plist: libusbmuxd-devel
/var/db/xbps/pkgdb-0.38.plist: libusbmuxd-devel-2.0.2_1
/var/db/xbps/pkgdb-0.38.plist: libusbmuxd>=2.0.2_1
/var/db/xbps/pkgdb-0.38.plist: libusbmuxd:a9b46a6be5
/var/db/xbps/pkgdb-0.38.plist: usbmuxd
/var/db/xbps/pkgdb-0.38.plist: https://raw.githubusercontent.com/libimobiledevice/usbmuxd/master/NEWS
/var/db/xbps/pkgdb-0.38.plist: usbmuxd
/var/db/xbps/pkgdb-0.38.plist: usbmuxd-1.1.1_1
/var/db/xbps/pkgdb-0.38.plist: usbmuxd:a9b46a6be5
grep: /var/lib/flatpak/repo/objects/15/cbe551ff21067376994f3c2840913004a37734dd5b06e459a0d6eab97b02a1.file: binary file matches
```