mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
tmpfiles: ignore "operational" errors during setup
We still get the errors logged, but we don't fail the service. This
is better for users because rerunning tmpfiles-setup.service a second
time is dangerous (c.f. cd9f5b68ce).
Note that this only touches sd-tmpfiles-setup.service and
sd-tmpfiles-setup-dev.service. sd-tmpfiles-clean.service is as before.
https://bugzilla.redhat.com/show_bug.cgi?id=1539341
This commit is contained in:
@@ -20,4 +20,4 @@ ConditionCapability=CAP_SYS_MODULE
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=@rootbindir@/systemd-tmpfiles --prefix=/dev --create --boot
|
||||
SuccessExitStatus=65
|
||||
SuccessExitStatus=65 73
|
||||
|
||||
@@ -20,4 +20,4 @@ RefuseManualStop=yes
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=@rootbindir@/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev
|
||||
SuccessExitStatus=65
|
||||
SuccessExitStatus=65 73
|
||||
|
||||
Reference in New Issue
Block a user