Bug 13828

Summary: systemd logind fails on qemuarm64
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Khem Raj <raj.khem>
Component: virtual machinesAssignee: Khem Raj <raj.khem>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: akuster, jon.mason, randy.macleod
Version: 3.1   
Target Milestone: 3.1 M4   
Hardware: x86   
OS: arm64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Khem Raj 2020-03-11 01:29:51 UTC
Use systemd for init system and then

MACHINE=qemuarm64 bitbake core-image-weston

runqemu

once booted, inspect /var/log/weston.log and it will have errors like


[01:17:11.451] logind: failed to get session seat
[01:17:11.451] logind: cannot setup systemd-logind helper (-61), using legacy fallback

Although the system boots up totally fine despite these errors. -ctestimage is not happy about these errors.
Comment 1 Khem Raj 2020-03-11 01:42:56 UTC
perhaps systemd-logind can't access the input keyboard because its a remore machine which does not have the input connected, I wonder if weston needs keyboard attached ?
Comment 2 Armin Kuster 2020-03-12 14:35:32 UTC
I think this has a patch.

https://patchwork.openembedded.org/patch/170986/