Closed Yonle closed 3 years ago
that is likely SELinux issue which can be fixed by bind mounting fake /proc/version
Add this to your proot launch
-b fake_proc_version:/proc/version
a copy of version
file should be obtained somewhere
Yeah, that's what proot-distro
do (faking /proc/version and other SELinux'ed data). If you are implementing your own way to run a chroot, you can take the ideas from its source.
This isn't really proot issue.
Ah. So long android gets more restricted for stupid security reason. Also thanks for the answer 👍
stupid security reason
That's the reason why I still use Android ;)
3 years later ... I now have a non-rooted Oneplus 6 (Android 10) which issues this error. I tried this:
command+=" -b /proc"
# !!!
command+=" -b fake_proc_version:/proc/version"
#
but got this error:
proot warning: can't sanitize binding "fake_proc_version": No such file or directory
pocketpenguin:~$ proot warning: can't sanitize binding "fake_proc_version": No such file or directory
Cleaning stale pidfile '/home/user/.vnc/localhost:1.pid'!
Running proot / Andronix on another device (rooted Nothing 2a, Android 14). Libreoffice started flawlessly. I did not use root in Termux / proot, but I have used root for disabling SELinux in Android.
So my conclusion is that with proot Libreoffice cannot be started, unless SELinux is turned off, and for that you have to be rooted.
Problem description
So i'm trying to run
libreoffice
with alpine proot with/proc
mounted in guest. But failed to run with this error:Then libreoffice exit after that error.
Steps to reproduce
Expected behavior
The program ends up with error:
Additional information