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 832309 - [Doc]Problems about manual and help of virsh desc command
Summary: [Doc]Problems about manual and help of virsh desc command
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Martin Kletzander
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-15 06:30 UTC by hongming
Modified: 2013-02-21 07:17 UTC (History)
7 users (show)

Fixed In Version: libvirt-0.9.13-3.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-21 07:17:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0276 0 normal SHIPPED_LIVE Moderate: libvirt security, bug fix, and enhancement update 2013-02-20 21:18:26 UTC

Description hongming 2012-06-15 06:30:29 UTC
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 2 Martin 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

Comment 4 yuping zhang 2012-07-24 07:30:34 UTC
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.

Comment 5 errata-xmlrpc 2013-02-21 07:17:41 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.

http://rhn.redhat.com/errata/RHSA-2013-0276.html


Note You need to log in before you can comment on or make changes to this bug.