Bug 680125

Summary: fallocate has mis-spelled longopt
Product: [Fedora] Fedora Reporter: John Sullivan <jsrhbz>
Component: util-linux-ngAssignee: Karel Zak <kzak>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 13CC: kzak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-30 14:52:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
rename longopt
none
alternative: add new longopt with correct spelling none

Description John Sullivan 2011-02-24 12:46:26 UTC
From ./sys-utils/fallocate.c:

        struct option longopts[] = {
            { "help",      0, 0, 'h' },
            { "keep-size", 0, 0, 'n' },
            { "offset",    1, 0, 'o' },
            { "lenght",    1, 0, 'l' },
            { NULL,        0, 0, 0 }
        };

Oops...

Comment 1 John Sullivan 2011-02-24 12:51:16 UTC
Created attachment 480740 [details]
rename longopt

Fix spelling of length longopt to match manpage, usage text, and the dictionary.

Comment 2 John Sullivan 2011-02-24 12:52:28 UTC
Created attachment 480742 [details]
alternative: add new longopt with correct spelling

This variant accepts either spelling (though the original wasn't documented in either manpage or usage() text.)

Comment 3 Karel Zak 2011-02-24 13:44:32 UTC
It was already fixed by upstream patch:

 commit 042154d764e9dcff1e17b06f09ada0e2c2074f95
 Date:   Wed Nov 24 23:16:01 2010 +0100

The change is already available in Fedora-15. Not sure if this issue is important enough to be backported to F14 and F13.

Comment 4 Bug Zapper 2011-05-30 11:14:35 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping