Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1430298

Summary: rhnreg_ks man page missing documentation for some options
Product: Red Hat Enterprise Linux 7 Reporter: Radovan Drazny <rdrazny>
Component: rhn-client-toolsAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED ERRATA QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: jhutar, mkorbel, ogajduse, tlestach
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhn-client-tools-2.0.2-18-el7 Doc Type: Bug Fix
Doc Text:
Previously rhnreg_ks man page was mission documentation for some options like --systemorgid or --use-eus-channel. This has been fixed and rhnreg_ks manpage now contains information about all available options.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 12:17:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Radovan Drazny 2017-03-08 10:18:30 UTC
Description of problem:
Man page for rhnreg_ks is missing some option listed by running rhnreg_ks -h. On RHEL 7.3 following options are missing in the man page:

-v, --verbose         Show additional output
--systemorgid=SYSTEMORGID Specify an organizational id for this system
--use-eus-channel     Subscribe this system to the EUS channel tied to the system's redhat-release

Version-Release number of selected component (if applicable):
rhn-setup-2.0.2-8.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. Just compare output of rhnreg_ks -h with the man page.

Actual results:
Missing options in the man page

Expected results:
All options documented in the man page

Additional info:

Comment 2 Ondrej Gajdusek 2017-07-31 16:03:42 UTC
Pull request is available: https://github.com/spacewalkproject/spacewalk/pull/560

Comment 3 Tomáš Kašpárek 2017-08-04 08:01:37 UTC
spacewalk.git(master): b0178f43d1301da9c94877fd5b4a240d4bce5dea

Comment 6 Pavel Studeník 2017-12-05 12:25:19 UTC
Test with rhn-client-tools-2.0.2-19.el7.noarch

# man rhnreg_ks > rhnreg_ks.log
<standard input>:40: warning: numeric expression expected (got `"')
<standard input>:96: warning: numeric expression expected (got `"')


fix in PR - https://github.com/spacewalkproject/spacewalk/pull/611

Comment 7 Tomáš Kašpárek 2017-12-08 07:03:05 UTC
spacewalk.git(master): 3a209f43037965863b1e7c4ab93a1f378a40cff9

Comment 8 Tomáš Kašpárek 2017-12-08 08:56:15 UTC
*** Bug 1520792 has been marked as a duplicate of this bug. ***

Comment 10 Pavel Studeník 2017-12-11 11:31:38 UTC
Verified with rhn-client-tools-2.0.2-21.el7.noarch

Comment 14 errata-xmlrpc 2018-04-10 12:17:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0759