Blame SOURCES/0903-rhel9-Revert-profiles-add-support-for-resolved.patch

eed6a9
From 6381b49e90b3850fade68c8af03b17d0cc016d3c Mon Sep 17 00:00:00 2001
75334f
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina@redhat.com>
eed6a9
Date: Wed, 25 Nov 2020 14:05:00 +0100
eed6a9
Subject: [PATCH 3/4] rhel9: Revert "profiles: add support for resolved"
75334f
eed6a9
systemd-resolved should not be enabled by default on rhel8.
75334f
75334f
This reverts commit c5294c508a940291440eb32d5d750f33baf1ae54.
75334f
---
75334f
 profiles/minimal/nsswitch.conf | 2 +-
75334f
 profiles/nis/nsswitch.conf     | 2 +-
75334f
 2 files changed, 2 insertions(+), 2 deletions(-)
75334f
75334f
diff --git a/profiles/minimal/nsswitch.conf b/profiles/minimal/nsswitch.conf
75334f
index a9e4bc79a1090304542ccd8b43d1107eeb5304df..a39e4d32ebf79e8bf05f2db5753b01596222dc35 100644
75334f
--- a/profiles/minimal/nsswitch.conf
75334f
+++ b/profiles/minimal/nsswitch.conf
75334f
@@ -2,7 +2,7 @@ aliases:    files                                       {exclude if "with-custom
75334f
 automount:  files                                       {exclude if "with-custom-automount"}
75334f
 ethers:     files                                       {exclude if "with-custom-ethers"}
75334f
 group:      files {if "with-altfiles":altfiles }systemd {exclude if "with-custom-group"}
75334f
-hosts:      resolve [!UNAVAIL=return] files myhostname dns {exclude if "with-custom-hosts"}
75334f
+hosts:      files dns myhostname                        {exclude if "with-custom-hosts"}
75334f
 initgroups: files                                       {exclude if "with-custom-initgroups"}
75334f
 netgroup:   files                                       {exclude if "with-custom-netgroup"}
75334f
 networks:   files                                       {exclude if "with-custom-networks"}
75334f
diff --git a/profiles/nis/nsswitch.conf b/profiles/nis/nsswitch.conf
75334f
index 50a3ffb7431a91b88b4bfef4c09df19310fac7e7..9bee7d839f84ff39d54cb6ead9dea38e51736b4d 100644
75334f
--- a/profiles/nis/nsswitch.conf
75334f
+++ b/profiles/nis/nsswitch.conf
75334f
@@ -2,7 +2,7 @@ aliases:    files nis                   {exclude if "with-custom-aliases"}
75334f
 automount:  files nis                   {exclude if "with-custom-automount"}
75334f
 ethers:     files nis                   {exclude if "with-custom-ethers"}
75334f
 group:      files nis systemd           {exclude if "with-custom-group"}
75334f
-hosts:      resolve [!UNAVAIL=return] files nis myhostname dns {exclude if "with-custom-hosts"}
75334f
+hosts:      files nis dns myhostname    {exclude if "with-custom-hosts"}
75334f
 initgroups: files nis                   {exclude if "with-custom-initgroups"}
75334f
 netgroup:   files nis                   {exclude if "with-custom-netgroup"}
75334f
 networks:   files nis                   {exclude if "with-custom-networks"}
75334f
-- 
eed6a9
2.34.1
75334f