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.
- Previously, when using the
resize2fs -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.
- Due to a bug in the source code, an error occurred when using the
virt-ls --checksumcommand and the following error message was returned:
libguestfs: error: checksum: path: parameter cannot be NULLThe underlying source code has been modified and
virt-ls --checksumnow works as expected.
- Due to the
libguestfs-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 the
libguestfsbased commands now work in the described scenario.
- Previously, the
libguestfslibrary 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 the
libguestfslibrary no longer returns error in this situation.
- Previously, under certain conditions, writing to disks in the
qcow2format could cause silent data loss. The underlying source code has been modified to prevent this behavior and writing to disks in the
qcow2format now works as expected.
- Due to a race condition between the
fusermounttools, unmouting and then immediately using a disk image was not safe and could cause data loss or memory corruption. This update adds the new
guestmountto 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.
- Previously, the
libguestfslibrary 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 caused
libguestfsto return an error message. With this update, the limit was increased to 300 MB and
libguestfscan now inspect a larger Widows Registry properly.
- Previously, using the
fileutility 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 the
- Due to a bug in the underlying source code, the
virt-inspectortool failed to work with certain Windows guests. This update applies a patch to fix this bug and
virt-inspectornow supports all Windows guests as expected.
- Due to recent changes in the iptables packages, the
libguestfslibrary could not be installed with the new version of the
iptablestool. The underlying source code has been modified to fix this bug and the installation of
libguestfsworks as expected.
- Previously, the
libguestfslibrary detected the Red Hat Enterprise Linux 5.1 guests as NetBSD guests. This update applies a patch to fix this bug and
libguestfsnow detects Red Hat Enterprise Linux 5.1 guest correctly.
-darguments works correctly only with a single guest. An attempt to use this command with multiple arguments, such as
virt-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 the
virt-dfcommand has been described in the
All users of libguestfs are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.