Bug 769462

Summary: systemd-modules-load.service fails
Product: [openSUSE] openSUSE 12.2 Reporter: Andreas Jaeger <aj>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Product Management Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Jaeger 2012-06-29 18:45:06 UTC
# systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
	  Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
	  Active: failed (Result: exit-code) since Fri, 29 Jun 2012 20:37:20 +0200; 6min ago
	 Process: 277 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
	  CGroup: name=systemd:/system/systemd-modules-load.service

Jun 29 20:37:13 x61s-aj systemd-modules-load[277]: libkmod: kmod_config_parse: /etc/m...'
Jun 29 20:37:16 x61s-aj systemd-modules[277]: Inserted module 'microcode'
Jun 29 20:37:17 x61s-aj systemd-modules[277]: Inserted module 'kvm_intel'
Jun 29 20:37:17 x61s-aj systemd-modules[277]: An empty list is needed to create lookup

The problem comes from:
 grep LOAD /etc/sysconfig/kernel
MODULES_LOADED_ON_BOOT="kvm-intel kvm"

It always fails with the second argument, somehow the parsing fails.

$ strace -e open /lib/systemd/systemd-modules-load 
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libcap.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libkmod.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/proc/filesystems", O_RDONLY)     = 3
open("/etc/modprobe.d/00-system.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/modprobe.d/10-unsupported-modules.conf", O_RDONLY|O_CLOEXEC) = 3
libkmod: kmod_config_parse: /etc/modprobe.d/10-unsupported-modules.conf line 10: ignoring bad line starting with 'allow_unsupported_modules'
open("/etc/modprobe.d/50-blacklist.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/modprobe.d/50-bluetooth.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/modprobe.d/50-ipw2200.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/modprobe.d/50-iwl3945.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/modprobe.d/50-iwlagn.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/modprobe.d/50-nvidia.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/modprobe.d/50-prism54.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/modprobe.d/50-sound.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/modprobe.d/50-thinkpad_acpi.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/modprobe.d/50-tv.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/modprobe.d/99-local.conf", O_RDONLY|O_CLOEXEC) = 3
open("/proc/cmdline", O_RDONLY|O_CLOEXEC) = 3
open("/lib/modules/3.3.0-2-desktop/modules.dep.bin", O_RDONLY|O_CLOEXEC) = 3
open("/lib/modules/3.3.0-2-desktop/modules.alias.bin", O_RDONLY|O_CLOEXEC) = 3
open("/lib/modules/3.3.0-2-desktop/modules.symbols.bin", O_RDONLY|O_CLOEXEC) = 3
open("/lib/modules/3.3.0-2-desktop/modules.builtin.bin", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/modules-load.d/microcode.conf", O_RDONLY|O_CLOEXEC) = 3
open("/lib/modules/3.3.0-2-desktop/kernel/arch/x86/kernel/microcode.ko", O_RDONLY|O_CLOEXEC) = 4
Inserted module 'microcode'
open("/etc/sysconfig/kernel", O_RDONLY|O_CLOEXEC) = 3
open("/lib/modules/3.3.0-2-desktop/kernel/arch/x86/kvm/kvm.ko", O_RDONLY|O_CLOEXEC) = 3
open("/lib/modules/3.3.0-2-desktop/kernel/arch/x86/kvm/kvm-intel.ko", O_RDONLY|O_CLOEXEC) = 3
Inserted module 'kvm_intel'
An empty list is needed to create lookup
Failed to lookup alias 'kvm'
+++ exited with 1 +++
Comment 1 Frederic Crozat 2012-07-02 15:48:51 UTC
fixed in Base:System, forwarded to Factory (sr 126920).

Bug was not present in 12.1
Comment 2 Bernhard Wiedemann 2012-07-02 16:00:17 UTC
This is an autogenerated message for OBS integration:
This bug (769462) was mentioned in
https://build.opensuse.org/request/show/126920 Factory / systemd