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:
There are some problems about manual and help of virsh desc command.Please pay attention to the content of brackets
Version-Release number of selected component (if applicable):
libvirt-0.9.10-21.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1.#virsh help desc
# virsh help desc
NAME
desc - show or set domain's description or title
SYNOPSIS
desc <domain> [--live] [--config] [--current] [--title] [--edit] [[--new-desc] <string>]...
DESCRIPTION
Allows to show or modify description or title of a domain.
OPTIONS
[--domain] <string> domain name, id or uuid
--live modify/get running state
--config modify/get persistent configuration
--current modify/get current state configuration
--title modify the title instead of description (It also can get title ,refer to step2 )
--edit open an editor to modify the description
[--new-desc] <string> message
2. # virsh desc rhel6u31 --title
redhat
# virsh desc rhel6u31
good domain
3. #man virsh
.....
desc [[--live] [--config] | [--current]] [--title] [--edit] [--new-desc New description or title message] ( It lost the "domain-id " parameter, should be "desc domain-id" )
.....
If neither of --edit and --new_desc are specified the note or description is displayed instead of being modified.( Should be "--new-desc" )
Actual results:
Expected results:
Additional info:
Comment 2Martin Kletzander
2012-06-20 15:44:39 UTC
Moving to POST:
commit 3dc733bb0134c1d026b48b8bdfd98db9751f6f3f
Author: Martin Kletzander <mkletzan>
Date: Tue Jun 19 11:05:31 2012 +0200
virsh: fix few typos on desc command
Verified this issue with libvirt-0.9.13-3.el6.x86_64.
1.#virsh help desc
NAME
desc - show or set domain's description or title
SYNOPSIS
desc <domain> [--live] [--config] [--current] [--title] [--edit] [[--new-desc] <string>]...
DESCRIPTION
Allows to show or modify description or title of a domain.
OPTIONS
[--domain] <string> domain name, id or uuid
--live modify/get running state
--config modify/get persistent configuration
--current modify/get current state configuration
--title modify/get the title instead of description ###updated
--edit open an editor to modify the description
[--new-desc] <string> message
2. man virsh
...
desc domain-id [[--live] [--config] | [--current]] [--title] [--edit] [--new-desc New description or title message] ###########Added domain-id
...
If neither of --edit and --new-desc are specified the note or description is
displayed instead of being modified. #######--new-desc was updated.
So change the bug status to VERIFIED.
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.
http://rhn.redhat.com/errata/RHSA-2013-0276.html
Description of problem: There are some problems about manual and help of virsh desc command.Please pay attention to the content of brackets Version-Release number of selected component (if applicable): libvirt-0.9.10-21.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1.#virsh help desc # virsh help desc NAME desc - show or set domain's description or title SYNOPSIS desc <domain> [--live] [--config] [--current] [--title] [--edit] [[--new-desc] <string>]... DESCRIPTION Allows to show or modify description or title of a domain. OPTIONS [--domain] <string> domain name, id or uuid --live modify/get running state --config modify/get persistent configuration --current modify/get current state configuration --title modify the title instead of description (It also can get title ,refer to step2 ) --edit open an editor to modify the description [--new-desc] <string> message 2. # virsh desc rhel6u31 --title redhat # virsh desc rhel6u31 good domain 3. #man virsh ..... desc [[--live] [--config] | [--current]] [--title] [--edit] [--new-desc New description or title message] ( It lost the "domain-id " parameter, should be "desc domain-id" ) ..... If neither of --edit and --new_desc are specified the note or description is displayed instead of being modified.( Should be "--new-desc" ) Actual results: Expected results: Additional info: