[Pkg-cups-devel] Bug#462069: cupsys: enabling printer sharing breaks the server config file

Sam Morris sam at robots.org.uk
Tue Jan 22 11:03:40 UTC 2008


Package: cupsys
Version: 1.3.5-1
Severity: important

When I enabled printer sharing, cups failed to restart. It wouldn't
print out any error messages or log anything to its own file, but it did
log this to syslog:

tycho cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting!

I examined cupsd.conf and found that it contained the following line
containing non-ascii characters:

000000d0  73 20 40 4c 4f 43 41 4c  0a 44 65 66 61 75 6c 74  |s @LOCAL.Default|
000000e0  41 75 74 68 54 79 70 65  20 90 ec 05 08 63 0a 3c  |AuthType ....c.<|
000000f0  4c 6f 63 61 74 69 6f 6e  20 2f 3e 0a 20 20 41 6c  |Location />.  Al|

Removing the DefaultAuthType line brought the server back to life.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (520, 'testing'), (510, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-rc8-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
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.18             Debian configuration management sy
ii  ghostscript [gs-esp]  8.61.dfsg.1-1      The GPL Ghostscript PostScript/PDF
ii  libavahi-compat-libdn 0.6.22-2           Avahi Apple Bonjour compatibility 
ii  libc6                 2.7-5              GNU C Library: Shared libraries
ii  libcupsimage2         1.3.5-1            Common UNIX Printing System(tm) - 
ii  libcupsys2            1.3.5-1            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  libldap2              2.1.30.dfsg-13.5   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  poppler-utils [xpdf-u 0.6.2-1            PDF utilitites (based on libpopple
ii  procps                1:3.2.7-5          /proc file system utilities
ii  ssl-cert              1.0.14             Simple debconf wrapper for openssl

Versions of packages cupsys recommends:
ii  avahi-utils           0.6.22-2           Avahi browsing, publishing and dis
ii  cupsys-client         1.3.5-1            Common UNIX Printing System(tm) - 
ii  foomatic-filters      3.0.2-20061031-1.2 linuxprinting.org printer support 
ii  smbclient             3.0.28-2           a LanManager-like simple client fo

-- debconf information:
* cupsys/raw-print: true
* cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd





More information about the Pkg-cups-devel mailing list