/etc/services and other system databases moved to /usr/etc

Florian Weimer fweimer@redhat.com
Fri Sep 11 12:55:03 GMT 2020


* Petr Vorel:

> few months ago openSUSE Tumbleweed moved /etc/services and some other configuration
> files (/etc/ethers, /etc/networks, /etc/protocols) into /usr/etc (see Thorsten post [1]).
>
> This leads to error in prune_cache() in nscd/cache.c:
> nscd[1662]: 1662 checking for monitored file `/etc/services': No such file or directory
>
> Is it a distro problem and these files should be symlinked to /etc? (that
> IMHO still keeps /etc unchanged as the goal of this [1]).

Yes, those are well-known paths, and they are used by other software
directly, not just glibc.  For example, the Go run-time library depends
on these files for some functionality.  (At least /etc/protocols and
/etc/servers, along with the more commonly used files /etc/hosts,
/etc/passwd etc., of course.)

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill



More information about the Libc-alpha mailing list