Op maandag 24 april 2023 09:48:08 CEST schreef Andrei Borzenkov:
On Mon, Apr 24, 2023 at 10:29 AM Bengt Gördén <bengan@bag.org> 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
Some packages modify nsswitch.conf. Check where mdns_minimal comes from, look at package scripts.
An openSUSE specific policy is available in: https://en.opensuse.org/openSUSE:Packaging_UsrEtc which offers 3 variants, which make things quite unclear what has been implemented in a specific package. It should be documented in the man page, or something such, which variant has been chosen in that specific package. -- fr.gr. member openSUSE Freek de Kruijf