Bug#464126: cupsys: cups administration fails.
Package: cupsys
Version: 1.3.5-1+b1
Severity: important
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.20 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages cupsys depends on:
ii adduser 3.105 add and remove users and groups
ii cupsys-common 1.3.5-1 Common UNIX Printing System(tm) -
ii debconf [debconf-2.0] 1.5.19 Debian configuration management sy
ii ghostscript [gs-esp] 8.61.dfsg.1-1 The GPL Ghostscript PostScript/PDF
ii gs-esp 8.61.dfsg.1-1 Transitional package
ii libavahi-compat-libdn 0.6.22-2 Avahi Apple Bonjour compatibility
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libcupsimage2 1.3.5-1+b1 Common UNIX Printing System(tm) -
ii libcupsys2 1.3.5-1+b1 Common UNIX Printing System(tm) -
ii libdbus-1-3 1.1.2-1 simple interprocess messaging syst
ii libgnutls13 2.0.4-1 the GNU TLS library - runtime libr
ii libkrb53 1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.7-4 OpenLDAP libraries
ii libpam0g 0.99.7.1-5 Pluggable Authentication Modules l
ii libpaper1 1.1.23 library for handling paper charact
ii libslp1 1.2.1-7.1 OpenSLP libraries
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
ii perl-modules 5.8.8-12 Core Perl modules
ii procps 1:3.2.7-6 /proc file system utilities
ii ssl-cert 1.0.14 Simple debconf wrapper for openssl
ii xpdf-utils [poppler-u 3.02-1.3 Portable Document Format (PDF) sui
Versions of packages cupsys recommends:
ii avahi-utils 0.6.22-2 Avahi browsing, publishing and dis
ii cupsys-client 1.3.5-1+b1 Common UNIX Printing System(tm) -
ii foomatic-filters 3.0.2-20061031-1.2 linuxprinting.org printer support
ii smbclient 3.0.28-2+b1 a LanManager-like simple client fo
-- debconf information:
cupsys/raw-print: true
cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd
I have tried to install cupsys and hplip. Then I have tried to
install the printer (and the fax) by means of the web interface.
Initially the web interface works, but when I want to change the
settings I get an error:
"The connection was refused when attempting to contact localhost:631"
Simultaneously I get (in the console) another error:
cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' -
exiting!
I enclose my file /etc/cups/cupsd.conf
LogLevel warning
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress @LOCAL
DefaultAuthType DefaultAuthType
<Location />
Allow localhost
# Allow shared printing...
Order allow,deny
Allow @LOCAL
</Location>
<Location /admin>
Allow localhost
# Restrict access to the admin pages...
Order allow,deny
Allow localhost
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Allow localhost
# Restrict access to the configuration files...
Order allow,deny
Allow localhost
</Location>
<Policy default>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
Reply to: