Bug 195679 - If a map entry is > 255 chars, automounter fails
Summary: If a map entry is > 255 chars, automounter fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: autofs
Version: 4.0
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
: ---
Assignee: Jeff Moyer
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-06-16 15:26 UTC by Barry Donahue
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version: RHBA-2007-0274
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-07 23:25:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
It contains general info, /var/log/messages and daemon output. (12.91 KB, text/plain)
2006-06-16 15:26 UTC, Barry Donahue
no flags Details
perform bounds checking when parsing map keys and entries (1.07 KB, patch)
2006-06-21 21:16 UTC, Jeff Moyer
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0274 0 normal SHIPPED_LIVE autofs bug fix update 2007-04-28 19:00:08 UTC

Description Barry Donahue 2006-06-16 15:26:22 UTC
Description of problem:
A line in the map file passed to automounter is greater that 255 chars. The
auotmounter fails to start.

Version-Release number of selected component (if applicable):
# rpm -q autofs
autofs-4.1.3-185
# uname -r
2.6.9-34.EL

How reproducible: Always.

Steps to Reproduce:
1. Create a map file with one line > 255 chars.
2. Restart autofs
3. The automounter for that map will not start.
  
Actual results:
Jun 16 10:44:16 bdonahue automount[10334]: process 10334 got unexpected 
signal 11!

Expected results:
   Automounter should have flagged the line as an error and succeeded in starting.


Additional info: See attachment. It have general info about the system,
/var/log/messages output and the daemon output.

Comment 1 Barry Donahue 2006-06-16 15:26:22 UTC
Created attachment 131049 [details]
It contains general info, /var/log/messages and daemon output.

Comment 2 Jeff Moyer 2006-06-21 21:16:36 UTC
Created attachment 131321 [details]
perform bounds checking when parsing map keys and entries

This patch addresses the problem in the test environment.

Comment 7 RHEL Program Management 2006-08-18 15:28:01 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 11 Jeff Moyer 2006-09-12 12:56:30 UTC
A fix for this issue was built into autofs version 4.1.3-190.  Test rpms are
available at the following URL:
  http://people.redhat.com/jmoyer/autofs/rhel4/4.1.3-190

Comment 12 RHEL Program Management 2006-12-12 17:15:30 UTC
This bugzilla has Keywords: Regression.  

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

Please resolve ASAP.

Comment 13 RHEL Program Management 2006-12-12 17:15:47 UTC
This bugzilla has Keywords: Regression.  

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

Please resolve ASAP.

Comment 16 Red Hat Bugzilla 2007-05-07 23:25:00 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-2007-0274.html


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