Bug 1474104 - Different nsswitch.conf after upgrade and new install
Different nsswitch.conf after upgrade and new install
Status: CLOSED CANTFIX
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
26
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Carlos O'Donell
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-23 17:58 EDT by Akos Ladanyi
Modified: 2017-07-24 06:31 EDT (History)
8 users (show)

See Also:
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 (Terms of Use)
/etc/nsswitch.conf (freshly installed Fedora 26) (1.72 KB, text/plain)
2017-07-23 17:59 EDT, Akos Ladanyi
no flags Details
/etc/nsswitch.conf.bak (freshly installed Fedora 26) (1.69 KB, text/plain)
2017-07-23 18:00 EDT, Akos Ladanyi
no flags Details
/etc/nsswitch.conf (after upgrade from Fedora 25) (1.72 KB, text/plain)
2017-07-23 18:00 EDT, Akos Ladanyi
no flags Details
/etc/nsswitch.conf.bak (after upgrade from Fedora 25) (1.72 KB, text/plain)
2017-07-23 18:01 EDT, Akos Ladanyi
no flags Details
/etc/nsswitch.conf.rpmnew (after upgrade from Fedora 25) (1.66 KB, text/plain)
2017-07-23 18:01 EDT, Akos Ladanyi
no flags Details

  None (edit)
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.

Note You need to log in before you can comment on or make changes to this bug.