naccyde / rpms / systemd

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