[Pkg-cups-devel] Bug#512234: cups '@LOCAL' definition does not cover Debian use of 127.0.1.1.

Tim Small tim at buttersideup.com
Sun Jan 18 20:05:35 UTC 2009


Package: cups
Version: 1.3.8-1lenny4
Severity: important

browsing to "http://`hostname`:631/" fails - by default Debian maps the
machine's hostname to 127.0.1.1, and this erroneously does not seem to
be covered by cups' (poorly documented) @LOCAL network ACL, despite
127.0.1.1 being a local address.

This is particularly baffling if you (for instance):

Allow @LOCAL
Allow 192.168.0.1/24 (i.e. your local subnet).

Browsing to http://yourhostname:631/ then gets a '403 Forbidden' whereas
http://127.0.0.1:631/ or http://your.ip.address.in.the.local.subnet:631/
succeeds.


-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-etchnhalf.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups depends on:
ii  adduser            3.110                 add and remove users and groups
ii  cups-common        1.3.8-1lenny4         Common UNIX Printing System(tm) - 
ii  debconf [debconf-2 1.5.24                Debian configuration management sy
ii  ghostscript        8.62.dfsg.1-3.2lenny0 The GPL Ghostscript PostScript/PDF
ii  libavahi-compat-li 0.6.22-3              Avahi Apple Bonjour compatibility 
ii  libc6              2.7-18                GNU C Library: Shared libraries
ii  libcups2           1.3.8-1lenny4         Common UNIX Printing System(tm) - 
ii  libcupsimage2      1.3.8-1lenny4         Common UNIX Printing System(tm) - 
ii  libdbus-1-3        1.2.1-4               simple interprocess messaging syst
ii  libgnutls26        2.4.2-4               the GNU TLS library - runtime libr
ii  libkrb53           1.6.dfsg.4~beta1-5    MIT Kerberos runtime libraries
ii  libldap-2.4-2      2.4.11-1              OpenLDAP libraries
ii  libpam0g           1.0.1-4+b1            Pluggable Authentication Modules l
ii  libpaper1          1.1.23+nmu1           library for handling paper charact
ii  libslp1            1.2.1-7.5             OpenSLP libraries
ii  lsb-base           3.2-20                Linux Standard Base 3.2 init scrip
ii  perl-modules       5.10.0-19             Core Perl modules
ii  poppler-utils [xpd 0.8.7-1               PDF utilitites (based on libpopple
ii  procps             1:3.2.7-9             /proc file system utilities
ii  ssl-cert           1.0.23                simple debconf wrapper for OpenSSL

Versions of packages cups recommends:
pn  avahi-utils           <none>             (no description available)
ii  cups-client           1.3.8-1lenny4      Common UNIX Printing System(tm) - 
ii  foomatic-filters      3.0.2-20080211-3.2 OpenPrinting printer support - fil
ii  smbclient             2:3.2.5-3          a LanManager-like simple client fo

Versions of packages cups suggests:
ii  cups-bsd                   1.3.8-1lenny4 Common UNIX Printing System(tm) - 
ii  cups-driver-gutenprint     5.0.2-4       printer drivers for CUPS
pn  cups-pdf                   <none>        (no description available)
pn  foomatic-db                <none>        (no description available)
pn  foomatic-db-engine         <none>        (no description available)
ii  hplip                      2.8.6.b-3     HP Linux Printing and Imaging Syst
pn  xpdf-korean | xpdf-japanes <none>        (no description available)

-- debconf-show failed





More information about the Pkg-cups-devel mailing list