On 09/27/2016 09:32 PM, Roman Tsisyk wrote:
My package uses getprotobyname(3), getaddrinfo(3), getnameinfo(3) functions which read /etc/protocols, /etc/hosts, /etc/services and other network configuration files under the hood. Despite the fact that all these functions is an integral part of glibc, required configuration files are provided by a separate package called `setup`, which is not in the dependency tree of glibc.
I'm not sure there needs to be a glibc dependency. libresolv and nss_dns need a name server, but we don't add a dependency on that, either. We need a kernel, but again, no dependency.
All the files you listed could be provided by other NSS service modules instead of nss_files.
We could probably add a Recommends: dependency for /etc/protocols and /etc/services. For /etc/hosts, even that seems unnecessary.
Florian _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx