https://bugzilla.novell.com/show_bug.cgi?id=635040
https://bugzilla.novell.com/show_bug.cgi?id=635040#c5
Johannes Meixner changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tittiatcoke@gmail.com
--- Comment #5 from Johannes Meixner 2010-09-07 07:32:42 UTC ---
It works for you.
But in general - as far as I currently see
in cups-avahi.patch and in cups-dnssd-deviceid.patch from
https://build.opensuse.org/package/show?package=cups&project=home:rwooninck:cups
it cannot work in a reliable way because I don't see how those
patches avoid that Avahi lets the cupsd crash as described in
http://www.cups.org/str.php?L2931
This crash is not easy to reproduce. Usually it does not happen.
In particular it never happened for me. But on some systems
it happens always - i.e. the cupsd always crashes during startup
so that printing was totally impossible on those systems.
We got bug reports where the issue happened in a business
environment.
I will not risk to break knowingly any customer's system
with re-added Avahi stuff which is not accepted by CUPS upstream.
As far as I understand the whole issue, the root cause is in Avahi
(a library should not write useless warning messages to stderr)
and a workaround in CUPS to avoid it would need changes
in its core functionality when the cupsd daemonize itself
(ignore SIGPIPE earlier while daemonizing).
An alternative workaround in CUPS is to add a line
export AVAHI_COMPAT_NOWARN=1
to /etc/init.d/cups to silence Avahi's useless Bonjour
compatibility warning.
In any case, I agree to CUPS upstream that such issues should
be fixed in Avahi instead of adding more and more workarounds
for Avahi's somewhat broken compatibility layer.
Therefore I will not provide it in our officially supported
and maintained CUPS packages.
Nevertherelss very many thanks to rwooninck to provide
non-official CUPS packages with mDNS/DNS-SD support via Avahi
so that our users can try it out and use it on their own risk!
By the way:
It does not help very much to package the dnssd backend
as separarted sub-package because the current patches
cups-avahi.patch and cups-dnssd-deviceid.patch
change the CUPS main software (in particular cups/http-support.c)
and this is what I do not like to accept against CUPS upstream.
But the separarted cups-backend-dnssd sub-package may provide
an easy way to aviod the "Avahi lets cupsd crash" issue
via un-installing the dnssd backend for those users
who do not need mDNS/DNS-SD but a simple
rm /usr/lib/cups/backend/dnssd /usr/lib/cups/backend/mdns
or alternatively
chmod a-x /usr/lib/cups/backend/dnssd /usr/lib/cups/backend/mdns
should do the same if there was no such separarted sub-package.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.