On 4 October 2017 at 07:20, Andrej Valek <[email protected]> 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
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to