Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
fix(90multipath): drop unneeded dependencies from configure service
Browse files Browse the repository at this point in the history
multipathd-configure.service previously had the same "After"
dependencies as the multipathd.service, with the idea of running
immediately before it. Multipathd now supports being started much
earlier, but the dependencies in multipathd-configure.service stop it
from being able to.

Since all multipathd-configure.service does is write out a configuration
file, it doesn't need any of its "After" udev dependencies. Remove them,
and clean up some other unneeded dependencies.
  • Loading branch information
bmarzins authored and Conan-Kudo committed Mar 31, 2024
1 parent 9df3552 commit 9ac195c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules.d/90multipath/multipathd-configure.service
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[Unit]
Description=Device-Mapper Multipath Default Configuration
Before=iscsi.service iscsid.service lvm2-activation-early.service
Wants=systemd-udev-trigger.service systemd-udev-settle.service local-fs-pre.target
After=systemd-udev-trigger.service systemd-udev-settle.service
Before=lvm2-activation-early.service
Wants=local-fs-pre.target
After=systemd-journald.socket
Before=local-fs-pre.target multipathd.service
DefaultDependencies=no
Conflicts=shutdown.target
Expand Down

0 comments on commit 9ac195c

Please sign in to comment.