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

./x2t: error while loading shared libraries: libgraphics.so: SELINUX issue #196

Closed
Disco1 opened this issue Jan 15, 2021 · 4 comments
Closed
Labels

Comments

@Disco1
Copy link

Disco1 commented Jan 15, 2021

I'm having an issue with SELinux.

I get the following error: ./x2t: error while loading shared libraries: libgraphics.so

I've checked the permissions and it's set like this:

-rw-r--r--. apache apache system_u:object_r:httpd_sys_rw_content_t:s0 libgraphics.so

If I disable SELinux, everything works fine and the rest of Nextcloud works well, too. I don't see what's wrong. Any suggestions?

@BastianBalthasarBux
Copy link

BastianBalthasarBux commented Jan 23, 2021

I have the same problem!
First I thought, it might be #195 but that's not the case ...
Setting selinux to permissive temporarily, makes the document server working again!

@BastianBalthasarBux
Copy link

Solution:
Try to set this one:
semanage fcontext -a -t httpd_sys_rw_content_t "/path_to_nextcloud/apps(/.*)?"

See also:
https://help.nextcloud.com/t/centos-selinux-documentserver-onlyoffice/70173

Copy link

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution!

Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark issues as stale.

@github-actions github-actions bot added the stale label Jul 29, 2024
Copy link

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants