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

Alistair Francis alistair23 at gmail.com
Fri May 10 06:16:10 UTC 2019


On Wed, May 8, 2019 at 1:44 PM Alex Kiernan <alex.kiernan at gmail.com> wrote:
>
> 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?

Sorry for the long delay, I didn't get a chance to test it until now.
It's all fixed on master now with your patches.

Alistair

>
> --
> Alex Kiernan


More information about the Openembedded-core mailing list