After installing Resource Orchestrator, use the following procedure to configure SELinux.
Execute the following commands.
# cd /etc/opt/FJSVrcvmr/selinux <RETURN> |
The policy modules are applied and a label is configured for each file.
Check if the label of each file and directory is correct.
Execute the following commands.
File
# ls -Z file <RETURN> |
For file, specify the target file for label check.
Directory
# ls -dZ directory <RETURN> |
For directory, specify the directory for label check.
Example
To check the label of /opt/FJSVcir/jre/bin/java
# ls -Z /opt/FJSVcir/jre/bin/java <RETURN> -rwxr-xr-x. root sys system_u:object_r:bin_t:s0 /opt/FJSVcir/jre/bin/java |
The files and directories to check the labels of are as follows.
Files and Directories | Label |
---|---|
/etc/init.d/scwdepsvd | unconfined_exec_t |
/etc/init.d/scwpxesvd | |
/etc/init.d/scwtftpd | |
/etc/init.d/rcvmr | |
/etc/init.d/rcxdb | |
/etc/init.d/rcxhttpd | |
/etc/init.d/rcxmongrel[0-9]* | |
/var/opt/FJSVrcvmr/rcxtrphdl/ (directory) | snmpd_var_lib_t |
/opt/FJSVrcvmr/runtime64/jre6/bin/java | bin_t |
/opt/FJSVrcvmr/runtime/jre6/bin/java | |
/opt/FJSVcir/jre/bin/java |
Restart the manager.
For the method for restarting managers, refer to "2.1 Starting and Stopping Managers" in the "Operation Guide VE".