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

Sjoerd Simons sjoerd at luon.net
Sat Oct 21 05:19:16 PDT 2006


On Fri, Oct 20, 2006 at 04:29:09PM -0400, Havoc Pennington wrote:
> /var/lib sounds right to me in FHS, relevant text from 
> http://www.pathname.com/fhs/pub/fhs-2.3.html#THEVARHIERARCHY
> is appended.
> 
> /var/run according to this page has to get nuked on each reboot. I think 
> the /var/lib behavior is slightly nicer for the machine id.

Both are fine by me (with my debian packager hat on). The advantage of having
to regenerate the uuid on every boot (and thus of /var/run) is that your sure
it's unique on every machine. Even if say you install a bunch of machines by
installing one and copying the harddisk image to the others. And no extra
measures have to be taken when generating livecd's to ensure the uuid is
generated on boot.

But as said, as long as it's out of /etc it's fine by me :)

  Sjoerd
-- 
If you can survive death, you can probably survive anything.


More information about the dbus mailing list