[PATCH] run uuidgen --ensure in the init script

Sjoerd Simons sjoerd at luon.net
Fri Oct 20 13:21:37 PDT 2006

On Thu, Oct 19, 2006 at 11:16:45AM -0400, Havoc Pennington wrote:
> John (J5) Palmieri wrote:
> >Distros that run a session bus without a system bus will have to do it
> >some other way but this covers both mainstream installed distros and
> >stateless systems like livecds.  That is assuming a stateless system has
> >a writable /etc.  If this is not the norm we should figure out a better
> >place to put the machine-id file.
> >
> This patch looks fine, I think we should go ahead and put the machine id 
> in /var anyway but that won't affect this patch.

Might i suggest putting it in /var/run/dbus. Which should always be writable
even on a stateless or livecd system. It does mean that it has to be be
regenerated every boot, but that shouldn't be a problem especially not after
this patch.

You can't push on a string.

More information about the dbus mailing list