Re: [bug-inetutils] netstat

From:

Simon Josefsson

Subject:

Re: [bug-inetutils] netstat

Date:

Wed, 30 Nov 2011 18:47:45 +0100

User-agent:

Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux)

Eelco Dolstra <address@hidden> writes:
> Hi,
>
> On 11/30/2011 05:17 PM, Simon Josefsson wrote:
>
>> What is the content of /etc/nsswitch.conf on the Hydra build servers?
>>
>> I wonder what glibc does if there is no /etc/nsswitch.conf at all, which
>> may be the situation on the build servers.
>
> Yes, that's the case for the Linux builds. They're in a chroot that
> has a extremely miminal /etc (currently, just /etc/passwd and
> /etc/group with entries for the build uid/gid, and /etc/hosts with an
> entry for localhost).
What does getservbyname ("ftp", "tcp") return? If it returns NULL, we
need to deal with it, but if it hangs or takes a lot of time to timeout
you may want to have a small /etc/nsswitch.conf or similar.
However, given that InetUtils builds fine (and passes self-checks) I
believe there is no problem either on the InetUtils or NixOS side.
Thanks,
/Simon