Search $PATH failure?

Bart Kus me at bartk.us
Thu Dec 1 22:38:55 UTC 2011


Hello,

Does anyone know what might be causing this behavior?


eo at jo /tmp $ mkdir ram
eo at jo /tmp $ cd ram
eo at jo /tmp/ram $ gunzip < /boot/initramfs | cpio -idm
cpio: dev/tty1: Cannot mknod: Operation not permitted
cpio: dev/console: Cannot mknod: Operation not permitted
cpio: dev/null: Cannot mknod: Operation not permitted
37624 blocks
eo at jo /tmp $ su -
Password:
jo ~ # cd /tmp
jo tmp # PATH= /usr/bin/chroot ram /bin/busybox ash
/ # uname
ash: uname: not found
/ # echo $PATH

/ # PATH=/bin
/ # uname
ash: uname: not found
/ # cd bin
/bin # uname
Linux
/bin # PATH=
/bin # uname
Linux
/tmp/ram # ls -l bin/uname
lrwxrwxrwx    1 eo       eo               7 Dec  1 03:39 bin/uname -> 
busybox
/tmp/ram # ls -l bin/busybox
-rwxr-xr-x    1 eo       eo         2087264 Dec  1 01:03 bin/busybox


My busybox version is 1.19.3 and my config is attached.

Thanks for any insight,

--Bart

-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.19.3.config
Type: application/xml
Size: 24375 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20111201/4184959c/attachment-0001.wsdl>


More information about the busybox mailing list