molly-guard causes do-release-upgrade to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
easy-rsa (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
molly-guard (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On an Ubuntu 16.04 LTS to Ubuntu 18.04 LTS upgrade, even if you use apt-get purge molly-guard before the upgrade and reboot without being prompted for the system name, molly-guard somehow magically comes back and, at the end of the upgrade, the following occurs:
System upgrade is complete.
Restart required
To finish the upgrade, a restart is required.
If you select 'y' the system will be restarted.
Continue [yN] y
W: molly-guard: SSH session detected!
Please type in hostname of the machine to reboot:
Good thing I asked; I won't reboot cedar-falls-
At this point you terminate the screen session and reboot. If you back out of the upgrade the system is left in an inconsistent state: The software is for Ubuntu 18.04 but /etc/apt/
This has happened on several Ubuntu 16.04 LTS to Ubuntu 18.04 LTS upgrades.