[cups.bugs] [HIGH] STR #2711: DefaultAuthType in cupsd.conf gets garbage written to it, server won't start

tim richardson tim at tim-richardson.net
Mon Feb 18 12:29:55 PST 2008


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

>From http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462069

When I enabled printer sharing [from web interface], cupsd 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.

Link: http://www.cups.org/str.php?L2711
Version: 1.3.5





More information about the cups-devel mailing list