[systemd-devel] Relative links in tmpfiles.d/etc.conf

Lennart Poettering lennart at poettering.net
Wed Jan 28 18:17:04 PST 2015


On Sat, 03.01.15 12:07, Umut Tezduyar Lindskog (umut at tezduyar.com) wrote:

> Hi,
> 
> Our /etc is a sym link and due to that all the links created by
> tmpfiles.d/etc.conf are wrong. Is there a reason why the links are
> relative?
> 
> I would like to send a patch to either:
> a) Convert the relative links to absolute ones.
> b) Follow the sym link before creating the relative one.

I think it is quite beneficial of symlinks stay relative on disk, so
that when we look at a container image in subdirectory the symlinks
point to the correct files.

Maybe /etc can be made a bind mount in your setup?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list