[opensuse-kernel] How to load modules on boot on 12.1
![](https://seccdn.libravatar.org/avatar/b20ed73dd4d92d768c7c5b164b809680.jpg?s=120&d=mm&r=g)
This is not a true kernel problem, but may be somebody here can point me to where to find help. I am used to set the variable MODULES_LOADED_ON_BOOT in the file /etc/sysconfig/kernel in order to load some module on boot. This worked until 11.4. On 12.1 it doesn't. chkconfig --list boot.loadmodules boot.loadmodules 0:off 1:off 2:off 3:off 4:off 5:off 6:off B:on systemctl status loadmodules.service loadmodules.service Loaded: masked (/dev/null) Active: inactive (dead) ls -l /lib/systemd/system/loadmodules.service lrwxrwxrwx 1 root root 9 Nov 30 18:24 /lib/systemd/system/loadmodules.service -> /dev/null systemd does not allow the service loadmodules. Why is that so? How can I load some modules on boot in 12.1? Thanks. Giacomo -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/ed90d0132a4f59f2d3a1cf82a1b70915.jpg?s=120&d=mm&r=g)
Am 03.01.2012 16:27, schrieb Giacomo Comes:
systemd does not allow the service loadmodules.
Why is that so? How can I load some modules on boot in 12.1?
seife@susi:~> cat /etc/modules-load.d/loop.conf # load loop module at boot loop -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/03e96c59946cf447bc95a77b07efc416.jpg?s=120&d=mm&r=g)
Dnia wtorek, 3 stycznia 2012 16:32:33 Stefan Seyfried pisze:
Am 03.01.2012 16:27, schrieb Giacomo Comes:
systemd does not allow the service loadmodules.
Why is that so? How can I load some modules on boot in 12.1?
seife@susi:~> cat /etc/modules-load.d/loop.conf # load loop module at boot loop Anyway it is only workaround but it should be fixed. Do we have a bug report for this issue? -- Pozdrawiam / Best regards, Mariusz Fik openSUSE Community Member GPG: 5FCE 7241 B3B9 32FD 455B C30E 42D6 6C88 9E83 7C3D
![](https://seccdn.libravatar.org/avatar/ed90d0132a4f59f2d3a1cf82a1b70915.jpg?s=120&d=mm&r=g)
Am 03.01.2012 23:03, schrieb Mariusz Fik:
Dnia wtorek, 3 stycznia 2012 16:32:33 Stefan Seyfried pisze:
seife@susi:~> cat /etc/modules-load.d/loop.conf # load loop module at boot loop Anyway it is only workaround but it should be fixed. Do we have a bug report for this issue?
I don't think it is a workaround but working as designed. systemd can load the modules natively, no need for a shell script to do that. That's why the loadmodules service is disabled. However the migration not being handled gracefully is probably worth a bug report. -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/45bf5eef0471996074efa055ea252116.jpg?s=120&d=mm&r=g)
On 03/01/12 19:03, Mariusz Fik wrote:
Anyway it is only workaround but it should be fixed. Do we have a bug report for this issue?
It is not a workaround "loadmodules" is deprecated in favor of modules-load.d(5) -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/03e96c59946cf447bc95a77b07efc416.jpg?s=120&d=mm&r=g)
Dnia wtorek, 3 stycznia 2012 19:08:11 Cristian Rodríguez pisze:
On 03/01/12 19:03, Mariusz Fik wrote:
Anyway it is only workaround but it should be fixed. Do we have a bug report for this issue?
It is not a workaround "loadmodules" is deprecated in favor of modules-load.d(5)
If YaST allows module autoloading - it should work. No matter how it's handled. -- Pozdrawiam / Best regards, Mariusz Fik openSUSE Community Member GPG: 5FCE 7241 B3B9 32FD 455B C30E 42D6 6C88 9E83 7C3D
participants (4)
-
Cristian Rodríguez
-
Giacomo Comes
-
Mariusz Fik
-
Stefan Seyfried