Activity log for bug #1579905

Date Who What changed Old value New value Message
2016-05-09 20:38:46 Bill Miller bug added bug
2016-05-09 20:39:08 Bill Miller description Using the debug process found here https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1464917 I have determined that the cause of my 16.04 install's shutdown hang is cups-browsed. It was the only process running when I did a did a systemctl list-jobs in the VT9 shell. If I do sudo service cups-browsed stop and then shutdown, I do not get a hang. Using the debug process found here https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1464917 I have determined that the cause of my 16.04 install's shutdown hang is cups-browsed. It was the only process running when I did a systemctl list-jobs in the VT9 shell. If I do sudo service cups-browsed stop and then shutdown, I do not get a hang.
2016-05-09 20:55:26 Bill Miller description Using the debug process found here https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1464917 I have determined that the cause of my 16.04 install's shutdown hang is cups-browsed. It was the only process running when I did a systemctl list-jobs in the VT9 shell. If I do sudo service cups-browsed stop and then shutdown, I do not get a hang. Using the debug process found here https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1464917 I have determined that the cause of my 16.04 install's shutdown hang is cups-browsed. It was the only process running when I did a systemctl list-jobs in the VT9 shell. If I do sudo service cups-browsed stop and then shutdown, I do not get a hang. I have confirmed this on a virtual machine and a real system. If I disable cups-browsed from ever starting, my problem is fixed.
2016-05-09 21:31:03 Till Kamppeter cups (Ubuntu): status New Incomplete
2016-05-09 22:27:31 Bill Miller attachment added cupsd.conf https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+attachment/4659511/+files/cupsd.conf
2016-05-09 22:28:45 Bill Miller attachment added cups-browsed.conf https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+attachment/4659512/+files/cups-browsed.conf
2016-05-09 22:30:01 Bill Miller attachment added cupsbrowsed.txt https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+attachment/4659513/+files/cupsbrowsed.txt
2016-05-09 22:30:57 Bill Miller attachment added nocupsbrowsed.txt https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+attachment/4659514/+files/nocupsbrowsed.txt
2016-05-09 23:28:12 Bill Miller attachment added log.txt https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+attachment/4659529/+files/log.txt
2016-05-21 01:11:42 Till Kamppeter cups (Ubuntu): status Incomplete Triaged
2016-05-23 18:01:31 Till Kamppeter affects cups (Ubuntu) cups-filters (Ubuntu)
2016-05-24 15:49:36 Bill Miller attachment added cups.service https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1579905/+attachment/4669477/+files/cups.service
2016-05-24 15:50:30 Bill Miller attachment added cups.path https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1579905/+attachment/4669478/+files/cups.path
2016-05-24 15:51:02 Bill Miller attachment added cups.socket https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1579905/+attachment/4669479/+files/cups.socket
2016-05-24 15:51:25 Bill Miller attachment added cups-browsed.service https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1579905/+attachment/4669480/+files/cups-browsed.service
2016-06-11 01:18:36 Launchpad Janitor cups-filters (Ubuntu): status Triaged Fix Released
2016-07-18 10:01:31 Artem Korzhenevskiy bug added subscriber Artem Korzhenevskiy
2016-08-18 09:21:24 Martin Pitt nominated for series Ubuntu Xenial
2016-08-18 09:21:24 Martin Pitt bug task added cups-filters (Ubuntu Xenial)
2016-08-18 09:21:35 Martin Pitt cups-filters (Ubuntu Xenial): status New Triaged
2016-08-18 19:49:50 Till Kamppeter description Using the debug process found here https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1464917 I have determined that the cause of my 16.04 install's shutdown hang is cups-browsed. It was the only process running when I did a systemctl list-jobs in the VT9 shell. If I do sudo service cups-browsed stop and then shutdown, I do not get a hang. I have confirmed this on a virtual machine and a real system. If I disable cups-browsed from ever starting, my problem is fixed. [SRU justification] When the system is shut down CUPS and cups-browsed are not shut down in a determined order, but cups-browsed needs CUPS still running to perform its shutdown, for removing the print queues it has generated and for saving information about these queues for use in the next session. With CUPS already shut down cups-browsed simply hangs and gets killed after a certain timeout. This can be fixed by defining the correct relationships in the systemd .service files and so the annoying hang can be avoided. [Test case] To reproduce the bug run sudo systemctl stop cups and after some seconds sudo systemctl stop cups-browsed with the shutdown of cups-browsed hanging. On system shutdown one gets the hang, but not always as it can happen that on some shutdowns cups-browsed shuts down before cups. After installing the fixed package, hhutting down cups requires shutting down cups-browsed before, so that the shutdown of cups triggers the shutdown of cups-browsed, making all shutdowns having the two services shut down in the right order avoiding a hang. [Regression potential] None. We only define a dependency between two services to make them shit down in the correct order. [Original report] Using the debug process found here https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1464917 I have determined that the cause of my 16.04 install's shutdown hang is cups-browsed. It was the only process running when I did a systemctl list-jobs in the VT9 shell. If I do sudo service cups-browsed stop and then shutdown, I do not get a hang. I have confirmed this on a virtual machine and a real system. If I disable cups-browsed from ever starting, my problem is fixed.
2016-08-18 20:37:43 Till Kamppeter attachment added cups-filters_1.8.3-2ubuntu3_1.8.3-2ubuntu3.1.debdiff https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1579905/+attachment/4723664/+files/cups-filters_1.8.3-2ubuntu3_1.8.3-2ubuntu3.1.debdiff
2016-08-18 20:38:13 Till Kamppeter bug added subscriber Ubuntu Stable Release Updates Team
2016-08-19 21:47:02 Till Kamppeter cups-filters (Ubuntu Xenial): status Triaged Fix Committed
2016-08-22 10:41:58 Martin Pitt bug added subscriber SRU Verification
2016-08-22 10:42:03 Martin Pitt tags verification-needed
2016-08-22 16:34:42 Mathew Hodson cups-filters (Ubuntu): importance Undecided Medium
2016-08-22 16:34:43 Mathew Hodson cups-filters (Ubuntu Xenial): importance Undecided Medium
2016-08-24 00:39:10 Bill Miller tags verification-needed verification-done
2016-08-31 15:16:09 Launchpad Janitor cups-filters (Ubuntu Xenial): status Fix Committed Fix Released
2016-08-31 15:16:17 Chris J Arges removed subscriber Ubuntu Stable Release Updates Team
2016-09-03 22:26:58 Till Kamppeter bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832637
2017-02-16 02:49:34 Chen-Han Hsiao (Stanley) bug added subscriber Chen-Han Hsiao (Stanley)