Hello community, here is the log from the commit of package avahi checked in at Thu Apr 6 00:27:46 CEST 2006. -------- --- avahi/avahi.changes 2006-04-04 18:29:57.000000000 +0200 +++ avahi/avahi.changes 2006-04-05 19:46:16.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Apr 5 19:45:50 CEST 2006 - sbrabec@suse.cz + +- Wait for daemon initialization in the init script (#150902). + +------------------------------------------------------------------- New: ---- avahi-init-sleep.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ avahi.spec ++++++ --- /var/tmp/diff_new_pack.RTVUQH/_old 2006-04-06 00:24:41.000000000 +0200 +++ /var/tmp/diff_new_pack.RTVUQH/_new 2006-04-06 00:24:41.000000000 +0200 @@ -13,7 +13,7 @@ Name: avahi BuildRequires: dbus-1-devel dbus-1-python doxygen graphviz libdaemon-devel libglade2-devel monodoc-core python-devel python-gdbm python-gtk qt-devel qt3-devel Version: 0.6.5 -Release: 15 +Release: 16 URL: http://www.avahi.org/ Group: System/Daemons License: LGPL @@ -21,6 +21,7 @@ Source: %{name}-%{version}.tar.bz2 Patch: avahi-gacdir.patch Patch1: avahi-biarch.patch +Patch2: avahi-init-sleep.patch Requires: dbus-1 python python-gdbm python-gtk Autoreqprov: on BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -326,6 +327,7 @@ %prep %setup %patch +%patch2 %build export CFLAGS="$RPM_OPT_FLAGS" @@ -481,6 +483,8 @@ %{_libdir}/pkgconfig/avahi-qt4.pc %changelog -n avahi +* Wed Apr 05 2006 - sbrabec@suse.cz +- Wait for daemon initialization in the init script (#150902). * Tue Apr 04 2006 - sbrabec@suse.cz - Use Provides and Obsoletes instead of Conflicts to allow seamless replacement. ++++++ avahi-init-sleep.patch ++++++ --- initscript/suse/avahi-daemon.in +++ initscript/suse/avahi-daemon.in @@ -17,6 +17,15 @@ start) echo -n "Starting Avahi daemon" /sbin/startproc $AVAHI_BIN -D + rc_check + for (( n=0 ; n<10 ; n++ )) ; do + if test -f /var/run/avahi-daemon/pid ; then + break + else + echo -n "." + sleep 1 + fi + done rc_status -v ;; stop) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...