[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#848223: cups-browsed: IPP printer disappears after logrotate is run



On Thu 15 Dec 2016 at 17:24:56 +0000, Brian Potkin wrote:

> On Thu 15 Dec 2016 at 12:08:28 -0200, Till Kamppeter wrote:
> 
> Not in any significant way, AFAICT. After restarting the cups service it
> takes 5 minutes before the printer disappears. If I restart cups-browsed
> 2 minutes before the 5 minutes is up it just delays the deletion of the
> printer by 3 minutes. Restarting cups-browsed after that 8 minutes does
> cause the printer to reappear.

I did some more testing:

All the CreateIPPPrinterQueues lines were commented out but the line
"CreateRemoteCUPSPrinterQueues No" was uncommented. cups-browsed was
removed (the .conf file is left on the system) and cups-daemon purged.
Both packages were then reinstalled. We expect 'lpstat-a' to show "no
destinations added", which it does.

"CreateIPPPrinterQueues AppleRaster" was uncommented and cups-browsed
restarted. The ENVY IPP printer is now the only queue known to the
system.

Running neither 'systemctl restart cups' nor 'logrotate -f' causes the
printer to be deleted. Looks good.

"CreateRemoteCUPSPrinterQueues No" was now commented and cups-browsed
restarted. Four remote print queues are now discovered. Now we are back
to the subject of this report; the ENVY disappears after the restarting
of cups or the running of 'logrotate -f'.
 
-- 
Brian.


Reply to: