[cups.general] cupsd keeps dying whenever configuredto BrowsePoll

Michael Sweet mike at easysw.com
Thu Oct 26 07:28:32 PDT 2006


wtautz wrote:
> Michael Sweet wrote:
>> wtautz wrote:
>>   
>>> Hi,
>>>
>>> Is there a known problem with cupsd dying whenever it does
>>> a BrowsePoll? I'm noticing that cups-polld is orphaned by cups
>>> and the server is not running. Noticing this with both
>>> server client as compiled on SunOS5.8 using source on www.cups.org
>>>     
>> There is no known problem with BrowsePoll in CUPS 1.2.3.  What
>> version of CUPS are you using?
>>
>>   
>>> ...
>>> ps. It would seem that one has to have Browsing On whenever BrowsePoll
>>> is set.
>>> Is this a deliberate design? How does cups-polld works. Does it forward
>>> any packets
>>> it gets to the local subnet or to the server directly?
>>>     
>> Yes, it is deliberate by design.  cups-polld does a CUPS-Get-Printers
>> request to the polled server and then sends CUPS UDP packets to the
>> local loopback interface (127.0.0.1) so that cupsd sees them.
>>   
> Could it send them to the Unix socket file? Or is that protocol
> insufficient to support such a mechanism? My understanding of socket
> programming is pretty rusty.

No, domain sockets do not support an unconnected mode like UDP
sockets do...

Keep in mind that you can configure CUPS to run without listening
on TCP port 631, but for polling you need the UDP port...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list