On Thu 15 Dec 2016 at 12:08:28 -0200, Till Kamppeter wrote: > On 12/15/2016 11:48 AM, Brian Potkin wrote: > >On Thu 15 Dec 2016 at 10:35:00 +0000, Brian Potkin wrote: > > > >>The same behaviour can be reproduced with the commands: > >> > >> logrotate -f /etc/logrotate.d/cups-daemon > >>or > >> systemctl restart cups cups-browsed.service > >>or > >> systemctl restart cups ; sleep 3 ; systemctl restart cups-browsed.service > > > >It is sufficient to do 'systemctl restart cups, as logrotate does. > > > >The printer does not get deleted when > > > > lpadmin -p... -v ipp://... -E -m everywhere > > > >is used to set up the queue. > > Does restarting cups-browsed after restarting CUPS help?
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. -- Brian.