[cups.bugs] [LOW] STR #1826: Certain cupsd.conf directives don't work as documented

Scott Severance scott at scottseverance.us
Sun Jul 9 09:11:04 PDT 2006


[STR New]

The documentation installed at http://hostname:631/help/ref-cupsd-conf.html
(on a Ubuntu 6.06 system) lists the following among the examples for the
Allow directive: "Allow from nnn.nnn.nnn.*". However, when I specify
"Allow 192.168.1.*", CUPS won't start:

$ sudo /etc/init.d/cupsys restart
 * Restarting Common Unix Printing System: cupsd:
cupsd: Child exited with status 1!

The error log contains the following:
E [09/Jul/2006:02:03:41 -0500] Bad netmask value 192.168.1.* on line 39.
E [09/Jul/2006:02:03:41 -0500] Unknown Location directive Allow on line
39.

Similarly, the BrowseAllow section lists "BrowseAllow from 192.0.2" among
the examples. However, "BrowseAllow 192.168.1" produces the same error as
above, except the reported exit status is 15. Using wildcards as in the
Allow section doesn't work.

The error log for this contains:
E [09/Jul/2006:02:05:25 -0500] Bad netmask value 192.168.1 on line 27.
X [09/Jul/2006:02:05:25 -0500] No valid Listen or Port lines were found in
the configuration file!

I don't know whether this is a bug in the documentation or in CUPS itself.

Finally, this bug reporting system forces me to submit potentially bogus
information by requiring a responce to the Scope field. I don't have a
test suite available; I only have my one Ubuntu 6.06 Linux machine.
Therefore, I have no way of knowing whether this bug applies to a specific
machine or OS or to all systems.

Link: http://www.cups.org/str.php?L1826
Version: 1.2.1





More information about the cups-devel mailing list