Network printers (cups-browsed) disappear after each CUPS update on client side

Bug #1829718 reported by MichaelB
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

We have a cups server (ubuntu) that centralize all our network printers. Each desktop users on Ubuntu (16.04, 18.04) are looking in that print server to retrieve those printers. It works fine but...

# /etc/cups/cups-browsed.conf in a desktop user
...
BrowseRemoteProtocols cups dnssd
BrowsePoll 192.168.10.80:631 # CUPS server
...

Each time that an CUPS update is applied on the client side all printers disappear from the listing and users are unable to print. So i have to connect to xxx computers in our company to restart the cups-browsed service...

This problem exist from some years.. but still not resolved and i didn't found a way to fix it.

Workaround:
- sudo service cups-browsed restart OR reboot the computer

Thanks!

Revision history for this message
MichaelB (mrbou) wrote :

Just a few more information about this issue.
This is the cups-browsed's state just after a cups update... is dead...

root@foo-ubuntu:/home/foo# service cups-browsed status
● cups-browsed.service - Make remote CUPS printers available locally
   Loaded: loaded (/lib/systemd/system/cups-browsed.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since ven 2019-06-14 14:51:38 CEST; 2min 27s ago
 Main PID: 927 (code=exited, status=0/SUCCESS)

jun 14 14:35:02 foo-ubuntu systemd[1]: Started Make remote CUPS printers available locally.
jun 14 14:51:38 foo-ubuntu systemd[1]: Stopping Make remote CUPS printers available locally...
jun 14 14:51:38 foo-ubuntu systemd[1]: Stopped Make remote CUPS printers available locally.

And here the syslog just when update is applied...

Jun 14 14:51:32 foo-ubuntu systemd[1]: Stopped Daily apt upgrade and clean activities.
Jun 14 14:51:32 foo-ubuntu systemd[1]: Stopped Daily apt download activities.
Jun 14 14:51:32 foo-ubuntu systemd[1]: Reloading.
Jun 14 14:51:32 foo-ubuntu systemd[1]: Started CUPS Scheduler.
Jun 14 14:51:32 foo-ubuntu systemd[1]: Started ACPI event daemon.
Jun 14 14:51:34 foo-ubuntu systemd[1]: Reloading.
Jun 14 14:51:34 foo-ubuntu systemd[1]: Started CUPS Scheduler.
Jun 14 14:51:34 foo-ubuntu systemd[1]: Started ACPI event daemon.
Jun 14 14:51:34 foo-ubuntu systemd[1]: Started Daily apt upgrade and clean activities.
Jun 14 14:51:34 foo-ubuntu systemd[1]: Started Daily apt download activities.
Jun 14 14:51:37 foo-ubuntu gnome-session[1647]: debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
Jun 14 14:51:38 foo-ubuntu systemd[1]: Stopped CUPS Scheduler.
Jun 14 14:51:38 foo-ubuntu systemd[1]: Reloading.
Jun 14 14:51:38 foo-ubuntu systemd[1]: Started ACPI event daemon.
Jun 14 14:51:38 foo-ubuntu systemd[1]: Stopping Make remote CUPS printers available locally...
Jun 14 14:51:38 foo-ubuntu systemd[1]: Stopped Make remote CUPS printers available locally.
Jun 14 14:51:38 foo-ubuntu systemd[1]: Stopping CUPS Scheduler...
Jun 14 14:51:38 foo-ubuntu systemd[1]: Stopped CUPS Scheduler.
Jun 14 14:51:38 foo-ubuntu systemd[1]: Reloading.
Jun 14 14:51:38 foo-ubuntu systemd[1]: Started ACPI event daemon.
Jun 14 14:51:38 foo-ubuntu systemd[1]: Reloading.
Jun 14 14:51:39 foo-ubuntu systemd[1]: Started ACPI event daemon.
Jun 14 14:51:41 foo-ubuntu systemd[1]: Reloading.
Jun 14 14:51:42 foo-ubuntu systemd[1]: Started ACPI event daemon.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cups (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.