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

2016-05-23 Thread Till Kamppeter
Fix is to assure via systemd that cups-browsed is never running without
CUPS running, especially to let cups-browsed always shut down before
CUPS.

This can be reached by adding the line

Requires=cups.service

to the [Unit] section of

/lib/systemd/system/cups-browsed.service

and then to run

sudo systemctl daemon-reload

to make the change already working in the current session.

Please test.

** Package changed: cups (Ubuntu) => cups-filters (Ubuntu)

-- 
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/1579905

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

Status in cups-filters package in Ubuntu:
  Triaged

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1579905/+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


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

2016-05-20 Thread Till Kamppeter
I can reproduce the bug. cups-browsed hangs on shutdown when CUPS is not
running any more. One can simply do

sudo systemctl stop cups

and after some seconds

sudo systemctl stop cups-browsed

with the shutdown of cups-browsed hanging.

Problem is that during shutdown cups-browsed accesses CUPS to remove
print queues and save option settings.

Solution is to modify systemd *.service files to assure that on shutdown
cups-browsed shuts down before CUPS.


** Changed in: cups (Ubuntu)
   Status: Incomplete => Triaged

-- 
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/1579905

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

Status in cups package in Ubuntu:
  Triaged

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+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


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

2016-05-09 Thread Bill Miller
Yes. I experienced the 1-2 minute delay / hang that I have seen since
upgrading to 16.04.

-- 
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/1579905

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

Status in cups package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+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


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

2016-05-09 Thread Till Kamppeter
Did the shutdown delay or hang during your test of comment #9?

-- 
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/1579905

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

Status in cups package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+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


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

2016-05-09 Thread Bill Miller
sudo -s
nohup /usr/sbin/cups-browsed --debug > /log.txt 2>&1 &

rebooted


** Attachment added: "log.txt"
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+attachment/4659529/+files/log.txt

-- 
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/1579905

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

Status in cups package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+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


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

2016-05-09 Thread Till Kamppeter
Please run

sudo -s

to get a root prompt. Then run

nohup /usr/sbin/cups-browsed --debug > /log.txt 2>&1 &

Shut down your system.

After starting your system again, attach /log.txt.

-- 
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/1579905

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

Status in cups package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+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


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

2016-05-09 Thread Bill Miller
Output of lpstat -v with cups-browsed not running

** Attachment added: "nocupsbrowsed.txt"
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+attachment/4659514/+files/nocupsbrowsed.txt

-- 
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/1579905

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

Status in cups package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+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


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

2016-05-09 Thread Bill Miller
When I run your command

sudo nohup /usr/sbin/cups-browsed --debug > /log.txt 2>&1 &

I get  bash: /log.txt: Permission denied

I have uploaded the other files you requested.


On 05/09/2016 04:30 PM, Till Kamppeter wrote:
> sudo nohup /usr/sbin/cups-browsed --debug > /log.txt 2>&1 &

-- 
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/1579905

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

Status in cups package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+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


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

2016-05-09 Thread Bill Miller
/etc/cups/cups-browsed.conf

** Attachment added: "cups-browsed.conf"
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+attachment/4659512/+files/cups-browsed.conf

-- 
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/1579905

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

Status in cups package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+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


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

2016-05-09 Thread Bill Miller
/etc/cups/cups-browsed.conf

-- 
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/1579905

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

Status in cups package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+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


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

2016-05-09 Thread Bill Miller
output of lpstat -v with cups-browsed running

** Attachment added: "cupsbrowsed.txt"
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+attachment/4659513/+files/cupsbrowsed.txt

-- 
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/1579905

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

Status in cups package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+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


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

2016-05-09 Thread Bill Miller
/etc/cups/cupsd.conf

** Attachment added: "cupsd.conf"
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+attachment/4659511/+files/cupsd.conf

-- 
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/1579905

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

Status in cups package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+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


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

2016-05-09 Thread Till Kamppeter
Please attach your /etc/cups/cupsd.conf and /etc/cups/cups-browsed.conf
files and post the output of

lpstat -v

once with cups-browsed running and once with cups-browsed stopped.

Also stop cups-browsed via

sudo service cups-browsed stop

and then start it from the command line via

sudo nohup /usr/sbin/cups-browsed --debug > /log.txt 2>&1 &

Shut down your system.

After starting your system again, attach /log.txt.

Attach all the files one by one, do not compress them and do not package
them together.

** Changed in: cups (Ubuntu)
   Status: New => Incomplete

-- 
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/1579905

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

Status in cups package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+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


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

2016-05-09 Thread Bill Miller
** Description changed:

  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.

-- 
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/1579905

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

Status in cups package in Ubuntu:
  New

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1579905/+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