[OE-core] [OE-Core][PATCH v6 2/6] systemd: do not create machine-id

Alex Kiernan alex.kiernan at gmail.com
Wed May 8 20:44:04 UTC 2019


On Wed, May 8, 2019 at 9:19 PM Alistair Francis <alistair23 at gmail.com> wrote:
>
> On Thu, May 2, 2019 at 2:10 PM Alex Kiernan <alex.kiernan at gmail.com> wrote:
> >
> > From: Jonas Bonn <jonas at norrbonn.se>
> >
> > There is no reason to have an emtpy machine-id as part of the systemd
> > package.  Either:
> >
> > i)  the filesystem is writable and the file will be created
> > automatically; or
> > ii) the filesystem is read-only, in which case the empty machine-id file
> > should be created as part of the read-only-rootfs tweaks.
> >
> > Signed-off-by: Jonas Bonn <jonas at norrbonn.se>
> > Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>
>
> This patch now results in no "/etc/machine-id" being created which
> breaks systemd-networkd WiFi connections.
>
> I now always see this error when trying to connect to WiFi with
> wpa_supplicant: "DHCP4 CLIENT: Failed to set IAID+DUID"
>

I posted this series earlier that fixes everything I know about
(including the lack of /etc/machine-id in the stateful case):

https://patchwork.openembedded.org/series/17495/

If you can test and I'll have a look if there's anything else that
needs addressing?

-- 
Alex Kiernan


More information about the Openembedded-core mailing list