I have uploaded a new version of this SRU now, cups- filters_1.8.3-2ubuntu3.3, in addition to the first version it contains an additional fix against delayed shutdown, namely not scheduling failed operations for repeating during shutdown.
In addition, I have added a patch for optional time-stamped debug logging into a file. Thia should help to find the cause of delayed shutdowns if this SRU still does not solve the problem. So please test this version as soon as it gets available in xenial- proposed and appropriately announced here in this bug report. As always your feedback is required to make this an official update for everyone. In the case that you still suffer the delayed shutdowns with this version, please add a line DebugLogging file to /etc/cups/cups-browsed.conf and restart cups-browsed via sudo systemctl stop cups-browsed sudo systemctl start cups-browsed If you observe the delayed shutdown again in the future, please attach your /var/log/cups/cups-browsed.conf file to this bug report. Thanks. ** Tags removed: verification-failed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups-filters in Ubuntu. https://bugs.launchpad.net/bugs/1638986 Title: cups/cups-browsed causing delay in shutdown (16.04) Status in cups-filters package in Ubuntu: Fix Released Status in cups-filters source package in Xenial: Fix Committed Bug description: Description: Ubuntu 16.04.1 LTS Release: 16.04 cups-filters: Installed: 1.8.3-2ubuntu3.1 Candidate: 1.8.3-2ubuntu3.1 Version table: *** 1.8.3-2ubuntu3.1 500 500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 100 /var/lib/dpkg/status 1.8.3-2ubuntu3 500 500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages Bug description: I have updated to the latest cups-filters version to fix the bug as described by bug report #1579905 but I still get that Ubuntu takes very long to shutdown. For now, I have simply disabled cups-browser and I manually start it up every time I need to print something. It is probably related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832637 as Till has described in #1579905. I tried to download and compile the upstream version at BZR as suggested for Debian but I ended up not being able to print anymore and instead went back to the current version in the package distribution. Hopefully, there is an easy fix for Ubuntu 16.04 as well. [Impact] On many machines the shutdown will take unusually long, typically the 90-second timeout after which a hanging process gets killed. One case where this easily happens is if you have a remote CUPS server sharing printers which your local cups-browsed picks up and your local CUPS is not listening on localhost:631 (usually when it does not share printers). cups-browsed also tries to access the local cupsd on localhost:631 and hangs. [Testcase] Take two machines in one local network (can also be VMs), one being a CUPS server with at least one print queue being shared, another a client with CUPS and cups-browsed running but not sharing local queues and not listening on localhost:631. It picks up the server's queues but when trying to shut down cups-browsed, cups-browsed hangs. The fixed package (cups-filters 1.8.3-2ubuntu3.2) solves this problem as its cups-browsed shuts down correctly. [Regression Potential] The patch is not small, but it does only small and simple changes, not replacing big bunches of code by other big bunches of code, so the regression potential is rather low. The changes in the patch are also all backported from the working upstream code of cups-filters. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1638986/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

