[Bug 329708] avahi reports as dead instead of unused after rcavahi* stop
http://bugzilla.novell.com/show_bug.cgi?id=329708 User dominique.leuenberger@tmf-group.com added comment http://bugzilla.novell.com/show_bug.cgi?id=329708#c5 Dominique Leuenberger <dominique.leuenberger@tmf-group.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dominique.leuenberger@tmf-g | |roup.com --- Comment #5 from Dominique Leuenberger <dominique.leuenberger@tmf-group.com> 2009-10-07 13:20:55 MDT --- Avahi uses internas to check for a running process: /usr/sbin/avahi-dnsconfd -c It returns 0 if a process is running and non-zero otherwise. As we don't carry a pid file or a lock file, the 'dead' status is not possible to check for anyhow. The following patch would take this into consideration and in case /usr/sbin/avahi-dnsconfd -c returns non-zero, set _rc_status to 3 (which means unused). (Patch for /etc/init.d/avahi-dnsconfd) --- avahi-dnsconfd 2009-10-07 21:21:33.000000000 +0200 +++ avahi-dnsconfd.new 2009-10-07 21:21:05.000000000 +0200 @@ -50,7 +50,7 @@ ;; status) echo -n "Checking for Avahi DNS Configuration daemon: " - $AVAHI_BIN -c + $AVAHI_BIN -c || _rc_status=3 rc_status -v ;; *) Does this sound acceptable? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com