systemd-udevd: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/...' failed with exit code 1.

Bug #1968883 reported by Laurent Bonnaud
78
This bug affects 15 people
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

on a system with the "cups" snap installed, I see the following errors in the logs:

# journalctl | grep systemd-udevd |grep usb
Apr 13 14:20:42 jophur systemd-udevd[325]: 1-7:1.1: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.1 0:0' failed with exit code 1.
Apr 13 14:20:42 jophur systemd-udevd[325]: 1-7:1.1: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.1 0:0' failed with exit code 1.
Apr 13 14:20:42 jophur systemd-udevd[325]: 1-7:1.0: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0 0:0' failed with exit code 1.
Apr 13 14:20:42 jophur systemd-udevd[315]: 1-5:1.1: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1 0:0' failed with exit code 1.
Apr 13 14:20:42 jophur systemd-udevd[325]: 1-7:1.0: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0 0:0' failed with exit code 1.
Apr 13 14:20:42 jophur systemd-udevd[315]: 1-5:1.1: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1 0:0' failed with exit code 1.
Apr 13 14:20:42 jophur systemd-udevd[315]: 1-5:1.3: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3 0:0' failed with exit code 1.
Apr 13 14:20:42 jophur systemd-udevd[315]: 1-5:1.3: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3 0:0' failed with exit code 1.
Apr 13 14:20:42 jophur systemd-udevd[315]: 1-5:1.0: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 0:0' failed with exit code 1.
Apr 13 14:20:42 jophur systemd-udevd[315]: 1-5:1.0: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 0:0' failed with exit code 1.
Apr 13 14:20:42 jophur systemd-udevd[315]: 1-5:1.2: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2 0:0' failed with exit code 1.
Apr 13 14:20:42 jophur systemd-udevd[315]: 1-5:1.2: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2 0:0' failed with exit code 1.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: snapd 2.55.3+22.04
Uname: Linux 5.17.2-051702-generic x86_64
ApportVersion: 2.20.11-0ubuntu81
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Wed Apr 13 14:23:32 2022
Snap.Changes: no changes found
SourcePackage: snapd
UpgradeStatus: Upgraded to jammy on 2022-04-12 (0 days ago)

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapd (Ubuntu):
status: New → Confirmed
Revision history for this message
codywohlers (codywohlers) wrote :

I get the same error when I plug in an android phone that is having issues.

`org.kde.kiod5[68596]: kf5.kiod.kmtpd: new device, getting raw devices
org.kde.kiod5[68596]: kf5.kiod.kmtpd: No Error, continuing
org.kde.kiod5[68596]: kf5.kiod.kmtpd: Found device matching the Solid description
systemd-udevd[984333]: 5-4.4: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:08.1/0000:28:00.3/usb5/5-4/5-4.4 189:544' failed with exit code 1.
systemd-udevd[984333]: 5-4.4: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:08.1/0000:28:00.3/usb5/5-4/5-4.4 189:544' failed with exit code 1.`

Revision history for this message
Jan-Jonas Sämann (janjonas) wrote :

Getting this error when plugging in a Canon DR-1210C scanner.
The device gets occupied by snap and sane is then unable to access it. "Device or resource busy"

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

The cups errors I see are generated during the boot process, before any peripheral is plugged.

People who report errors after plugin a peripheral just happen to see the same errors, but they are unrelated.

tags: added: kinetic lunar
Revision history for this message
Phi (lephi966) wrote :

Getting this error when plugging Bluetooth USB
```
Jul 18 16:33:07 phi kernel: [114605.481557] usb 1-3: new full-speed USB device number 9 using xhci_hcd
Jul 18 16:33:08 phi kernel: [114605.630854] usb 1-3: New USB device found, idVendor=10d7, idProduct=b012, bcdDevice=88.91
Jul 18 16:33:08 phi kernel: [114605.630857] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 18 16:33:08 phi kernel: [114605.630858] usb 1-3: Product: general adapter
Jul 18 16:33:08 phi kernel: [114605.630859] usb 1-3: Manufacturer: Actions
Jul 18 16:33:08 phi kernel: [114605.630860] usb 1-3: SerialNumber: ACTIONS1234
Jul 18 16:33:08 phi <email address hidden>[1643]: unable to update icon for blueman
Jul 18 16:33:08 phi <email address hidden>[1643]: unable to update icon for blueman
Jul 18 16:33:08 phi systemd-udevd[163667]: 1-3:1.1: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1 0:0' failed with exit code 1.
Jul 18 16:33:08 phi systemd[1492]: Reached target Bluetooth.
Jul 18 16:33:08 phi systemd-udevd[163667]: 1-3:1.1: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1 0:0' failed with exit code 1.
Jul 18 16:33:08 phi systemd-udevd[163668]: 1-3:1.0: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0 0:0' failed with exit code 1.
Jul 18 16:33:08 phi systemd-udevd[163668]: 1-3:1.0: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0 0:0' failed with exit code 1.
Jul 18 16:33:08 phi systemd-udevd[163668]: 1-3: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:14.0/usb1/1-3 189:8' failed with exit code 1.
Jul 18 16:33:08 phi systemd-udevd[163668]: 1-3: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:14.0/usb1/1-3 189:8' failed with exit code 1.
Jul 18 16:33:08 phi <email address hidden>[1643]: unable to update icon for blueman
Jul 18 16:33:08 phi systemd[1]: Starting Load/Save RF Kill Switch Status...
Jul 18 16:33:08 phi systemd[1]: Reached target Bluetooth Support.
Jul 18 16:33:08 phi systemd[1]: Started Load/Save RF Kill Switch Status.
Jul 18 16:33:13 phi systemd[1]: systemd-rfkill.service: Deactivated successfully.
```

Revision history for this message
Nik Kashi (nikkashi) wrote :

experiencing the same problem when connecting the USB type-c monitor
```
aug 29 13:43:24 mohsen-NS5x-NS7xPU kernel: hub 3-6:1.0: 3 ports detected
aug 29 13:43:24 mohsen-NS5x-NS7xPU systemd-udevd[8249]: 3-6:1.0: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6:1.0 0:0' failed with exit code 1.
aug 29 13:43:24 mohsen-NS5x-NS7xPU systemd-udevd[8249]: 3-6:1.0: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6:1.0 0:0' failed with exit code 1.
aug 29 13:43:24 mohsen-NS5x-NS7xPU systemd-udevd[8249]: 3-6: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:14.0/usb3/3-6 189:260' failed with exit code 1.
aug 29 13:43:24 mohsen-NS5x-NS7xPU systemd-udevd[8249]: 3-6: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:14.0/usb3/3-6 189:260' failed with exit code 1.
```

Revision history for this message
Lars N (level9) wrote :

Experiencing the same problem when connecting USB midi-keyboard on Lunar.

Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:14.0/usb3/3-1 189:272' failed with exit code 1.
Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:14.0/usb3/3-1 189:272' failed with exit code 1.

Revision history for this message
w (scannerbro) wrote :

I am having the same issue with my PrimeFilmXE. This is keeping me from using the scanner at all

Turning the scanner on results in:
Nov 30 23:39:31 comp kernel: [ 1307.971339] usb 3-3: new high-speed USB device number 12 using xhci_hcd
Nov 30 23:39:31 comp kernel: [ 1308.120562] usb 3-3: New USB device found, idVendor=05e3, idProduct=0145, bcdDevice= 3.02
Nov 30 23:39:31 comp kernel: [ 1308.120568] usb 3-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Nov 30 23:38:51 comp rtkit-daemon[2474]: Supervising 6 threads of 4 processes of 1 users.
Nov 30 23:39:31 comp systemd-udevd[9342]: 3-3: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:07.1/0000:0a:00.3/usb3/3-3 189:267' failed with exit code 1.
Nov 30 23:39:31 comp systemd-udevd[9342]: 3-3: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:07.1/0000:0a:00.3/usb3/3-3 189:267' failed with exit code 1.

And after a while a timeout of some kind:

Nov 30 23:41:02 comp kernel: [ 1399.015668] usb 3-3: USB disconnect, device number 12
Nov 30 23:40:56 comp rtkit-daemon[2474]: message repeated 13 times: [ Supervising 6 threads of 4 processes of 1 users.]
Nov 30 23:41:02 comp systemd-udevd[9743]: 3-3: Process '/usr/lib/snapd/snap-device-helper unbind snap_cups_cupsd /devices/pci0000:00/0000:00:07.1/0000:0a:00.3/usb3/3-3 189:267' failed with exit code 1.
Nov 30 23:41:02 comp systemd-udevd[9743]: 3-3: Process '/usr/lib/snapd/snap-device-helper unbind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:07.1/0000:0a:00.3/usb3/3-3 189:267' failed with exit code 1.

Revision history for this message
Alex (alexdietz380) wrote :

This problem might affect me as well on a dual boot laptop with ubuntu 22.04. See the SA question here: https://askubuntu.com/questions/1492733/how-to-fix-sound-output-device-not-recognized-without-rebooting-on-ubuntu-22-04

- Is there any kind of workaround I can use?
- Can I investigate this issue further?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.