Bengt Gördén wrote:
On 2023-04-24 09:05, Andrei Borzenkov wrote:
On Sun, Apr 23, 2023 at 9:42 PM Per Jessen <per@opensuse.org> wrote:
/etc/services is fine, and I presume nscd is fine about /etc/nsswitch.ch, but it still keeps complaining about /etc/nsswitch.ch.
Well, support for /usr/etc/nsswitch.conf is really minimal - it simply tries to open it if /etc/nsswitch.conf does not exist. You certainly can open a bug report.
I have a freshly installed TW since about a week ago. How come these two differ? And when they do, who to trust and use?
# ls -la /usr/etc/nsswitch.conf* /etc/nsswitch.conf* -rw-r--r-- 1 root root 2221 Apr 13 09:54 /etc/nsswitch.conf -rw-r--r-- 1 root root 2190 Apr 18 09:37 /usr/etc/nsswitch.conf
# diff /usr/etc/nsswitch.conf /etc/nsswitch.conf 61c61 < hosts: files dns ---
hosts: files mdns_minimal [NOTFOUND=return] dns
I see the same - albeit on an older TW system, office25, with desktop. I think it is nss-mdns - check out the config script /usr/sbin/nss-mdns-config. When the two files differ, I would certainly expect /etc/nsswitch.ch to take precedence. -- Per Jessen, Zürich (12.2°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes