Bug 15785 - Upstream the shadow-native patch
Summary: Upstream the shadow-native patch
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: oe-core other (show other bugs)
Version: 5.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 6.0
Assignee: Dmitry Sakhonchik
QA Contact:
URL:
Whiteboard: NEWCOMER
Depends on:
Blocks:
 
Reported: 2025-03-05 19:31 UTC by Randy MacLeod
Modified: 2026-05-19 23:21 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy MacLeod 2025-03-05 19:31:54 UTC
In this commit:

https://git.yoctoproject.org/poky/commit/?h=master-next&id=7603fbafe39f78d850dc0ad590eace4d2edda6e4

Richard asked: "Would upstream accept a configure option?"

Discuss this with upstream and if there's agreement then
re-write the change as a configuration option.
Comment 1 Dixit Parmar 2025-07-02 11:30:54 UTC
Hi Randy,
The link seem to be broken, Can you share more details?
Comment 2 Randy MacLeod 2025-07-02 20:20:53 UTC
Hi Dixit,

master-next links come and go. Thanks for asking for a better link.

You can search using lore, like this:
   https://lore.kernel.org/openembedded-core/?q=shadow-native%3A+Disable+syslog+usage+f%3Apurdie

The commit log I was referring to is:
   https://lore.kernel.org/openembedded-core/20250228101323.1008021-1-richard.purdie@linuxfoundation.org/

    Subject: [PATCH] shadow-native: Disable syslog usage

    Spamming the build host's syslog with useradd information during image creation
    isn't great. Add a patch to disable that.

    It may be possible to convince upstream to make it a configure option but for
    now the patch is trivial and reduces host impact to the logs.

Does that help?
Comment 3 Dixit Parmar 2025-07-16 03:21:41 UTC
Thanks Randy, I will go through it.
Comment 4 Dixit Parmar 2025-07-16 03:21:59 UTC
Thanks Randy, I will go through it.
Comment 5 Randy MacLeod 2026-01-09 19:17:38 UTC
Move to 6.0. 
Dixit, any news?
Comment 6 Dixit Parmar 2026-01-12 06:25:44 UTC
This completely went out of sight. I shall get on this right away.

I also have one more item pending 12904, it's done from my end, pending acceptance(couple of review cycles done). If you could take a look and get this going.
Thanks, Dixit
Comment 7 Dmitry Sakhonchik 2026-04-16 18:26:01 UTC
Hi everyone. Opened an issue on shadow-maint
https://github.com/shadow-maint/shadow/issues/1610
Comment 9 Randy MacLeod 2026-05-19 23:21:54 UTC
https://git.openembedded.org/openembedded-core/commit/?h=master&id=b0ce3150e43cb6fb0d726cf86725715b8fd06147

I never trust or properly parse the patchwork links.
It does indicate that the patch is Accepted so I guess either link is sufficient proof.

Thanks Dmitry.