nmilosev / termux-fedora

A script to install a Fedora chroot into Termux
269 stars 64 forks source link

Proot Issues on GrapheneOS #66

Open boredsquirrel opened 1 year ago

boredsquirrel commented 1 year ago

I guess the project is kinda orphaned? But I think it is great and will maintain at least the version changes.

Also I want to fix the proot not working, for some weird reason, that occurs on GrapheneOS.

proot error: ptrace(TRACEME): Operation not permitted
proot error: execve("/usr/bin/env"): Operation not permitted
proot info: It seems your kernel contains this bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1202161
To workaround it, set the env. variable PROOT_NO_SECCOMP to 1.
fatal error: see `proot --help`.
proot error: can't chmod '/data/data/com.termux/files/usr/tmp/proot-20003-rGDdyI': No such file or directory

Do you have an idea how to fix it? It may be due to the hardened kernel and stuff.