[maemo-developers] [maemo-developers] avahi port

From: Kimmo Hämäläinen kimmo.hamalainen at nokia.com
Date: Tue Feb 6 17:26:25 EET 2007
On Tue, 2007-02-06 at 09:47 -0500, ext Andrew J. Barr wrote:
> Hello,
> As I mentioned previously, I am porting avahi to the N800 and later the
> 770. I have packages built, but there is a small problem that prevents
> them from working--when they are configured by dpkg they cause a
> lifeguard reset. My working theory is this is caused by this command
> issued by the postinst script for avahi-daemon:
> invoke-rc.d dbus force-reload || true

I think this caused lifeguard reset because D-Bus clients did not cope
with restarting of the D-Bus daemon. You could workaround this by
disabling the lifeguard reset temporarily ("flasher --enable-rd-mode --
set-rd-flags=no-lifeguard-reset"), but anyway you need to reboot
afterwards to get the D-Bus clients connected again.

> What is the proper way to reload the DBUS configuration from a package?
> Just using 'reload'?

I'm not sure if D-Bus daemon currently supports reloading of the
configuration on-the-fly. So, restarting (reboot) might be the only

> Additionally, it seems avahi is not started on bootup :( I don't know if
> this is because the configure script doesn't get to finish hence it is
> not added to any runlevels, or if there is something special I need to
> do on Maemo to get init scripts added to bootup.

It's wise to disable the lifeguard reset before installing experimental

BR; Kimmo

> However, once it is installed and manually started it does work. So
> pinging Nokia-N800-51.local from a LAN machine works fine :)
> Any help is greatly appreciated.
> Regards,
> Andrew Barr
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers

More information about the maemo-developers mailing list