aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2008-10-14 17:25:53 +0200
committerHarald Hoyer <harald@redhat.com>2008-10-14 17:25:53 +0200
commit90ec27ca2896a10d5090a61ce5ef43ccafa0505c (patch)
treeb128ec61be2a4d2c1734a8321365da74143f5ccd
parentc37cf05feb44fcf1668beb3b5a9b41051d09e88e (diff)
downloadinitscripts-90ec27ca2896a10d5090a61ce5ef43ccafa0505c.tar
initscripts-90ec27ca2896a10d5090a61ce5ef43ccafa0505c.tar.gz
initscripts-90ec27ca2896a10d5090a61ce5ef43ccafa0505c.tar.bz2
initscripts-90ec27ca2896a10d5090a61ce5ef43ccafa0505c.tar.xz
initscripts-90ec27ca2896a10d5090a61ce5ef43ccafa0505c.zip
Mount encrypted logical volumes during boot (#466115, Bill Nottingham)initscripts-8.45.21-1
-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