mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
units: Order ldconfig after systemd-tmpfiles-setup.service
tmpfiles might be linking the configuration for ldconfig into /etc so make sure it runs after it so that the configuration is guaranteed to be in place.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
e11745d000
commit
df4d09f78e
@@ -15,8 +15,9 @@ ConditionNeedsUpdate=|/etc
|
|||||||
ConditionFileNotEmpty=|!/etc/ld.so.cache
|
ConditionFileNotEmpty=|!/etc/ld.so.cache
|
||||||
|
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
# systemd-confext.service might put the ld.so.conf configuration files in place so order this after that.
|
# systemd-confext.service or systemd-tmpfiles-setup.service might put the ld.so.conf configuration files in place so
|
||||||
After=local-fs.target systemd-confext.service
|
# order it after those.
|
||||||
|
After=local-fs.target systemd-confext.service systemd-tmpfiles-setup.service
|
||||||
Before=sysinit.target systemd-update-done.service
|
Before=sysinit.target systemd-update-done.service
|
||||||
Conflicts=shutdown.target initrd-switch-root.target
|
Conflicts=shutdown.target initrd-switch-root.target
|
||||||
Before=shutdown.target initrd-switch-root.target
|
Before=shutdown.target initrd-switch-root.target
|
||||||
|
|||||||
Reference in New Issue
Block a user