]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: add a new return code for "operational failure" when processing
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 29 Mar 2018 14:19:33 +0000 (16:19 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 5 Apr 2018 06:13:53 +0000 (08:13 +0200)
commitbb9947be2fa308d198b63b30e494ade5d68e5109
tree4ed9fd6fdfe824d5bad256639eff2514957dd7f4
parentc75436067f4b392ecf161e123279720dc5c3b33a
tmpfiles: add a new return code for "operational failure" when processing

Things can fail, and we have no control over it:
- file system issues (immutable bits, file system errors, MAC refusals, etc)
- kernel refusing certain arguments when writing to /proc/sys or /sys
Let's add a new code for the case where we parsed configuration but failed
to execute it because of external errors.
man/systemd-tmpfiles.xml
src/basic/fd-util.h
src/tmpfiles/tmpfiles.c