Linux OL7/RHEL7: PRVE-0421 : No entry exists in /etc/fstab for mounting /dev/shm
This is due to below bugs:
OL7 - Unpublished Bug 21441387- 12.2/MAIN/OL7.1: CVU REPORTS /DEV/SHM NOT MOUNTED WHEN IT IS MOUNTED 21441387.8
RHEL 7 - Unpublished Bug 25907259 : RHEL7.2: CVU REPORTS /DEV/SHM NOT MOUNTED WHEN IT IS MOUNTED 25907259.8
As a work-around in OL7:
In OL7, the /dev/shm is not mounted in /etc/fstab on a fresh system, it is done in:
[root@testc140 u02]# ll /usr/lib/dracut/modules.d/99base/init.sh
-rwxr-xr-x. 1 root root 11379 Mar 26 10:14
vi /usr/lib/dracut/modules.d/99base/init.sh and comment the below lines
62 if ! ismounted /dev/shm; then
63 mkdir -m 0755 /dev/shm
64 mount -t tmpfs -o mode=1777,nosuid,nodev,strictatime tmpfs /dev/shm >/dev/null
65 fi
so, this validation is not really valid for OL7.
We can also safely ignore this message.
For reference metalink id: - Doc ID 2065603.1
Comments
Post a Comment