On Thursday 13 May 2010 00:27:21 Faheem Pervez wrote:
> On 5/13/10, Graham Cobb <g+...@cobb.uk.net> wrote:
> > Faheem, what were you using as the start condition for your upstart
> > script? I
> > would have assumed that if it were anything after "start on started dbus"
> > then the waitdbus would be unnecessary.  
>
> I was using:
> "start on started dbus
> stop on stopping dbus
> stop on stopped fmtx"

Thanks Faheem.  From your experience, it seems that "start on started dbus" is 
not good enough to know that dbus really is available so we should all get 
into the habit of adding the following into upstart scripts that need dbus 
(or which need run-standalone.sh), to avoid obscure race conditions:

pre-start script
        /usr/sbin/waitdbus system
end script

Graham
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to