Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

udev: downgrade message when we cannot apply ACLs on a device due to EOENT #875

Closed
dunca opened this issue Aug 5, 2015 · 6 comments
Closed

Comments

@dunca
Copy link

dunca commented Aug 5, 2015

Hello

I'm getting errors like:
systemd-udevd[XXX]: Failed to apply ACL on /dev/bus/usb/003/004: No such file or directory
when suspending/resuming.

It only seems to happen on 224, no problems on 223, 222

Arch, Kernel 4.1.4

@poettering
Copy link
Member

Any idea what device this is on USB bus 3, device 4?

Most likely this is simply a race, where a usb device pops up and is removed quickly (for example due to a modem mode changing thing), while we try to fix the device perms...

Most likely we should really just downgrade the message to LOG_DEBUG if we see ENOENT, and this is all purely cosmetic.

@poettering poettering added the udev label Aug 5, 2015
@dunca
Copy link
Author

dunca commented Aug 5, 2015

It doesn't seem to show up when using lsusb.
I've noticed that the device no., changes after each suspend. It's now 10, after suspending 4 times.

systemd-udevd[1118]: Failed to apply ACL on /dev/bus/usb/003/004: No such fi...
systemd-udevd[1118]: Failed to apply ACL on /dev/bus/usb/003/004: No such fi...
systemd-udevd[1735]: Failed to apply ACL on /dev/bus/usb/003/006: No such fi...
systemd-udevd[1735]: Failed to apply ACL on /dev/bus/usb/003/006: No such fi...
systemd-udevd[1982]: Failed to apply ACL on /dev/bus/usb/003/008: No such fi...
systemd-udevd[2233]: Failed to apply ACL on /dev/bus/usb/003/010: No such fi...
systemd-udevd[2233]: Failed to apply ACL on /dev/bus/usb/003/010: No such fi...

If I run lsusb, there's no device that matches, but there's one device whose no. keeps incrementing after resuming.
Bus 003 Device 011: ...... Dell Computer Corp.,

@poettering
Copy link
Member

Can you paste the full "lusb -v" output for that one device, so that we can see what kind of device that is?

@dunca
Copy link
Author

dunca commented Aug 5, 2015

Yep, it's the wwan module
Dell Wireless 5570 HSPA+ (42Mbps) Mobile Broadband Card

@poettering
Copy link
Member

ah, ok, then it's modeswitching fallout: the modem pops up as one device and has then be switched to a different mode which causes it to disappear and reapper as a different devices.

Which means the issue is cosmetic and we should just downgrade the message.

@poettering poettering changed the title ' Failed to apply ACL on /dev/bus/usb/003/004: No such file or directory ' - on suspend - systemd > 223 udev: downgrade message when we cannot apply ACLs on a device due to EOENT Aug 5, 2015
@kaysievers
Copy link
Contributor

8dbf626

msekletar pushed a commit to msekletar/systemd-fedora that referenced this issue Dec 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants