[lsb-discuss] potential lsb-apache FVT problem and /etc/services
todd.fujinaka at intel.com
Tue Aug 22 15:49:45 PDT 2006
>From: lsb-discuss-bounces at lists.freestandards.org [mailto:lsb-discuss-
>bounces at lists.freestandards.org] On Behalf Of Thorsten Kukuk
>Sent: Tuesday, August 22, 2006 2:29 PM
>On Tue, Aug 22, Mark Brown wrote:
>> > SuSv3 makes absolutely zero guarantees what getservbyport() will do
>> > there are multiple entries like this. A valid implementation,
>> > the IANA list installed in /etc/services, could return the first,
>> > second, or none at all
>> Nope, it will *always* return the first entry that matches, as
>> from the beginning. The "www" entries will never be reached by
>> getservbyport(). They *will* be reached by getservbyname(www).
>You make the assumption that getservbyport will parse /etc/services.
>What happens if somebody use a real database as used as backend for
Aren't we just talking about the LSB Functional Verification Test? Do
people go to all the trouble of setting up NIS, etc, to check if their
distros pass the FVT? Or are the "bare bones" set-ups tested?
More information about the lsb-discuss