[Bug 1535840] Re: systemd ignoring /etc/modules due to blacklist
AW01545
1535840 at bugs.launchpad.net
Thu Aug 8 15:31:41 UTC 2019
In my case I'm trying to get softdog to load for SBD instead of the
watchdog daemon.
I can see the point of marking it as opinion, but as Olivier points out,
you have to eliminate the blacklist entry from all of the blacklists
spammed into /lib/modprobe.d, systemd-modules-load does not discriminate
for particular kernel versions and reads every .conf file.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1535840
Title:
systemd ignoring /etc/modules due to blacklist
Status in systemd package in Ubuntu:
Opinion
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-modules-load[337]: Module 'softdog' is blacklisted
Jan 19 17:53:23 ubuntu systemd-modules-load[342]: Module 'softdog' is blacklisted
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.d/blacklist-watchdog.conf).
$ 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://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages
100 /var/lib/dpkg/status
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1535840/+subscriptions
More information about the foundations-bugs
mailing list