- Issued:
- 2013-02-20
- Updated:
- 2013-02-20
RHBA-2013:0377 - perl-Sys-Virt bug fix and enhancement update
Synopsis
perl-Sys-Virt bug fix and enhancement update
Type/Severity
Bug Fix Advisory
Topic
Updated perl-Sys-Virt packages that fix several bugs and add various enhancements are now available for Red Hat Enterprise Linux 6.
Description
The perl-Sys-Virt packages provide application programming interfaces (APIs) to manage virtual machines from Perl with the libvirt library.
The perl-Sys-Virt package has been upgraded to upstream version 0.10.2, which provides a number of enhancements over the previous version. (BZ#836955)
This update fixes the following bugs:
-
Previously, the Perl binding was setting an incompatible flag for the set_blkio_parameters() function. Consequently, it was impossible to use this function to apply block tuning. The incorrect flag has been removed and set_blkio_parameters() can now be used as expected. (BZ#848309)
-
Prior to this update, an incorrect string length was used when setting hash keys, and thus names of certain hash keys were truncated. The correct string lengths were provided for hash keys and the hash keys for the get_node_memory_stats() function now match their documentation. (BZ#861581)
-
When setting memory parameters, the set_node_memory_parameters() function was trying to also update some read-only values. Consequently, set_node_memory_parameters() always returned an error message. To fix this bug, the method has been changed to only set parameters, and set_node_memory_parameters() now works as expected. (BZ#865310)
-
Previously, the API documentation contained formatting errors. This update provides correction of the API documentation, which formats the documentation correctly. (BZ#869130)
-
Due to missing default values for parameters in the pm_suspend_for_duration() and pm_wakeup() functions, callers of the API had to supply the parameters even though they were supposed to be optional. With this update, the default values have been added to these functions, which now succeed when called. (BZ#873203)
-
Prior to this update, mistakes were present in the Plain Old Documentation (POD) for the list_all_volumes() parameters, which could mislead users. The documentation has been updated and, for list_all_volumes() now describes the API usage correctly. (BZ#882829)
-
Previously, an incorrect class name was used with the list_all_nwfilters() function. Consequently, the objects returned from list_all_nwfilters() could not be used. Now, the object name has been fixed and the list_all_nwfilters() function works as expected. (BZ#883775)
-
When checking return value of the screenshot() and current_snapshot() functions, a wrong data type was assumed. Consequently, certain errors were not handled properly and applications could eventually terminate unexpectedly. With this update, API errors are correctly handled in screenshot() and current_snapshot(), and the applications no longer crash. (BZ#886028)
Users of perl-Sys-Virt are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.
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 https://access.redhat.com/knowledge/articles/11258
Affected Products
| Product | Version | Arch |
|---|---|---|
| Red Hat Enterprise Linux for Scientific Computing | 6 | x86_64 |
| Red Hat Enterprise Linux for Power, big endian | 6 | ppc64 |
| Red Hat Enterprise Linux for IBM z Systems | 6 | s390x |
| Red Hat Enterprise Linux Workstation | 6 | x86_64 |
| Red Hat Enterprise Linux Workstation | 6 | i386 |
| Red Hat Enterprise Linux Server | 6 | x86_64 |
| Red Hat Enterprise Linux Server | 6 | i386 |
| Red Hat Enterprise Linux Server from RHUI | 6 | x86_64 |
| Red Hat Enterprise Linux Server from RHUI | 6 | i386 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support | 6 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support | 6 | i386 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension | 6 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension | 6 | i386 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) | 6 | s390x |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) | 6 | s390x |
| Red Hat Enterprise Linux Desktop | 6 | x86_64 |
| Red Hat Enterprise Linux Desktop | 6 | i386 |
Updated Packages
- perl-Sys-Virt-debuginfo-0.10.2-5.el6.x86_64.rpm
- perl-Sys-Virt-0.10.2-5.el6.ppc64.rpm
- perl-Sys-Virt-debuginfo-0.10.2-5.el6.i686.rpm
- perl-Sys-Virt-0.10.2-5.el6.s390x.rpm
- perl-Sys-Virt-0.10.2-5.el6.i686.rpm
- perl-Sys-Virt-0.10.2-5.el6.src.rpm
- perl-Sys-Virt-debuginfo-0.10.2-5.el6.ppc64.rpm
- perl-Sys-Virt-debuginfo-0.10.2-5.el6.s390x.rpm
- perl-Sys-Virt-0.10.2-5.el6.x86_64.rpm
Fixes
- This content is not included.BZ - 848309
- This content is not included.BZ - 861581
- This content is not included.BZ - 865310
- This content is not included.BZ - 869130
- This content is not included.BZ - 873203
- This content is not included.BZ - 882829
- This content is not included.BZ - 883775
- This content is not included.BZ - 886028
CVEs
(none)
References
(none)
Additional information
- The Red Hat security contact is This content is not included.secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.