Wind River Support Network


LIN5-18220 : Busybox overwriting /bin/sh link to bash

Created: Mar 4, 2014    Updated: Dec 19, 2017
Resolved Date: Mar 19, 2014
Found In Version: 5.0.1
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 5
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