[systemd-devel] [PATCH] resolved: Move symlink creation from tmpfiles to daemon runtime

Lennart Poettering lennart at poettering.net
Mon Jul 7 09:59:52 PDT 2014


On Mon, 07.07.14 09:45, Colin Walters (walters at verbum.org) wrote:

> [ Still testing this patch, but since it's nominated for Fedora 21 Alpha
> blocker,
>   sending upstream now for review ]
> 
> At least Fedora right now doesn't by default use resolved; the service
> is disabled by default in the 90-default.preset file.
> 
> The change to unconditionally create the resolv.conf symlink broke
> Anaconda and related tools (lorax) which expect it to be a regular
> file.  In particular, Anaconda expects to be able to persist
> networking state from the installation environment to the target
> system.
> 
> A simple fix is to just have resolved itself create it at runtime.

Hmm? the line has no effect if the file already exists or /etc is
read-only. What precisely causes anaconda to trip up? This really feels
like something to fix in anaconda, where it should remove the existing
file if there is one.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list