[Bug 741468] New: mkinitrd script "setup-luks_final" asks for non-existent module "kernel", causes confusing warning
https://bugzilla.novell.com/show_bug.cgi?id=741468 https://bugzilla.novell.com/show_bug.cgi?id=741468#c0 Summary: mkinitrd script "setup-luks_final" asks for non-existent module "kernel", causes confusing warning Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: All OS/Version: All Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Yarny@public-files.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20100101 Firefox/9.0 When I call mkinitrd on a system with luks-encrypted root, the mkinitrd script "setup-luks_final.sh" asks mkinitrd to include the non-existing kernel module "kernel":
modprobe: Module kernel not found. WARNING: no dependencies for kernel module 'kernel' found.
setup-luks_final.sh parses /proc/crypto to get a list of all needed crypto kernel modules. Crypto algorithms compiled directly into the kernel are listed with "Module: kernel". setup-luks_final.sh should remove the entry "kernel" from that list before going on. Reproducible: Always Steps to Reproduce: 1. Install openSUSE 12.1 with encrypted lvm partition scheme 2. $ mkinitrd Actual Results: mkinitrd complains about the module "kernel". Expected Results: mkinitrd should not complain about this. This bug also exists in openSUSE 11.4. This patch fixes it: --- a/setup-luks_final.sh +++ b/setup-luks_final.sh @@ -27,7 +27,7 @@ if use_script luks; then luks_lang="$LANG" ;; esac - cryptmodules=`sed -ne '/^module/s/.*: //p' < /proc/crypto` + cryptmodules=`sed -ne '/ kernel$/d;/^module/s/.*: //p' < /proc/crypto` fi check_cryptomgr_needed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=741468
https://bugzilla.novell.com/show_bug.cgi?id=741468#c
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=741468
https://bugzilla.novell.com/show_bug.cgi?id=741468#c1
--- Comment #1 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=741468
https://bugzilla.novell.com/show_bug.cgi?id=741468#c2
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=741468
https://bugzilla.novell.com/show_bug.cgi?id=741468#c3
--- Comment #3 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=741468
https://bugzilla.novell.com/show_bug.cgi?id=741468#c4
--- Comment #4 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com