psss / rpms / libguestfs

Forked from rpms/libguestfs 5 years ago
Clone
.gitignore
0001-RHEL-5-tests-Use-gnulib.patch
0001-gnulib-Use-module-mkstemps-for-RHEL-5-glibc-which-la.patch
0002-RHEL-5-inspect-Add-macro-for-be32toh-if-one-is-not-d.patch
0003-Move-Ruby-related-checks-from-autoconf-to-extconf.rb.patch
0004-EPEL-5-Remove-checks-which-fail-with-ancient-qemu.patch
0005-EPEL-5-Remove-AS_ECHO_N-for-ancient-autoconf.patch
0006-EPEL-5-Replace-macro-AC_STRUCT_DIRENT_D_TYPE-for-anc.patch
0007-EPEL-5-Don-t-use-C99-style-variable-decls-in-for-loo.patch
0008-EPEL-5-Remove-Erlang-bindings.patch
0009-EPEL-5-Remove-GObject-GObject-Introspection-GJS-bind.patch
0010-EPEL-5-Remove-PHP-bindings.patch
0011-EPEL-5-Define-le64toh-le32toh-if-not-defined.patch
0012-EPEL-5-Add-gnulib-utimensat-module.patch
0013-EPEL-5-Old-ocamlopt-didn-t-support-debugging-g-optio.patch
0014-EPEL-5-Replace-format6-with-format4-in-OCaml-gettext.patch
0015-EPEL-5-Pass-preserve-dup-deps-explicitly-to-libtool.patch
0016-EPEL-5-Remove-id-from-drive-parameter-on-qemu-comman.patch
0017-EPEL-5-Add-null-vmchannel-back-for-qemu-without-virt.patch
0018-EPEL-5-Disable-libvirt-attach-method.patch
0019-EPEL-5-Fix-blkid-to-return-LVM2_member-for-PVs.patch
0020-EPEL-5-sparsify-Fix-command-line-options-for-old-qem.patch
0021-EPEL-5-Remove-Fedora-MD-test-images.patch
0022-EPEL-5-Add-mkisofs-to-package-list.patch
0023-EPEL-5-Add-1-second-pause-after-unmounting-any-files.patch
0024-EPEL-5-podwrapper-Remove-HTML-output.patch
0025-EPEL-5-podwrapper-Don-t-use-Pod-Man.patch
0026-EPEL-5-Revert-Mac-OS-X-Use-libtool-mode-execute-inst.patch
0027-EPEL-5-Don-t-use-sgabios.patch
0028-EPEL-5-Revert-daemon-Remove-e2prog-hack-only-needed-.patch
0029-EPEL-5-Disable-tar-xz-test.patch
0030-EPEL-5-Ignore-sparsify-error-if-qemu-img-help-is-kil.patch
0031-EPEL-5-Revert-daemon-remove-call-to-obsolete-udevset.patch
0032-EPEL-5-No-libtoolize-install-option.patch
0033-EPEL-5-Disable-valgrind.patch
0034-EPEL-5-Remove-Linux-capabilities.patch
0035-EPEL-5-ruby-Use-old-rake-rdoctask-and-rake-gempackag.patch
0036-EPEL-5-Custom-replacement-for-Unix.isatty-stdout.patch
README.EPEL-5
dot-gitmodules
libguestfs.spec
sources
bootstrap
bump-and-build.sh
libguestfs-find-requires.sh
README.EPEL-5
libguestfs for EPEL 5 ===================== by Richard W.M. Jones <rjones@redhat.com> This package contains modern libguestfs for EPEL 5. Although libguestfs is supplied in RHEL 5, the version supplied is very old and is only intended to be used with virt-v2v from RHEL 5. It is only available in the RHEL-5-V2V channel. Therefore there exists a need for a modern libguestfs for RHEL 5 users. This package supplies this through the community-supported EPEL repository. (1) Installation ---------------- After enabling the EPEL repository, install libguestfs in the normal way using yum. It appears that yum from RHEL 5 cannot resolve the complicated upgrade from old libguestfs to this version, so you may need to do: yum remove libguestfs # remove old packages yum install libguestfs [etc] Note that only x86-64 packages are available. 32 bit packages cannot be supplied because there is no 32 bit KVM on RHEL 5. No post-installation configuration should be needed. You must have a non-Xen kernel installed on the host. Note that the non-Xen kernel just needs to be installed, it does *not* need to be running (you can run libguestfs under Xen if you want). The non-Xen kernel is used to boot the libguestfs appliance. You must use this package together with the version of qemu-kvm from RHEL 5 (usually called 'kvm-83-NNN.el5'). Alternate versions of qemu, KVM, using $LIBGUESTFS_QEMU or QEMU wrappers, will probably not work. Hardware virtualization will greatly improve the performance of libguestfs, but it is not required. libguestfs cannot use hardware virtualization when run in a Xen domain (not even dom0). For more performance tips, read guestfs-performance(1). (2) Getting help ---------------- This package is supported voluntarily by the EPEL community and by the upstream libguestfs maintainers. It is *not* supported by Red Hat. It *cannot* be used with the virt-v2v package from RHEL 5. If you need to use virt-v2v on RHEL 5, use the libguestfs package from the same RHN channel. However we would advise you to use RHEL 6 or later because that version of virt-v2v is substantially more powerful. To get help with this package, contact the libguestfs maintainers. See http://libguestfs.org for links to the mailing list, IRC, and how to file bugs. (3) Features not available -------------------------- The following features are not compatible with RHEL 5 and have been either removed completely or disabled: - PHP bindings - GObject, GObject introspection, anything that uses GObject Introspection such as the Javascript bindings - Erlang bindings - The btrfs filesystem. - guestfs_fstrim - guestfs_wipefs - Various APIs that take UUIDs (eg. guestfs_mkswap_U) - virtio-scsi - Internationalization of any non-C programs. - Japanese and Ukrainian man pages. - guestfs_vfs_label cannot read labels from NTFS filesystems. - guestfs_blkid may return fewer fields than expected on a more modern Linux system. - guestfs_txz_in and guestfs_txz_out are not implemented. - guestfs_utimens doesn't let you set the time on a symbolic link (this is a limitation of the RHEL 5 kernel). - guestfs_mkswap_label followed by guestfs_swapon_label does not work. The reasons are not well understood. - Adding drives using non-virtio-blk interfaces. - The 'ntfsclone_*' APIs only partially work. In particular, the 'metadataonly' flag is not working, and maybe other parts of this API won't work. (4) Features that may not work ------------------------------ The following features may not work fully in this version of libguestfs: - LUKS (encrypted filesystems within guests) - MD (RAID devices within guests) - FUSE, guestmount, the mount-local API. These appear to have some problems because of the older version of FUSE in RHEL 5. - virt-sysprep '--script' option (because it requires FUSE). (5) Other notes --------------- An artificial pause of 1 second has been added after unmounting any filesystem. *Without* the 1 second pause, the following test case will fail sometimes: guestfish <