On 06/01/17 11:03, Francesco Poli wrote: > On Tue, 3 Jan 2017 22:33:53 +0100 Francesco Poli wrote: > >> On Mon, 26 Dec 2016 18:15:20 +0100 Daniel Pocock wrote: >> >> [...] >>> apcupsd[10324]: A copy of the daemon is still running. If you >>> just stopped it, apcupsd[10324]: please wait about 5 seconds >>> for it to shut down. >>> >>> >>> Maybe the "stop" action should wait for it to really stop? >>> Not stopping/restart correctly could impact upgrades, so I've >>> marked the bug serious. > [...] >> Please fix this RC bug soon! > > Hello again, I performed some tests, but I failed to reproduce this > bug. > > Is anyone able to reproduce the issue on current Debian testing? >
How long does it take for your apcupsd daemon to shutdown? My UPS uses SNMP signalling, I wonder if that makes the daemon shut down more slowly. > > # service apcupsd restart # service apcupsd status ● > apcupsd.service - LSB: Starts apcupsd daemon Loaded: loaded > (/etc/init.d/apcupsd; generated; vendor preset: enabled) Active: > active (running) since Thu 2017-01-05 09:06:28 CET; 8s ago Docs: > man:systemd-sysv-generator(8) Process: 24604 > ExecStop=/etc/init.d/apcupsd stop (code=exited, status=0/SUCCES > Process: 24610 ExecStart=/etc/init.d/apcupsd start (code=exited, > status=0/SUCC Tasks: 3 (limit: 4915) CGroup: > /system.slice/apcupsd.service └─24620 /sbin/apcupsd > > Jan 05 09:06:28 $HOSTNAME systemd[1]: Starting LSB: Starts apcupsd > daemon... Jan 05 09:06:28 $HOSTNAME apcupsd[24610]: Starting UPS > power management: apcupsd. Jan 05 09:06:28 $HOSTNAME systemd[1]: > Started LSB: Starts apcupsd daemon. Jan 05 09:06:28 $HOSTNAME > apcupsd[24620]: apcupsd 3.14.14 (31 May 2016) debian star Jan 05 > 09:06:28 $HOSTNAME apcupsd[24620]: NIS server startup succeeded > > # systemctl restart apcupsd # systemctl status apcupsd ● > apcupsd.service - LSB: Starts apcupsd daemon Loaded: loaded > (/etc/init.d/apcupsd; generated; vendor preset: enabled) Active: > active (running) since Thu 2017-01-05 09:50:12 CET; 9s ago Docs: > man:systemd-sysv-generator(8) Process: 25726 > ExecStop=/etc/init.d/apcupsd stop (code=exited, status=0/SUCCES > Process: 25733 ExecStart=/etc/init.d/apcupsd start (code=exited, > status=0/SUCC Tasks: 3 (limit: 4915) CGroup: > /system.slice/apcupsd.service └─25740 /sbin/apcupsd > > Jan 05 09:50:12 $HOSTNAME systemd[1]: Starting LSB: Starts apcupsd > daemon... Jan 05 09:50:12 $HOSTNAME apcupsd[25733]: Starting UPS > power management: apcupsd. Jan 05 09:50:12 $HOSTNAME systemd[1]: > Started LSB: Starts apcupsd daemon. Jan 05 09:50:12 $HOSTNAME > apcupsd[25740]: apcupsd 3.14.14 (31 May 2016) debian star Jan 05 > 09:50:12 $HOSTNAME apcupsd[25740]: NIS server startup succeeded > > >