Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 705764 Details for
Bug 915147
redhat-lsb breaks hostname lookup of machines on local network
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Update redhat-lsb install to prevent breaking nsswitch.conf
0003-Fix-bug-915147-redhat-lsb-breaks-local-hostname-reso.patch (text/plain), 1.29 KB, created by
Eddie Kovsky
on 2013-03-06 05:06:30 UTC
(
hide
)
Description:
Update redhat-lsb install to prevent breaking nsswitch.conf
Filename:
MIME Type:
Creator:
Eddie Kovsky
Created:
2013-03-06 05:06:30 UTC
Size:
1.29 KB
patch
obsolete
>From 21db170288b4927219919e94679cde647b1a767b Mon Sep 17 00:00:00 2001 >From: Eddie Kovsky <edkovsky@gmail.com> >Date: Tue, 5 Mar 2013 21:25:08 -0700 >Subject: [PATCH 3/3] Fix bug #915147 redhat-lsb breaks local hostname > resolution > >redhat-lsb installation modifies /etc/nsswitch.conf to be LSB compliant. >Removing mdns4_minimal from the hosts services entry breaks local name >resolution on some networks. >This patch restores mdns4 to the hosts entry while preserving LSB compliance. >--- > redhat-lsb.spec | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/redhat-lsb.spec b/redhat-lsb.spec >index e46bf3c..6786662 100644 >--- a/redhat-lsb.spec >+++ b/redhat-lsb.spec >@@ -593,7 +593,7 @@ fi > if ! grep -s -q '^hosts: \+files \+dns *$' /etc/nsswitch.conf;then > cat /etc/nsswitch.conf >%{_datadir}/lsb/nsswitch.conf.orig > ed -s /etc/nsswitch.conf <<EOF >-/^hosts: \+files \+/s/.*/hosts: files dns/ >+/^hosts: \+files \+/s/.*/hosts: files dns mdns4_minimal/ > w > q > EOF >@@ -612,7 +612,7 @@ fi > if ! grep -s -q '^hosts: \+files \+dns *$' /etc/nsswitch.conf;then > cat /etc/nsswitch.conf >%{_datadir}/lsb/nsswitch.conf.orig > ed -s /etc/nsswitch.conf <<EOF >-/^hosts: \+files \+/s/.*/hosts: files dns/ >+/^hosts: \+files \+/s/.*/hosts: files dns mdns4_minimal/ > w > q > EOF >-- >1.8.1.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 915147
: 705764