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
Tagged:
0