[lsb-discuss] potential lsb-apache FVT problem and /etc/services

Fujinaka, Todd todd.fujinaka at intel.com
Tue Aug 22 15:49:45 PDT 2006


>-----Original Message-----
>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
if
>> > there are multiple entries like this.  A valid implementation,
given
>> > the IANA list installed in /etc/services, could return the first,
the
>> > second, or none at all
>>
>> Nope, it will *always* return the first entry that matches, as
searched
>> 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
>NIS?

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 mailing list