[systemd-devel] systemd-tmpfiles, unsafe path transitions
James Muir (jamesmui)
jamesmui at cisco.com
Wed Mar 26 17:51:47 UTC 2025
I am doing dev work on a linux system and I am mounting the root filesystem via NFS to make my work-flow easier.
Unfortunately, the directory I am NFS mounting is not owned by root, and this causes some of the directives processed by the systemd-tmpfiles utility during boot (e.g. in systemd-tmpfiles-setup.service) to fail due to unsafe path transitions:
Detected unsafe path transition / (owned by <numeric-id>) -> /run (owned by root) during canonicalization of run/log/…
Is there a conf option or an environment variable I can use to disable the unsafe path transition check?
Failing that, is there a way I can change the ownership systemd-tmpfiles sees?
Thanks,
-James M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20250326/7d3ad4c9/attachment.htm>
More information about the systemd-devel
mailing list