RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2000910 - sysstat triggering automount [rhel-8.6.0]
Summary: sysstat triggering automount [rhel-8.6.0]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sysstat
Version: 8.4
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michal Sekletar
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
: 1797979 2077470 (view as bug list)
Depends On: 1954793
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-03 10:23 UTC by RHEL Program Management Team
Modified: 2024-12-20 20:55 UTC (History)
10 users (show)

Fixed In Version: sysstat-11.7.3-7.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1954793
Environment:
Last Closed: 2022-05-10 14:11:09 UTC
Type: ---
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-96112 0 None None None 2021-09-03 10:29:15 UTC
Red Hat Issue Tracker RHELPLAN-96113 0 None None None 2021-09-03 10:29:20 UTC
Red Hat Product Errata RHBA-2022:1892 0 None None None 2022-05-10 14:11:15 UTC

Comment 2 Michal Sekletar 2021-11-29 09:51:53 UTC
*** Bug 1797979 has been marked as a duplicate of this bug. ***

Comment 9 xxiong 2022-02-17 13:58:24 UTC
Seems issue still appear on the sysstat-11.7.3-7.el8

[root@bootp-73-131-186 os-tests]# rm -rf sa.new
[root@bootp-73-131-186 os-tests]# strace -fttT -o sadc.trc /usr/lib64/sa/sadc -F -L 1 2 sa.new
[root@bootp-73-131-186 os-tests]# grep mtab sadc.trc
318016 21:56:47.027742 openat(AT_FDCWD, "/etc/mtab", O_RDONLY) = 3 <0.000026>
[root@bootp-73-131-186 os-tests]# uname -r
4.18.0-365.el8.x86_64
[root@bootp-73-131-186 os-tests]#  rpm -q sysstat
sysstat-11.7.3-7.el8.x86_64
[root@bootp-73-131-186 os-tests]#

Comment 10 Shaoyu Shang 2022-03-14 09:04:10 UTC
I can still see this issue in RHEL-8.6.0-20220312.3-x86_64-dvd1.iso

[root@shshang-rhel8 ~]# rm -rf sa.new ; strace -fttT -o sadc.trc /usr/lib64/sa/sadc -F -L 1 2 sa.new ; grep mtab sadc.trc
16188 16:55:16.100156 openat(AT_FDCWD, "/etc/mtab", O_RDONLY) = 3 <0.000079>
[root@shshang-rhel8 ~]# uname -r
4.18.0-372.el8.x86_64
[root@shshang-rhel8 ~]# rpm -q sysstat
sysstat-11.7.3-7.el8.x86_64

Comment 11 Frantisek Sumsal 2022-03-14 10:33:14 UTC
IIUC, reading /etc/mtab is fine, the original issue is about calling statfs() on the autofs handle, thus triggering the auto mount. CC'ing @msekleta for confirmation.

Comment 12 Frank Liang 2022-04-22 03:23:11 UTC
Here is test result from RHEL-9 and I do not find 1670060 changed the pass criteria.
I am adding needinfo to Michal.

[root@localhost ~]# uname -r
5.14.0-75.el9.x86_64
[root@localhost ~]# rm -rf sa.new ; strace -fttT -o sadc.trc /usr/lib64/sa/sadc -F -L 1 2 sa.new ; grep mtab sadc.trc
[root@localhost ~]# echo $?
1

Comment 13 libhe 2022-04-22 03:32:10 UTC
*** Bug 2077470 has been marked as a duplicate of this bug. ***

Comment 15 errata-xmlrpc 2022-05-10 14:11: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-2022:1892

Comment 16 Michal Sekletar 2022-09-02 14:11:58 UTC
(In reply to Frank Liang from comment #12)
> Here is test result from RHEL-9 and I do not find 1670060 changed the pass
> criteria.
> I am adding needinfo to Michal.
> 
> [root@localhost ~]# uname -r
> 5.14.0-75.el9.x86_64
> [root@localhost ~]# rm -rf sa.new ; strace -fttT -o sadc.trc
> /usr/lib64/sa/sadc -F -L 1 2 sa.new ; grep mtab sadc.trc
> [root@localhost ~]# echo $?
> 1

As mentioned previously reading mtab in of itself is not a problem. Issue was calling statvfs() on autofs filesystems which caused them to automount. This is now fixed and RHEL-9 contains this fix as well.


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