Re: [OE-core] [PATCH v3 1/5] systemd: update 246 -> 247

Richard Purdie
2020-12-19T11:03:53Z

On Sat, 2020-12-19 at 10:33 +0000, Richard Purdie via
lists.openembedded.org wrote:
> https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/1662/steps/14/logs/stdio
>
> (there is a second issue there from other patches in master-next
> too).
>
> We do need a green build to be able to merge so this may depend on
> someone else looking into that reproducibility issue. I did try and
> give some hints in my previous email, I'd need to look at the code to
> be able to give any more pointers.

Looking at the output in
https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20201219-fqxxqel9/packages/diff-html/

you can see that the .text section in the binary changes size. Ignoring
the offset changes, the actual change is the change in size of
the maybe_emit_login_defs_warning function from 256 to 275 bytes.

That function is in the systemd sources in git/src/sysusers/sysusers.c.

It uses a variety of configuration options such as:

SYSTEM_ALLOC_UID_MIN
SYSTEM_UID_MAX
SYSTEM_ALLOC_GID_MIN
SYSTEM_GID_MAX

My best guess is that we're not setting one of these and its falling
back to a host system value which varies by host distro.

Obviously we need to prove that and figure out the correct value for OE
usage but its maybe a pointer as to the possible problem (or I could be
totally wrong!).

Cheers,

Richard