Bug 721662

Summary: systemd: does not load /etc/sysconfig/kernel
Product: [openSUSE] openSUSE 12.1 Reporter: Jan Engelhardt <jengelh>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: fcrozat
Version: Milestone 5   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 696902    

Description Jan Engelhardt 2011-10-01 21:42:28 UTC
In systemd-34, someone has decided to make /lib/systemd/system/loadmodules.service point to /dev/null, masking the service, which means that /etc/sysconfig/kernel is not processed and my desired modules (MODULES_LOADED_ON_BOOT) are not honored.
Comment 1 Frederic Crozat 2011-10-12 12:17:51 UTC
the function is handled by modules-load.d (see man modules-load.d) but it doesn't check for /etc/sysconfig/kernel

I'll see if I can put back the handling of this configuration file in systemd
Comment 2 Bernhard Wiedemann 2011-10-12 14:00:36 UTC
This is an autogenerated message for OBS integration:
This bug (721662) was mentioned in
https://build.opensuse.org/request/show/87532 Factory / systemd
Comment 3 Frederic Crozat 2011-10-12 14:09:15 UTC
fixed in Base/System systemd
Comment 4 Forgotten User oT5fNj878H 2011-12-31 07:48:47 UTC
I see that this patch has been released and is in systemd-37-3.4.1 on my x86_64 system installed from the 12.1 release and all updates applied. But how does it work? If I edit /etc/sysconfig/kernel and modify MODULES_LOADED_ON_BOOT, when and how will this change propagate to /etc/modules-load.d? I had to create a couple of .conf files there to get modules to load at boot.
Comment 5 Frederic Crozat 2012-01-03 13:03:38 UTC
maintenance release containing this fix is not yet available for 12.1 (you can use test package from home:fcrozat:systemd / systemd meanwhile).

When it is released, you don't have to do anything, systemd will load the values in MODULES_LOADED_ON_BOOT in addition to the stuff in /etc/modules-load.d