On Sun, 2020-04-26 at 12:38 -0500, Bruce Dubbs via lfs-dev wrote: > On 4/26/20 10:17 AM, Jean-Marc Pigeon via lfs-dev wrote: > > Hello, > > On Sun, 2020-04-26 at 16:13 +0200, Pierre Labastie via lfs-dev > > wrote: > > > 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 > > > > > Many thanks Pierre, right on the spot. > > there is plain ascii files, both services and protocols. > > > > May I (strongly) suggest to have Mic92 iana-etc contribution > > to be included within LFS. > > Hmm. Perhaps we should use this and update before each stable > release > similar to vim.
Agreed!, good idea (good trade-off) > > -- Bruce > > -- You have seen "Linux from scratch" and looking for ISO files www.osukiss.org -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page