SELinux: post-commit hook with svnserve getting a SELinux denied message: execute_no_trans.
Issue
svnserve
is not able to executepost-commit
hooks-
SELinux issues a permission denied message:
execute_no_trans
when executingpost-commit
hook insvnserve
:Jun 24 14:49:50 abcd1234 setroubleshoot: SELinux is preventing /usr/bin/svnserve from execute_no_trans access on the file /demo/dir/hooks/post-commit. For complete SELinux messages run:sealert -l 469c2a8c-7eaf-491e-9239-abcd1234
-
We have migrated an application from RHEL 6 to RHEL 7 and got one SELinux issue that prevents to execute
svnserve
hooks
Environment
- Red Hat Enterprise Linux (RHEL)
- 8.0
- 7.7 and below
- selinux-policy-3.13.1-255.el7 and older
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.