f8c4a0f4e5
- lsinitrd.sh: add old cpio signature - dracut.sh: call find with -print0 and cpio with --null - dracut.asc: small corrections - systemd/dracut-initqueue.sh: continue to boot if finished failed - dracut.sh/dracut-functions.sh: handle root on non-block device - dracut-functions.sh: removed non dracut-install shell functions - dracut-functions.sh: inst_multiple == dracut_install - 51-dracut-rescue.install: fixed rescue image creation - dracut.sh: do not strip in FIPS mode Resolves: rhbz#990250 - dracut.sh: check the value of --kver - crypt: Fix typo--/etc/crypttab not /etc/cryptab - network/net-lib.sh: fix ibft interface configuration - iscsi/module-setup.sh: install some modules regardless of hostonly - multipath: need_shutdown if multipath devices exist Resolves: rhbz#994913 - omit drivers fix
25 lines
987 B
Diff
25 lines
987 B
Diff
From 7deba0428a23b3f410a7cf8cac7cf8355e4dc150 Mon Sep 17 00:00:00 2001
|
|
From: James Lee <jlee@thestaticvoid.com>
|
|
Date: Tue, 6 Aug 2013 11:25:58 -0400
|
|
Subject: [PATCH] crypt: Fix typo--/etc/crypttab not /etc/cryptab
|
|
|
|
1ae8b8a breaks the crypt module for those who use keyfiles due to a
|
|
typo leading to the exclusion of /etc/crypttab from the initrd.
|
|
---
|
|
modules.d/90crypt/module-setup.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/modules.d/90crypt/module-setup.sh b/modules.d/90crypt/module-setup.sh
|
|
index 975f115..68b5fbe 100755
|
|
--- a/modules.d/90crypt/module-setup.sh
|
|
+++ b/modules.d/90crypt/module-setup.sh
|
|
@@ -57,7 +57,7 @@ install() {
|
|
inst_hook cleanup 30 "$moddir/crypt-cleanup.sh"
|
|
fi
|
|
|
|
- if [[ $hostonly ]] && [[ -f /etc/cryptab ]]; then
|
|
+ if [[ $hostonly ]] && [[ -f /etc/crypttab ]]; then
|
|
# filter /etc/crypttab for the devices we need
|
|
while read _mapper _dev _rest; do
|
|
[[ $_mapper = \#* ]] && continue
|