bootwait option does not work for swap partitions (needed for encrypted swap)
Bug #1028668 reported by
Martijn Lievaart
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mountall (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
I set up a fresh ubuntu with the alternate installer. I have a separate /boot, an encrypted partition for LVM and an encrypted partition for swap.
At boot, I'm asked my passphrase for the encrypted LVM partition. I briefly see a prompt for a passphrase for my swap, but then lightdm takes over and gives me a logon prompt.
If I manually setup the correct mapping for the swap partition, I can (obviously) manually issue a swapon -a.
affects: | grub2 (Ubuntu) → cryptsetup (Ubuntu) |
summary: |
- Encrypted swap does not work + bootwait option does not work for swap partitions (needed for encrypted + swap) |
Changed in mountall (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
To post a comment you must log in.
You don't say what the mountpoint is for the filesystems on your encrypted LVM partition; but evidently they aren't any of the standard mountpoints that are considered blockers for starting lightdm.
The behavior in this case is expected - this is not a bug but a misconfiguration. If you want launching lightdm to wait until these filesystems are decrypted, you will need to mark those filesystems 'bootwait' in /etc/fstab.