Comment 4 for bug 1802617

Revision history for this message
Donald Pellegrino (donald-a-pellegrino) wrote :

Candidate Work-around:

For the case of disabling swap, I was able to eliminate the boot-time error with the following actions:

Remove swap line from /etc/fstab
Remove swap line from /etc/crypttab
Remove /swapfile
apt purge cryptsetup
apt autoremove (clean up cryptsetup dependencies)

The updates to /etc/fstab and /etc/crypttab were not enough to eliminate the error message at boot. It seems cryptsetup was still doing something in the boot sequence that caused it to try and create an encrypted swap file. Purging the cryptsetup package was necessary to eliminate the error message. Therefore, this issue may be relevant to both the Ubuntu upgrade process and the cryptsetup package.