teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0090-tmpfiles-don-t-create-resolv.conf-stub-resolv.conf-s.patch

ac3a84
From efe2c6703e3132dafaa29c1a7d3e3db4a683ed15 Mon Sep 17 00:00:00 2001
152484
From: Michal Sekletar <msekleta@redhat.com>
152484
Date: Thu, 5 Aug 2021 17:11:47 +0200
152484
Subject: [PATCH] tmpfiles: don't create resolv.conf -> stub-resolv.conf
152484
 symlink
152484
152484
RHEL-only
152484
ac3a84
Related: #2138081
152484
---
152484
 tmpfiles.d/meson.build          |  1 -
152484
 tmpfiles.d/systemd-resolve.conf | 10 ----------
152484
 2 files changed, 11 deletions(-)
152484
 delete mode 100644 tmpfiles.d/systemd-resolve.conf
152484
152484
diff --git a/tmpfiles.d/meson.build b/tmpfiles.d/meson.build
ac3a84
index ca1abbf3fe..179c71d375 100644
152484
--- a/tmpfiles.d/meson.build
152484
+++ b/tmpfiles.d/meson.build
ac3a84
@@ -10,7 +10,6 @@ files = [['README',               ''],
152484
          ['systemd-nologin.conf', 'HAVE_PAM'],
152484
          ['systemd-nspawn.conf',  'ENABLE_MACHINED'],
ac3a84
          ['systemd-pstore.conf',  'ENABLE_PSTORE'],
152484
-         ['systemd-resolve.conf', 'ENABLE_RESOLVE'],
152484
          ['systemd-tmp.conf',     ''],
ac3a84
          ['tmp.conf',             ''],
ac3a84
          ['x11.conf',             ''],
152484
diff --git a/tmpfiles.d/systemd-resolve.conf b/tmpfiles.d/systemd-resolve.conf
152484
deleted file mode 100644
152484
index cb1c56d6a6..0000000000
152484
--- a/tmpfiles.d/systemd-resolve.conf
152484
+++ /dev/null
152484
@@ -1,10 +0,0 @@
152484
-#  This file is part of systemd.
152484
-#
152484
-#  systemd is free software; you can redistribute it and/or modify it
152484
-#  under the terms of the GNU Lesser General Public License as published by
152484
-#  the Free Software Foundation; either version 2.1 of the License, or
152484
-#  (at your option) any later version.
152484
-
152484
-# See tmpfiles.d(5) for details
152484
-
152484
-L! /etc/resolv.conf - - - - ../run/systemd/resolve/stub-resolv.conf