From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: rs@ti.com, ross.burton@arm.com, mathieu.dubois-briand@bootlin.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: Mon, 13 Apr 2026 10:19:37 +0100 [thread overview]
Message-ID: <3b023d332e89496f3d89f535d2afbee665405d28.camel@linuxfoundation.org> (raw)
In-Reply-To: <20260410182747.1646597-2-rs@ti.com>
On Fri, 2026-04-10 at 13:27 -0500, rs@ti.com 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
Just to be clear, whilst I understand the issue and people wanting to
fix this, I'm not going to take this into wrynose. The failures and
other issues the fix has caused shows it isn't a safe/easy fix and
we'll have to give it a bit more thought in the next development cycle.
Cheers,
Richard
prev parent reply other threads:[~2026-04-13 9:19 UTC|newest]
Thread overview: 9+ 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 ` [oe-core][PATCHv2] systemd: fix unmerged-bin tainted message Mathieu Dubois-Briand
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
2026-04-13 9:19 ` Richard Purdie [this message]
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=3b023d332e89496f3d89f535d2afbee665405d28.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=joerg.sommer@navimatix.de \
--cc=mathieu.dubois-briand@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=peter.kjellerstedt@axis.com \
--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