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

Bug#711849: cups-browsed depends on avahi-daemon, unnecessarily



Control: tags -1 +wontfix

Hi Stephan, and thanks for your bugreport,

Le lundi, 10 juin 2013 12.25:31, Stephan Boettcher a écrit :
> cups-browsed works nicely without avahi when instructed to
> BrowsePoll a specific server.  The avahi-daemon is pulled in
> unnecessaily and needs to be disabled in our setup.

Although I agree it is inconvenient to have that dependency when you don't 
_need_ to use it, cups-browsed is currently built by default with "--with-
browseremoteprotocols=dnssd", which means that the "cups" protocol is not 
enabled by default [0]. In setups with only CUPS >= 1.6 client and servers, 
dnssd is the protocol of choice and "cups" is only available for retro-
compatibility with older CUPS < 1.6 instances; it will eventually get dropped 
in a future release.

By having dnssd in the default BrowseRemoteProtocols entry, starting cups-
browsed doesn't work if avahi-daemon is not already launched (and hence, 
installed), as is expressed through the initscript LSB headers.

So while I agree that having avahi-daemon as a dependency is unfortunate, I 
don't really see another way to have cups-browsed work straight after 
(minimal) installation. I'm therefore hereby tagging this bugreport as 
'wontfix'.

Cheers,

OdyX

[0] Although the postinst tries to enable it on upgrades from cups < 1.6.


Reply to: