From be5215f9a07cd8e382e79530fba3adc573ededaf Mon Sep 17 00:00:00 2001 From: Vadim Rutkovsky Date: Sat, 21 Nov 2020 10:26:56 +0100 Subject: [PATCH] overlay/usr/lib/tmpfiles.d/etc.conf: remove /etc/resolv.conf symlink Fedora 33 creates /etc/resolv.conf pointing to systemd-resolved file. OKD OS should avoid creating it, so that /etc/resolv.conf is managed by NM --- overlay/usr/lib/tmpfiles.d/etc.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 overlay/usr/lib/tmpfiles.d/etc.conf diff --git a/overlay/usr/lib/tmpfiles.d/etc.conf b/overlay/usr/lib/tmpfiles.d/etc.conf new file mode 100644 index 00000000..9b1b252c --- /dev/null +++ b/overlay/usr/lib/tmpfiles.d/etc.conf @@ -0,0 +1,12 @@ + # This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# See tmpfiles.d(5) for details +L /etc/os-release - - - - ../usr/lib/os-release +L+ /etc/mtab - - - - ../proc/self/mounts +C! /etc/nsswitch.conf - - - - +C! /etc/pam.d - - - - +C! /etc/issue - - - -