Sorry, I forgot to mention that this issue affects cups-browsed 1.28.1-1 from Ubuntu 20.10 Groovy.
-- 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 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1895265/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp