chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Thu, 28 Jun 2018 07:24:07 +0000 (09:24 +0200)
commit3edd79703a34628e984700b2dfa675accbf680b1
treea8d7594bc9f6c3913d8a336fb7dd56cc9611724f
parent05301c0619add83c1426523f08336bc30e1020e2
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.

(cherry picked from commit bb9947be2fa308d198b63b30e494ade5d68e5109)
src/basic/fd-util.h