[cups.general] option "-h server" versus cupsd on domain socket

Johannes Meixner jsmeix at suse.de
Tue May 27 03:52:20 PDT 2008


I filed two feature requests:

On May 21 07:54 Michael R Sweet wrote (shortened):
> Johannes Meixner wrote:
>> ...
>> Unfortunately "-h localhost" does not work if the local
>> running cupsd does not listen on the interface
>> but only on the Unix domain socket, i.e. when there is
>> in cupsd.conf
>> --------------------------------------------------------------
>> # Only listen for connections from the local machine.
>> #Listen localhost:631
>> Listen /var/run/cups/cups.sock
> This is not a standard or supported configuration, however
> you *can* use:
>    -h /var/run/cups/cups.sock
> to force a connection via the domain socket.


>> Would this be another reasonable feature request
>> to let "lpstat -r" respond on which hostname and port the
>> cupsd is running or where exactly it fails to connect?
> We can't change the output format for "-r", but we could add another
> option to report the default server and port.


Kind Regards
Johannes Meixner
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex

More information about the cups mailing list