On Sat, Mar 5, 2011 at 7:23 AM, Mike Kazantsev <mk.frag...@gmail.com> wrote:
> On Sat, 5 Mar 2011 06:44:13 +0300
> Andrey Borzenkov <arvidj...@mail.ru> wrote:
>
>>
>> What do you mean - optional? Unless d-bus is patched to look at
>> /etc/machine-id (or is informed about this location by some other
>> means) it will never even know about this file. So symlink
>> /var/lib/dbus/machine-id -> /etc/machine-id is actually a
>> prerequisite.
>>
>
> systemd-machine-id-setup seem to initialize /etc/machine-id from dbus
> id, thus contents of these files are equal, whether you symlink them or
> not.
>

systemd-machine-id-setup is run before anything (including /var) is
mounted. How possible to initialize it from /var which is not
available?

If it is ensured that D-Bus is started only after /var/lib/dbus is
available, there is no need to move machine-id in /etc in the first
place.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to