On Fri Jul 24, 2026 at 11:00 AM CEST, Jörg Sommer via lists.openembedded.org 
wrote:
> From: Randolph Sapp <[email protected]>
>
> 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 <[email protected]>
> Signed-off-by: Jörg Sommer <[email protected]>
> ---
>

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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#241966): 
https://lists.openembedded.org/g/openembedded-core/message/241966
Mute This Topic: https://lists.openembedded.org/mt/120422954/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to