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

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