Hi, I don't think this will help your problem described in your reply but instead of using dbus-uuidgen, you can use run-standalone.sh <name of program> instead.
Maybe a su - user -c '<name of program>' may work. On Tue, Sep 2, 2008 at 7:49 PM, Brad Midgley <[EMAIL PROTECTED]> wrote: > Hey > > I have an issue that goes away after running "dbus-uuidgen --ensure". > Is this safe enough to put in a post-install script? > > I'm writing a daemon that needs to be able to keep the tablet awake > (long story). > > osso_initialize will complete if run from the terminal as "user" but > will fail and abort if I sudo gainroot first or if it's run as an > init.d service. I do seteuid() so we're running as user before making > the call but it doesn't help. The error message is: > > initializing osso > process 1669: D-Bus library appears to be incorrectly set up; failed > to read machine uuid: Failed to open "/var/lib/dbus/machine-id":No > such file or directory > See the manual page for dbus-uuidgen to correct this issue. > > Should this be filed as a maemo bug? > > -- > Brad > _______________________________________________ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers >
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers