AnLinux-App icon indicating copy to clipboard operation
AnLinux-App copied to clipboard

Error: /proc must be mounted when run ps -e

Open ghost opened this issue 2 years ago • 4 comments

  • start termux
  • ./start-debian.sh
  • # ps -e
Error: /proc must be mounted
  To mount /proc at boot you need an /etc/fstab line like:
      proc   /proc   proc    defaults
  In the meantime, run "mount proc /proc -t proc"

the above error occurs on xterm vnc session also

ghost avatar Nov 16 '22 18:11 ghost

/proc cannot be mounted unless you have root access on android, its a limitation and nothing we can do. There might be a solution to try making a fake /proc in the future.

This is not a bug and the script is designed to not mount /proc to prevent error.

exalab999 avatar Nov 17 '22 01:11 exalab999

@exalab999

  • i am unable to kill zombie process which freezed my entire vm session (for ex. running hlynx using twm menu: "hlynx" f.exec "xterm -geometry 110x45 -e lynx https://en.wikipedia.org/w/index.php?title=User:Jindam_vani/zandbak%26action=history &"
  • i am unable to use right or left or middle mouse/click...
  • the only way is to find which package is responsible & stop it using #ps -e on termux

right now i am restore usable session vm running two commands (i dont know which is correct):

killall -q -u root kill 2

if you have any workaround for the issue?

ghost avatar Nov 17 '22 02:11 ghost

just for record (somebody might say you ought to have run command given in error):

# mount proc /proc -t proc
mount: /proc: mount(2) system call failed: Function not implemented.

ghost avatar Nov 17 '22 04:11 ghost

When you are rooted, disable SELinux. /system/bin/setenforce 0 You can set it in a termux/tasker boot script. For me this works.

freebrowser1 avatar Jun 19 '23 06:06 freebrowser1