systemd ignoring /etc/modules due to blacklist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
systemd (Ubuntu) |
Opinion
|
Undecided
|
Unassigned |
Bug Description
I tried the daily build of 16.04 32-bit to test out the watchdog daemon code. Usually (Ubuntu 10.04-14.04) I add the watchdog module in /etc/modules so it is loaded at boot-time, as watchdog timer modules are not normally auto-loaded due to the risk of an unexpected reboot.
However I now find that systemd is choosing to ignore my command to load the module in /etc/modules since it appears in the watchdog blacklist. Typical syslog entries look like this:
Jan 19 16:46:14 ubuntu systemd-
Jan 19 17:53:23 ubuntu systemd-
This is just dumb! I have explicitly told the system to load the module, an action that works perfectly well using modprobe or by adding it to the start script for the watchdog, and yet systemd chooses to override that because of the blacklist for auto-loaded modules (in this case in /etc/modprobe.
$ lsb_release -rd
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04
$ apt-cache policy systemd
systemd:
Installed: 228-4ubuntu1
Candidate: 228-4ubuntu1
Version table:
*** 228-4ubuntu1 500
500 http://
100 /var/lib/
What I expect to happen is modules added to /etc/modules are loaded at boot time, and not subject to the blacklist for hardware detect / automatic loading.
Changed in systemd (Ubuntu): | |
status: | Confirmed → Opinion |
I'm having the exact same issue, can't load watchdog TCO-related modules because they are blacklisted.
Did you find any workaround?
I don't want to mess with the blacklist list.