Red Hat Bugzilla – Bug 112835
When configuring cups with printconf a incorrect configuration is generated.
Last modified: 2007-11-30 17:10:35 EST
Description of problem:
When creating a queue and then sharing it, restricting it to specific
IP addresses the generatet config contains "Listen 10.0.0.2:631"
instead of Allow from 10.0.0.2. The host in question's ip-address is
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. be root
3. select a queue
4. select menu: action -> sharing...
5. In dialog tab Queue click for "This queue is available to other
6. Remove the "All hosts" line from the Allowed hosts
7. Add/Single IP address/10.0.0.2 (the address should not be one of
the addresses of your computer) and click ok.
8. click ok in the "Sharing properties" dialog
9. click apply in the printer configuration main window
This is highly bogus and when I add
Inspect the cupsd.conf file genrated and at the very end find "Listen
When cups is then _restarted_ instead of just reconfigured it bails
out with this in the messages file:
Jan 3 16:16:10 roke cupsd: cupsd: Child exited with status 99!
Only the Allow from lines generated earlier in the file. And perhaps
a "Port" command for listening to the network in general, or some
Listen commands for each local address of the computer.
Please try these experimental packages:
Let me know if that helps or not.
Please respond so that I know if this fixes the problem you were seeing.
Sorry. I was busy writing a book to a deadline. Yes. It's much
better like this, the Listen statements stick to the hosts own
addresses and adding new addresses only adds Allow from statements:
Deny From All
Allow From 127.0.0.1
Allow from 10.0.0.2
Allow from 10.0.0.5
Allow from 10.0.0.129
To me this appears to be resolved.