[cups.general] CUPS not robust against IP address renewal from

Michael Sweet mike at easysw.com
Wed Jun 15 06:37:33 PDT 2005


Till Kamppeter wrote:
> Michael Sweet wrote:
> 
>> Till Kamppeter wrote:
>>
>>> Oi,
>>>
>>> a user of Mandriva Linux has observed that CUPS hangs on a box which 
>>> got its IP-address from a DHCP server when an IP address renewal 
>>> takes place. See
>>>
>>> http://qa.mandriva.com/show_bug.cgi?id=15493
>>>
>>> Someone observed such a thing already? How does CUPS behave when the 
>>> IP address actually changes?
>>
>>
>>
>> Can you post a summary?  That link seems to be down...
>>
> 
> Usually, our Bugzilla is publicly available, but it seems that there are 
> temporary access problems. So here is a copy of the report
> 
> ----------------------------------------------------------------------------- 
> 
> When I launch my computer printing works perfectly. Buf after some 
> times, I'm
> unable to launch some software as openoffice or to select print in firefox.
>   I've straced openoffice to see the software is blocked when it tries to
> connect to cups server. Relaunching cups allows openoffice to launch.
>   I've relaunched cups width in debug mode. There isn't any error in the 
> log,
> but there is nothing written after 11:31:48
>   In /var/log/syslog, I've the lines:
> 
> Apr 18 11:31:48 pingouinou dhclient: DHCPREQUEST on eth1 to 212.198.0.72 
> port 67
> Apr 18 11:31:48 pingouinou dhclient: DHCPACK from 212.198.0.72
> Apr 18 11:31:48 pingouinou dhclient: bound to 81.67.117.132 -- renewal 
> in 10659
> seconds.
> 
> NB: There isn't any changes in the IP adress

Um, is there a ServerName defined in /etc/cups/client.conf?  If so,
try removing that (so it uses localhost), and make sure that if you
are using Listen in cupsd.conf that you have a line there for
localhost (or 127.0.0.1) as well as any IP address.

Local clients should always communicate via localhost (or in CUPS
1.2, a new domain socket which is faster)

-- 
______________________________________________________________________
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