Merge lp:~alberto-o/ecryptfs/swapfile-fix into lp:ecryptfs
Status: | Needs review |
---|---|
Proposed branch: | lp:~alberto-o/ecryptfs/swapfile-fix |
Merge into: | lp:ecryptfs |
Diff against target: |
60 lines (+15/-6) 2 files modified
debian/changelog (+6/-2) src/utils/ecryptfs-setup-swap (+9/-4) |
To merge this branch: | bzr merge lp:~alberto-o/ecryptfs/swapfile-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
eCryptfs | Pending | ||
Review via email: mp+319130@code.launchpad.net |
Description of the change
This fixes a small but very important bug (at least for Ubuntu): since Zesty uses swapfiles by default, because of this bug if you choose "encrypt home folder" during installation (which forces also swap encryption), after installation the system hangs a lot on every boot because it cannot activate swap.
Ecryptfs-setup-swap did not handle swapfiles correctly, and put a UUID in crypyttab as if the swapfile were a partition (see https:/
Moreover, it called the wrong script to start the encrypted swap.
Unmerged revisions
- 886. By Alberto Pianon
-
[ Alberto Pianon ]
src/utils/ecryptfs- setup-swap: Fix to make the script work with swapfiles
and to use the right script to start encrypted swap (LP: #1670336)