Comment 20 for bug 1803391

Revision history for this message
Marcin Janowski (janowski-m) wrote :

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/