ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
aa0848
From 92b6ae2097ae90355775217529d2fd55f7b84e31 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
aa0848
Resolves: #1989472
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
aa0848
index b8d3919025..6ae9e3e0b8 100644
aa0848
--- a/tmpfiles.d/meson.build
aa0848
+++ b/tmpfiles.d/meson.build
aa0848
@@ -7,7 +7,6 @@ files = [['README',               ''],
aa0848
          ['journal-nocow.conf',   ''],
aa0848
          ['systemd-nologin.conf', 'HAVE_PAM'],
aa0848
          ['systemd-nspawn.conf',  'ENABLE_MACHINED'],
aa0848
-         ['systemd-resolve.conf', 'ENABLE_RESOLVE'],
aa0848
          ['systemd-tmp.conf',     ''],
aa0848
          ['portables.conf',       'ENABLE_PORTABLED'],
aa0848
          ['systemd-pstore.conf',  'ENABLE_PSTORE'],
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