Red Hat Bugzilla – Bug 162227
RHAPS rhdb-jonas service does not work with SELinux
Last modified: 2007-04-18 13:28:51 EDT
Description of problem:
The RPM does not initialize the database, and even if that is done by hand the
service will not start
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Turn on SELinux
2. Install JOnAS
3. service rhdb-jonas start
A DBMS running on port 5433
The post script must use runuser instead of su if SELinus is on during th4e
Also, if SELinux is installed, the following likes have to be added to the
selinux configuration file
But if the SELinux package selinux-policy-targeted is installed after the
jonas-examples package, the jonas-examples package will not have installed those
lines, so the jonas-examples package would have to be uninstalled and installed
again. There should be a /etc/selinux/targeted/contexts/files/file_contexts.d
directory for fragments like this and should be created by something in core.
But perhaps selinux-policy-targeted is in core?
Will RHEL4 U1 this should work.
It is not supported however. Use at your own risk.