multipathd.socket: add missing conditions from service unit
PATCH 1/1 multipathd.socket: add missing conditions from service unit
This aligns 'multipathd' socket and service units, by adding the start conditions that are set on the service but not on the socket. It should help avoiding situations where the socket unit ends up marked as failed after hitting its retry-limit.
--- multipathd/multipathd.socket | 3 +++ 1 file changed, 3 insertions(+)
multipathd.socket +3 -0
@@ -1,6 +1,9 @@ [Unit] Description=multipathd control socket DefaultDependencies=no +ConditionKernelCommandLine=!nompath +ConditionKernelCommandLine=!multipath=off +ConditionVirtualization=!container Before=sockets.target [Socket]
Signature · 6 lines
2.30.2 -- dm-devel mailing list [email protected] https://listman.redhat.com/mailman/listinfo/dm-devel
Quoted 22 lines · Luca BRUNO
This aligns 'multipathd' socket and service units, by adding the start conditions that are set on the service but not on the socket. It should help avoiding situations where the socket unit ends up marked as failed after hitting its retry-limit.
Signed-off-by Luca BRUNO <[email protected]>---
multipathd/multipathd.socket | 3 +++1 file changed, 3 insertions(+)multipathd.socket +0
-0@@ -1,6 +1,9 @@[Unit]
Description=multipathd control socket
DefaultDependencies=nomultipathd.socket +3
-0+ConditionKernelCommandLine=!nompath +ConditionKernelCommandLine=!multipath=off +ConditionVirtualization=!container
Quoted 3 lines
Before=sockets.target
[Socket]
Thanks!
I'll apply this to
https://github.com/openSUSE/multipath-tools/tree/queue
Quoted 1 line
From there it'll be submitted to the main repo.
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel