From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <rs@ti.com>, <richard.purdie@linuxfoundation.org>, <ross.burton@arm.com>
Cc: <openembedded-core@lists.openembedded.org>,
<peter.kjellerstedt@axis.com>, <joerg.sommer@navimatix.de>
Subject: Re: [oe-core][PATCHv2] systemd: fix unmerged-bin tainted message
Date: Sun, 12 Apr 2026 11:13:00 +0200 [thread overview]
Message-ID: <DHR27COITUU6.25MJ47LYD813Y@bootlin.com> (raw)
In-Reply-To: <20260410182747.1646597-2-rs@ti.com>
On Fri Apr 10, 2026 at 8:27 PM CEST, rs wrote:
> From: Randolph Sapp <rs@ti.com>
>
> Systemd prefers both /bin and /sbin to link to /usr/bin. If this is not
> the case it reports that the system is tainted in systemctl status.
>
> Add a link from /usr/sbin to /usr/bin to prevent anything from being
> excluded from the merged bin directory. This mimics the current merged
> bin directory structure of Arch Linux [1].
>
> Update the systemd recipe to prevent creating a duplicate link when
> sbinmerge is enabled.
>
> Override most sbin variables to point to their bin equivalent when
> usermerge is enabled, with the exception being base_sbindir_native and
> sbindir_native. There is no guarantee the host machine is using this
> filesystem scheme.
>
> This check was added to systemd back in 2024 [2].
>
> [1] https://gitlab.archlinux.org/archlinux/packaging/packages/filesystem/-/blob/main/PKGBUILD
> [2] https://github.com/systemd/systemd/commit/844863c61e7b501097da84a1e4d1e4a6aa6d9f0d
>
> Signed-off-by: Randolph Sapp <rs@ti.com>
> ---
Hi Randolph,
Thanks for your patch. This triggering some issues because of missing
folders.
Jörg suggested a fix for net-tools, but we have other failures, at least
one with tcf-agent:
ERROR: tcf-agent-1.9.0-r0 do_package: QA Issue: tcf-agent: Files/directories were installed but not shipped in any package:
/usr/sbin/tcf-client
/usr/sbin/tcf-agent
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
tcf-agent: 2 installed and not shipped files. [installed-vs-shipped]
https://autobuilder.yoctoproject.org/valkyrie/#/builders/10/builds/3574
https://autobuilder.yoctoproject.org/valkyrie/#/builders/9/builds/3557
Can you have a look at the issue?
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2026-04-12 9:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-10 18:27 [oe-core][PATCHv2] systemd: fix unmerged-bin tainted message rs
2026-04-11 20:33 ` Jörg Sommer
2026-04-11 20:34 ` [PATCH] net-tools: Handle binmerge Jörg Sommer
2026-04-12 9:13 ` Mathieu Dubois-Briand [this message]
2026-04-12 10:39 ` [PATCH v2 1/2] atop: Add packages atop-acctd and atop-gpud Jörg Sommer
2026-04-12 10:39 ` [PATCH v2 2/2] atop: Fix binmerge Jörg Sommer
2026-04-12 10:45 ` Patchtest results for " patchtest
2026-04-12 10:45 ` Patchtest results for [PATCH v2 1/2] atop: Add packages atop-acctd and atop-gpud patchtest
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DHR27COITUU6.25MJ47LYD813Y@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=joerg.sommer@navimatix.de \
--cc=openembedded-core@lists.openembedded.org \
--cc=peter.kjellerstedt@axis.com \
--cc=richard.purdie@linuxfoundation.org \
--cc=ross.burton@arm.com \
--cc=rs@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox