[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#832637: More info



Thank you for the extra information, Roderich.


On Sun 21 Aug 2016 at 14:57:57 +0200, Roderich Schupp wrote:

> I have the same problem as Heinrich Schuchardt (same version of
> cups-browsed, but cups-daemon  2.2~rc1-4 from experimental).
> 
> $ sudo systemctl stop cups-browsed.service
> 
> takes 90 seconds (while avahi-daemon.service and cups.service are still
> running). journalctl shows

Are you positive cups.service is still running while cups-browsed is
stopping? 'systemctl status cups' in another terminal would tell you.

If I use the sequence

  systemctl start cups cups-browsed.service
  systemctl stop cups-browsed.service

it stops cups-browsed immediately here.

> Aug 21 14:38:52 macarthur sudo[16227]: pam_unix(sudo:session): session
> opened for user root by roderich(uid=0)
> Aug 21 14:38:52 macarthur systemd[1]: Stopping Make remote CUPS printers
> available locally...
> Aug 21 14:40:01 macarthur CRON[16255]: pam_unix(cron:session): session
> opened for user root by (uid=0)
> Aug 21 14:40:01 macarthur CRON[16260]: (root) CMD ([ -x /usr/sbin/dma ] &&
> /usr/sbin/dma -q1)
> Aug 21 14:40:01 macarthur CRON[16255]: pam_unix(cron:session): session
> closed for user root
> Aug 21 14:40:22 macarthur systemd[1]: cups-browsed.service: State
> 'stop-sigterm' timed out. Killing.
> Aug 21 14:40:22 macarthur systemd[1]: cups-browsed.service: Killing process
> 1630 (cups-browsed) with signal SIGKILL.
> Aug 21 14:40:22 macarthur systemd[1]: cups-browsed.service: Main process
> exited, code=killed, status=9/KILL
> Aug 21 14:40:22 macarthur sudo[16227]: pam_unix(sudo:session): session
> closed for user root
> Aug 21 14:40:22 macarthur systemd[1]: Stopped Make remote CUPS printers
> available locally.
> Aug 21 14:40:22 macarthur systemd[1]: cups-browsed.service: Unit entered
> failed state.
> Aug 21 14:40:22 macarthur systemd[1]: cups-browsed.service: Failed with
> result 'signal'.

The only time I've seen messages like this is pre-cups-browsed 1.9.0-2
and when cups has been stopped before cups-browsed.

Do you consistently have cups-browsed taking a long time to be stopped
when the machine is rebooted or powered off?

Regards,

Brian.


Reply to: