*** This bug is a duplicate of bug 1894452 ***
https://bugs.launchpad.net/bugs/1894452
** Package changed: cups (Ubuntu) => cups-filters (Ubuntu)
** This bug has been marked a duplicate of bug 1894452
shutdown delay because of cups
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1895265
Title:
cups-browsed fails to exit when systemd tries to shut it down
(SIGTERM)
Status in cups-filters package in Ubuntu:
New
Bug description:
The cups-browsed service fails to exit when systemd tries to stop it,
seemingly because /usr/sbin/cups-browsed fails to exit when it's sent
a SIGTERM signal.
Here are all the relevant logs in journald when trying to stop cups-
browsed using `sudo systemctl stop cups-browsed`:
Sep 11 10:17:26 ubun sudo[3370]: pam_unix(sudo:auth): Couldn't open
/etc/securetty: No such file or directory
Sep 11 10:17:26 ubun sudo[3370]: martin : TTY=pts/2 ; PWD=/home/martin ;
USER=root ; COMMAND=/usr/bin/systemctl stop cups-browsed
Sep 11 10:17:26 ubun sudo[3370]: pam_unix(sudo:session): session opened for
user root by (uid=0)
Sep 11 10:17:26 ubun systemd[1]: Stopping Make remote CUPS printers available
locally...
Sep 11 10:18:56 ubun systemd[1]: cups-browsed.service: State 'stop-sigterm'
timed out. Killing.
Sep 11 10:18:56 ubun systemd[1]: cups-browsed.service: Killing process 1471
(cups-browsed) with signal SIGKILL.
Sep 11 10:18:56 ubun systemd[1]: cups-browsed.service: Killing process 1521
(gdbus) with signal SIGKILL.
Sep 11 10:18:56 ubun systemd[1]: cups-browsed.service: Main process exited,
code=killed, status=9/KILL
Sep 11 10:18:56 ubun systemd[1]: cups-browsed.service: Failed with result
'timeout'.
Sep 11 10:18:56 ubun systemd[1]: Stopped Make remote CUPS printers available
locally.
Sep 11 10:18:56 ubun sudo[3370]: pam_unix(sudo:session): session closed for
user root
As you can see, I run the command at 10:17:26, then nothing happens
for 90 seconds, until systemd gives up and sents a SIGKILL at
10:18:56.
This problem hangs shutdown for 90 seconds, so it quite badly affects the
user experience of Ubuntu as a whole, even for users who never use cups.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu45
Architecture: amd64
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.10
InstallationDate: Installed on 2019-11-26 (289 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
Lpstat:
device for EPSON_XP_312_313_315_Series_2_ms_jgb_air: ///dev/null
device for HP_Color_LaserJet_MFP_M477fdw_0E34F7_:
implicitclass://HP_Color_LaserJet_MFP_M477fdw_0E34F7_/
device for Samsung_CLX_3300_Series_Heidi_MacBook_Pro: ///dev/null
MachineType: Dell Inc. XPS 15 9575
Package: cups 2.3.3-3ubuntu1
PackageArchitecture: amd64
Papersize: a4
PpdFiles: Error: command ['fgrep', '-H', '*NickName',
'/etc/cups/ppd/HP_Color_LaserJet_MFP_M477fdw_0E34F7_.ppd'] failed with exit
code 2: grep: /etc/cups/ppd/HP_Color_LaserJet_MFP_M477fdw_0E34F7_.ppd:
Permission denied
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic
root=UUID=60c00fb1-a65f-4908-898e-0cd30e291b96 ro quiet splash
mem_sleep_default=deep vt.handoff=7
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic
root=UUID=60c00fb1-a65f-4908-898e-0cd30e291b96 ro quiet splash
mem_sleep_default=deep vt.handoff=7
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Tags: wayland-session groovy
Uname: Linux 5.4.0-42-generic x86_64
UpgradeStatus: Upgraded to groovy on 2020-09-09 (1 days ago)
UserGroups: adm cdrom dialout dip disk docker lpadmin lxd plugdev sambashare
sudo video
_MarkForUpload: True
dmi.bios.date: 05/25/2020
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.12.1
dmi.board.name: 0C32VW
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 31
dmi.chassis.vendor: Dell Inc.
dmi.modalias:
dmi:bvnDellInc.:bvr1.12.1:bd05/25/2020:svnDellInc.:pnXPS159575:pvr:rvnDellInc.:rn0C32VW:rvrA00:cvnDellInc.:ct31:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 15 9575
dmi.product.sku: 080D
dmi.sys.vendor: Dell Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1895265/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp