Red Hat Bugzilla – Bug 1474104
Different nsswitch.conf after upgrade and new install
Last modified: 2017-07-24 06:31:42 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
[upgradedfrom25]$ rpm -V glibc
[newinstall]$ rpm -qf /etc/nsswitch.conf
[newinstall]$ rpm -V glibc
Created attachment 1303365 [details]
/etc/nsswitch.conf (freshly installed Fedora 26)
Created attachment 1303366 [details]
/etc/nsswitch.conf.bak (freshly installed Fedora 26)
Created attachment 1303367 [details]
/etc/nsswitch.conf (after upgrade from Fedora 25)
Created attachment 1303368 [details]
/etc/nsswitch.conf.bak (after upgrade from Fedora 25)
Created attachment 1303369 [details]
/etc/nsswitch.conf.rpmnew (after upgrade from Fedora 25)
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.