Description of problem: Running systemd-tmpfiles from anaconda/installer environment with --root option. Config files from <root>/usr/lib/tmpfiles.d are not applied Version-Release number of selected component (if applicable): systemd 213 How reproducible: We are calling this with python's subprocess.Popen: systemd-tmpfiles --create --boot --root=/mnt/sysimage/ostree/deploy/fedora-atomic/deploy/60506ba30bdd1a5070dda106492f4bacd2cf947026f615343e78437608947c71.0 --prefix=/var/home Actual results: Configuration from /mnt/sysimage/ostree/deploy/fedora-atomic/deploy/60506ba30bdd1a5070dda106492f4bacd2cf947026f615343e78437608947c71.0./usr/lib/tmpfiles.d is not applied.
It looks to me that path_strv_canonicalize from path-util is completely broken. For example if the path with prefix does not exist it returns the path without prefix. That means for example when /mnt/sysimage/ostree/deploy/fedora-atomic/deploy/60506ba30bdd1a5070dda106492f4bacd2cf947026f615343e78437608947c71.0//run/tmpfiles.d does not exist it will return /run/tmpfiles.d
Or it is correct, and the code in tmpfiles is wrong. Which looks more probable.
https://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg19296.html
Hi, any estimate about when we could have systemd-tmpfiles patched?
Fixed in git now.