Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 533790

Summary: unsupported option in checkpolicy man page
Product: Red Hat Enterprise Linux 5 Reporter: Milos Malik <mmalik>
Component: checkpolicyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: checkpolicy-1.33.1-6.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-30 07:51:17 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-11-09 08:37:12 UTC
Description of problem:
The man page of checkpolicy contains following text:

  SYNOPSIS
       checkpolicy  [-b]  [-d]  [-m] [-M] [-U handle_unknown ] [-V] [-c
       policyvers] [-o output_file] [input_file]

But it should contain following text:

  SYNOPSIS
       checkpolicy  [-b]  [-d]  [-M] [-U handle_unknown ] [-V] [-c
       policyvers] [-o output_file] [input_file]

Because '-m' is not supported by checkpolicy tool.

Version-Release number of selected component (if applicable):
checkpolicy-1.33.1-5.el5

How reproducible:
always

Steps to Reproduce:
# man checkpolicy | col -b | grep -- -m
       checkpolicy  [-b]  [-d]  [-m]  [-M] [-U handle_unknown ] [-V] [-c poli-
# checkpolicy -m
checkpolicy: invalid option -- m
usage:  checkpolicy [-b] [-d] [-U handle_unknown (allow,deny,reject) [-M] [-c policyvers (15-21)] [-o output_file] [input_file]
# 
  
Actual results:
'-m' option is mentioned in the man page

Expected results:
'-m' option is NOT mentioned in the man page

Comment 3 Daniel Walsh 2009-11-09 16:44:51 UTC
Fixed in checkpolicy-1.33.1-6.el5

Comment 8 errata-xmlrpc 2010-03-30 07:51:17 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-2010-0184.html