Description of problem: When run in discovery mode, the dnssd backend sometimes fails to find any printers. By comparison, "avahi-browse -v _pdl-datastream._tcp -t" works every time. Version-Release number of selected component (if applicable): cups-1.7.0-4.fc20.x86_64 How reproducible: Often. Steps to Reproduce: 1.sudo /usr/lib/cups/backend/dnssd 2.Repeat. Actual results: # /usr/lib/cups/backend/dnssd DEBUG: sent=0, count=0 # /usr/lib/cups/backend/dnssd [...] network dnssd://Photosmart%205510%20series%20%5B730173%5D._pdl-datastream._tcp.local/ "HP Photosmart 5510 series" "Photosmart 5510 series [730173]" "MFG:HP;MDL:Photosmart 5510 series;FZY:0;CMD:PCL,JPEG,URF;" "" network dnssd://Photosmart%205510%20series%20%5B730173%5D%20%40%20cyberelk._ipp._tcp.local/cups "HP HP Photosmart 5510 E-all-in-one" "Photosmart 5510 series [730173] @ cyberelk" "MFG:HP;MDL:Photosmart 5510 E-all-in-one;FZY:1;CMD:PDF,PS,JPEG,PNG;" "" DEBUG: sent=3, count=3 # /usr/lib/cups/backend/dnssd DEBUG: sent=0, count=0 Expected results: Consistent output every time.
Hmm, I can't seem to reproduce it now.
Think I've figured this one out. The dnssd backend runs the Avahi simple loop for 500ms in continuous loop of its own, stopping once it's resolved as many services as it's discovered. The first time round the loop, it might not have discovered any yet, so thinks there is nothing to resolve and exits. The fix is to wait until each service browser has said "all for now".
cups-1.7.1-5.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/cups-1.7.1-5.fc20
Package cups-1.7.1-5.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing cups-1.7.1-5.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-3451/cups-1.7.1-5.fc20 then log in and leave karma (feedback).
Package cups-1.7.1-6.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing cups-1.7.1-6.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-3451/cups-1.7.1-6.fc20 then log in and leave karma (feedback).
cups-1.7.1-6.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
cups-1.6.4-5.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.