teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame 0001-resolved-Move-symlink-creation-from-tmpfiles-to-daem.patch

Colin Walters 4dd25f
From 73403e8de2c5bc6d54f89ae2f1c9aa12b92ecb7a Mon Sep 17 00:00:00 2001
Colin Walters 4dd25f
From: Colin Walters <walters@verbum.org>
Colin Walters 4dd25f
Date: Mon, 7 Jul 2014 08:27:43 -0400
Colin Walters 4dd25f
Subject: [PATCH] resolved: Move symlink creation from tmpfiles to daemon
Colin Walters 4dd25f
 runtime
Colin Walters 4dd25f
Colin Walters 4dd25f
At least Fedora right now doesn't by default use resolved; the service
Colin Walters 4dd25f
is disabled by default in the 90-default.preset file.
Colin Walters 4dd25f
Colin Walters 4dd25f
The change to unconditionally create the resolv.conf symlink broke
Colin Walters 4dd25f
Anaconda and related tools (lorax) which expect it to be a regular
Colin Walters 4dd25f
file.  In particular, Anaconda expects to be able to persist
Colin Walters 4dd25f
networking state from the installation environment to the target
Colin Walters 4dd25f
system.
Colin Walters 4dd25f
---
Colin Walters 4dd25f
 tmpfiles.d/etc.conf            | 1 -
Colin Walters 4dd25f
 2 files changed, 9 insertions(+), 1 deletion(-)
Colin Walters 4dd25f
Colin Walters 4dd25f
diff --git a/tmpfiles.d/etc.conf b/tmpfiles.d/etc.conf
Colin Walters 4dd25f
index b23272cb27..125d6e0a17 100644
Colin Walters 4dd25f
--- a/tmpfiles.d/etc.conf
Colin Walters 4dd25f
+++ b/tmpfiles.d/etc.conf
Colin Walters 4dd25f
@@ -10,6 +10,5 @@
Colin Walters 4dd25f
 L /etc/os-release - - - - ../usr/lib/os-release
Colin Walters 4dd25f
 L /etc/localtime - - - - ../usr/share/zoneinfo/UTC
Colin Walters 4dd25f
 L+ /etc/mtab - - - - ../proc/self/mounts
Colin Walters 4dd25f
-L /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf
Colin Walters 4dd25f
 C /etc/nsswitch.conf - - - -
Colin Walters 4dd25f
 C /etc/pam.d - - - -
Colin Walters 4dd25f
-- 
Colin Walters 4dd25f
1.9.3
Colin Walters 4dd25f