Regression: /etc/modules checked against blacklist or it's really hard to load blacklisted watchdog modules when one really wants one
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
systemd (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Impossible / hard to force the system to load a watchdog module because it is blacklisted by the kernel auto-generated list of "watchdog" modules.
/etc/modules used to "just work" before.
e.g. bcm2835_wdt module on arm64
===
Before systemd-
load_module() {
local module args
module="$1"
args="$2"
if [ "$VERBOSE" != no ]; then
log_action_msg "Loading kernel module $module"
modprobe $module $args || true
else
modprobe $module $args > /dev/null 2>&1 || true
fi
}
However, under 18.04, systemd-
systemd-
static int load_module(struct kmod_ctx *ctx, const char *m) {
const int probe_flags = KMOD_PROBE_
...
Blacklists should _not_ be applied by systemd-
tags: | added: regression-release |
tags: | added: rls-bb-incoming |
description: | updated |
summary: |
- Regression: /etc/modules checked against blacklist + Regression: /etc/modules checked against blacklist or it's really hard + to load blacklisted watchdog modules when one really wants one |
tags: | added: cscc |
https:/ /github. com/systemd/ systemd/ pull/8830