proot
proot copied to clipboard
Termux/ sh funtion not intetplented
From alpine.sh /bin/sh: pm: Function not implemented sh: getcwd: Function not implemented localhost:(unknown)# ps PID USER TIME COMMAND 550 root 0:00 gpg-agent --homedir /data/da 21270 root 0:00 /data/data/com.termux/files/ 21363 root 0:00 /data/data/com.termux/files/ 23544 root 0:00 proot --link2symlink -0 -r a 23547 root 0:00 /bin/sh --login 26901 root 0:00 ps sh: getcwd: Function not implemented localhost:(unknown)# " how can this be fixed? I have tried to make dir nothing works
Try running with PROOT_NO_SECCOMP=1 env variable set
If still doesn't work please set PROOT_VERBOSE=9 and share terminal transcript
< $ ./start-alpine.sh bash: ./start-alpine.sh: No such file or directory $ cd $home $ ./start-alpine.sh sh: getcwd: Function not implemented localhost:(unknown)# date Wed Jul 24 18:36:13 UTC 2019 sh: getcwd: Function not implemented localhost:(unknown)# PROOT_NO_SECCOMP=1 sh: getcwd: Function not implemented localhost:(unknown)# PROOT_VERBOSE=9 sh: getcwd: Function not implemented localhost:(unknown)# > Yeah that wont work.. I got other distros with other errors. Ubuntu is bus error
export PROOT_NO_SECCOMP=1 should be before executing "./start-alpine.sh".
$ export PROOT_NO_SECCOMP=1 $ ./start-alpine.sh sh: getcwd: Function not implemented localhost:(unknown)#
I was kinda expecting it.. I downloaded all of SECCOMP not long ago trying to get over issue Proot vpid error 11. I got that over and i guess i sorta got distros but very few commands.. I have 2 shells competing now it looks like and something to do with dir .cwd
Here is a code that will get out of some issues with bash ` /usr/bin/du -k /tmp/some.new.mkv cut -f1 MKVFILEDIFF=-927608 df -k tail -1 awk '{print $4*1024}' DESTFREESPACE=3.25045e+12 '[' -927608 -gt 3.25045e+12 ']' /home/jrebeiro/bin/mkvdts2ac3.sh: line 665: [: 3.25045e+12: integer expression expected
$ df -k . | tail -1 | awk '{print $4*1024}' 3.25139e+12 $ awk -W version mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan
compiled limits: max NF 32767 sprintf buffer 2040 $ uname -a Linux Kali x86_64 GNU/Linux $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Kali 10 10.04.4 LTS" DESTFREESPACE=$(\df -k "$DEST" | tail -1 | awk '{printf ("%0.0f", $41024)}') $ df -k . | tail -1 | awk '{printf ("%0.0f", $41024)}' 3251394998272
Quit' This works to get most distros to get back on with half root. Im working on rest.
I got dis error ./start-kali.sh bash: [: : integer expression expected $
I got dis error ./start-kali.sh bash: [: : integer expression expected $
The problem is in your script. Most likely a syntax error.