<div dir="ltr">Hi,<br><br>I don&#39;t think this will help your problem described in your reply but instead of using dbus-uuidgen, you can use run-standalone.sh &lt;name of program&gt; instead. <br><br>Maybe a su - user -c &#39;&lt;name of program&gt;&#39; may work.<br>
<br><div class="gmail_quote">On Tue, Sep 2, 2008 at 7:49 PM, Brad Midgley <span dir="ltr">&lt;<a href="mailto:bmidgley@gmail.com">bmidgley@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hey<br>
<br>
I have an issue that goes away after running &quot;dbus-uuidgen --ensure&quot;.<br>
Is this safe enough to put in a post-install script?<br>
<br>
I&#39;m writing a daemon that needs to be able to keep the tablet awake<br>
(long story).<br>
<br>
osso_initialize will complete if run from the terminal as &quot;user&quot; but<br>
will fail and abort if I sudo gainroot first or if it&#39;s run as an<br>
init.d service. I do seteuid() so we&#39;re running as user before making<br>
the call but it doesn&#39;t help. The error message is:<br>
<br>
initializing osso<br>
process 1669: D-Bus library appears to be incorrectly set up; failed<br>
to read machine uuid: Failed to open &quot;/var/lib/dbus/machine-id&quot;:No<br>
such file or directory<br>
See the manual page for dbus-uuidgen to correct this issue.<br>
<br>
Should this be filed as a maemo bug?<br>
<font color="#888888"><br>
--<br>
Brad<br>
_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</font></blockquote></div><br></div>