aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2008-10-14 17:25:53 +0200
committerHarald Hoyer <harald@redhat.com>2008-11-10 19:05:37 +0100
commit4a93d7a26c5bc2c80447be7b57cd85217838e3a8 (patch)
treeec29bf31f50c250ec8d3c54a5fd54e931031ef28
parent265055a21f0a93fac03e7c383057a31122283650 (diff)
downloadinitscripts-4a93d7a26c5bc2c80447be7b57cd85217838e3a8.tar
initscripts-4a93d7a26c5bc2c80447be7b57cd85217838e3a8.tar.gz
initscripts-4a93d7a26c5bc2c80447be7b57cd85217838e3a8.tar.bz2
initscripts-4a93d7a26c5bc2c80447be7b57cd85217838e3a8.tar.xz
initscripts-4a93d7a26c5bc2c80447be7b57cd85217838e3a8.zip
Mount encrypted logical volumes during boot (#466115, Bill Nottingham)
-rw-r--r--initscripts.spec6
-rwxr-xr-xrc.d/rc.sysinit7
2 files changed, 12 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index cc745d02..7050826f 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -1,6 +1,6 @@
Summary: The inittab file and the /etc/init.d scripts.
Name: initscripts
-Version: 8.45.20
+Version: 8.45.21
# ppp-watch is GPLv2+, everything else is GPLv2
License: GPLv2 and GPLv2+
Group: System Environment/Base
@@ -198,6 +198,10 @@ rm -rf $RPM_BUILD_ROOT
%ghost %attr(0664,root,utmp) /var/run/utmp
%changelog
+* Tue Oct 14 2008 Harald Hoyer <harald@redhat.com> 8.45.21-1
+- mount encrypted logical volumes during boot (#466115, Bill Nottingham)
+- Resolves: #466115
+
* Tue Sep 16 2008 Harald Hoyer <harald@redhat.com> 8.45.20-1
- changes to init scripts to better support stateless (#433702, <ahecox@redhat.com>)
- call logger with full path (#447928, Mihai Vintila)
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 7f28783b..f5dd0b36 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -458,6 +458,13 @@ if [ -c /dev/mapper/control ]; then
fi
fi
+if [ -f /etc/crypttab ]; then
+ s=$"Starting disk encryption:"
+ echo "$s"
+ init_crypto 0 && success "$s" || failure "$s"
+ echo
+fi
+
if [ -f /fastboot ] || strstr "$cmdline" fastboot ; then
fastboot=yes
fi