termux / proot

An chroot-like implementation using ptrace.
https://wiki.termux.com/wiki/PRoot
Other
742 stars 162 forks source link

[Bug]: proot error on device with EROFS (Enhanced Read-Only File System) #247

Open agisnrynt opened 1 year ago

agisnrynt commented 1 year ago

Problem description

I'm having trouble installing the Ubuntu distro using the proot-distro command. I'm using a pixel 3a device with a pixel experience ROM. Previously I didn't have any problems when trying to install it, but after I updated using the latest version of Pixel Experience ROM, I got this problem

[°] Checking integrity, please wait... [°] Extracting rootfs, please wait... proot error: execve("/data/data/com.termux/files/usr/bin/tar"): Function not implemented proot info: possible causes:

System information

michalbednarski commented 1 year ago

Looks like error happened early in proot operation, most likely kernel in your ROM is buggy

You can try running

PROOT_NO_SECCOMP=1 PROOT_ASSUME_NEW_SECCOMP=1 proot-distro install ubuntu

and see if installation works that way, but other than that it looks like proot cannot work on such device (another thing that can be checked is if strace works on that device)