You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: OL8 oci-linux-config Package Overwrites /dev/shm Mount Options in /etc/fstab When It Is Updated

Applies To:

Oracle Cloud Infrastructure - Version N/A to N/A

Linux OS - Version Oracle Linux 8

Linux x86-64

Symptoms:

On OL8 OCI instances, /dev/shm is mounted with the "noexec" option. Even if manually removing that option in /etc/fstab, after a yum update, that option would return in /etc/fstab.

tmpfs                   /dev/shm                tmpfs   defaults,nodev,nosuid,noexec      0 0

Cause:

/usr/lib/oci-linux-config/fstab_note.sh is reverting that mount option. /usr/lib/oci-linux-config/fstab_note.sh is part of the packet scriptlet that gets executed during package updates.

This is the intended behavior because it adds security by preventing the possibility of ever executing anything inside

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!