mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
Merge pull request #28732 from yuwata/udev-vs-tmpfiles-take-2
Udev vs tmpfiles take 2
This commit is contained in:
@@ -11,6 +11,9 @@ set -o pipefail
|
||||
assert_in "systemd-tmpfiles-setup-dev.service" "$(systemctl show --property After --value systemd-udevd.service)"
|
||||
assert_in "systemd-udevd.service" "$(systemctl show --property Before --value systemd-tmpfiles-setup-dev.service)"
|
||||
|
||||
assert_in "systemd-tmpfiles-setup.service" "$(systemctl show --property After --value systemd-udevd.service)"
|
||||
assert_in "systemd-udevd.service" "$(systemctl show --property Before --value systemd-tmpfiles-setup.service)"
|
||||
|
||||
if [[ -f /dev/vfio/vfio ]]; then
|
||||
assert_in "crw-rw-rw-" "$(stat --format=%A /dev/vfio/vfio)"
|
||||
fi
|
||||
|
||||
@@ -13,7 +13,7 @@ Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)
|
||||
|
||||
DefaultDependencies=no
|
||||
After=local-fs.target systemd-sysusers.service systemd-journald.service
|
||||
Before=sysinit.target
|
||||
Before=sysinit.target systemd-udevd.service
|
||||
Conflicts=shutdown.target initrd-switch-root.target
|
||||
Before=shutdown.target initrd-switch-root.target
|
||||
RefuseManualStop=yes
|
||||
|
||||
@@ -12,7 +12,6 @@ Description=Rule-based Manager for Device Events and Files
|
||||
Documentation=man:systemd-udevd.service(8) man:udev(7)
|
||||
DefaultDependencies=no
|
||||
After=systemd-sysusers.service systemd-hwdb-update.service
|
||||
After=systemd-tmpfiles-setup-dev.service
|
||||
Before=sysinit.target
|
||||
ConditionPathIsReadWrite=/sys
|
||||
|
||||
|
||||
Reference in New Issue
Block a user