Skip to content
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

Applications like libreoffice that use /proc/version fail to run #242

Closed
petkar opened this issue Aug 4, 2020 · 2 comments
Closed

Applications like libreoffice that use /proc/version fail to run #242

petkar opened this issue Aug 4, 2020 · 2 comments

Comments

@petkar
Copy link

petkar commented Aug 4, 2020

Some binaries that access kernel information through /proc/version before execution (libreoffice for example) fail to run and returns an error
cat: /proc/version: Permission denied

@petkar
Copy link
Author

petkar commented Aug 4, 2020

A workaround was to change the applications binary to access a fake directory and empty file /prod/version instead of the original through a hex editor. But doing this for multiple applications can be tedious. The solution should be binding a fake version file with pseudo kernel information similar to that done with /proc/stat

@petkar
Copy link
Author

petkar commented Aug 4, 2020

This pull request TermuxArch/TermuxArch#12 should resolve the issue. I tested it and Libreoffice starts up perfectly now with no additional tweaking required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant