[cups-devel] [UNKN] STR #4618: Using host name in /etc/cups/cupsd.conf Listen directive could make cupsd listen on the wrong IP
noreply at cups.org
Wed Apr 15 07:38:39 PDT 2015
-----BEGIN PGP SIGNED MESSAGE-----
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
> Yes, because we can't bind to an interface. Network addresses change...
Fair enough. They may change.
> As for changing the documentation for Listen, quite frankly this has
> been an issue.
Well, it looks like I went right up to the fringe ;}
> For most users the only value they ever use is "Listen
> localhost:631", which binds cupsd to the loopback interface (and in fact
> have hardcoded lookups for "localhost" to bypass common DNS issues).
> When sharing is enabled we switch to "Port 631".
> Using "Listen hostname" with a dynamically assigned address is
> just not done...
OK then. I'm willing to stop right there. I can manage the situation as it
is, but I think that if, by any chance, such complain will be repeated, at
least a simple note in documentation, like “Don't rely on hostname in
dynamically configured environments”, would be in order.
In the meantime, thanks for all the explanation and help!
Fix Version: None
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org
-----END PGP SIGNATURE-----
More information about the cups