Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 597944

Summary: segfault in close_mount()
Product: Red Hat Enterprise Linux 6 Reporter: Ian Kent <ikent>
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED CURRENTRELEASE QA Contact: yanfu,wang <yanwang>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: ikent, jnansi, rbinkhor, tao, yanwang
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: autofs-5.0.5-23.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 576775 Environment:
Last Closed: 2010-11-11 14:34:12 UTC Type: ---
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: 576775    
Bug Blocks: 502912    

Comment 1 RHEL Program Management 2010-05-31 04:35:42 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 yanfu,wang 2010-07-23 07:47:04 UTC
build patch confirmed:
%changelog
* Thu Jul 1 2010 Ian Kent <ikent> - 5.0.5-23
- bz597944 - autofs5: segfault in close_mount()
  - add mutex to serialize access to mount module handle in parse module.
  - dont check null cache on expire.
  - fix null cache race.
  - fix cache_init() on source re-read.
  - fold autofs-5.0.5-fix-memory-leak-on-reload.patch into
    fix cache_init() on source re-read patch where it belongs.
...
Patch29: autofs-5.0.5-fix-parse_sun-module-init.patch
Patch30: autofs-5.0.5-dont-check-null-cache-on-expire.patch
Patch31: autofs-5.0.5-fix-null-cache-race.patch
Patch32: autofs-5.0.5-fix-cache_init-on-source-re-read.patch
...
%patch29 -p1
%patch30 -p1
%patch31 -p1
%patch32 -p1
# rpmbuild -bp SPECS/autofs.spec

regression jobs link:
http://rhts.redhat.com/cgi-bin/rhts/jobs.cgi?id=167723
http://rhts.redhat.com/cgi-bin/rhts/jobs.cgi?id=167724
http://rhts.redhat.com/cgi-bin/rhts/jobs.cgi?id=167725
the failure is expected.

Comment 4 releng-rhel@redhat.com 2010-11-11 14:34:12 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.