Bug 1463829 - rule_mount_option_var_tmp_bind discrepancy between OVAL and remediation
rule_mount_option_var_tmp_bind discrepancy between OVAL and remediation
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: scap-security-guide (Show other bugs)
7.4
Unspecified Unspecified
medium Severity medium
: rc
: ---
Assigned To: Watson Yuuma Sato
BaseOS QE Security Team
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-21 16:26 EDT by Marek Haicman
Modified: 2017-06-24 02:41 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Marek Haicman 2017-06-21 16:26:16 EDT
Description of problem:
Rule xccdf_org.ssgproject.content_rule_mount_option_var_tmp_bind is currently defined in such way it cannot be remedied. OVAL checks runtime, and remediation deals solely with /etc/fstab.

Version-Release number of selected component (if applicable):
scap-security-guide-0.1.33-5.el7.noarch

How reproducible:
reliably

Steps to Reproduce:
1. make two entries into /etc/fstab, separately for /tmp and /var/tmp
2. run remediation
3. check runtime and contents of /etc/fstab

Actual results:
fstab is updated to include binding mount of /tmp to /var/tmp. Runtime is still failing

Expected results:
Runtime is fixed together with fstab, by remounting

Additional info:

Note You need to log in before you can comment on or make changes to this bug.