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

Colin Walters walters at verbum.org
Mon Jul 7 09:45:54 PDT 2014


[ 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.
---
 src/resolve/resolved-manager.c | 12 +++++++++++-
 tmpfiles.d/etc.conf            |  1 -
 2 files changed, 11 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-resolved-Move-symlink-creation-from-tmpfiles-to-daem.patch
Type: text/x-patch
Size: 2379 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140707/b4547476/attachment-0001.bin>


More information about the systemd-devel mailing list