[Buildroot] [PATCH] support/testing: TestInitSystemSystemdRwIfupdown test expect a RW rootfs
Romain Naour
romain.naour at gmail.com
Mon Nov 9 20:25:04 UTC 2020
Hello Peter,
Le 09/11/2020 à 21:11, Peter Korsgaard a écrit :
>>>>>> "Romain" == Romain Naour <romain.naour at gmail.com> writes:
>
> > When running the TestInitSystemSystemdRwIfupdown test, the rootfs must
> > be in read-write mode. The commit log [1] introducing systemd tests say
> > so:
>
> > "basic systemd, read-write, network w/ ifupdown"
>
> > With systemd 246.5, the service systemd-update-done return an error code
> > when it can't write on the filesystem (/etc)
>
> > [1] 117835d5fcd508f301d62dd08ee658c1982c7fa7
> > [2] https://github.com/systemd/systemd/commit/8019995e9af9c6d7b5985198cedccd24eda3e26e
>
> > Fixes:
> > https://gitlab.com/buildroot.org/buildroot/-/jobs/830981813
>
> > Signed-off-by: Romain Naour <romain.naour at gmail.com>
> > Cc: Yann E. MORIN <yann.morin.1998 at free.fr>
> > ---
>
> Committed, thanks.
>
> > Note: systemd-update-done will continue to fail for other systemd tests
> > when the rootfs is in read-only mode.
>
> What is the impact of that? Anything we can do about it?
>
The systemd-update-done service can't work for read-only filesystem even if
previously the service didn't failed in such case.
I'll take a look if we can disable it at build time.
Best regards,
Romain
More information about the buildroot
mailing list