Bug 1954793

Summary: sysstat triggering automount
Product: Red Hat Enterprise Linux 8 Reporter: Anthony Zone <azone>
Component: sysstatAssignee: Michal Sekletar <msekleta>
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: bubrown, fsumsal, hartsjc, lmiksik, msekleta
Target Milestone: betaKeywords: Regression, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sysstat-11.7.3-6.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2000910 (view as bug list) Environment:
Last Closed: 2021-11-09 18:54:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2000910    

Description Anthony Zone 2021-04-28 19:04:33 UTC
Description of problem:
In RHEL 7 it was noticed that sysstat was forcing mounts of automounts whenever it ran.  This was resolved with BZ1670060:

    https://bugzilla.redhat.com/show_bug.cgi?id=1670060

It seems that this fix was never applied to the RHEL 8 sysstat as I don't see the code change here and I have a customer that has sysstat remounting their autofs.

The upstream code for this was in sysstat v12.5.3 but RHEL 8.3 is on 11.7.3-5 so it looks like we might have missed it.  Upstream code:

    https://github.com/sysstat/sysstat/issues/213

There was also a BZ around the fix which would lead to a crash due to this fix and that BZ is here:

    https://bugzilla.redhat.com/show_bug.cgi?id=1774590


Version-Release number of selected component (if applicable):

    RHEL 8.3 sysstat-11.7.3-5

How reproducible:
    
    Always

Steps to Reproduce:

    1. Set up autofs
    2. Run sysstat
    3. sysstat will force a mount of autofs

Actual results:

    sysstat will force a mount of autofs

Expected results:

    sysstat skips over autofs mounts

Additional info:

Comment 2 James Hartsock 2021-08-25 22:45:11 UTC
Added regression flag, as customers upgrading to RHEL 8 are seeing this issue re-introduced into their RHEL environments.

Comment 16 errata-xmlrpc 2021-11-09 18:54:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (sysstat bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4347