All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <joerg.sommer@navimatix.de>,
	<openembedded-core@lists.openembedded.org>,
	<richard.purdie@linuxfoundation.org>, <ross.burton@arm.com>,
	<rs@ti.com>
Subject: Re: [OE-core] [PATCH v2] bitbake.conf: Extend distro feature usrmerge to merge bin+sbin
Date: Sat, 25 Jul 2026 09:34:29 +0200	[thread overview]
Message-ID: <DK7H8L0W9TKT.2W8J7GXRP2R7K@bootlin.com> (raw)
In-Reply-To: <ada29b3926f0497ef35618685c298cad840f45e0.1784883539.git.joerg.sommer@navimatix.de>

On Fri Jul 24, 2026 at 11:00 AM CEST, Jörg Sommer via lists.openembedded.org wrote:
> From: Randolph Sapp <rs@ti.com>
>
> The split of bin and sbin became more artificial over time, and it is no
> longer clear why programmes goes into the one or the other directory; e.g.
> forever normal users have used sendmail in /usr/sbin, and fdisk and mkfs
> learned to operate on files to create images long ago.
>
> Because systemd drives this movement to have only /usr/bin and symlink /bin,
> /sbin and /usr/sbin to there, the usrmerge feature (started by systemd too)
> should be extended to include the binmerge. For a system with split bin/sbin
> `systemctl status` reports the system as tainted for *unmerged-bin.*
>
> 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>
> Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
> ---
>

Hi Jörg,

Thanks for your patch.

It looks like this is failing to build with poky-altcfg on various
recipes:

ERROR: tcf-agent-1.11.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
...
ERROR: bootchart2-0.14.9-r0 do_package: QA Issue: bootchart2: Files/directories were installed but not shipped in any package:
  /usr/sbin
  /usr/sbin/bootchartd

https://autobuilder.yoctoproject.org/valkyrie/#/builders/25/builds/4214
https://autobuilder.yoctoproject.org/valkyrie/#/builders/65/builds/4176
https://autobuilder.yoctoproject.org/valkyrie/#/builders/95/builds/4146
https://autobuilder.yoctoproject.org/valkyrie/#/builders/22/builds/4215

Can you have a look at the issue?

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  reply	other threads:[~2026-07-25  7:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-24  9:00 [PATCH v2] bitbake.conf: Extend distro feature usrmerge to merge bin+sbin Jörg Sommer
2026-07-25  7:34 ` Mathieu Dubois-Briand [this message]
2026-08-22  7:56 ` Jörg Sommer
2026-08-22 12:16   ` Mathieu Dubois-Briand
2026-08-22 14:09     ` Jörg Sommer
2026-08-24  6:30       ` Mathieu Dubois-Briand
2026-08-24  9:53         ` Jörg Sommer
2026-08-24 10:02           ` Mathieu Dubois-Briand
2026-08-24 12:43             ` Jörg Sommer
2026-08-24 13:10               ` Mathieu Dubois-Briand
2026-08-24 12:48 ` [PATCH v3] " Jörg Sommer
2026-08-24 13:11   ` [OE-core] " Marko, Peter
2026-08-24 15:17     ` joerg.sommer
2026-08-24 16:18       ` Marko, Peter
2026-08-24 17:10       ` Richard Purdie
2026-08-25  7:33   ` Mathieu Dubois-Briand
     [not found] <18C52E3640016A00.1442561@lists.openembedded.org>
2026-07-24  9:05 ` [OE-core] [PATCH v2] " Jörg Sommer
2026-07-24 20:51   ` Randolph Sapp

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=DK7H8L0W9TKT.2W8J7GXRP2R7K@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=joerg.sommer@navimatix.de \
    --cc=openembedded-core@lists.openembedded.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.