]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: use CHASE_WARN in addition to CHASE_SAFE
authorFranck Bui <fbui@suse.com>
Wed, 28 Nov 2018 15:09:16 +0000 (16:09 +0100)
committerFranck Bui <fbui@suse.com>
Mon, 10 Dec 2018 08:19:14 +0000 (09:19 +0100)
commit7f0704da9454d36d19920e033ddadf06c9c6441e
treeb4d53c893d63ca428d1f1e8c48f80dbba84ae6e3
parent36c97decbe46a62b6976b8ba7c59e8552f14f935
tmpfiles: use CHASE_WARN in addition to CHASE_SAFE

and let's emit a more comprehensive warning when an unsafe transition is
encountered.

Before this patch:

 Unsafe symlinks encountered in /run/nrpe, refusing.

After:

 Detected unsafe path transition / → /run during canonicalization of /run/nrpe.
src/tmpfiles/tmpfiles.c