[cups.development] [RFE] STR #1749: Make web interface evaluate "Include" directives in cupsd.conf

Kurt Pfeifle kpfeifle at danka.de
Mon Jun 5 19:24:14 PDT 2006


[STR New]

The CUPS web interface ("Administration" tab) displays 5 different
configuration items as checkboxes. 

However, CUPS seems to only evaluate the contents of cupsd.conf, but not
contents that are in files included via the (supported) "Include"
directive.

This leads to misleading indication of the actual setup, if f.e.
"Browsing" or "Listen" directive are included from external files.

Example: the current (K)Ubuntu Dapper distribution does include their
default setup:

  Browsing Off
  Listen localhost:631
  Listen /var/run/cups/cups.sock

from two external files (/etc/cups/cups.d/{browse,ports}.conf). This leads
to the following wrong display of the setup:

 [x]  Show printers shared by other systems
 [ ]  Share published printers connected to this system
 [ ]  Allow remote administration
 [ ]  Allow users to cancel any job (not just their own)
 [ ]  Save debugging information for troubleshooting

where the enabled line should clearly be disabled. Through the "Include"
directives of Ubuntu Dapper, the real behaviour of CUPS is like this:

 [ ]  Show printers shared by other systems
 [ ]  Share published printers connected to this system
 [ ]  Allow remote administration
 [ ]  Allow users to cancel any job (not just their own)
 [ ]  Save debugging information for troubleshooting


(I used -feature; but arguably it could also be filed as a bug, since it
is inconsistent if cupsd.conf supports "Include", but the web interface
does not...)

Link: http://www.cups.org/str.php?L1749
Version:  -feature





More information about the cups mailing list