Blame SOURCES/9004-rhel9-remove-support-for-for-resolved.patch

93643d
From 259e4e50a97a5196436e3d7ed42d2ecf0be3203f Mon Sep 17 00:00:00 2001
93643d
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina@redhat.com>
93643d
Date: Mon, 31 May 2021 15:42:49 +0200
93643d
Subject: [PATCH] rhel9: remove support for for resolved
93643d
93643d
systemd-resolved is an experimental feature at this point and it
93643d
should not be enabled by default. Steps to switch this feature on
93643d
will be documented in RHEL guide.
93643d
93643d
This reverts commit c5294c508a940291440eb32d5d750f33baf1ae54.
93643d
---
93643d
 profiles/minimal/nsswitch.conf | 2 +-
93643d
 profiles/nis/nsswitch.conf     | 2 +-
93643d
 2 files changed, 2 insertions(+), 2 deletions(-)
93643d
93643d
diff --git a/profiles/minimal/nsswitch.conf b/profiles/minimal/nsswitch.conf
93643d
index a9e4bc79a1090304542ccd8b43d1107eeb5304df..a39e4d32ebf79e8bf05f2db5753b01596222dc35 100644
93643d
--- a/profiles/minimal/nsswitch.conf
93643d
+++ b/profiles/minimal/nsswitch.conf
93643d
@@ -2,7 +2,7 @@ aliases:    files                                       {exclude if "with-custom
93643d
 automount:  files                                       {exclude if "with-custom-automount"}
93643d
 ethers:     files                                       {exclude if "with-custom-ethers"}
93643d
 group:      files {if "with-altfiles":altfiles }systemd {exclude if "with-custom-group"}
93643d
-hosts:      resolve [!UNAVAIL=return] files myhostname dns {exclude if "with-custom-hosts"}
93643d
+hosts:      files dns myhostname                        {exclude if "with-custom-hosts"}
93643d
 initgroups: files                                       {exclude if "with-custom-initgroups"}
93643d
 netgroup:   files                                       {exclude if "with-custom-netgroup"}
93643d
 networks:   files                                       {exclude if "with-custom-networks"}
93643d
diff --git a/profiles/nis/nsswitch.conf b/profiles/nis/nsswitch.conf
93643d
index 50a3ffb7431a91b88b4bfef4c09df19310fac7e7..9bee7d839f84ff39d54cb6ead9dea38e51736b4d 100644
93643d
--- a/profiles/nis/nsswitch.conf
93643d
+++ b/profiles/nis/nsswitch.conf
93643d
@@ -2,7 +2,7 @@ aliases:    files nis                   {exclude if "with-custom-aliases"}
93643d
 automount:  files nis                   {exclude if "with-custom-automount"}
93643d
 ethers:     files nis                   {exclude if "with-custom-ethers"}
93643d
 group:      files nis systemd           {exclude if "with-custom-group"}
93643d
-hosts:      resolve [!UNAVAIL=return] files nis myhostname dns {exclude if "with-custom-hosts"}
93643d
+hosts:      files nis dns myhostname    {exclude if "with-custom-hosts"}
93643d
 initgroups: files nis                   {exclude if "with-custom-initgroups"}
93643d
 netgroup:   files nis                   {exclude if "with-custom-netgroup"}
93643d
 networks:   files nis                   {exclude if "with-custom-networks"}
93643d
-- 
93643d
2.31.1
93643d