Bug 13828 - systemd logind fails on qemuarm64
Summary: systemd logind fails on qemuarm64
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: virtual machines (show other bugs)
Version: 3.1
Hardware: x86 arm64
: Medium+ normal
Target Milestone: 3.1 M4
Assignee: Khem Raj
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-03-11 01:29 UTC by Khem Raj
Modified: 2020-03-16 21:00 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/