]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tmpfiles: ignore "operational" errors during setup 8617/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 29 Mar 2018 14:37:21 +0000 (16:37 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 5 Apr 2018 06:13:53 +0000 (08:13 +0200)
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. cd9f5b68ce08375eb1d68a4ddaa7a24a5092d7ba).
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

units/systemd-tmpfiles-setup-dev.service.in
units/systemd-tmpfiles-setup.service.in

index 6a6ebed9550131f0c617ada5dd5b4d45dcdb18c2..1d06b369d4149effc1862de7620bebefcd7cf6d9 100644 (file)
@@ -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
index 0410d0bfd8596b66da7d38b090250d04b1313df6..384be59481d72e2f8ce9ce2a2c831e6ae00f31a7 100644 (file)
@@ -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