7.112. libguestfs
7.112.1.  RHBA-2013:0324 — libguestfs bug fix and enhancement update 
Copy linkLink copied to clipboard!
		Updated libguestfs packages that fix numerous bugs and add various enhancements are now available for Red Hat Enterprise Linux 6.
	
		The libguestfs packages contain a library, which is used for accessing and modifying guest disk images.
	
Bug Fixes
- BZ#801640
- Previously, when using theresize2fs -Mcommand and an error due to lack of free space occurred, the returned error message was incorrect and could confuse the user. With this update, a proper error message is returned instead.
- BZ#822626
- Due to a bug in the source code, an error occurred when using thevirt-ls --checksumcommand and the following error message was returned:The underlying source code has been modified andlibguestfs: error: checksum: path: parameter cannot be NULL libguestfs: error: checksum: path: parameter cannot be NULLCopy to Clipboard Copied! Toggle word wrap Toggle overflow virt-ls --checksumnow works as expected.
- BZ#830369
- Due to theguestfs_inspect_get_hostname()function, thelibguestfs-based commands did not work properly when an empty/etc/HOSTNAMEfile was created on a Linux guest. This update applies a patch to fix this bug and thelibguestfsbased commands now work in the described scenario.
- BZ#836573
- Previously, thelibguestfslibrary did not handle the/dev/disk/by-id/*paths. Consequently, it was impossible to examine a guest using commands with such a path and an error message was returned. With this update, a patch has been applied to fix this bug and thelibguestfslibrary no longer returns error in this situation.
- BZ#837691
- Previously, under certain conditions, writing to disks in theqcow2format could cause silent data loss. The underlying source code has been modified to prevent this behavior and writing to disks in theqcow2format now works as expected.
- BZ#838609
- Due to a race condition between theguestmountand thefusermounttools, unmouting and then immediately using a disk image was not safe and could cause data loss or memory corruption. This update adds the new--pid-fileoption forguestmountto avoid the race condition between these tools and attempts to use disk images immediately after unmounting can no longer cause data loss or memory corruption.
- BZ#852396
- Previously, thelibguestfslibrary limited the total size of downloaded hive files from a Windows Registry to 100 MB. Consequently, an attempt to inspect systems with large amount of hive files causedlibguestfsto return an error message. With this update, the limit was increased to 300 MB andlibguestfscan now inspect a larger Widows Registry properly.
- BZ#853763
- Previously, using thefileutility to detect the format of a disk image could produce different output for different versions of this utility. The underlying source code has been modified and output is now the same for all versions of thefileutility.
- BZ#858126
- Due to a bug in the underlying source code, thevirt-inspectortool failed to work with certain Windows guests. This update applies a patch to fix this bug andvirt-inspectornow supports all Windows guests as expected.
- BZ#858648
- Due to recent changes in the iptables packages, thelibguestfslibrary could not be installed with the new version of theiptablestool. The underlying source code has been modified to fix this bug and the installation oflibguestfsworks as expected.
- BZ#872454
- Previously, thelibguestfslibrary detected the Red Hat Enterprise Linux 5.1 guests as NetBSD guests. This update applies a patch to fix this bug andlibguestfsnow detects Red Hat Enterprise Linux 5.1 guest correctly.
- BZ#880805
- Thevirt-dfcommand with-aor-darguments works correctly only with a single guest. An attempt to use this command with multiple arguments, such asvirt-df -a RHEL-Server-5.9-32-pv.raw -a opensuse.img, caused the disk image names to be displayed incorrectly. With this update, the plus sign (“+”) is displayed for each additional disk, so that the user can easily recognize them. In addition, the correct usage of thevirt-dfcommand has been described in thevirt-df(1)man page.
Enhancements
		All users of libguestfs are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.