- Issued:
- 2010-03-30
- Updated:
- 2010-03-30
RHBA-2010:0251 - Bug Fix Advisory
Synopsis
perl-Sys-Virt bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An updated perl-Sys-Virt package that fixes several bugs is now available.
Description
The Sys::Virt module provides a Perl XS binding to the libvirt virtual
machine management APIs. This allows machines running within arbitrary
virtualization containers to be managed with a consistent API.
This update addresses the following issues:
- a number of calls available in the C API, including
virStorageVolLookupByKey, virStorageVolLookupByName, and
virStorageVolLookupByPath, did not contain Perl bindings. As a result,
these storage functions were unavailable when using Perl-based tools for
virtual machine management. This update adds the missing calls to the Perl
API, and Perl-based management of virtual machines is now possible.
(BZ#519647)
- the 'message' subroutine of Error.pm returned an error code instead of an
error message. As a consequence, error conditions that required a textual
error message instead received an alpha-numeric error code. The 'message'
subroutine has been amended to return a textual message, and error
conditions now produce a more informative error description. (BZ#525091)
- Sys::Virt did not document the 'flags' parameter used by several methods,
including the following:
- $vmm->num_of_node_devices
- $vmm->list_node_device_names
- $vmm->find_storage_pool_sources
- $dom->core_dump
- $dom->reboot
- $dom->block_peek
- $dom->memory_peek
- $dom->get_autostart
- $pool->refresh
- $pool->build
- $pool->delete
Since the 'flags' parameter is currently unused, the parameter and its
default value were not mentioned in the methods' descriptions. This could
cause certain operations that referenced the 'flags' parameter to fail with
a usage error. The 'flags' parameter is now documented as an optional
parameter that defaults to a value of zero if it is omitted. Usage errors
no longer occur when using the methods as documented. (BZ#519712)
- the description of the $dom->reboot method made reference to a list of
&Sys::Virt::Domain::REBOOT_* constants for use with the 'flags' parameter.
However, since the 'flags' parameter is not currently used, the reboot
constants were not included in the document. This could cause confusion
when implementing the $dom->reboot method. The reference to the reboot
constants has been removed from the documentation, and the correct usage
of the $dom->reboot method is now clearer. (BZ#543878)
All users using Perl or Perl-based tools to do virtual machine management
should install this updated package which fixes these bugs.
Solution
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.
This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259
Affected Products
- Red Hat Enterprise Linux Server 5 x86_64
- Red Hat Enterprise Linux Server 5 ia64
- Red Hat Enterprise Linux Server 5 i386
- Red Hat Enterprise Linux Workstation 5 x86_64
- Red Hat Enterprise Linux Workstation 5 i386
Fixes
- BZ - 519647 - virStorageVolLookupBy* not implemented
- BZ - 519712 - flags argument of $pool->refresh() undocumented
- BZ - 525091 - message subroutine has a error in Error.pm
- BZ - 543878 - [RHEL5] documentation bug - mention about non-existent REBOOT_* flags
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
perl-Sys-Virt-0.2.0-6.el5.src.rpm | SHA-256: 971b67f6ec284229172160610e7db2d9e1958a2cbf5f8dd1fcb9af25c891bd4e |
x86_64 | |
perl-Sys-Virt-0.2.0-6.el5.x86_64.rpm | SHA-256: aacf68492de626f6fbc19e0fb7efa886c703e922195aec25b02ce97fe4ed9dd8 |
ia64 | |
perl-Sys-Virt-0.2.0-6.el5.ia64.rpm | SHA-256: d2a85b771de7e9aa36babe439f94a5e1d672f76036f671b98f7867863142dd82 |
i386 | |
perl-Sys-Virt-0.2.0-6.el5.i386.rpm | SHA-256: 59ba4a53c41699b347e245d5870098ed1347bd6ac46d60909335656f94c288bd |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
perl-Sys-Virt-0.2.0-6.el5.src.rpm | SHA-256: 971b67f6ec284229172160610e7db2d9e1958a2cbf5f8dd1fcb9af25c891bd4e |
x86_64 | |
perl-Sys-Virt-0.2.0-6.el5.x86_64.rpm | SHA-256: aacf68492de626f6fbc19e0fb7efa886c703e922195aec25b02ce97fe4ed9dd8 |
i386 | |
perl-Sys-Virt-0.2.0-6.el5.i386.rpm | SHA-256: 59ba4a53c41699b347e245d5870098ed1347bd6ac46d60909335656f94c288bd |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.