[OE-core] [PATCH 0/2] busybox updating

Burton, Ross ross.burton at intel.com
Wed Oct 4 10:15:20 UTC 2017


On 4 October 2017 at 07:20, Andrej Valek <andrej.valek at siemens.com> wrote:

> I have compared no/suid links between these versions. So, I was trying
> to enable the same applets like in older version and do not enable the
> new one. Some applets could not be disabled (they are automatically
> enabled) due to dependencies.
>
> For this version of defconfig the new applets are:
> chrt
> cttyhack
> init
> lzcat
> mdev
> nproc
> setsid
> xzcat
> partprobe


This doesn't quite match what I'm seeing by comparing old and new links in
the postinst:

$ diff then now
44c44,45
< update-alternatives --install /bin/sh sh /bin/busybox.nosuid 50
---
> update-alternatives --install /bin/sh sh /bin/busybox.suid 50
> update-alternatives --install /bin/sh sh /bin/busybox.suid 50
122a124
> update-alternatives --install /usr/bin/lzcat lzcat /bin/busybox.nosuid 50
128a131
> update-alternatives --install /usr/bin/nproc nproc /bin/busybox.nosuid 50
167a171
> update-alternatives --install /usr/bin/xzcat xzcat /bin/busybox.nosuid 50

Note the two lines installing an alternative of /bin/sh to busybox.suid.

Assuming they should have alternative links installed, the following
applets are still disabled too:

 chrt
 cttyhack
 init
 mdev
 setsid
 partprobe

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171004/a3895b15/attachment-0002.html>


More information about the Openembedded-core mailing list