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 2131905 - autofs: missing unlock in sasl_do_kinit_ext_cc()
Summary: autofs: missing unlock in sasl_do_kinit_ext_cc()
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: autofs
Version: 8.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Ian Kent
QA Contact: Kun Wang
URL:
Whiteboard:
Depends On:
Blocks: 2131907
TreeView+ depends on / blocked
 
Reported: 2022-10-04 02:45 UTC by Ian Kent
Modified: 2023-09-11 23:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2131907 (view as bug list)
Environment:
Last Closed: 2023-09-11 23:26:49 UTC
Type: Bug
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-135611 0 None None None 2022-10-05 05:26:10 UTC

Description Ian Kent 2022-10-04 02:45:50 UTC
Description of problem:
A missing mutex unlock has been reported upstream.
Not sure when it crept in but it needs to be fixed.

Comment 1 Ian Kent 2022-10-05 05:05:26 UTC
(In reply to Ian Kent from comment #0)
> Description of problem:
> A missing mutex unlock has been reported upstream.
> Not sure when it crept in but it needs to be fixed.

Ok, so this is a problem in RHEL-9 but RHEL-8 doesn't have upstream
commit:

Comment 2 Ian Kent 2022-10-05 05:12:48 UTC
(In reply to Ian Kent from comment #1)
> (In reply to Ian Kent from comment #0)
> > Description of problem:
> > A missing mutex unlock has been reported upstream.
> > Not sure when it crept in but it needs to be fixed.
> 
> Ok, so this is a problem in RHEL-9 but RHEL-8 doesn't have upstream
> commit:

commit d0d99cfc0737f34af326ba3f8f35f45625300576
Author: Ian Kent <raven>
Date:   Sat Jun 6 14:17:02 2020 +0800

    autofs-5.1.6 - fix ldap sasl reconnect problem
    
    When performing an ldap sasl connection a two step initialisation
    was being done in an attempt to partially reuse existing connection
    setup.
    
    But if a network connectivity problem occurs the connection can end
    up only half initialized and recovery after connectivity is restored
    fails.
    
    So get rid of the two step initialization, as it's benefit was at best
    questionable, so that connection attempts either succeed or completely
    fail. This leaves the connection completely uninitialized if there's a
    network conectivity problem, ready for a new connection attempt.
    
    Signed-off-by: Ian Kent <raven>

which sounds useful even though we haven't had any problems reported.

I'm tempted to go ahead with this anyway ... anyone have any objections ...

At least RHEL-8 will be closer to RHEL-9, which is a good thing, and
autofs is always closer to upstream than the RHEL base version indicates
since RHEL is most often the source of bug fixes and development anyway.

Comment 9 Ian Kent 2022-12-16 07:07:47 UTC
I think it best to defer this to 8.9 if in fact we do this at all.

Comment 11 Ian Kent 2023-09-11 23:26:49 UTC
The fix here is actually for a bug introduced by a later change not present in RHEL autofs.

I was originally going to apply both patches but I think it wiser to not make these changes unless we get a report of the original problem.

Closing WONTFIX for now.


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