Wind River Support Network

HomeDefectsLIN7-80
Fixed

LIN7-80 : Busybox overwriting /bin/sh link to bash

Created: May 19, 2014    Updated: Mar 31, 2016
Resolved Date: May 19, 2014
Found In Version: 7.0.0.0.LB09
Fix Version: 7.0
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

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.
Live chat
Online