[cups.bugs] [LOW] STR #3749: cupsctl adds multiple entries for Listen
pipitas at gmail.com
pipitas at gmail.com
Sun Dec 12 13:58:23 PST 2010
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
It's the first time I'm starting to play with "cupsctl"... So far I always
trusted my text editing more than any other tool :-)
I had a pretty much standard/default cupsd.conf (as shipped by Ubuntu
Maverick) with these entries:
Listen localhost:631
Listen /var/run/cups/cups.sock
I did run
cupsctl Listen=/var/run/cups/cups2.sock
I did get:
tail -n 4 /etc/cups/cupsd.conf
Listen /var/run/cups/cups2.sock
Listen /var/run/cups/cups2.sock
Listen localhost:631
Listen /var/run/cups/cups.sock
Maybe my expectation was wrong, that the cupsctl command would replace the
existing Listen socket with the new one...
However, if it is meant to *add* that new socket, it surely shouldn't add
the setting *twice*, resulting in error_log warning entries like
I [12/Dec/2010:22:47:57 +0100] Listening to /var/run/cups/cups2.sock
(Domain)
W [12/Dec/2010:22:47:57 +0100] Duplicate listen address
"/var/run/cups/cups2.sock" ignored!
I [12/Dec/2010:22:47:57 +0100] Listening to ::1:631 (IPv6)
I [12/Dec/2010:22:47:57 +0100] Listening to 127.0.0.1:631 (IPv4)
I [12/Dec/2010:22:47:57 +0100] Listening to /var/run/cups/cups.sock
(Domain)
Link: http://www.cups.org/str.php?L3749
Version: 1.4.4
More information about the cups
mailing list