Skip to content

Commit

Permalink
fix(systemd): add missing modprobe@.service
Browse files Browse the repository at this point in the history
sys-kernel-config.mount needs modprobe@configfs.service since systemd v246.7
(systemd/systemd@42cc2855), so the kernel configfs
fails to mount in the initrd.
  • Loading branch information
aafeijoo-suse authored and johannbg committed Sep 26, 2022
1 parent 758f2e6 commit 928252a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules.d/00systemd/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ install() {
\
"$systemdsystemunitdir"/sys-kernel-config.mount \
\
"$systemdsystemunitdir"/modprobe@.service \
"$systemdsystemunitdir"/kmod-static-nodes.service \
"$systemdsystemunitdir"/systemd-tmpfiles-setup.service \
"$systemdsystemunitdir"/systemd-tmpfiles-setup-dev.service \
Expand Down Expand Up @@ -174,6 +175,8 @@ install() {
/etc/systemd/journald.conf.d/*.conf \
/etc/systemd/system.conf \
/etc/systemd/system.conf.d/*.conf \
"$systemdsystemconfdir"/modprobe@.service \
"$systemdsystemconfdir/modprobe@.service.d/*.conf" \
/etc/hosts \
/etc/hostname \
/etc/nsswitch.conf \
Expand Down

0 comments on commit 928252a

Please sign in to comment.