Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.

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, sid
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 06:31:42 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
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 17:58:37 EDT
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 17:59 EDT
Created attachment 1303365 [details]
/etc/nsswitch.conf (freshly installed Fedora 26)
Comment 2 Akos Ladanyi 2017-07-23 18:00 EDT
Created attachment 1303366 [details]
/etc/nsswitch.conf.bak (freshly installed Fedora 26)
Comment 3 Akos Ladanyi 2017-07-23 18:00 EDT
Created attachment 1303367 [details]
/etc/nsswitch.conf (after upgrade from Fedora 25)
Comment 4 Akos Ladanyi 2017-07-23 18:01 EDT
Created attachment 1303368 [details]
/etc/nsswitch.conf.bak (after upgrade from Fedora 25)
Comment 5 Akos Ladanyi 2017-07-23 18:01 EDT
Created attachment 1303369 [details]
/etc/nsswitch.conf.rpmnew (after upgrade from Fedora 25)
Comment 6 Florian Weimer 2017-07-24 06:31:42 EDT
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.