Red Hat Bugzilla – Bug 399041
If a map entry is > 255 chars, automounter fails
Last modified: 2008-05-21 10:38:36 EDT
Created attachment 268451 [details]
Patch to fix off-by-one error for lookup of map keys exactly 255 characters long.
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.
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
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.
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
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.