Bug 1474104

Summary: Different nsswitch.conf after upgrade and new install
Product: [Fedora] Fedora Reporter: Akos Ladanyi <akos.ladanyi>
Component: glibcAssignee: Carlos O'Donell <codonell>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: arjun.is, codonell, dj, fweimer, law, mfabian, pfrankli, siddhesh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-24 10:31:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
/etc/nsswitch.conf (freshly installed Fedora 26)
none
/etc/nsswitch.conf.bak (freshly installed Fedora 26)
none
/etc/nsswitch.conf (after upgrade from Fedora 25)
none
/etc/nsswitch.conf.bak (after upgrade from Fedora 25)
none
/etc/nsswitch.conf.rpmnew (after upgrade from Fedora 25) none

Description Akos Ladanyi 2017-07-23 21:58:37 UTC
I freshly installed Fedora 26 on one machine, and upgraded another machine from Fedora 25, but I ended up with different /etc/nsswitch.conf files on the two.

Attached all /etc/nsswitch.conf* files from both machines.

The nsswitch.conf of the fresh install differs from both nsswitch.conf and nsswitch.conf.rpmnew on the upgraded machine. How is this possible?


[upgradedfrom25]$ rpm -qf /etc/nsswitch.conf
glibc-2.25-7.fc26.x86_64
glibc-2.25-7.fc26.i686
[upgradedfrom25]$ rpm -V glibc


[newinstall]$ rpm -qf /etc/nsswitch.conf
glibc-2.25-7.fc26.x86_64
[newinstall]$ rpm -V glibc

Comment 1 Akos Ladanyi 2017-07-23 21:59:37 UTC
Created attachment 1303365 [details]
/etc/nsswitch.conf (freshly installed Fedora 26)

Comment 2 Akos Ladanyi 2017-07-23 22:00:02 UTC
Created attachment 1303366 [details]
/etc/nsswitch.conf.bak (freshly installed Fedora 26)

Comment 3 Akos Ladanyi 2017-07-23 22:00:49 UTC
Created attachment 1303367 [details]
/etc/nsswitch.conf (after upgrade from Fedora 25)

Comment 4 Akos Ladanyi 2017-07-23 22:01:10 UTC
Created attachment 1303368 [details]
/etc/nsswitch.conf.bak (after upgrade from Fedora 25)

Comment 5 Akos Ladanyi 2017-07-23 22:01:35 UTC
Created attachment 1303369 [details]
/etc/nsswitch.conf.rpmnew (after upgrade from Fedora 25)

Comment 6 Florian Weimer 2017-07-24 10:31:42 UTC
Many packages in Fedora patch /etc/nsswitch.conf via RPM scriptlets and other means.  We ship the file in glibc, but we have essentially zero control over its contents.  I'm sorry, but there isn't anything we can do about this.