[systemd-devel] [PATCH 1/1] sd-dhcp6-client: delay setting the DUID and don't fail constructor

Lennart Poettering lennart at poettering.net
Wed Mar 4 03:52:14 PST 2015

On Tue, 03.03.15 21:06, Thomas Haller (thaller at redhat.com) wrote:

> sd_dhcp6_client_new() tried to set the DUID based on the machine id.
> If the host has no /etc/machine-id, the constructor would fail
> making it impossible to create an sd_dhcp6_client instance.

We do not even allow bootups without /etc/machine-id.

If the file is missing then things really *should* fail.


Lennart Poettering, Red Hat

More information about the systemd-devel mailing list