Bug 189411

Summary: LTC20265- dmsetup: remove line size limit on input
Product: Red Hat Enterprise Linux 4 Reporter: Issue Tracker <tao>
Component: device-mapperAssignee: Alasdair Kergon <agk>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 4.0CC: agk, kanderso, mbroz
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2006-0434 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-10 21:24:38 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: 181409, 185483    
Attachments:
Description Flags
dmsetup from IBM attached to IT on 4-25 none

Comment 5 Alasdair Kergon 2006-04-19 20:13:41 UTC
The library was changed to support arbitrary sizes, so this is purely a
dmsetup.c matter.

_parse_file() just needs changing to accept input lines of arbitrary size.

Comment 7 Alasdair Kergon 2006-04-19 20:45:18 UTC
Changed constant to 4k upstream.

Comment 12 Mike Gahagan 2006-04-26 15:23:51 UTC
Created attachment 128258 [details]
dmsetup from IBM attached to IT on 4-25

from IBM:

Remove the line-size limitation when parsing the input file in dmsetup.

Use getline() instead of fgets() to remove the line-size limitation when
parsing the input file in dmsetup.

A 1317 character table file (dm-stripe of 100 dummy devices) worked with this
patch (and failed without).

Comment 16 Red Hat Bugzilla 2006-08-10 21:24:38 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-2006-0434.html