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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1690980

Title:
  unattended-upgrades does not block shutdown of system, as it is
  designed to

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1690980/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to