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 1660145

Summary: autofs.schema doesn't work in RHEL8
Product: Red Hat Enterprise Linux 8 Reporter: Filip Dvorak <fdvorak>
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED ERRATA QA Contact: Kun Wang <kunwan>
Severity: low Docs Contact:
Priority: low    
Version: 8.0CC: fdvorak, ikent, rhandlin, swhiteho, xzhou
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.2   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: autofs-5.1.4-38.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 16:57:33 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: 1681956    
Bug Blocks:    
Attachments:
Description Flags
Patch - update ldap READMEs and schema definitions none

Comment 1 Ian Kent 2018-12-17 23:47:01 UTC
Please provide a copy of the autofs.schema.

Comment 2 Ian Kent 2018-12-18 00:16:22 UTC
(In reply to Ian Kent from comment #1)
> Please provide a copy of the autofs.schema.

You probably should also have a look at /usr/share/doc/autofs/README.autofs-schema.

I probably should do something about that, perhaps at least also include
an alternative.

Even so that would be a "use it if it works for you" as I'm not going to
try and work out what needs to be done formally to have it accepted because
it isn't the recommended schema to use.

I located a copy of autofs.schema in my autofs development directory tree
that might work but I haven't used it for a very long time so I can't be
sure):

# Attribute Type Definitions

attributetype ( 1.3.6.1.1.1.1.25 NAME 'automountInformation'
        DESC 'Information used by the autofs automounter'
        EQUALITY caseExactIA5Match
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

objectclass ( 1.3.6.1.1.1.1.13 NAME 'automount' SUP top STRUCTURAL
        DESC 'An entry in an automounter map'
        MUST ( cn $ automountInformation $ objectclass )
        MAY ( description ) )

objectclass ( 1.3.6.1.4.1.2312.4.2.2 NAME 'automountMap' SUP top STRUCTURAL
        DESC 'An group of related automount objects'
        MUST ( ou ) )

Ian

Comment 5 Ian Kent 2019-03-16 00:40:49 UTC
I've not been able to resolve this bug in time for RHEL-8.0.
I need to defer it to RHEL-8.1

Comment 7 Steve Whitehouse 2019-08-07 09:12:45 UTC
Ian, are you now able to make these updates? It would be good to have a status update on this.

Comment 8 Ian Kent 2019-08-07 11:29:06 UTC
(In reply to Steve Whitehouse from comment #7)
> Ian, are you now able to make these updates? It would be good to have a
> status update on this.

Yes, I'll need to spend time on it.

Comment 9 Ian Kent 2019-08-08 02:30:07 UTC
(In reply to Ian Kent from comment #8)
> (In reply to Steve Whitehouse from comment #7)
> > Ian, are you now able to make these updates? It would be good to have a
> > status update on this.
> 
> Yes, I'll need to spend time on it.

Having looked again at this I think it's too late for rhel-8.1, given
that it's essentially a documentation fix and we are still waiting on
gating test configuration changes, I think it's best to push this to
rhel-8.2.

Comment 10 Ian Kent 2019-11-25 08:05:28 UTC
Created attachment 1639381 [details]
Patch - update ldap READMEs and schema definitions

Comment 14 errata-xmlrpc 2020-04-28 16:57:33 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, 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-2020:1866