From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <joerg.sommer@navimatix.de>, <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH] busybox: do not build SUID binary without an applet
Date: Tue, 31 Mar 2026 10:26:06 +0200 [thread overview]
Message-ID: <DHGTOWJ0KD3W.3GQN9EX1KPGN@bootlin.com> (raw)
In-Reply-To: <820f2da115d925512984c0e8b3a133a51d8367d6.1774905987.git.joerg.sommer@navimatix.de>
On Mon Mar 30, 2026 at 11:26 PM CEST, Jörg Sommer via lists.openembedded.org wrote:
> From: Jörg Sommer <joerg.sommer@navimatix.de>
>
> If the merge of all config snippets leads to a SUID binary without any
> applets, do not build and install it to reduce the SUID binaries in the
> system.
>
> Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
> ---
Hi Jörg,
Thanks for your patch.
It looks like this is making tests fail, as some busybox applets are not
found in test images:
Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/qemux86-alt/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
return func(*args, **kwargs)
File "/srv/pokybuild/yocto-worker/qemux86-alt/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
return func(*args, **kwargs)
File "/srv/pokybuild/yocto-worker/qemux86-alt/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/ssh.py", line 36, in test_ssh
self.fail("uname failed with \"%s\" (exit code %s)" % (output, status))
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: uname failed with "sh: uname: not found" (exit code 127)
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/3462
https://autobuilder.yoctoproject.org/valkyrie/#/builders/95/builds/3451
https://autobuilder.yoctoproject.org/valkyrie/#/builders/9/builds/3475
/bin/start_getty: line 9: readlink: not found
/bin/start_getty: line 20: /sbin/getty: not found
/bin/start_getty: line 9: readlink: not found
/bin/start_getty: line 20: /sbin/getty: not found
/bin/start_getty: line 20: /sbin/getty: not found
/bin/start_getty: line 9: readlink: not found
/bin/start_getty: line 20: /sbin/getty: not found
/bin/start_getty: line 9: /bin/start_getty: readlink: not foundline 9:
readlink: not found
/bin/start_getty: line 20: /sbin/getty: not found
/bin/start_getty: line 20: /sbin/getty: not found
/bin/start_getty: line 9: readlink: not found
/bin/start_getty: line 20: /sbin/getty: not found
INIT: Id "S0" respawning too fast: disabled for 5 minutes
/bin/start_getty: line 9: readlink: not found
/bin/start_getty: line 20: /sbin/getty: not found
/bin/start_getty: line 9: readlink: not found
/bin/start_getty: line 20: /sbin/getty: not found
https://autobuilder.yoctoproject.org/valkyrie/#/builders/11/builds/3461
https://autobuilder.yoctoproject.org/valkyrie/#/builders/11/builds/3461
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-03-31 8:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-30 21:26 [PATCH] busybox: do not build SUID binary without an applet Jörg Sommer
2026-03-31 8:26 ` Mathieu Dubois-Briand [this message]
2026-03-31 18:23 ` [PATCH v2] " Jörg Sommer
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=DHGTOWJ0KD3W.3GQN9EX1KPGN@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=joerg.sommer@navimatix.de \
--cc=openembedded-core@lists.openembedded.org \
/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