Bug 249304

Summary: cupsd uses the Apple Bonjour compatiblity layer of Avahi
Product: [Fedora] Fedora Reporter: Jonathan Kamens <jik>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 13CC: amlau, axet, giallu, guillomovitch, igeorgex, jpopelka, ma, nicolas.mailhot, simon.lewis, udovdh, ykopkova
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cups-1.4.5-9.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-24 13:38:22 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:
Bug Depends On:    
Bug Blocks: 507684    

Description Jonathan Kamens 2007-07-23 16:37:56 UTC
*** Bug 249305 has been marked as a duplicate of this bug. ***

Comment 1 Tim Waugh 2007-07-23 16:50:17 UTC
Upstream plans to fix this:

http://cups.org/articles.php?L479 (see comments at end of page)

Patches welcome; I don't know the avahi API at all myself.

Comment 2 Tim Waugh 2008-01-08 09:38:50 UTC
*** Bug 427835 has been marked as a duplicate of this bug. ***

Comment 3 udo 2008-01-08 09:57:34 UTC
Who is working on this issue?
Because I got a `will not fix` http://www.cups.org/str.php?L2655 from the cups
folks.
So who can/will write a patch?

Comment 4 Tim Waugh 2008-01-08 10:03:02 UTC
You are welcome to provide a patch. :-)

Comment 5 udo 2008-01-08 10:33:18 UTC
I know (this is not my first bugzilla entry) but probably a more skileld person
is required although I might giev it a try. Is there any documentation on this
`conversion` available?

Comment 6 Tim Waugh 2008-01-08 10:48:55 UTC
Not that I've found.

Comment 7 Tim Waugh 2008-02-11 11:14:47 UTC
*** Bug 432169 has been marked as a duplicate of this bug. ***

Comment 8 Martin Jürgens 2008-04-17 21:42:03 UTC
Try asking Richard Hughes maybe.

Comment 9 Martin Jürgens 2008-04-21 16:29:09 UTC
I meant Lennart Poettering, sorry.. AFAIK he's a Red Hat employee and Avahi
developer..

Comment 10 Bug Zapper 2008-05-14 03:05:25 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 11 Tim Waugh 2008-05-28 09:22:49 UTC
Deferring to rawhide.

Comment 12 Bug Zapper 2008-11-26 01:57:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 13 udo 2008-12-07 16:34:17 UTC
Dec  7 11:14:43 localhost cupsd[2583]: *** WARNING *** The program 'cupsd' uses the Apple Bonjour compatibility layer of Avahi.
Dec  7 11:14:43 localhost cupsd[2583]: *** WARNING *** Please fix your application to use the native API of Avahi!
Dec  7 11:14:43 localhost cupsd[2583]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=cupsd>

Still present on Fedora 10 as released.
So were heading towards a 1.5 year anniversary of this issue.

Comment 14 Tim Waugh 2009-05-14 15:28:18 UTC
I have been trying to fix this since January but other things are always more important. :-(

This is no trivial task.

Moving to F11Target.

Comment 15 udo 2009-05-14 15:41:16 UTC
Do we need to bribe you?

Comment 16 Tim Waugh 2009-05-14 15:59:04 UTC
No, send a patch, or send patches for the other more pressing bugs so I have more time for this. :-)

Comment 17 udo 2009-06-16 16:27:12 UTC
GSOC 2010 perhaps?
Because moving a target along does not really fix the issue.
Or must I start advocating to make this bug a blocker for F12?

Comment 18 Tim Waugh 2009-10-04 18:14:35 UTC
*** Bug 526944 has been marked as a duplicate of this bug. ***

Comment 19 Guillaume Rousse 2009-10-16 13:52:56 UTC
Hello guys.

I guess you're refering to this patch:
http://cvs.fedoraproject.org/viewvc/rpms/cups/devel/cups-avahi.patch?view=log

Has it been submitted upstream already ?

Comment 20 Tim Waugh 2009-10-16 14:13:28 UTC
No, that's just the discovery patch.  That's the easy part.

The main work is in getting the scheduler to advertise its queues using avahi.

Until that work is done there is no use in submitting the smaller discovery patch, as they will likely share code and it will be a lot easier to submit a finished patch to do both parts.

Comment 21 Bug Zapper 2009-11-16 07:56:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 22 udo 2010-08-23 15:16:46 UTC
Maybe assign this bug to avahi so they can drop the compatibility layer.
Then, as a result, things may change?

Comment 23 Tim Waugh 2010-08-23 15:38:44 UTC
That won't speed anything up.  I'll just have to rip out the DNS-SD support altogether in that case.

Comment 24 udo 2010-08-23 15:44:35 UTC
But the process gets more political and that could help.
The bug would block, people pay attention and the job might get done.

Comment 25 Tim Waugh 2010-08-23 16:18:39 UTC
Well, as the person who would be doing the work: let me assure you it won't give me any more time to do it in. :-)

Comment 26 udo 2010-08-23 16:22:58 UTC
If you think that nobody can or will help... I can't help there. Just a suggestion, please think about it.

Comment 27 udo 2010-12-24 13:47:50 UTC
EUh?
What does this mean?
It is fixed?
How can I test on Fedora 13?

Comment 28 Tim Waugh 2010-12-24 13:51:09 UTC
It's a very substantial change with lots of new code and potential for bugs and so is currently being tested in Fedora rawhide.

Comment 29 JM 2011-05-04 14:41:41 UTC
Is this bug fixed in

cups-1.4.6-1.fc14

? Or is this bug only fixed in 1.4.5-9.fc15 (rawhide)?

Because in Fedora 14 I still have the problem that cups does not advertise the printers via Bonjour and Fedora 14 has the version 1.4.6-1.

Comment 30 Jiri Popelka 2011-05-04 15:11:26 UTC
(In reply to comment #29)
> ? Or is this bug only fixed in 1.4.5-9.fc15 (rawhide)?

Yes, it's Fedora 15 (and later) only.