On 14/02/2020 13.00, Per Jessen wrote:
ellanios82 wrote:
On 2/14/20 12:21 PM, Per Jessen wrote:
ellanios82 wrote:
- hopefully , things are looking up :) - on Patrick's suggestion , moved /usr/etc/services to /etc/services That isn't the correct fix. The correct way is an update of /etc/nsswitch.conf
Do you have /etc/nsswitch.conf.rpmnew ?
- yes : have
/etc/nsswitch.conf.rpmnew
- what's next step i should do ?
I would suggest you move the services file back to /usr/etc , then you need to edit /etc/nsswitch.ch and add the text 'usrfiles' to match this:
passwd: compat group: compat shadow: compat
hosts: files dns networks: files dns
services: files usrfiles protocols: files usrfiles rpc: files usrfiles ethers: files usrfiles netmasks: files netgroup: files nis publickey: files
bootparams: files automount: files nis aliases: files usrfiles
It might as simple as to copy '/etc/nsswitch.conf.rpmnew" to /etc/nsswitch.conf. I would probably run a diff to see what the differences are:
diff -u /etc/nsswitch.conf /etc/nsswitch.conf.rpmnew
Or, in a GUI way: meld /etc/nsswitch.conf /etc/nsswitch.conf.rpmnew with nice clickable things to copy entries over, delete others, edit, etc. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)