On Sun, 2020-04-26 at 09:30 -0400, Jean-Marc Pigeon via lfs-dev wrote:
> Hello,
> 
> 
> Working with my (LFS based) server, I got a trouble
> with /etc/services (iana port definition), as (just an example)
> port 953 (rndc) is not defined.
> 
> The LFS /etc/services (extracted from iana-etc-2.30.tar.bz2)
> is obviously obsolete (2008).
> 
> The last iana-etc (services port definition) is available
> from
> https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
> 
> last updated 2020-04-07
> 
> Problem: that file is an RFC/splitted like, not straigth forward
> to convert to /etc/services file.
> 
> Questions:
> 1) Should not LFS use an updated /etc/service definition?

We could try to use the one from below. But there are fairly frequent
updates...

> 2) could somebody know about an up to date service-names-port-number
>    in tar format location?

Not tried, but found https://github.com/Mic92/iana-etc/releases

Maybe it is just the xml, and then there is a need to run the update.py
tool (below) on it

> 3) Is there a "tools" to convert that kind of RFC/human format to
>    a plain services file format?

Again, not tried:
https://github.com/Mic92/iana-etc/blob/master/update.py

converts the .xml file to /etc/services

Pierre

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to