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
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
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
3 matches
Mail list logo