Bug 31680

Summary: Нерабочее и ненужное правило udev
Product: Sisyphus Reporter: Evgenii Terechkov <evg>
Component: jmtpfsAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: minor    
Priority: P3    
Version: unstable   
Hardware: all   
OS: Linux   

Description Evgenii Terechkov 2016-01-04 12:56:23 MSK
После установки jmtpfs-0.5-alt1 и подключения USB-устройства в логе постоянная ругань от systemd-udevd (и после отключения устройства):

=8<=========================================================
root@thinkpad ~ #journalctl -b -u systemd-udevd
-- Logs begin at Mon 2014-01-06 11:39:36 KRAT, end at Mon 2016-01-04 16:27:02 KRAT. --
Jan 03 18:12:13 thinkpad.evg-krsk.dyndns.org systemd[1]: Starting udev Kernel Device Manager...
Jan 03 18:12:13 thinkpad.evg-krsk.dyndns.org systemd[1]: Started udev Kernel Device Manager.
Jan 03 18:12:16 thinkpad.evg-krsk.dyndns.org systemd-udevd[1541]: Could not generate persistent MAC address for br0: No such file or directory
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5134]: Process 'udev-acl --action= --device=/dev/bus/usb/002/004' failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5150]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=': No such file or directory
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5134]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5148]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5149]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5134]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5148]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5158]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=': No such file or directory
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5148]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5149]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5134]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5134]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5162]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5163]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5164]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5163]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5163]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 14:28:42 thinkpad.evg-krsk.dyndns.org systemd-udevd[5163]: Process 'udev-acl --action= --device=/dev/bus/usb/002/004' failed with exit code 2.
Jan 04 14:28:43 thinkpad.evg-krsk.dyndns.org systemd-udevd[5177]: Process 'udev-acl --action= --device=/dev/bus/usb/002/005' failed with exit code 2.
Jan 04 14:28:43 thinkpad.evg-krsk.dyndns.org systemd-udevd[5177]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 15:34:09 thinkpad.evg-krsk.dyndns.org systemd-udevd[10353]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 15:34:09 thinkpad.evg-krsk.dyndns.org systemd-udevd[10354]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 15:34:09 thinkpad.evg-krsk.dyndns.org systemd-udevd[10356]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 15:34:09 thinkpad.evg-krsk.dyndns.org systemd-udevd[10354]: Process 'udev-acl --action= --device=/dev/bus/usb/002/005' failed with exit code 2.
Jan 04 15:42:19 thinkpad.evg-krsk.dyndns.org systemd-udevd[10873]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 15:48:11 thinkpad.evg-krsk.dyndns.org systemd-udevd[11247]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 15:48:13 thinkpad.evg-krsk.dyndns.org systemd-udevd[11254]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 15:48:13 thinkpad.evg-krsk.dyndns.org systemd-udevd[11259]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 15:48:16 thinkpad.evg-krsk.dyndns.org systemd-udevd[11264]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 15:48:20 thinkpad.evg-krsk.dyndns.org systemd-udevd[11284]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=': No such file or directory
Jan 04 15:48:20 thinkpad.evg-krsk.dyndns.org systemd-udevd[11281]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 15:49:13 thinkpad.evg-krsk.dyndns.org systemd-udevd[11329]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 15:49:43 thinkpad.evg-krsk.dyndns.org systemd-udevd[11384]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 15:49:47 thinkpad.evg-krsk.dyndns.org systemd-udevd[11394]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 15:50:54 thinkpad.evg-krsk.dyndns.org systemd-udevd[11494]: Process 'udev-acl --action= --device=' failed with exit code 2.
Jan 04 15:50:54 thinkpad.evg-krsk.dyndns.org systemd-udevd[11500]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=': No such file or directory
Jan 04 15:50:57 thinkpad.evg-krsk.dyndns.org systemd-udevd[11517]: Process 'udev-acl --action= --device=' failed with exit code 2.
=8<=========================================================

На работу jmtpfs вроде бы никак не повлияло (но у меня и не ASUS Transformer TF101/Samsung GT).

Насколько я понимаю:

1) udev-acl умер вместе с consolekit, лет пять назад. Сейчас в сизифе такого файл нет.
2) То же самое что должно было делать приложенное правило (51-android.rules) и гораздо больше  и правильнее делает правило из пакета libmtp9 (69-libmtp.rules). Который вытягивается по зависимостям jmtpfs.

Предлагаю не паковать это правило udev.
Comment 1 Michael Shigorin 2016-01-04 14:11:43 MSK
Собирал как раз для Samsung GT (попросили фото вытащить), на системе с sysvinit спама в /var/log/messages не наблюдаю, но в любом разе спасибо; отправил -alt2, у меня тоже работает.
Comment 2 Repository Robot 2016-01-04 14:16:42 MSK
jmtpfs-0.5-alt2 -> sisyphus:

* Mon Jan 04 2016 Michael Shigorin <mike@altlinux> 0.5-alt2
- dropped 51-android.rules on the floor (closes: #31680)