libguestfs-1.16.19-1.0.1.AXS4

エラータID: AXSA:2012-585:02

Release date: 
Tuesday, July 24, 2012 - 15:52
Subject: 
libguestfs-1.16.19-1.0.1.AXS4
Affected Channels: 
Asianux Server 4 for x86_64
Severity: 
Moderate
Description: 

Libguestfs is a library for accessing and modifying guest disk images. Amongst the things this is good for: making batch configuration changes to guests, getting disk used/free statistics (see also: virt-df), migrating between virtualization systems (see also: virt-p2v), performing partial backups, performing partial guest clones, cloning guests and changing registry/UUID/hostname info, and much else besides.

Libguestfs uses Linux kernel and qemu code, and can access any type of guest filesystem that Linux and qemu can, including but not limited to: ext2/3/4, btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, qcow2, vmdk.

Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, what filesystem is in each LV, etc.). It can also run commands in the context of the guest.

Libguestfs is a library that can be linked with C and C++ management programs.

• See also the 'guestfish' package for shell scripting and command line access, and 'libguestfs-mount' for mounting guest filesystems on the host using FUSE.
• For Perl bindings, see 'perl-Sys-Guestfs'.
• For OCaml bindings, see 'ocaml-libguestfs-devel'.
• For Python bindings, see 'python-libguestfs'.
• For Ruby bindings, see 'ruby-libguestfs'.
• For Java bindings, see 'libguestfs-java-devel'.

Security issues fixed with this release:

• CVE-2012-2690
virt-edit in libguestfs before 1.18.0 does not preserve the permissions from the original file and saves the new file with world-readable permissions when editing, which might allow local guest users to obtain sensitive information.

Bug Fixes

• Previously, the virt-clone would adopt some of the properties of the original virtual machine (for example, the clone was created with a NIC identical to the original VM's). This has been solved by 2 new tools: virt-sysprep and virt-sparsify. Virt-sysprep can erase the guest state; virt-sparsify can make the image sparse. Both these tools should be used instead of or in conjunction with virt-clone.

• When trying to mount a non-existent disk, the libguestfs daemon crashed. This has been fixed, a error message is returned and libguestfs does not crash.

• The library containing the guestfs_launch() function has been modified to be thread-safe: two threads from the same program can now access the library.

• After a block device was closed, the udev device manager re-opened the block device through a triggered process. libguestfs operations would then fail, as they expect the disk being available for the kernel to re-read the partition table. This has been fixed: operations now wait for udev to finish.

• Fedora 17 and newer use a symbolic link for the /bin directory. libguestfs has been modified to handle such guests.

• Any disk containing autoexec.bat, boot.ini or the ntdlr file in its root would appear as a Windows root disk for libguestfs. HP recovery partitions were not recognized and libguestfs handled the system as dual-boot, so some virt tools did not work. This has been fixed and HP recovery partitions are not seen as a Windows root disk.

• Fixed libguestfs error string handling and Python programs no longer terminate with a segmentation fault when calling the g.launch()function.

Enhancements

• Added the virt-alignment-scan tool and updated virt-resize. Guest partitions can now be diagnosed and their problems fixed, which imporves the partition performance.

• libguestfs operations can now handle HP Smart Array (cciss) devices. The virt-p2v tool can now convert systems that use Linux software RAID devices to run in a VM.

Solution: 

Update packages.

Additional Info: 

N/A

Download: 

SRPMS
  1. libguestfs-1.16.19-1.0.1.AXS4.src.rpm
    MD5: 5a433f9cabb73b9a277b8e55da2aa212
    SHA-256: 2819142b79075a423882e79214555697e52213991ead312d8ab37bdecbb26d14
    Size: 6.36 MB

Asianux Server 4 for x86_64
  1. libguestfs-1.16.19-1.0.1.AXS4.x86_64.rpm
    MD5: 5164fb66e645c8d4d54139d1a3d163e4
    SHA-256: 966ebeacdf24df90231ad1dcc7795087ac6124763412c0a63db759ba77bffd1e
    Size: 1.46 MB
  2. libguestfs-java-1.16.19-1.0.1.AXS4.x86_64.rpm
    MD5: 5ca0b33e51563fa1d69d594c53568955
    SHA-256: fc1a70e6e3649de6ed17ad361fb96ff11e61e18b3f4161b3dbb026a5e769d345
    Size: 88.92 kB
  3. libguestfs-tools-1.16.19-1.0.1.AXS4.x86_64.rpm
    MD5: 6a49441235f46bc70228fabf0ec71845
    SHA-256: b8b9abed7d03bb987aa95e8be12156ae3f16078259ded705b46454f1b31afc4d
    Size: 90.27 kB
  4. libguestfs-tools-c-1.16.19-1.0.1.AXS4.x86_64.rpm
    MD5: 327d97965e5fea9560f506edda855d1c
    SHA-256: cb51e1719c6bd75c28f90aad122ddfb3b8da5cd21f4a3db2628d982d0132b9dc
    Size: 814.88 kB
  5. perl-Sys-Guestfs-1.16.19-1.0.1.AXS4.x86_64.rpm
    MD5: d794e90f1a01e6fa4a3ec8ed540c2835
    SHA-256: d27cef0446be5963ff039d0a0e4a3505882233f76afca71c1b7e73cbbcbb0039
    Size: 300.57 kB
  6. python-libguestfs-1.16.19-1.0.1.AXS4.x86_64.rpm
    MD5: 14c347a9a23f5c139ce94a70dde98f72
    SHA-256: 6dfc39c004c6f33598d01a8ab51cf404354829b7e7643d63753f893b1fa701ed
    Size: 139.00 kB