SELinux Security Issue - Oracle
Issue
-
Receiving SELinux errors after installing NetBackup and running the following commands:
sudo chcon -t textrel_shlib_t /usr/openv/lib/*.so* for l in /usr/openv/lib/*.so* ; do echo $l:; sudo semanage fcontext -a -t textrel_shlib_t $l; done -
We are getting the following errors:
oracle homedir /opt/oracle or its parent directory conflicts with a defined context in /etc/selinux/targeted/contexts/files/file_contexts,/usr/sbin/genhomedircon will not create a new context. This usually indicates an incorrectly defined system account. If it is a system account please make sure its login shell is /sbin/nologin. -
This is a newly installed Oracle server and needs the home directory to point to /opt/oracle
Environment
- Red Hat Enterprise Linux 5.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
