ntp in /etc/services

Richard Laager rlaager at wiktel.com
Thu Aug 13 05:31:39 UTC 2020


On 8/12/20 4:44 AM, Hal Murray via devel wrote:
>> Is that a bug, or should I remove that chunk of text?
> 
> That doesn't seem very clear.  Let me try again.
> 
> The documentation mentions /etc/services
> The current code doesn't use it.  It passes "123" rather than "ntp" to the DNS 
> lookup routines.
> 
> How should we fix that?
>   1) fix documentation (easy, remove 2 lines)
>   2) change code to use /etc/services

#1 please. There's no need to use /etc/services and that's not a common
thing for daemons these days to require.

With my Debian packager hat on, getting a port in Debian's /etc/services
is another level of complication that I don't want to have to deal with.

-- 
Richard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20200813/9cfd706d/attachment-0001.bin>


More information about the devel mailing list