[maemo-developers] is "dbus-uuidgen --ensure" ok in an install script?
From: Faheem Pervez trippin1 at gmail.comDate: Wed Sep 3 09:55:35 EEST 2008
- Previous message: is "dbus-uuidgen --ensure" ok in an install script?
- Next message: is "dbus-uuidgen --ensure" ok in an install script?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <bmidgley at gmail.com> 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 at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080903/0a18de43/attachment.htm
- Previous message: is "dbus-uuidgen --ensure" ok in an install script?
- Next message: is "dbus-uuidgen --ensure" ok in an install script?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]