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

Bug#766334: BrowseAllow all gets into cups-browsed.conf by default resulting in no remote printers



Package: cups-browsed
Version: 1.0.61-2
Severity: normal

Hi,
I have lost all remote printers when updating from 1.5 based cups to
post 1.6 version. cups-browsed was supposed to return the removed
functionality from the main cups package (I am really grateful for that!)
but installing the package didn't work out for me. It took me some time
before I looked into /etc/cups/cups-browsed.conf unfortunately. The conf
comment would tell me what is going on:

# The following CUPS broadcasting/browsing-related lines were overtaken from
# /etc/cups/cupsd.conf. Not all are supported by cups-browsed and so could get
# ignored. Please check the comments and examples above and edit the lines if
# needed. Note that for getting available the remote printers from all hosts/
# networks you have to remove all "BrowseAllow" lines.

Of course I had
BrowseAllow all

present and that caused all remote printers being disallowed by default.
I didn't find this information in the log and only found out when
started cups-browsed with --debug parameter. I have understood that the
parameter got there during post-install phase from cupsd.conf. While the
help message in the conf file is very helpful is there any reason to
import config options which are known to not work with cups-browsed
by default? Maybe postinstall script can ask whether such an option
should be added if those options cannot be ignored by default.

Thanks!

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.17.0 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cups-browsed depends on:
ii  init-system-helpers  1.21
ii  libavahi-client3     0.6.31-4
ii  libavahi-common3     0.6.31-4
ii  libavahi-glib1       0.6.31-4
ii  libc6                2.19-11
ii  libcups2             1.7.5-4+b1
ii  libglib2.0-0         2.42.0-2

Versions of packages cups-browsed recommends:
ii  avahi-daemon  0.6.31-4

cups-browsed suggests no packages.

-- Configuration Files:
/etc/cups/cups-browsed.conf changed:
BrowseRemoteProtocols dnssd cups
BrowseOrder allow,deny


-- no debconf information

-- 
Michal Hocko


Reply to: