bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] Tests leave inetd running


From: Mats Erik Andersson
Subject: Re: [bug-inetutils] Tests leave inetd running
Date: Thu, 9 Jun 2011 22:41:29 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

torsdag den  9 juni 2011 klockan 16:21 skrev Alfred M. Szmidt detta:

> [...]

> /etc/protocols is required to map names to ports and protocols by the
> GNU C library.  This is a serious bug in how nixos installs the GNU C
> library, since the GNU C library depends on this file for
> getprotobyname to work; the same goes for /etc/services.  This is not
> something we can fix directly on our side, other than maybe handling
> it more gracefully since we simply use getprotbyname and its friends.

This is indeed a serious omission in NixOS.

> In tftp.sh we try to use our own ifconfig version (since we can depend
> on the features and format without using external tools), if and only
> if the env. variable IFCONFIG is empty.  Was this not the case?  In
> either case, we shouldn't depend on an external ifconfig since we have
> our own that we can use.

I would strengthen this last sentence to claim

    ... since we should use our own (to achieve predictable test coverage).

Overriding this with IFCONFIG is done at your own peril. Perhaps we might
include a warning message in the script, as soon as the system under test
uses this liberty.

Regards,
  Mats



reply via email to

[Prev in Thread] Current Thread [Next in Thread]