Description of problem: When I set more *different* Browse Servers in Advanced Server Settings dialog and pres OK, more *same* servers are written into cupsd.conf Version-Release number of selected component (if applicable): F-10: system-config-printer-1.1.13-3.fc10.i386 cups-1.3.10-5.fc10.i386 F-12: system-config-printer-1.1.15-1.fc12.x86_64 cups-1.4.2-7.fc12.x86_64 How reproducible: always Steps to Reproduce: 1. Server -> Settings -> Advanced... 2. Add 2 *different* servers in Browse servers 3. Ok -> Ok 4. Shut down s-c-p 5. Look into cupsd.conf Actual results: Settings are correctly written to cupsd.conf.0 but in cupsd.conf there are two *same* BrowsePoll directives. Expected results: There are two *different* BrowsePoll directives in cupsd.conf Additional info: When I manually set more BrowsePoll lines in cupsd.conf, they are correctly read into Advanced Server Settings dialog Problems may likely be with cupsAdminGetServerSettings() (cups/adminutil.c), which is called by cups.adminGetServerSettings() (pycups/cupsconnection.c). cupsAdminGetServerSettings() (cups/adminutil.c) returns only one BrowsePoll directive value even there are more BrowsePoll directive lines in cupsd.conf (try cups/testadmin program) cups.adminGetServerSettings() (pycups/cupsconnection.c), returns dictionary of string:string so it can have only one BrowsePoll key with one string value CUPS probably doesn't use cupsAdminGetServerSettings() for reading of BrowsePoll directive(s) from cupsd.conf because multiple BrowsePoll directives are obviously working right (see /var/log/cups/error_log | grep cups-polld) See more about BrowsePoll directive in http://www.cups.org/documentation.php/doc-1.4/sharing.html
Thanks. I've changed the code so that instead of taking what we got from GetServerSettings and adjusting it, we start with an empty dict() and set the things we want to change. SetServerSettings will leave the other settings alone then. (Will not be fixed in Fedora 10.) Looks like we definitely have to parse cupsd.conf in order to configure BrowsePoll servers then. OK, never mind. ;-)
system-config-printer-1.1.15-3.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10893
system-config-printer-1.1.15-3.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12094
system-config-printer-1.1.15-6.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
system-config-printer-1.1.15-6.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.