On Thu, 18 Jun 2026 at 22:44, Richard Purdie
<[email protected]> wrote:

> > There's a second known issue, specific to do_rootfs: 'systemctl
> > enable' wants to run statx() with STATX_MNT_ID flag, which only exists
> > from kernel 5.8 onwards.
>
> FWIW another slightly dubious technique we have used is the use pseudo
> to intercept the syscalls and emulate them with something else...

I forgot to mention that the error for this issue, seen in
log.do_rootfs, is this altogether misleading message:

Failed to enable units: Protocol driver not attached.

systemd's xstatx_full() has 'return -EUNATCH' when it detects lack of
support for requested statx flags in the kernel:
https://github.com/systemd/systemd/blob/v260.2/src/basic/stat-util.c#L377

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#2409): 
https://lists.openembedded.org/g/openembedded-architecture/message/2409
Mute This Topic: https://lists.openembedded.org/mt/119870359/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-architecture/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to