[cups.bugs] [LOW] STR #3464: cupsd resolves localhost to both IPv4 and IPv6 address even if only 1 is set

Ecki ecki at intershop.de
Wed Jan 6 08:22:28 PST 2010


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Closed w/o Resolution]

After all, "localhost" is still a name, and so should be resolved with a
system's name resolution mechanisms. Even
http://en.wikipedia.org/wiki/Hosts_file states "The default hosts file
contents typically includes a line for the localhost definition", and
http://linux.about.com/od/lna_guide/a/gdelna46.htm still has it in the
example hosts file without any additional comment.

Regarding your further arguments:

1. The term "many" is not very clear -- what relative amount of users is
enough for doing so, what is the estimated amount of users doing this? At
our site (mix of ~150-300 Linux, Solaris, HP-UX, etc. machines) it's below
2 or 3 %.

2. What bogosity is worth supporting while not supporting standard (or at
least very common) behaviour at the same time?

3. For that exact point, resolution has only be tried once at startup. And
for how name resolution works, I assume that the majority of system
administrators are familiar with nsswitch.conf, resolv.conf and hosts.


At least for the 1st and 2nd point I already proposed a possible change to
get closer to common behaviour. The last one simply a matter of very crude
network configuration.

What indeed could have been done without too much effort is:

- explicitly mention the behaviour in the man page,
- put IP addresses (and not name "localhost") into the default
configuration.

Link: http://www.cups.org/str.php?L3464
Version: 1.3.11
Fix Version: Will Not Fix





More information about the cups-devel mailing list