When i do upgrade form 18.04 to 20.04 with do-release-upgrade my system reboots 
on systemctl daemon-reexec from /var/lib/dpkg/info/systemd.postinst code:
```
# skip daemon-reexec and try-restarts during shutdown to avoid hitting LP: 
#1803391
if [ -n "$2" ] && [ "$(systemctl is-system-running)" != "stopping" ]; then
    _systemctl daemon-reexec || true
    # don't restart logind; this can be done again once this gets implemented:
    # https://github.com/systemd/systemd/issues/1163
    _systemctl try-restart systemd-networkd.service || true
    _systemctl try-restart systemd-resolved.service || true
    _systemctl try-restart systemd-journald.service || true
fi
```

command systemctl is-system-running return degradated.

If i execute systemctl daemon-reexec from hand while do-release-upgrade
waiting for accept changes on journald.conf, my system hangs.

There is strace -ff systemctl daemon-reexec:
https://pastebin.ubuntu.com/p/SkYnx8fdts/

** Bug watch added: github.com/systemd/systemd/issues #1163
   https://github.com/systemd/systemd/issues/1163

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

Title:
  Systemd update installation hangs in unattended-upgrades
  InstallOnShutdown mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1803391/+subscriptions

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

Reply via email to