Skip to content

Commit 297525c

Browse files
cthbleachbitaafeijoo-suse
authored andcommitted
fix(multipath): remove dependency on multipathd.socket
This reverts commit e39ff40, removes an incorrect `Also=` directive from multipathd.service. `Also=multipathd.socket` is not the correct behavior for a socket-activated service. This directive has been removed upstream and dracut should do the same. This fixes #2289, #2175 where in the cleanup hook running multipath binary triggers activation of multipathd.service after it is stopped as dracut prepares to switch root in initrd-cleanup.service.
1 parent 1300a93 commit 297525c

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

modules.d/90multipath/module-setup.sh

-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ install() {
137137
inst_simple "${moddir}/multipathd-configure.service" "${systemdsystemunitdir}/multipathd-configure.service"
138138
$SYSTEMCTL -q --root "$initdir" enable multipathd-configure.service
139139
fi
140-
inst_simple "${systemdsystemunitdir}/multipathd.socket"
141140
inst_simple "${moddir}/multipathd.service" "${systemdsystemunitdir}/multipathd.service"
142141
$SYSTEMCTL -q --root "$initdir" enable multipathd.service
143142
else

modules.d/90multipath/multipathd.service

-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ TasksMax=infinity
2525

2626
[Install]
2727
WantedBy=sysinit.target
28-
Also=multipathd.socket

0 commit comments

Comments
 (0)