Skip to contentSkip to conversation

Exit behavior of system-config-printer

DISCUSSION aisuneko icecat 2 participants 2 messages Apr 20, 2025

lore
Share & tools
lore
#0 lore raw

Hi list,
when I inspect the failed systemd services on my system, I came across the following failed udev [email protected], which belongs to system-config-printer:

Apr 19 22:51:42 liquidice systemd[1]: Started Configure Plugged-In Printer.
Apr 19 22:51:42 liquidice udev-configure-printer[29612]: add usb-007-032
Apr 19 22:51:42 liquidice udev-configure-printer[29612]: device devpath 
is /devices/pci0000:00/0000:00:08.3/0000:65:00.4/usb7/7-1/7-1.2/7-1.>
Apr 19 22:51:42 liquidice udev-configure-printer[29612]: Device already 
handled
Apr 19 22:51:42 liquidice systemd[1]: 
[email protected]: Main process exited, code=exited, 
status=1/FAILURE
Apr 19 22:51:42 liquidice systemd[1]: 

[email protected]: Failed with result 'exit-code'.

Is returning exit code 1 on "Device already handled" intended behavior? I believe this could be misleading at some point.
Thanks,
aisuneko

#1 lore raw
Quoted 14 lines · aisuneko icecat

Hi list,
when I inspect the failed systemd services on my system, I came across the following failed udev [email protected], which belongs to system-config-printer:

Apr 19 22:51:42 liquidice systemd[1]: Started Configure Plugged-In Printer.
Apr 19 22:51:42 liquidice udev-configure-printer[29612]: add usb-007-032
Apr 19 22:51:42 liquidice udev-configure-printer[29612]: device devpath
is /devices/pci0000:00/0000:00:08.3/0000:65:00.4/usb7/7-1/7-1.2/7-1.>
Apr 19 22:51:42 liquidice udev-configure-printer[29612]: Device already
handled
Apr 19 22:51:42 liquidice systemd[1]:
[email protected]: Main process exited, code=exited,
status=1/FAILURE
Apr 19 22:51:42 liquidice systemd[1]:
Quoted 7 lines

[email protected]: Failed with result 'exit-code'.

Is returning exit code 1 on "Device already handled" intended behavior? I believe this could be misleading at some point.
Thanks,
aisuneko

Probably already claimed by cups-browsed.

Quoted 5 lines

.

Cheers, Gene Heskett, CET.

Signature · 5 lines
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis