Skip to content

Commit

Permalink
fix(multipath): drop dependency on systemd-udev-settle.service
Browse files Browse the repository at this point in the history
Rawhide systemd warns about this now:

    udevadm[445]: systemd-udev-settle.service is deprecated. Please fix
    multipathd-configure.service, multipathd.service not to pull it in.

Similarly to dracutdevs#1552, we don't actually need that dependency anyway here.
`multipathd-configure.service` just outputs a file in /etc and shouldn't
need to probe devices, and `multipathd` itself by nature is designed to
handle dynamic udev changes.

So just drop it.
  • Loading branch information
jlebon committed Jun 30, 2021
1 parent c7fbc0c commit 1e22d07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 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
Wants=systemd-udev-trigger.service local-fs-pre.target
After=systemd-udev-trigger.service
Before=local-fs-pre.target multipathd.service
DefaultDependencies=no
Conflicts=shutdown.target
Expand Down
4 changes: 2 additions & 2 deletions modules.d/90multipath/multipathd.service
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[Unit]
Description=Device-Mapper Multipath Device Controller
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
Wants=systemd-udev-trigger.service local-fs-pre.target
After=systemd-udev-trigger.service
Before=local-fs-pre.target
Before=initrd-cleanup.service
DefaultDependencies=no
Expand Down

0 comments on commit 1e22d07

Please sign in to comment.