Bug 490627

Summary: man page allows using restore -P file1 -A file2
Product: Red Hat Enterprise Linux 5 Reporter: Milos Malik <mmalik>
Component: dumpAssignee: Adam Tkac <atkac>
Status: CLOSED ERRATA QA Contact: BaseOS QE <qe-baseos-auto>
Severity: low Docs Contact:
Priority: low    
Version: 5.3CC: ovasik, rvokal, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-15 10:14:55 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:

Description Milos Malik 2009-03-17 11:33:49 UTC
Description of problem:
Manual page claims that restore utility works fine when both -P and -A options are given, but the utility rejects them.

Version-Release number of selected component (if applicable):
dump-0.4b41-3.el5

How reproducible:
always

Steps to Reproduce:
# man restore | col -b | grep -- "restore.*-P"
       restore  -P  file  [-acdhHklmMNuvVy] [-A file] [-b blocksize] [-f file] 
# restore -P file1 -A file2
restore: A option is not valid for P command
  
Actual results:
-P and -A can be used at the same time

Expected results:
-P and -A cannot be used at the same time

Additional info:

Comment 1 Milos Malik 2009-03-17 13:38:54 UTC
You can see the same problem in the help message:

# restore 2>&1 | grep -- "-P"
        restore -P file [-acdhHlmMuvVy] [-A file] [-b blocksize]

Comment 2 RHEL Program Management 2009-03-26 17:09:00 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 3 RHEL Program Management 2009-03-30 10:59:04 UTC
This bugzilla was reviewed by QE as a non-FasTrack request.
It has since been proposed for FasTrack. The qa_ack has 
been reset. QE needs to re-review this bugzilla for FasTrack.

Comment 6 Adam Tkac 2009-04-06 15:16:02 UTC
Fixed in dump-0.4b41-4.el5.

Comment 10 errata-xmlrpc 2009-04-15 10:14:55 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 therefore 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-2009-0425.html