← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1579905] Re: cups-browsed causes shutdown hang/delay in Ubuntu 16.04

 

This bug was fixed in the package cups-filters - 1.8.3-2ubuntu3.1

---------------
cups-filters (1.8.3-2ubuntu3.1) xenial-proposed; urgency=medium

  * Added "Requires=cups-service" to the cups-browsed.service file to make
    cups-browsed always shut down before CUPS to avoid the system hanging
    during shutdown (LP: #1579905).

 -- Till Kamppeter <till.kamppeter@xxxxxxxxx>  Thu, 18 Aug 2016 17:23:06
-0300

** Changed in: cups-filters (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1579905

Title:
  cups-browsed causes shutdown hang/delay in Ubuntu 16.04

Status in cups-filters package in Ubuntu:
  Fix Released
Status in cups-filters source package in Xenial:
  Fix Released

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1579905/+subscriptions