Bug 168172

Summary: Something ate my cups.conf
Product: [Fedora] Fedora Reporter: David Woodhouse <dwmw2>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-13 08:39:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Woodhouse 2005-09-13 07:50:35 UTC
I renumbered my network and edited my cups.conf accordingly. Each time I reboot,
my cups.conf seems to revert. There's a comment saying "Lines below are
automatically generated - DO NOT EDIT". However, the comment really ought to say
_what_ is going to do the editing. I've no _particular_ objection to using a
pretty point-and-drool tool if I know what it is and where to find it. However,
system-config-printer-gui doesn't seem to have general options about which IP
addresses to listen on and to server the printers to, etc. Where should I be
looking?

I tried just removing the system-config-printer package, but eggcups
(indirectly) depends on that and I occasionally use eggcups. Is that dependency
true?

Comment 1 Tim Waugh 2005-09-13 08:39:18 UTC
system-config-printer configures CUPS to listen on only those IP interfaces that
are in the union of IP interfaces on which the printers are available.

Right-click on a print queue and click 'Sharing...' to get the dialog that
configures this.

Comment 2 David Woodhouse 2005-09-13 09:12:11 UTC
ok, thanks. Just to confirm... allowing the interface 'br0' (with IP address
81.187.2.163, netmask 255.255.255.240 and the default route) will only allow
access to IP addresses in the range 81.187.2.160-81.187.2.175, and not to the
rest of the world which also happens to come in on br0?

Comment 3 Tim Waugh 2005-09-13 09:36:58 UTC
As you know, this is the difference between 'Listen' and 'Allow From' -- the
Sharing... dialog allows you to set a network/netmask to allow sharing to.  If
you see cupsd.conf results that give too much access, please file a bug with
specifics.  Thanks.