Shutdown failure and empty boot.log with encrypted system

Frederick Gazerblezeebe <[email protected]> Sun, 11 Oct 2009 13:42:40 -0700
Newsgroups gmane.linux.cryptography
Message-ID <[email protected]>
--0016e64b92dcb0dd160475aeda27
Content-Type: text/plain; charset=ISO-8859-1

My system is functioning from an encrypted root, with separate /usr,
/usr/local, /var, and /home partitions also encrypted.  The system details
are

intel core2duo cpu
Fedora 11 (completely up-to-date)
2.6.31-rc5-git5 from kernel.org
loop-AES-3.2g (compiled as module)
aespipe-v2.3e
util-linux-ng-2.15.1
build-initrd.sh configured USEPIVOT=2.

I have two issues:  The first is since encrypting /, the file
/var/log/boot.log is no longer written.  Is this a problem with my specific
setup or is this how it behaves for everyone else?

The second is that after encrypting the remaining partitions, the system
will not shut down properly, hanging at the point it attempts to umount /var
and /usr.  Warnings that these partitions are busy and cannot be umounted
are printed to the screen and repeatedly hitting CTRL-ALT-DEL simply repeats
the warning. At this point I'm unable to get to a shell prompt so I'm kind
of stuck as far as live troubleshooting goes and I'm forced to power down
via the On/Off button.

I don't know if it's relevant, but as written in another post, the system
was unable to boot with an /etc/rc#.d/S00losetup init script forcing me to
instead add the losetup commands for the additional partitions to
/etc/rc.d/rc.sysinit.  The entries in fstab are as described in the loop-aes
README:

/dev/sda1   /boot            ext3    defaults        1 2
/dev/loop2  /                   ext4    defaults        0 1
/dev/loop3  /home          ext4    defaults        0 2
/dev/loop5  /usr              ext4    defaults        0 2
/dev/loop6  /var              ext4    defaults        0 2
/dev/loop7  /usr/local      ext4    defaults        0 2
/dev/sda8   swap            swap    sw,loop=/dev/loop0,encryption=AES128   0
0

Ideas?  Can I provide other information that would be helpful with
troubleshooting?

Also, this seems like the right place to ask, but if there is a more
appropriate forum/mailing list for me to post these questions just let me
know.

Thanks.

FG

--0016e64b92dcb0dd160475aeda27
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

My system is functioning from an encrypted root, with separate /usr, /usr/l=
ocal, /var, and /home partitions also encrypted.=A0 The system details are<=
br>
<br>
intel core2duo cpu<br>
Fedora 11 (completely up-to-date)<br>
2.6.31-rc5-git5 from <a href=3D"http://kernel.org/" target=3D"_blank">kerne=
l.org</a><br>
loop-AES-3.2g (compiled as module)<br>
aespipe-v2.3e<br>
util-linux-ng-2.15.1<br>
build-initrd.sh configured USEPIVOT=3D2.<br>
 <br>I have two issues:=A0 The first is since encrypting /, the file /var/l=
og/boot.log is no longer written.=A0 Is this a problem with my specific set=
up or is this how it behaves for everyone else?<br><br>The second is that a=
fter encrypting the remaining partitions, the system will not shut down pro=
perly, hanging at the point it attempts to umount /var and /usr.=A0 Warning=
s that these partitions are busy and cannot be umounted are printed to the =
screen and repeatedly hitting CTRL-ALT-DEL simply repeats the warning. At t=
his point I&#39;m unable to get to a shell prompt so I&#39;m kind of stuck =
as far as live troubleshooting goes and I&#39;m forced to power down via th=
e On/Off button.<br>
<br>I don&#39;t know if it&#39;s relevant, but as written in another post, =
the system was unable to boot with an /etc/rc#.d/S00losetup init script for=
cing me to instead add the losetup commands for the additional partitions t=
o /etc/rc.d/rc.sysinit.=A0 The entries in fstab are as described in the loo=
p-aes README:<br>
<br>/dev/sda1=A0=A0 /boot=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ext3=A0=A0=A0 de=
faults=A0=A0=A0=A0=A0=A0=A0 1 2<br>/dev/loop2=A0 /=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ext4=A0=A0=A0 defaults=A0=A0=A0=A0=A0 =A0 0 =
1<br>/dev/loop3=A0 /home=A0=A0=A0=A0=A0=A0=A0=A0=A0 ext4=A0=A0=A0 defaults=
=A0=A0=A0=A0=A0 =A0 0 2<br>/dev/loop5=A0 /usr=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 ext4=A0=A0=A0 defaults=A0=A0=A0=A0=A0=A0=A0 0 2<br>
/dev/loop6=A0 /var=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ext4=A0=A0=A0 def=
aults=A0=A0=A0=A0=A0=A0=A0 0 2<br>/dev/loop7=A0 /usr/local=A0=A0=A0=A0=A0 e=
xt4=A0=A0=A0 defaults=A0=A0=A0=A0=A0=A0=A0 0 2<br>/dev/sda8=A0=A0 swap=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 swap=A0=A0=A0 sw,loop=3D/dev/loop0,encryptio=
n=3DAES128=A0=A0 0 0<br><br>Ideas?=A0 Can I provide other information that =
would be helpful with troubleshooting?<br>
<br>Also, this seems like the right place to ask, but if there is a more ap=
propriate forum/mailing list for me to post these questions just let me kno=
w.<br><br>Thanks.<br><br>FG <br><br><br>

--0016e64b92dcb0dd160475aeda27--

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/