Bug 399041

Summary: If a map entry is > 255 chars, automounter fails
Product: Red Hat Enterprise Linux 5 Reporter: Ian Kent <ikent>
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED ERRATA QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: 5.1CC: ikent, tkincaid
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0354 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 14:38:36 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:    
Bug Blocks: 425915    
Attachments:
Description Flags
Patch to fix off-by-one error for lookup of map keys exactly 255 characters long. none

Comment 1 Ian Kent 2007-11-26 04:10:17 UTC
Created attachment 268451 [details]
Patch to fix off-by-one error for lookup of map keys exactly 255 characters long.

Comment 2 Ian Kent 2007-11-26 04:20:37 UTC
The RHTS test for bz195679 has uncovered a bug in autofs
version 5 for lookups of keys that are exactly the maximum
length allowed. This length is 255 and is defined in kernel
include files and is used in the definition of the autofs
kernel request packet.

The test, bz195679, itself creates a test map with a key
greater than 255 characters and so needs to be corrected
to create a key of exactly 255 characters to test for this
bug. Since bug 195679 concerns map entries (key plus mount
target) greater than 255 characters the test will continue
to verify the original issue.


Comment 3 RHEL Program Management 2007-11-26 04:24:17 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 4 RHEL Program Management 2007-11-26 04:25:17 UTC
This bugzilla has Keywords: Regression.  

Since no regressions are allowed between releases, 
it is also being proposed as a blocker for this release.  

Please resolve ASAP.

Comment 6 Ian Kent 2007-12-10 01:44:37 UTC
A correction for this issue has been included in
autofs-5.0.1-0.rc2.68 and later.

The rhts test bugzillas/bz195679 within the autofs
workflow has been updated and can be used to verify
this bug.

Comment 10 errata-xmlrpc 2008-05-21 14:38:36 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0354.html