#812326 SystemV / LSB init header: cups-browsed depends on avahi and cups

Package:
cups-browsed
Source:
cups-filters
Description:
OpenPrinting CUPS Filters - cups-browsed
Submitter:
Mike Gabriel
Date:
2024-04-21 09:33:03 UTC
Severity:
normal
#812326#5
Date:
2016-01-22 11:38:11 UTC
From:
To:
Dear maintainer(s),

On Debian jessie systems using SystemV, the cups-browsed always needs
to be restarted after system startup.

On our system it gets launched before avahi-daemon and then fails to
find printers broadcasted on the local network.

What fixes the issue here is moving "avahi-daemon" from
Should-Start:/-Stop: to Required-Start:/-Stop: in
/etc/init.d/cups-browsed.

For the systemd service file of cups-browsed, this has already been
implemented.

In the systemd service file, cups-browsed also requires the cups
daemon itself to be running. I guess, that this should also be
reflected in the SystemV init script.

Thanks for maintaining CUPS in Debian!!!

Mike

#812326#10
Date:
2024-04-21 08:51:50 UTC
From:
To:
Hi Mike,

unfortunately this is a feature and not a bug.

As cups-browsed only Recommends: avahi-daemon, it might not be installed
and you can not require to wait for its start. As far as I know systemd
has some kind of timeout and the system will still boot when avahi-daemon
is not installed.

So, if you don't mind I will close this bug again.

   Thorsten