Public bug reported: Binary package hint: mountall
I have both / and /home on seperate luks encrypted partitions. / is decrypted using my passkey by the initramfs and /home is decrypted using a keyfile stored on / by the init scripts. After upgrading from mountall 0.1.8 to 0.2.0 my system foze at boot. The last things it does before freezing is loading apparmor, fscking /boot and fscking /. It never gives any output related to decrypring or fscking /home. After some trial and error I found a workaround: In grub I replaced "ro quiet splash" with "text rw init=/bin/bash". I don't know if "text" is nessesary in the final version of the workaround, but during some previous trials I got a hung X with no ability to switch to text console. Then I entered my passphrase for / as usual. After I while I got a root prompt and issuedd the following commands: mkdir /dev/shm /dev/pts # Don't know if this was nessesary, but df errored out becouse they was missing cryptsetup luksOpen /dev/sdb2 faolain-home # This is my home partition mount -a mount -o remount,ro / # As the system otherwise hangs while fscking root exec init At this point the boot sequence resumes. First it fscks / (but not /boot or /home), then it tries to decrypt my three luks partions (/, swap and /home), but ofcourse / and /home fails (as they are already decrypted), and then the rest of the init scripts run and I get a login prompt (textual as that is what I requested in grub). At this point I downloaded the mountall 0.1.8 deb using wget and installed it using dpkg -i, and after the next reboot it started working again. I havn't quite figgured out what exactly caused the problem, but I think mountall tried to fsck /dev/mapper/faolain-home before cryptsetup got a chance to decrypt it. This is as it fscked /boot before running cryptsetup, and I believe /boot and /home should be fscked at the same time, as they have the same pass value in /etc/fstab ======================================== My /etc/crypttab ======================================== faolain-root UUID=3443152a-2b1c-405b-b904-e09d5c05d759 none luks faolain-swap UUID=576ca4ba-940c-48c3-afc1-dd11e83e48d3 /etc/cryptkeys/faolain-swap luks faolain-home UUID=a230afe6-c04d-4951-9ef8-2c796251906f /etc/cryptkeys/faolain-home luks ======================================== ======================================== My /etc/fstab ======================================== # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 LABEL=faolain-swap none swap sw 0 0 LABEL=faolain-boot /boot ext2 relatime,nosuid,nodev 0 2 LABEL=faolain-root / ext3 relatime,barrier=1,user_xattr,acl,errors=remount-ro 0 1 LABEL=faolain-home /home ext3 relatime,barrier=1,user_xattr,acl,nosuid,nodev 0 2 tmpfs /tmp tmpfs nosuid,nodev,mode=1777 0 0 tmpfs /var/tmp tmpfs nosuid,nodev,mode=1777 0 0 ======================================== ProblemType: Bug Architecture: i386 Date: Sat Oct 10 08:16:36 2009 DistroRelease: Ubuntu 9.10 Package: mountall 0.1.8 ProcEnviron: LANGUAGE=sv_SE:sv:en_GB:en PATH=(custom, no user) LANG=sv_SE.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-13.43-generic SourcePackage: mountall Uname: Linux 2.6.31-13-generic i686 ** Affects: mountall (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 -- System frezes after fscking root https://bugs.launchpad.net/bugs/447817 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs