[Pkg-cups-devel] Bug#530027: ServerAlias * looks to solve problem
Witold Baryluk
baryluk at smp.if.uj.edu.pl
Tue Feb 8 14:04:02 UTC 2011
Package: cups
Version: 1.4.5-2
Severity: normal
Hello,
today i upgraded our print server, and printing stopped working.
In logs I had entries like:
E [08/Feb/2011:13:35:02 +0100] Request from "10.0.1.244" using invalid Host:
field "printserver.example.com"
E [08/Feb/2011:14:09:16 +0100] Request from "10.0.3.24" using invalid Host:
field "romeo-internal.example.com"
E [08/Feb/2011:14:09:20 +0100] Request from "10.0.2.5" using invalid Host:
field "printserver.example.com"
E [08/Feb/2011:14:12:00 +0100] Request from "10.0.2.15" using invalid Host:
field "romeo.example.com"
E [08/Feb/2011:14:12:22 +0100] Request from "10.0.2.5" using invalid Host:
field "printserver"
which are all essentially valid names, as they points to the same machine,
or are CNAME aliases in DNS to the same IP actually.
Also libc domain/search goes into account here (printserver actually
resolves as printserver.example.com).
In my case adding
ServerAlias *
to cupsd.conf solved problem. But indeed before this, after i upgraded
print server, all clients couldn't print or even lists printers.
Adding only
HostNameLookups on
resulted still in error
E [08/Feb/2011:14:13:57 +0100] Request from "tytus.local" using invalid Host:
field "printserver.example.com"
(as expected, because this options doesn't have nothing in common with Host
field AFAIK)
What is strange is that tytus.local should be tytus.example.com, as it normally
reversely resolved:
# getent hosts 10.0.2.5
10.0.2.5 tytus.example.com
#
I blame Avahi, but do not have proof yet.
So how about adding small not in the release notes chapter 5?
And of course into README.Debian.gz
Regards,
Witek
-- System Information:
Debian Release: 6.0
APT prefers stable
APT policy: (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8) (ignored: LC_ALL set to pl_PL.utf8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cups depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii bc 1.06.95-2 The GNU bc arbitrary precision cal
ii cups-client 1.4.5-2 Common UNIX Printing System(tm) -
ii cups-common 1.4.5-2 Common UNIX Printing System(tm) -
ii cups-ppdc 1.4.5-2 Common UNIX Printing System(tm) -
ii debconf [debconf-2.0] 1.5.38 Debian configuration management sy
ii ghostscript 8.71~dfsg2-10 The GPL Ghostscript PostScript/PDF
ii libavahi-client3 0.6.27-3 Avahi client library
ii libavahi-common3 0.6.27-3 Avahi common library
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libcups2 1.4.5-2 Common UNIX Printing System(tm) -
ii libcupscgi1 1.4.5-2 Common UNIX Printing System(tm) -
ii libcupsdriver1 1.4.5-2 Common UNIX Printing System(tm) -
ii libcupsimage2 1.4.5-2 Common UNIX Printing System(tm) -
ii libcupsmime1 1.4.5-2 Common UNIX Printing System(tm) -
ii libcupsppdc1 1.4.5-2 Common UNIX Printing System(tm) -
ii libdbus-1-3 1.2.24-4 simple interprocess messaging syst
ii libgcc1 1:4.5.1-5 GCC support library
ii libgnutls26 2.8.6-1 the GNU TLS library - runtime libr
ii libgssapi-krb5-2 1.8.3+dfsg-4 MIT Kerberos runtime libraries - k
ii libijs-0.35 0.35-7 IJS raster image transport protoco
ii libkrb5-3 1.8.3+dfsg-4 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.23-7 OpenLDAP libraries
ii libpam0g 1.1.1-6.1 Pluggable Authentication Modules l
ii libpaper1 1.1.24 library for handling paper charact
ii libpoppler5 0.12.4-1.2 PDF rendering library
ii libslp1 1.2.1-7.8 OpenSLP libraries
ii libstdc++6 4.5.1-5 The GNU Standard C++ Library v3
ii libusb-0.1-4 2:0.1.12-16 userspace USB programming library
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii poppler-utils 0.12.4-1.2 PDF utilitites (based on libpopple
ii procps 1:3.2.8-10 /proc file system utilities
ii ssl-cert 1.0.28 simple debconf wrapper for OpenSSL
ii ttf-freefont 20090104-7 Freefont Serif, Sans and Mono True
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages cups recommends:
ii avahi-daemon 0.6.27-3 Avahi mDNS/DNS-SD daemon
ii cups-driver-gutenprint 5.2.6-1 printer drivers for CUPS
ii foomatic-filters 4.0.5-6 OpenPrinting printer support - fil
ii ghostscript-cups 8.71~dfsg2-10 The GPL Ghostscript PostScript/PDF
Versions of packages cups suggests:
ii cups-bsd 1.4.5-2 Common UNIX Printing System(tm) -
pn cups-pdf <none> (no description available)
ii foomatic-db 20100804-1 OpenPrinting printer support - dat
ii hplip 3.10.6-2 HP Linux Printing and Imaging Syst
pn smbclient <none> (no description available)
ii udev 164-4 /dev/ and hotplug management daemo
-- debconf information:
* cupsys/raw-print: true
* cupsys/backend: ipp, dnssd
More information about the Pkg-cups-devel
mailing list