Skip to content

Commit

Permalink
Add systemd-tmpfiles-setup.service
Browse files Browse the repository at this point in the history
In some case, multipath-tools is build base on runtimedir=/var/run, but run in environment that /var/run is symlink to /run, add after=systemd-tmpfiles-setup.service ensure that the /var/run symlink created already when the service is started.
  • Loading branch information
foolstrong authored Sep 9, 2024
1 parent ee3a701 commit 60a3253
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion multipathd/multipathd.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ Description=Device-Mapper Multipath Device Controller
Before=lvm2-activation-early.service
Before=local-fs-pre.target blk-availability.service shutdown.target
Wants=systemd-udevd-kernel.socket @MODPROBE_UNIT@
Wants=systemd-tmpfiles-setup.service

Check failure on line 6 in multipathd/multipathd.service.in

View workflow job for this annotation

GitHub Actions / Check Spelling

`tmpfiles` is not a recognized word. (unrecognized-spelling)
After=systemd-udevd-kernel.socket @MODPROBE_UNIT@
After=multipathd.socket systemd-remount-fs.service
After=multipathd.socket systemd-remount-fs.service systemd-tmpfiles-setup.service

Check failure on line 8 in multipathd/multipathd.service.in

View workflow job for this annotation

GitHub Actions / Check Spelling

`tmpfiles` is not a recognized word. (unrecognized-spelling)
Before=initrd-cleanup.service
DefaultDependencies=no
Conflicts=shutdown.target
Expand Down

0 comments on commit 60a3253

Please sign in to comment.