aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-09-30 13:18:30 -0400
committerBill Nottingham <notting@redhat.com>2008-09-30 13:18:30 -0400
commit2c55e1c2d7f4ee82aa0af9bfebfee889236c56bf (patch)
treedc0cbd8d08cb2f7e329e25d707e33cf45be6e71a /rc.d
parent222ea53bc68264bcc18afb1449411302d80c1bb2 (diff)
downloadinitscripts-2c55e1c2d7f4ee82aa0af9bfebfee889236c56bf.tar
initscripts-2c55e1c2d7f4ee82aa0af9bfebfee889236c56bf.tar.gz
initscripts-2c55e1c2d7f4ee82aa0af9bfebfee889236c56bf.tar.bz2
initscripts-2c55e1c2d7f4ee82aa0af9bfebfee889236c56bf.tar.xz
initscripts-2c55e1c2d7f4ee82aa0af9bfebfee889236c56bf.zip
Explicitly load dm-crypt until we can fix cryptsetup.
cryptsetup should do this, by all rights. But it does not.
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index d53378b0..a1150094 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -205,6 +205,7 @@ init_crypto() {
ret=1
continue
fi
+ modprobe dm-crypt >/dev/null 2>&1
if [ -z "$makeswap" ] && cryptsetup isLuks "$src" 2>/dev/null ; then
if key_is_random "$key"; then
echo $"$dst: LUKS requires non-random key, skipping"