I compiled a static bash build. Now there's no weird command prompt, but I still can't execute anything because of fork.
[root@Plugbox i386]# chroot . bash-44.# ls bash: fork: Invalid argument bash-44.# a bash: fork: Invalid argument bash-44.# asdf bash: fork: Invalid argument bash-44.# asdf;kalsd;fk bash: fork: Invalid argument bash-44.# exit exit [root@Plugbox i386]# ldd ./bin/bash not a dynamic executable [root@Plugbox i386]# file ./bin/bash ./bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.27, not stripped
I compiled a static bash build. Now there's no weird command prompt, but I still can't execute anything because of fork.
[root@Plugbox i386]# chroot .
bash-44.# ls
bash: fork: Invalid argument
bash-44.# a
bash: fork: Invalid argument
bash-44.# asdf
bash: fork: Invalid argument
bash-44.# asdf;kalsd;fk
bash: fork: Invalid argument
bash-44.# exit
exit
[root@Plugbox i386]# ldd ./bin/bash
not a dynamic executable
[root@Plugbox i386]# file ./bin/bash
./bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.27, not stripped