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.
Description of problem:
ipa help privilege-mod indicates --rights, --raw and --all to display
But this cli is to modify, not display
#ipa help privilege-mod
Purpose: Modify a privilege.
Usage: ipa [global-options] privilege-mod NAME [options]
Options:
-h, --help show this help message and exit
--desc=STR Privilege description
--addattr=STR Add an attribute/value pair. Format is attr=value. The
attribute must be part of the schema.
--setattr=STR Set an attribute to a name/value pair. Format is attr=value.
For multi-valued attributes, the command replaces the values
already present.
--rights Display the access rights of this entry (requires --all). See
ipa man page for details.
--all Retrieve and print all attributes from the server. Affects
command output.
--raw Print entries as stored on the server. Only affects output
format.
--rename=STR Rename the privilege object
Version-Release number of selected component (if applicable):
ipa-server-2.1.2-2.el6.x86_64
How reproducible:
always
Steps to Reproduce:
1.ipa help privilege-mod
Actual results:
includes --rights, --all, --raw
Expected results:
privilege-mod should not include these options
Additional info:
This is intentional, --rights, --all and --raw are currently offered for all OBJECT-mod commands (like user-mod, group-mod, sudorule-mod, etc.).
These flags are used for formatting the response from the RPC server with the modified object (in your case privilege) in the same it is formatted with the mentioned display (OBJECT-show) methods.
Description of problem: ipa help privilege-mod indicates --rights, --raw and --all to display But this cli is to modify, not display #ipa help privilege-mod Purpose: Modify a privilege. Usage: ipa [global-options] privilege-mod NAME [options] Options: -h, --help show this help message and exit --desc=STR Privilege description --addattr=STR Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema. --setattr=STR Set an attribute to a name/value pair. Format is attr=value. For multi-valued attributes, the command replaces the values already present. --rights Display the access rights of this entry (requires --all). See ipa man page for details. --all Retrieve and print all attributes from the server. Affects command output. --raw Print entries as stored on the server. Only affects output format. --rename=STR Rename the privilege object Version-Release number of selected component (if applicable): ipa-server-2.1.2-2.el6.x86_64 How reproducible: always Steps to Reproduce: 1.ipa help privilege-mod Actual results: includes --rights, --all, --raw Expected results: privilege-mod should not include these options Additional info: