You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because on this CentOS 7 box, /var matches another mount point that starts with /var:
[root@192 ~]# mount | grep -- ' on /var'
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
The grep filter here needs to be restricted a bit more, something like:
[root@192 ~]# mount | grep -- ' on /var type '
[root@192 ~]# mount | grep -- ' on /sys/kernel/debug type '
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
Need to test this on a few supported systems.
The text was updated successfully, but these errors were encountered:
As can be seen on this CentOS 7 box,
/var
is reported by inspec as mounted:This is because on this CentOS 7 box,
/var
matches another mount point that starts with/var
:The grep filter here needs to be restricted a bit more, something like:
Need to test this on a few supported systems.
The text was updated successfully, but these errors were encountered: