On Sun, Oct 23, 2016 at 01:55:37PM +0200, Alexandre Detiste wrote: > Le dimanche 23 octobre 2016, 13 h 43 min 59 s CEST Santiago Vila a écrit : > > Aha! I can reproduce this too. On the machines where this happens, > > I believe I answered "yes" to a debconf question about restarting > > services automatically (one of the times I upgraded by hand and not > > using unattended-upgrades). > > > > Maybe something like this would work as a workaround? > > > > echo "libc6 libraries/restart-without-asking boolean false" | > > debconf-set-selections > > > > Thanks a lot. > > Hi, > > I think that adding this snippet to apt's debian/rules would fix this problem, > not tested tough. > > > > override_dh_systemd_start: > dh_systemd_start apt-daily.timer >
Yes, I think you are right. This appears to be what is happening. I have commited this fix to git and it will be part of the next upload. Thanks, Michael > > Without this override, we get this: apt got -daily.service got "try-restart"ed > bit this statement in atp.postinst: > ------------- > > > # Automatically added by dh_systemd_start > if [ -d /run/systemd/system ]; then > systemctl --system daemon-reload >/dev/null || true > if [ -n "$2" ]; then > _dh_action=try-restart > else > _dh_action=start > fi > deb-systemd-invoke $_dh_action apt-daily.service apt-daily.timer > >/dev/null || true > fi > # End automatically added section > > > > > Greets, > > Alexandre Detiste