Richard Melville wrote:
Is there any reason why we use ping from inetutils rather than the
version from iputils.  I realise that we don't install iputils, but why?

Why not?  There is no need to change.

I'm asking this because it would appear that the former won't tolerate
the same alias (hostname) being entered in /etc/hosts for both IPv4 and
IPv6, but the latter does.

The hostnames in /etc/hosts must be unique. Rename the entry to create a unique name:

a.b.c.d hostname
BBBB:BBBB:BBBB:BBBB:BBBB:BBBB::BBBB  hostname6

I admit that I haven't, at this stage, checked whether it is just the
different versions of ping displaying these variations or something
else.  The iputils version of ping I'm using is on a laptop running
Linux Mint, so it could be a different script causing the variation, but
I doubt it.

Whilst on the subject of hostname: in whch version of LFS was
/etc/hostname added and would this have any bearing on the matter as the
LFS version I'm looking at is an old 7.1.

I don't recall exactly but it was around 7.4. It was to make trunk compatible with the systemd version. Note that the hostname for trunk can also be set in /etc/sysconfig/rc.site. I think that has been there since 7.0.

  -- Bruce

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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to