[Touch-packages] [Bug 1806463] Re: Unattended-Upgrade::InstallOnShutdown "true" not working

2018-12-06 Thread Justin V
After reading the NEWS file, it seems that it is necessary for the dbus signal to be sent first, at which point the upgrade begins. Next, the SIGTERM is received, but the upgrade has already started. So, "shutdown -r now" will not trigger an upgrade. I'll need some time to be able to experiment

[Touch-packages] [Bug 1806463] Re: Unattended-Upgrade::InstallOnShutdown "true" not working

2018-12-03 Thread Justin V
BTW, in Debian stretch, the service runs the script via a "stop-script", so the shutdown script is not called with --wait-for-signal, since it is run at service-down which means it does not need to wait. In that case, it would seem that the signal would not be set, and the install-on- shutdown

[Touch-packages] [Bug 1806463] [NEW] Unattended-Upgrade::InstallOnShutdown "true" not working

2018-12-03 Thread Justin V
Public bug reported: Cosmic, unattended-upgrades 1.5ubuntu3.18.10.0 Trying to get install-on-shutdown working. Added << Unattended- Upgrade::InstallOnShutdown "true"; >> to apt.conf. It appears that the logic for install-on-shutdown is in /usr/share