Comment 6 for bug 544812

Revision history for this message
Stein Henrik Jensaas (steinhj) wrote :

Fresh update from this morning ( April 6th , - including mountall 2.10:
Looks i little bit better, but:

I am running a system with crypted /home and /disk1
From my crypttab:
# <target name> <source device> <key file> <options>
chome /dev/sda5 none luks
cswap /dev/sda2 /dev/urandom swap
cdisk1 /dev/sda6 /home/metno.key luks
1. I expect to be asked for passphrase for the chome-disk.
2. Then the luks key for the cdisk1 should be found on the crypted home-disk.

With my luks key in a file (My crypttab: chome /dev/sda5 /etc/metno.key luks )
works ok.

With no luks-key in file (My crypttab: chome /dev/sda5 none luks )
" Unlocking the disk /dev/sda5 (chome)"
" Enter passphrase"

Then after a second:
" The disk drive for /home is not ready yet or not present "

Entering fail passphrase:
" Continue to wait; or press S to skip mounting or M for manual recovery", - then back to Enter passphrase. ( New question of passhprase 6 times , then just " Continue to wait; or press..........."
This is OK.

Entering correct passphrase:
"Continue to wait; or press S to skip mounting or M for manual recovery"
Then it unlocks the chome-disk next message comes:
"The disk drive for /disk1 is not ready yet or not present"
Then pressing S to skip /disk1.
When doing a mountall:
"swapon: /dev/mapper/cswap: swapon failed: Device or resource busy
mountall: swapon /dev/mapper/cswap [2662] terminated with status 255
mountall: Problem activating swap: /dev/mapper/cswap
mountall: Skipping mounting /disk1 since Plymouth is not available
"

which plymouth:
/bin/plymouth

dpkg -l plymouth:
0.8.1-4ubuntu1

 /etc/init.d/plymouth start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service plymouth start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start plymouth
plymouth start/running, process 2702

 ps -ef |grep ply
root 2702 1 0 10:14 ? 00:00:00 /sbin/plymouthd --mode=boot --attach-to-session
root 2712 2588 0 10:15 pts/1 00:00:00 grep --color=auto ply

mountall:
hangs with
"swapon: /dev/mapper/cswap: swapon failed: Device or resource busy
mountall: swapon /dev/mapper/cswap [2768] terminated with status 255
mountall: Problem activating swap: /dev/mapper/cswap"

Final: I am quite sure that i saw all working ok during one boot !