-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Libreoffice /proc not mounted #24
Comments
The start-ubuntu.sh in Termux mount Android local /proc in the distro, you can try to uncomment that line of code to see if it works. |
It doesn't. The problem is not that the /proc filesystem is mounted but that it's not fully mounted. Has anyone got the libreoffice to run through proot on Oreo? |
On my PC ubuntu 18.04, libreoffice accesses these files: |
It doesn't work for me too on Ubuntu. |
Hi I had the same problem when trying to install open office on ubuntu mate running on an oreo based phone. |
For me setting SELinux mode to Permissive via |
Is there any other option except rooting the device? |
I've found a way. You can edit file /usr/lib/libreoffice/program/oosplash with any HEX editor (bless for example). Just find text "/proc/version" (LibreOffice checks this file) and change to for example "/prod/version". Then you can create fake empty "/prod/version" file in the filesystem, then Office starts and works well (source code says /proc is very important but I can't find any issue, maybe because /proc partially accessible since it is "mounted" with proot to the guest system). |
Zin-Uru's solution worked awesome for me on Andronix Modded Ubuntu version. Thanks so much! |
Or just edit /usr/lib/libreoffice/program/oosplash with emacs, then create /prod/version. What a hack! Thanks, Zin-Uru. |
I have created a python script fix-libreoffice.py to automate this process for Arch base distro. Copy and run in Arch based distro
|
Four years later... this patch works in Andronix on a non-rooted Android ! |
Is there any workaround? Libreoffice fails to start on ubuntu complaining that the /proc is not mounted. It is but I guess on Oreo some virtual files are not accessible.
The text was updated successfully, but these errors were encountered: