Your message dated Sat, 18 Mar 2017 17:25:29 +0100
with message-id <[email protected]>
and subject line Re: Bug#858011: netbase: Define ip4-localhost and ip4-loopback
in /etc/hosts, for symmentry with IPv6
has caused the Debian Bug report #858011,
regarding netbase: Define ip4-localhost and ip4-loopback in /etc/hosts, for
symmentry with IPv6
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
858011: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858011
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: netbase
Version: 5.4
Severity: wishlist
Dear Maintainer,
as per the subject, what about defining ip4-localhost and ip4-loopback
in /etc/hosts?
diff --git a/debian/netbase.postinst b/debian/netbase.postinst
index 4876e47..a893435 100644
--- a/debian/netbase.postinst
+++ b/debian/netbase.postinst
@@ -4,7 +4,7 @@ create_hosts_file() {
if [ -e /etc/hosts ]; then return 0; fi
cat > /etc/hosts <<-EOF
- 127.0.0.1 localhost
+ 127.0.0.1 localhost ip4-localhost ip4-loopback
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
I see this was proposed also in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427067#5
It's nothing major of course and it can be added locally, but it's quite
convenient.
I was testing some web app locally with both IPv4 and IPv6 and the test
links look a lot nicer and symmetric using the host names.
I can send a proper patch as attachment if there is interest.
Thanks,
Antonio
-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-- no debconf information
--
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it
A: Because it messes up the order in which people normally read text.
See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
--- End Message ---
--- Begin Message ---
On Mar 17, Antonio Ospite <[email protected]> wrote:
> as per the subject, what about defining ip4-localhost and ip4-loopback
> in /etc/hosts?
No, unless you can show a relevant RFC which requires this.
--
ciao,
Marco
signature.asc
Description: PGP signature
--- End Message ---