ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
4295f9
From ae1b3df445f9f9e27fa6a42602d4eb1db92df7a0 Mon Sep 17 00:00:00 2001
4295f9
From: Michal Sekletar <msekleta@redhat.com>
4295f9
Date: Thu, 5 Aug 2021 17:11:47 +0200
4295f9
Subject: [PATCH] tmpfiles: don't create resolv.conf -> stub-resolv.conf
4295f9
 symlink
4295f9
4295f9
RHEL-only
4295f9
4295f9
Resolves: #1989472
4295f9
---
4295f9
 tmpfiles.d/etc.conf.in | 3 ---
4295f9
 1 file changed, 3 deletions(-)
4295f9
4295f9
diff --git a/tmpfiles.d/etc.conf.in b/tmpfiles.d/etc.conf.in
4295f9
index 2323fd8cd8..ebdc699c26 100644
4295f9
--- a/tmpfiles.d/etc.conf.in
4295f9
+++ b/tmpfiles.d/etc.conf.in
4295f9
@@ -12,9 +12,6 @@ L+ /etc/mtab - - - - ../proc/self/mounts
4295f9
 {% if HAVE_SMACK_RUN_LABEL %}
4295f9
 t /etc/mtab - - - - security.SMACK64=_
4295f9
 {% endif %}
4295f9
-{% if ENABLE_RESOLVE %}
4295f9
-L! /etc/resolv.conf - - - - ../run/systemd/resolve/stub-resolv.conf
4295f9
-{% endif %}
4295f9
 C! /etc/nsswitch.conf - - - -
4295f9
 {% if HAVE_PAM %}
4295f9
 C! /etc/pam.d - - - -