Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Enable SELinux Oracle 9.2 on Raspberry Pi

user-xeujoOct 26 2023 — edited Oct 26 2023

Hardware:

Raspberry Pi 4B 4GB

Booting and using 16GB uSD card

OS: Oracle 9.2 for Arm

Issue:

Contrary to the documentation, SELinux is not enabled by default.

Unable to enable SELinux on Oracle

No matter what value I set for “SELENIX=” in /etc/selinux/config (followed by reboot)

Tried enforcing, permissive and disabled (one at a time, obviously).

<SELENIX=enforcing>

<SELENIX=permissive>

<SELENIX=disabled> (This one ALWAYS works! - grin)

On reboot, sestatus reports disabled, for each of the three values

getenforce only reports disabled. Upon trying to change the non-persistent state with setenforce, it just reports that it is disabled and doesn't accept the status change.

getenforce and setenforce

So am I'm missing something? Or can SELinux be enabled in the current 9.2 Arm distro? Or something else?

Any thoughts? Thank you.

Comments
Post Details
Added on Oct 26 2023
1 comment
517 views