Skip to content

Commit

Permalink
tmpfiles: ignore "operational" errors during setup
Browse files Browse the repository at this point in the history
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. cd9f5b6).
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
(cherry picked from commit c79b89e)
  • Loading branch information
keszybz committed Apr 9, 2018
1 parent 6fdb437 commit 63e0c53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion units/systemd-tmpfiles-setup-dev.service.in
Expand Up @@ -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
2 changes: 1 addition & 1 deletion units/systemd-tmpfiles-setup.service.in
Expand Up @@ -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

0 comments on commit 63e0c53

Please sign in to comment.