Public bug reported:

After changing the the script
 * /usr/bin/ecryptfs-setup-swap
* from old version with:

*****
        # Add crypttab entry
        echo "cryptswap$i $swap /dev/urandom swap,cipher=aes-cbc-essiv:sha256" 
>> /etc/crypttab
*****

 * into latest version with:

*****
        # Add crypttab entry
        echo "cryptswap$i UUID=$uuid /dev/urandom 
swap,cipher=aes-cbc-essiv:sha256" >> /etc/crypttab
*****

See also https://bugs.launchpad.net/ubuntu/+source/ecryptfs-
utils/+bug/953875

After some reboots in a fresh installed Ubuntu as well other derivates,
the command "swapon -s" shows no swap-device available. Only a new,
manually setup solves the problem by typing in a terminal (device may be
i.e. /dev/sdb3):

sudo -s
umount /dev/sdb3
mkswap /dev/sdb3 # copy UUID shown into next cmdline
echo "RESUME=UUID=143c43d8-0a77-4d62-a7ae-f53a8e0229a9" > 
/etc/initramfs-tools/conf.d/resume
sudo echo "cryptswap1 /dev/sdb3 /dev/urandom swap,cipher=aes-cbc-essiv:sha256" 
> /etc/crypttab
update-initramfs -u
exit

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ecryptfs-utils 104-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Sat Apr 19 20:37:12 2014
ProcEnviron:
 LANGUAGE=de:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: ecryptfs-utils
UpgradeStatus: Upgraded to trusty on 2014-04-08 (11 days ago)

** Affects: ecryptfs-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1310058

Title:
  ecryptfs-setup-swap hints after reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/1310058/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to