* Zbigniew Jędrzejewski-Szmek:

> On Thu, Jun 22, 2023 at 10:25:10AM -0500, Chris Adams wrote:
>> Once upon a time, Zbigniew Jędrzejewski-Szmek <zbys...@in.waw.pl> said:
>> > I was hoping we would be make the dependency on setup optional.
>> > It is a fairly heavyweight package (700+ kb) and with lots of
>> > not-that-useful-on-a-typical-modern-installation stuff (mail alias support,
>> > csh profile, /etc/hosts, nfs exports, etc.). Most of this is tiny, but it
>> > clutters /etc, which ideally would be empty, and also /etc/services is 700 
>> > kb.
>> 
>> /etc/services and /etc/protocols are AFAIK mandatory if you want to have
>> network services (either client or server).  I don't think there's
>> anything else providing that information.
>
> getservbyname would use /etc/services, but I'm not sure how widely it
> is used.

The getaddrinfo function uses it as well, to fill in the port number.

Thanks,
Florian
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to