Wind River Support Network


LIN6-6956 : CLONE - Busybox overwriting /bin/sh link to bash

Created: Mar 16, 2014    Updated: Dec 3, 2018
Resolved Date: Mar 19, 2014
Previous ID: LIN5-18327
Found In Version: 6.0
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace


WRL5 allows both bash and busybox to be installed on a target system. With the default configuration this works well, but when busybox is configured *without* ash support, the /bin/sh symlink to bash can be overwritten.

The overwrite is random depending on the install order. If busybox is installed before bash then the overwrite does not happen, but if bash is installed then the link is changed.

Steps to Reproduce

To see the problem we need the following conditions:

  * busybox and bash included in the rootfs
  * busybox configured without CONFIG_ASH and CONFIG_FEATURE_SH_IS_ASH
  * bash is installed before busybox in the final stage

The last of these happens randomly depending on number of parallel build jobs, system load, etc. and may be hard to reproduce.

Other Downloads

Live chat