[systemd-devel] [PACKAGERS] Packaging systemd >= 20

Andrey Borzenkov arvidjaar at mail.ru
Fri Mar 4 23:54:28 PST 2011


On Sat, Mar 5, 2011 at 7:23 AM, Mike Kazantsev <mk.fraggod at gmail.com> wrote:
> On Sat, 5 Mar 2011 06:44:13 +0300
> Andrey Borzenkov <arvidjaar at 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.


More information about the systemd-devel mailing list