Bug 1474104 - Different nsswitch.conf after upgrade and new install
Summary: Different nsswitch.conf after upgrade and new install
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 26
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Carlos O'Donell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-23 21:58 UTC by Akos Ladanyi
Modified: 2017-07-24 10:31 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-24 10:31:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
/etc/nsswitch.conf (freshly installed Fedora 26) (1.72 KB, text/plain)
2017-07-23 21:59 UTC, Akos Ladanyi
no flags Details
/etc/nsswitch.conf.bak (freshly installed Fedora 26) (1.69 KB, text/plain)
2017-07-23 22:00 UTC, Akos Ladanyi
no flags Details
/etc/nsswitch.conf (after upgrade from Fedora 25) (1.72 KB, text/plain)
2017-07-23 22:00 UTC, Akos Ladanyi
no flags Details
/etc/nsswitch.conf.bak (after upgrade from Fedora 25) (1.72 KB, text/plain)
2017-07-23 22:01 UTC, Akos Ladanyi
no flags Details
/etc/nsswitch.conf.rpmnew (after upgrade from Fedora 25) (1.66 KB, text/plain)
2017-07-23 22:01 UTC, Akos Ladanyi
no flags Details

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.


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