Bug#848404: cups-browsed: CreateRemoteCUPSPrinterQueues has no effect
On Sat 17 Dec 2016 at 11:21:35 -0200, Till Kamppeter wrote:
> If you have observed the problem with the current BZR state of cups-filters.
> Please try
I had already tried this when testing the fix for #836955, which is
partly why I submitted this report. However, thinking my testing may
not have been thorough enough I've purged cups-daemon, cups-filters
and cups-browsed and reinstalled them from experimental. Then copied
over the previously compiled cups-browsed and libcupsfilters1 of the
current BZR state.
> sudo systemctl stop cups-browsed
>
> check whether all cups-browsed-generated queues have gone away and run
>
> sudo systemctl start cups-browsed
>
> Is the setting now obeyed?
>
> Did all the generated queues go away after stopping cups-browsed?
Stopping cups-browsed does not see the generated queues go away. No,
that's incorrect! One queue does disappear - the first in the list
root@test:~# less /var/log/cups/cups-browsed_log
Sat Dec 17 14:47:34 2016 Caught signal 15, shutting down ...
Sat Dec 17 14:47:34 2016 main loop exited
Sat Dec 17 14:47:34 2016 Processing printer list ...
Sat Dec 17 14:47:34 2016 Removing entry Colour and its CUPS queue.
Sat Dec 17 14:47:34 2016 Recording printer options for Colour to /var/cache/cups/cups-browsed-options-Colour
Sat Dec 17 14:47:34 2016 Could not determine system default printer!
Sat Dec 17 14:47:34 2016 cups-browsed [BrowsePoll /var/run/cups/cups.sock:0]: IPP-Cancel-Subscription
With CreateRemoteCUPSPrinterQueues as "No" and starting cups-browsed
the service fails. Journalctl has
Dec 17 14:56:37 test systemd[1]: Stopping Make remote CUPS printers available locally...
Dec 17 14:56:37 test systemd[1]: Stopped Make remote CUPS printers available locally.
Dec 17 14:56:54 test systemd[1]: Started Make remote CUPS printers available locally.
Dec 17 14:56:54 test systemd[1]: cups-browsed.service: Main process exited, code=exited, status=1/FAILURE
Dec 17 14:56:54 test systemd[1]: cups-browsed.service: Unit entered failed state.
Dec 17 14:56:54 test systemd[1]: cups-browsed.service: Failed with result 'exit-code'.
Comment out CreateRemoteCUPSPrinterQueues and cups-browsed restarts
succesfully.
--
Brian.
Reply to: