Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738542 - sys-apps/busybox: add USE flag ash as symlink. Optionally with app-eselect/eselect-sh parameter
Summary: sys-apps/busybox: add USE flag ash as symlink. Optionally with app-eselect/es...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
Depends on:
Reported: 2020-08-22 08:28 UTC by Reva Denis
Modified: 2021-01-26 17:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Reva Denis 2020-08-22 08:28:55 UTC
The goal is to use busybox's ash shell in scripts. I suggest to add USE ash to package sys-apps/busybox which symlinks ash into busybox.
We can use it secure way if we create symlink.
Optionally we can permit it in app-eselect/eselect-sh

Reproducible: Always

Actual Results:  
RarogCmexDell ~ # LC_ALL=C eix sys-apps/busybox -v
* sys-apps/busybox
     Available versions:  1.31.1-r2^t ~1.32.0^t **9999*l^t
     IUSE (all versions): debug ipv6 livecd make-symlinks math mdev pam savedconfig selinux sep-usr static syslog systemd
     Installed versions:  Version:   1.31.1-r2^t
                          Date:      01:00:43 03/26/20
                          USE:       ipv6 static -debug -livecd -make-symlinks -math -mdev -pam -savedconfig -selinux -sep-usr -syslog -systemd
                          DEPEND:    ${RDEPEND} virtual/libcrypt[static-libs] >=sys-kernel/linux-headers-2.6.39
                          RDEPEND:   virtual/libcrypt:0/1=
                          EAPI:      7
     Best versions/slot:  1.31.1-r2^t
     Package sets:        system
     Find open bugs:
     Description:         Utilities for rescue and embedded systems
     License:             GPL-2
Comment 1 Reva Denis 2020-08-22 08:30:15 UTC
What it looks
RarogCmexDell ~ # LC_ALL=C ls -la /bin/ash 
lrwxrwxrwx 1 root root 7 Aug 13 06:10 /bin/ash -> busybox