Mailinglist Archive: opensuse-bugs (15116 mails)

< Previous Next >
[Bug 309132] avahi-daemon and avahi-dnsconfd are dead after boot.
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 10 Sep 2007 11:22:21 -0600 (MDT)
  • Message-id: <20070910172221.B5FA5245350@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=309132#c4


JP Rosevear <jpr@xxxxxxxxxx> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
         AssignedTo|bnc-team-gnome@xxxxxxxxxxxxxxxxxxxxxx           |bnc-team-gnome-build@xxxxxxxxxxxxxxxxxxxxxx




--- Comment #4 from JP Rosevear <jpr@xxxxxxxxxx>  2007-09-10 11:22:21 MST ---
>From lennart upstream:

If I remember correctly I open it as RDWR there because of a limitation
of the file locking APIs on some OSes, where locking files you don't
have opened as O_RDWR doesn't work.

However, I agree that the bug report mentioned is worth fixing. So it
might be advisable to add some code to reopen the file as O_RDONLY if
O_RDWR fails, and also to try F_RDLCK as a fallback if F_WRLCK
fails. That should be reasonably safe even on more exotic OSes.

If have prepared a patch for this in SVN r131 (although I didn't test
it) If this works for you I will ship this in the next release of


-- 
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.

< Previous Next >
References