Comment 81 for bug 1690980

Revision history for this message
Julian Andres Klode (juliank) wrote :

I booted my xenial system in a VM, and tried to verify it; but:

The hierarchy of apt-daily-upgrade.service is:

apt.system.daily install
 - apt.systemd.daily lock_is_held install
   - unattended-upgrades

only the top-level process is terminated. Manually sending SIGTERM to unattended-upgrades makes it exit; but it seems the SIGTERM is not forwarded through the shells.

The result is simple: The big lock protecting against update and co is released (not that problematic), but upgrades are never stopped. I'm not sure if systemd still waits for the runaway processes on shutdown; if that's the case, then it sort of works. We'd have to verify that somehow.

So, if we want to have a time out working, we have to get rid of the shell script it seems. Which sucks a lot.