2

Can't make an up-to-date 16.04 systemd load the following 3 modules on boot, manual loading works, had no issues on 14.04:

root@toto:/etc/modprobe.d# cat /etc/modules-load.d/watchdog.conf 
# Hardware watchdog driver modules loading
i2c-i801
i2c-smbus
iTCO-wdt

Thought it might come from the blacklist so I commented out the lines:

root@toto:/etc/modprobe.d# grep -R i2c
blacklist.conf:# blacklist i2c_i801
root@toto:/etc/modprobe.d# grep -R iTCO
blacklist-watchdog.conf:# blacklist iTCO_wdt
watchdog.conf:options iTCO-wdt heartbeat=10 nowayout=0

But no more luck, it's driving me crazy!

root@toto:/etc/modprobe.d# systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled)
   Active: active (exited) since ven. 2017-02-24 14:41:20 CET; 9min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 265 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=0/SUCCESS)
 Main PID: 265 (code=exited, status=0/SUCCESS)
    Tasks: 0
   Memory: 0B
      CPU: 0
   CGroup: /system.slice/systemd-modules-load.service

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

Logs looks strange:

root@toto:/etc/modprobe.d# journalctl -b1 -o cat -u systemd-modules-load.service
Stopped Load Kernel Modules.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.