I fixed/workarounded this by removing the cryptswap line from
/etc/crypttab and instead adding swap to /etc/fstab (non-encrypted).
Then I rebooted and the password prompt didn't come up anymore. This
only started to come after I had some booting problems because I messed
it up so I had to use
I have this same bug in xenial. I see a line
/dev/mapper/cryptswap1 none swap sw 0 0
in /etc/fstab
I commented that line but I do not understand how to fix the issue and
have a properly set-up encrypted swap.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which
I forgot to mention that in /etc/crypttab I have
cryptswap1 UUID=405a067e-5d92-4130-b8a6-f54c5ae33298 /dev/urandom
swap,offset=1024,cipher=aes-xts-plain64
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
@Alexander: Please file a new bug report for 16.04, including your
/etc/fstab, /etc/crypttab, and the output of "sudo blkid".
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1453738
Title:
installer
Also showing for me in Ubuntu 16.06, in boot and update terminal
** Attachment added: "Screenshot of bug while updating"
https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/1453738/+attachment/4662880/+files/Screenshot%20from%202016-05-14%2015-12-01.png
--
You received this bug
This bug is showing up again in 16.04.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1453738
Title:
installer in LVM mode sets up broken encrypted swap, using duplicate
unencrypted swap
To
Yea, when will be on 14.04?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1453738
Title:
installer in LVM mode sets up broken encrypted swap, using duplicate
unencrypted swap
To manage
Will this be fixed for 14.04?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1453738
Title:
installer in LVM mode sets up broken encrypted swap, using duplicate
unencrypted swap
To manage
** Changed in: ecryptfs-utils (Ubuntu Wily)
Milestone: ubuntu-15.07 => None
** Changed in: ecryptfs-utils (Ubuntu Trusty)
Milestone: ubuntu-14.04.3 => ubuntu-14.04.4
** Changed in: ecryptfs-utils (Ubuntu Vivid)
Milestone: None => vivid-updates
--
You received this bug notification
Still broken on 15.04 GPT + encrypted home directory install.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1453738
Title:
installer in LVM mode sets up broken encrypted swap, using duplicate
** Branch linked: lp:ecryptfs
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1453738
Title:
installer in LVM mode sets up broken encrypted swap, using duplicate
unencrypted swap
To manage
This bug was fixed in the package ecryptfs-utils - 107-0ubuntu1.2
---
ecryptfs-utils (107-0ubuntu1.2) vivid-proposed; urgency=medium
* Add setup-swap-check-links.patch: When commenting out existing swap, also
consider device symlinks like /dev/mapper/ubuntu--vg-swap_1 or
# sudo apt-get install ecryptfs-utils/vivid-proposed
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '107-0ubuntu1.2' (Ubuntu:15.04/vivid-proposed [amd64]) for
'ecryptfs-utils'
Suggested packages:
opencryptoki zescrow-client
The
sorry, forgot some infos:
tested package ecryptfs-utils version 107-0ubuntu1.2
updated from ecryptfs-utils version 107-0ubuntu1.1
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1453738
Title:
Tested the fix by upgrading an exisiting broken install. All good. Following
message was shown:
Disabling unencrypted swap device /dev/mapper/ubuntu--gnome--vg-swap_1 in
/etc/fstab to enable cryptswap1
/etc/fstab was fixed.
** Tags removed: verification-needed
** Tags added: verification-done
For the SRU the step that should be tested most is upgrading an existing
broken install. That should fix up /etc/fstab. I'm not sure how to teach
the installers install updates option to also install from -proposed.
--
You received this bug notification because you are a member of Ubuntu
Bugs,
How does one test this when it happens during installation? Does the
15.04 installer ISO get updated? Can we specify the Live Installer flash
drive to apply the package via dpkg or apt-get?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
** Branch linked: lp:ubuntu/vivid-proposed/ecryptfs-utils
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1453738
Title:
installer in LVM mode sets up broken encrypted swap, using duplicate
Hello Denny, or anyone else affected,
Accepted ecryptfs-utils into vivid-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/ecryptfs-
utils/107-0ubuntu1.2 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package.
This bug was fixed in the package ecryptfs-utils - 107-0ubuntu3
---
ecryptfs-utils (107-0ubuntu3) wily; urgency=medium
* Rename libecryptfs0 to libecryptfs1 and adjust the packaging. It has
actually shipped libecryptfs.so.1 since at least trusty. Add
C/R/P: libecryptfs0 for
** Branch linked: lp:ubuntu/wily-proposed/ecryptfs-utils
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1453738
Title:
installer in LVM mode sets up broken encrypted swap, using duplicate
** Changed in: ecryptfs-utils (Ubuntu Wily)
Status: Triaged = In Progress
** Changed in: ecryptfs-utils (Ubuntu Wily)
Assignee: (unassigned) = Martin Pitt (pitti)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Notes for myself, please ignore.
This resets what ecryptfs-setup-swap does and re-runs it, for testing a
fixed version:
sudo sed -i '/cryptswap/d' /etc/fstab /etc/crypttab sudo sh -ex
/usr/bin/ecryptfs-setup-swap --force; echo fstab ---; grep swap
/etc/fstab; echo --- crypttab ; cat
Utopic is EOL in two weeks, let's not bother.
** Changed in: ecryptfs-utils (Ubuntu Utopic)
Status: Triaged = Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1453738
Title:
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1453738
Title:
installer in LVM mode sets up broken encrypted swap, using duplicate
unencrypted swap
To manage notifications
I just did an LVM+ecryptfs installation on trusty, and it turns out that
the even bigger breakage of bug 953875 trumps this bug -- i. e. in
trusty you have a wiped /dev/mapper/ubuntu--vg-swap_1 due to the
ubiquity part of that bug, thus the device in /etc/crypttab is invalid,
and the invalid
Wily fix uploaded.
** Changed in: ecryptfs-utils (Ubuntu Wily)
Status: In Progress = Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1453738
Title:
installer in LVM mode sets up
This is the debdiff for vivid which I just uploaded. I verified that it
repairs /etc/fstab and leads to a correctly booting system with
encrypted swap for a vivid LVM+ecryptfs installation. It also behaves
sufficiently correctly for an upgrade where the swap partition has been
wiped by ubiquity
This is fixed on my machine. Thanks for your help!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1453738
Title:
installer in LVM mode sets up broken encrypted swap, using duplicate
unencrypted
Confirming problem and fix.
Installed Ubuntu 15.04 desktop amd64 from standard ISO downloaded about
a week ago. Chose to encrypt whole drive and encrypt home directory.
When running apt-get upgrade, was getting asked for the crypt drive
password over and over.
Commented out the
I confirm symptoms using fresh install of curernt Ubuntu 15.04 desktop
amd64 .iso installed using VirtualBox VMDK.
When I open a terminal and do sudo apt-get update sudo apt-get
upgrade, then apt runs as expected, but it prompts for the swap
password many times.
--
You received this bug
** Also affects: ecryptfs-utils (Ubuntu Wily)
Importance: High
Status: Triaged
** Changed in: ecryptfs-utils (Ubuntu Wily)
Milestone: None = ubuntu-15.07
** Also affects: ecryptfs-utils (Ubuntu Trusty)
Importance: Undecided
Status: New
** Also affects: ecryptfs-utils
We need to fix existing stables at least, including trusty. Even though
upstart doesn't give you a hint/error about the broken swap
configuration, we are still using unencrypted swap there
unintentionally. For an SRU we need to extend our horrible ecryptfs
postinst hack to detect this situation,
Please, please, please disable swap entirely on Ubuntu (wily) or later,
and instruct people to 'sudo apt-get install swapspace' if they simply
can't live without swap.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
34 matches
Mail list logo