udev-acl No such file or directory

Hello
When I plug in a USB device I get the following error:


 Apr 25 01:38:23 goliath kernel:  1944.328122] usb 2-1.8: USB disconnect, device number 6Apr 25 01:38:23 goliath udevd[5032]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=/dev/hidraw3': No such file or directory
Apr 25 01:38:23 goliath udevd[5033]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=': No such file or directory
Apr 25 01:38:23 goliath udevd[5034]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=': No such file or directory
Apr 25 01:38:23 goliath udevd[5035]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=/dev/bus/usb/002/006': No such file or directory
Apr 25 01:38:27 goliath kernel:  1948.085319] usb 2-1.8: new full-speed USB device number 7 using ehci_hcd
Apr 25 01:38:27 goliath kernel:  1948.171838] usb 2-1.8: New USB device found, idVendor=16c0, idProduct=0483
Apr 25 01:38:27 goliath kernel:  1948.171843] usb 2-1.8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 25 01:38:27 goliath kernel:  1948.171846] usb 2-1.8: Product: USB Serial
Apr 25 01:38:27 goliath kernel:  1948.171848] usb 2-1.8: Manufacturer: Teensyduino
Apr 25 01:38:27 goliath kernel:  1948.171850] usb 2-1.8: SerialNumber: 12345
Apr 25 01:38:27 goliath kernel:  1948.172242] cdc_acm 2-1.8:1.0: This device cannot do calls on its own. It is not a modem.
Apr 25 01:38:27 goliath kernel:  1948.172259] cdc_acm 2-1.8:1.0: ttyACM0: USB ACM device
Apr 25 01:38:27 goliath mtp-probe: checking bus 2, device 7: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8"
Apr 25 01:38:27 goliath mtp-probe: bus: 2, device: 7 was not an MTP device
Apr 25 01:38:27 goliath udevd[5037]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=/dev/bus/usb/002/007': No such file or directory
Apr 25 01:38:27 goliath udevd[5038]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=': No such file or directory
Apr 25 01:38:27 goliath udevd[5039]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=': No such file or directory
Apr 25 01:38:27 goliath udevd[5040]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=/dev/ttyACM0': No such file or directory

Apr 25 01:43:01 goliath kernel:  2222.327573] usb 2-1.8: USB disconnect, device number 7Apr 25 01:43:01 goliath udevd[5086]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=': No such file or directory
Apr 25 01:43:01 goliath udevd[5087]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=/dev/ttyACM0': No such file or directory
Apr 25 01:43:01 goliath udevd[5088]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=': No such file or directory
Apr 25 01:43:01 goliath udevd[5089]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=/dev/bus/usb/002/007': No such file or directory
Apr 25 01:43:09 goliath kernel:  2229.409510] usb 2-1.8: new high-speed USB device number 8 using ehci_hcd
Apr 25 01:43:09 goliath kernel:  2229.495172] usb 2-1.8: New USB device found, idVendor=04e8, idProduct=685c
Apr 25 01:43:09 goliath kernel:  2229.495177] usb 2-1.8: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Apr 25 01:43:09 goliath kernel:  2229.495180] usb 2-1.8: Product: GT-I9300
Apr 25 01:43:09 goliath kernel:  2229.495182] usb 2-1.8: Manufacturer: samsung
Apr 25 01:43:09 goliath kernel:  2229.495184] usb 2-1.8: SerialNumber: 4df1a14324e55f2d
Apr 25 01:43:09 goliath udevd[5090]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=/dev/bus/usb/002/008': No such file or directory
Apr 25 01:43:09 goliath udevd[5098]: failed to execute '/lib/udev/udev-acl' 'udev-acl --action= --device=': No such file or directory

There are no acl files in Suse 12.2 udev package. Whilst here is in the Debian package (Debian – Filelist of package udev/wheezy/amd64).

So is this a bug? Or are they provided by some other package? Or is something else broken that it shouldn’t be looking fro acl when plugging in USB?

Are you running Suse 12.2 or 12.3 and do have udev-acl files?


ls /lib/udev/*acl*
ls /lib/udev/rules.d/*acl*

Regards

I have a file “/lib/udev/rules.d/70-udev-acl.rules”.


-rw-r--r-- 1 root root 2540 Jan 28 23:49 /lib/udev/rules.d/70-udev-acl.rules

I have not noticed any problems with USB. (Running 12.3)

It seems likely that you have an outdated udev rule present for handling your usb device… ACL handling by udev was dropped upstream some time back. (AFAIK, systemd-logind handles ACL now, but I know little about it.)

However, there is a supplementary udev-acl package available if required:

software.opensuse.org:

For 12.2 you had to install udev-acl from software.opensuse.org.

Depending on the device you are trying to connect, you may also need to set DisableSwitching=1 in /etc/usb_modeswitch.conf