Packages changed: libguestfs (1.44.1 -> 1.44.2) manpages-l10n (4.10.0 -> 4.11.0) === Details === ==== libguestfs ==== Version update (1.44.1 -> 1.44.2) Subpackages: guestfs-data guestfs-tools guestfs-winsupport libguestfs0 perl-Sys-Guestfs python3-libguestfs - bsc#1190501 - virt-builder fails to install packages when building an image 9db0c98c-appliance-enable-bashs-Process-Substitution-feature.patch - Upstream bug fixes c0de4de9-appliance-add-reboot-and-netconfig-for-SUSE.patch f47e0bb6-appliance-reorder-mounting-of-special-filesystems-in-init.patch - Newer cpio versions must be told to extract over symlinks libguestfs.test.simple.create-opensuse-guest-crypt-on-lvm.sh libguestfs.test.simple.create-opensuse-guest.sh libguestfs.test.simple.create-sles12-guest-crypt-on-lvm.sh libguestfs.test.simple.create-sles12-guest.sh - Allow the use busybox dhcp client appliance.patch netconfig.patch - Update to version 1.44.2 makefile-ocaml-find-guestfs.patch * Port libguestfs to use pcre2 instead of pcre * inspection: More reliable detection of Linux split /usr configurations * python: Relicense setup.py to LGPLv2+ (originally GPLv2+) * lib: qemu: Don't use -enable-fips option. * rust: Fix deprecated use of panic!(format!(...)) * point users to Libera Chat rather than FreeNode * python: Don't leak fields when creating Python structs * appliance: Add IBM850 iconv converter for syslinux * launch: board model for RISC-V * lib: Add osinfo information for Windows Server 2022 Datacenter * lib: Autodetect backing format for qemu-img create -b * appliance: Fix searching for shared libraries on usr-merged Debian systems * appliance: Add mount package for Debian * m4/guestfs-appliance.m4: Add support for Alma and Cloud Linux * daemon/luks.c: Ignore bogus GCC -fanalyzer double-free warning * daemon/xattr.c: Increase size of temporary buffer for %zu * daemon/utils.c: Fix potential unbounded stack usage * Various other bug fixes - Upstream bug fixes post 1.44.2 e26cfa44-daemon-Build-with--pthread.patch 489b14b7-ocaml-examples-Link-examples-to-gnulib.patch 68a02c2f-customize--resize--sparsify--sysprep-Link-explicitly-with-pthread.patch - Remove obsolete yajl - Add conditional to ocaml_preserve_bytecode - Remove traces of python2 code - Use pkgconfig(python3) to refer to variants of python3 - Remove obsolete 0004-python-include-dirs.patch and related workaround in spec file - Use autosetup - Use _udevrulesdir - Remove BuildRoot and defattr - Remove Group tags - For unknown reasons the appliance build fails randomly Workaround it by retrying the build once - Update to version 1.44.1 * lib/appliance-kcmdline.c: Read UUID directly from appliance. * daemon/xfs.c: Fix error message. * daemon: chroot: Fix long-standing possible deadlock. * daemon: Don't return bogus failure from readdir. * daemon/btrfs.c: Ignore mkfs.btrfs allocstart option. * python: Ignore code style error E128. * php: Fix the build. * builder: Don't redefine Val_none (OCaml 4.12). * daemon: lvm: Use lvcreate --yes to avoid interactive prompts. * Update common submodule. * lib/fuse.c: Use safe_malloc instead of malloc. * fuse/guestmount.c: Avoid leaking fp on error path. * diff: Don't try to call unlink(NULL) on certain error paths. * daemon/tar.c: Avoid bogus GCC analyzer warning. * daemon/command.c daemon/debug.c df/main.c: Ignore bogus GCC analyzer warnings * appliance: Add dhclient for Arch-like Manjaro distro. * fish/tilde.c: Suppress more bogus -fanalyser warnings. * lib/qemu.c: Suppress another bogus -fanalyser warning. * builder: templates: Add ubuntu-20.04. * builder: templates: Added rhel-7.9. * lib: Move CLEANUP_GL_RECURSIVE_LOCK_UNLOCK to libguestfs header. * appliance: Avoid having ${exec_prefix} in guestfs appliance path. * build: Avoid warnings about unknown pragmas. - add libguestfs.env.patch - Remove ocaml_native_compiler conditional build native target unconditionally - Require current ocaml-rpm-macros - Modify Source0 to point at the correct url for the source. libguestfs.spec - Update to version 1.44.0 * The minimum version of Python required is 3.6. * Python bindings no longer use deprecated "PyEval_ThreadsInitialized". * Python bindings now include type hints (Sam Eiderman). * Erlang bindings now use libei instead of liberl_interface (Sergei Golovan). * virt-get-kernel(1) can now find uncompressed kernels (Pino Toscano). * virt-sysprep(1) now regenerates the guest certificate store when a certificate is removed from the guest (Pino Toscano). * virt-sysprep(1) can now remove IPA enrollment files and Kerberos keytabs (Pino Toscano, Christian Heimes and François Cami). * "cryptsetup-open" and "cryptsetup-close" replace "luks-open", luks-open-ro and luks-close. The new APIs add support for BitLocker encryption. * "lvm-canonical-lv" no longer produces a noisy error message when called with a non-LV parameter. * Various other bug fixes - Drop bfd08867-golang-Fix-path-to-include-guestfs.h..patch dbfab7d3-build-fix-includedir-in-uninstalled-libguestfs.pc.patch - bsc#1178495 - Leap Gap: Libguestfs.spec contains the is_opensuse macro libguestfs.spec - Drop is_opensuse references to remove differences between Leap and SLES packaging libguestfs.spec - Update to version 1.43.2 * Bug fix release * Updated language files 0004-python-include-dirs.patch - Added upstream bug fixes dbfab7d3-build-fix-includedir-in-uninstalled-libguestfs.pc.patch bfd08867-golang-Fix-path-to-include-guestfs.h..patch - Update to version 1.43.1 * Drop support for python 2 * builder: New templates added * sysprep: ca-certificates: request system CA store update * Various other bug fixes - Drop 31e6b187-po-Remove-virt-v2v-related-dependency-from-POTFILES-ml..patch 7265f08c-lib-remove-extra-LIBS-from-pkg-config-file.patch - bsc#1172818 - libguestfs: inconsistent LIBGUESTFS_PATH libguestfs.spec - Update to version 1.42.0 * virt-v2v is moved out from libguestfs into its own package * virt-p2v is moved out from libguestfs into its own package * Add support for the Vala language * Add support for the Rust language * Reproducible builds * Advanced Format disks (which use 4K sectors) can now be processed by libguestfs. Use the new optional blocksize parameter to guestfs_add_drive_opts, and the --blocksize option added to several tools * Windows CompactOS (NTFS file compression) is now supported. * Advanced machine readable output in various virt tools now supports JSON output, and writing logs to a numbered file descriptor * virt-filesystems tool now more accurately reports filesystem total size, in the case where for example the filesystem does not occupy the whole of its containing device * Python ? 2.7 is required. * Python bindings are now more extensively tested * Python bindings should now work with Python ? 3.8. * Multiple fixes to avoid crashes in the Python bindings * OCaml bindings are compiled with -DCAML_NAME_SPACE to ensure no non-caml_-namespaced symbols are used * OCaml bindings should now work with OCaml 4.09 and 4.10. * Fix compatibility with newer cgo for Go bindings * Go API error handling is now more idiomatic * Update documentation about how to handle boolean parameters in Ruby bindings * Libguestfs can now extract icons for Gentoo, newer SUSE and OpenMandriva guests. Improved extraction of RHEL icons. * Inspection returns the osinfo IDs of newer Windows versions, and rolling Linux distros - Added patches 31e6b187-po-Remove-virt-v2v-related-dependency-from-POTFILES-ml..patch 7265f08c-lib-remove-extra-LIBS-from-pkg-config-file.patch - Patches dropped 0a55098f-builder-repository-fix-compute_short_id-for-sles-X.0.patch 28bd06227b-inspect-handle-os-release-opensuse-tumbleweed-as-ope.patch 500acb15-v2v-linux-fix-kernel-detection-when-split-in-different-packages.patch 70407cd622-inspection-Parse-os-release-opensuse-leap-as-opensus.patch d0e5a819-python-Fix-missing-additional-backslashes.patch fd43730e-error-with-uninstall-option-on-SUSE.patch - bsc#1167131 - virt-v2v fails importing ubuntu 18.04 LTS ova 500acb15-v2v-linux-fix-kernel-detection-when-split-in-different-packages.patch - Use -ffat-lto-objects when building static libraries. - Added lvm2 to Requires for using virt-resize of xfs images. (bsc#1138860) - Add sysconfig-netconfig to appliance (boo#1136878) Patches added: netconfig.patch - Remove empty /etc/libguestfs-tools.conf - BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to shortcut the build queues by allowing usage of systemd-mini - Fixing issue with virt-customize in SLES and openSUSE guests (boo#1132790) Patches added: 28bd06227b-inspect-handle-os-release-opensuse-tumbleweed-as-ope.patch 70407cd622-inspection-Parse-os-release-opensuse-leap-as-opensus.patch - Fixing issue with virt-customize uninstall and '-l' (bnc#1131342) Patches added: fd43730e-error-with-uninstall-option-on-SUSE.patch - Remove zerofree from BuildRequires because only supermin will consider this feature at runtime. - Build against libtirpc - Remove unneeded createrepo build dependency (bsc#1082689) - builder-repository: fix SLES short id computation Patch added: 0a55098f-builder-repository-fix-compute_short_id-for-sles-X.0.patch - Fix handling of Latin-1 encoding in rpmdb (bsc#1075803) Patches added: 0001-Introduce-a-wrapper-around-xmlParseURI.patch 0002-common-extract-UTF-8-conversion-function.patch 0003-inspector-rpm-summary-and-description-may-not-be-utf.patch - Remove dependency on wodim for openSUSE:Factory and use cdrtools (bnc#1081739) - update to version 1.38.0: * Virt-builder-repository is a new tool allowing end users to create and update virt-builder repositories. (fate#318952) * Virt-rescue has been substantially rewritten, implementing job control, -m and -i options, escape keys, etc. * Virt-builder planner has been improved so that faster and more efficient build plans are chosen for complex cases, especially when either the tmpdir or output is on networked storage. * Virt-customize now sets a random /etc/machine-id for Linux guests, if one is not already set. * Virt-df now works correctly on filesystems with block sizes smaller than 1K. * Virt-dib has further compatibility enhancements with diskimage-builder. * Virt-sysprep removes "DHCP_HOSTNAME" from ifcfg-* files. * Virt-resize now correctly copies GPT partition attributes from the source to the destination. (bsc#1074585) * Bash tab completion implemented or enhanced for: virt-win-reg, virt-v2v-copy-to-local. * Both virt-v2v and virt-p2v are now able to pass through the source CPU vendor, model and topology. * Virt-v2v now supports encrypted guests. * Virt-v2v now detects the special Linux Xen PV-only kernels correctly * Virt-v2v -o glance now generates the right properties for UEFI guests * Virt-v2v -o null now avoids spooling the guest to a temporary file, instead it writes to the qemu "null block device". This makes it faster and use almost no disk space. * Virt-v2v -i libvirtxml can now open network disks over http or https. * Virt-v2v will now give a warning about host passthrough devices * Inspection support was rewritten in OCaml and included inside the daemon. This makes inspection considerably faster, more robust and more easily extensible in future. * The libguestfs API is now thread-safe (although not parallel). You can call APIs on the same handle from multiple threads without needing to take a lock. - Removed patches: 531316cc-build-improve-and-simplify-distro-detection.patch 9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch f3f99a09-python-use-right-func-when-PyString_FromStringAndSiz.patch - Added patches: d0e5a819-python-Fix-missing-additional-backslashes.patch - evtxdump is in python3-evtx, drop python2 dependency (fate#323526) - add hwinfo to the appliance packages for ntfs support. (bsc#1070976) - Don't run fdupes as it symlinks some of the python3 binding files to their python2 equivalent - Add db48-utils dependency: needed to inspect the installed packages. - Remove useless patch: 0000-hotfix.patch - Move guestfs-data to libguestfs0. bsc#1064399 - Force distro detection Removed: * use-idlike.patch Added: * 531316cc-build-improve-and-simplify-distro-detection.patch - Use "OCaml" in RPM group exactly as all other packages do. - Update summaries and RPM groups. Trim description for size. - Replace old $RPM_ shell vars by macros. Remove redundant %clean section. - Add windows support files to the appliance for SLES (fate#316274) - Merge SLES and openSUSE spec files. - Tweak configuration before building for python3 or PyString_* symbols will still be missing - Fix python binding for python3 add patches: * 9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch * f3f99a09-python-use-right-func-when-PyString_FromStringAndSiz.patch - Better fix for SUSE distro detection using ID_LIKE as fallback: * use-idlike.patch - Add missing dependency on guestfs-data (bsc#1048848) - Add conflict with old virt-v2v (bsc#1050069) - Fix python binding package * Replace python-libguestfs by python[23]-libguestfs packages * Add egg-info to python[23]-libguestfs package - add dependency on augeas (bsc#1048620) - update to version 1.36.5: * btrfs_replace: fix position of subcommand options * lib: Move close_file_descriptors into guestfs-internal.h. * daemon: lvm: Pass --yes option to force pvresize (RHBZ#1460577). * lib: direct, uml: Unblock SIGTERM in the hypervisor and recovery processes (RHBZ#1460338). * lib: create: Allow any [[:alnum:]]+ string as a backingfmt parameter (RHBZ#1459979). * mllib: Handle empty files correctly in read_first_line_from_file. * resize: make sure the input disk is read-only * v2v: tell v2v the real root device to mkinitrd * mllib: Export which in "stdlib mode". * mllib: Export prog, quiet, trace, verbose in "stdlib mode". * btrfs_replace: fix position of subcommand options - add download location for source verification purposes - Fix v2v conversion of SLES 11 SP4 with kdump enabled bsc#1038397 - Update to version 1.36.4 ... to fix build with gperf 3.1 - Don't let mkinitrd guess the root device (bsc#1038397) - Add ldmtool to appliance (fate#320858) - Add cdrkit-cdrtools-compat to appliance, required for isoinfo* APIs to work. - Add initviocons to appliance package (bsc#1011940) - Backport btrfs-related fixes (bsc#1000202) commits: d6bba9b, f90185d, 4e0dbf9 and 738c3bf - Add mount.ntfs alternatives symlink for SLES too (fate#316274) - Remove obsolete kernel checks from specfile (fate#316274) - Remove kernel-default and mkinitrd from BuildRequires (fate#316274) - Clean up dependencies and add recommends for optional packages like the ones enabling file system features fate#316274, bsc#993501 - Fix dependencies (fate#316274) - appliance fixes (fate#316274): * re-add helper script mount-rootfs-and-chroot.sh for virt-rescue appliance.patch * make guestfs-data a requirement of guestfs-tools - v2v: add support for win2k16. Backport commit e93d4ea3, fate#316274 - Fix virt-p2v package summary (dummy bsc#933411). - Fix guestfs-tools dependencies. bsc#986866 - Fix virt-filesystem -l for btrfs. bsc#980092 - Add p2v support (fate#316274) - Update to version 1.32.4 - Backported commits (fate#316274): * f5a9cdf: api: add mountable_device and mountable_subvolume * 1c30c23: fish: fix btrfs subvolumes display in error case * 1f24364: v2v: win <= 7: reduce registry patch * f0dce24: v2v: win >= 8: reduce registry patch * 9a441b0: v2v: win >= 8: simplify registry patching * e07459d: v2v: win: factor out common bits in registry patching * 47aa64a: v2v: add support for virtio-scsi * bba9ea9: v2v: also search for windows virtio drivers in symlinks * 3bf7d30: Update packagelist for SLES and openSUSE * 89ae53e: appliance: skip /etc/mtab creation is already existing * ee78c06: customize: add support for pvvxsvc * 25848b5: v2v: document SUSE's Xen as a working input hypervisor * e9082ea: v2v: rename RHEL 5 Xen input section into Xen in man * 75fe93e: v2v: improve initrd search * 536ef6f: customize: change windows firstboot path * 07f7bfa: customize: fix windows firstboot script * c466d4c: v2v: add support for SUSE VMDP drivers * 9de9300: v2v: handle subfolders in ova files - Removed patches: * 1000-force-virtio_blk-in-old-guest-kernel.patch * libguestfs.mkinitrd.1110.patch * libguestfs.mkinitrd.1115.patch * libguestfs.mkinitrd.1140.patch * libguestfs.mkinitrd.1210.patch * libguestfs.mkinitrd.1220.patch * libguestfs.mkinitrd.1230.patch * libguestfs.mkinitrd.1310.patch * libguestfs.mkinitrd.boot-btrfs.sh * libguestfs.mkinitrd.boot-dm.sh * libguestfs.mkinitrd.boot-lvm2.sh * libguestfs.mkinitrd.boot-md.sh * libguestfs.mkinitrd.boot-nfs.sh * libguestfs.mkinitrd.boot.sh * libguestfs.mkinitrd.setup-btrfs.sh * libguestfs.mkinitrd.setup-dm.sh * libguestfs.mkinitrd.setup-lvm2.sh * libguestfs.mkinitrd.setup-md.sh * libguestfs.mkinitrd.setup-nfs.sh * libguestfs.mkinitrd.setup.sh * libguestfs.mkinitrd.tar.bz2 - Add password default encryption method for sles. fate#318952 - Add -l to zypper for install and update. - Create the .cache folder if it doesn't exist already. bsc#939097. - Define SHA512 as the default password encryption method for opensuse 11+. - Add opensuse images source for virt-builder. fate#318952. - Make sure gpg-agent isn't blocking unmount operations for fedora 22+ images. boo#939105 - Add rpmlintrc to surpress binaryinfo-readelf-failed to reduce build-compare noise - Refresh libguestfs.mkinitrd.1310.patch - Force feature usb into initrd to avoid build-compare noise - Workaround bug in patch(1) which does not follow symlinks anymore - Update to version 1.26.10 * gcc5: test-tool: Initialize local variable. * lua: Define luaL_checkint which was deprecated in lua 5.3. * tools: fix free -m invocation - Make zypper called with -n parameter when installing packages. (bsc#916567) - Package guestfs_lvm_conf.aug (bnc#908632) - Handle more dist versions when patching mkinitrd - Add isofs and other fs drivers (bnc#906692) - Use fixed /etc/hosts, scsi_dh_modules and ibft_hostname to reduce build-compare noise - Handle btrfs subvolume name '@' as used in SLE12 (bnc#900346) - Include gconv modules for hivex (bnc#900530) - Update to version 1.26.9 * customize: fix locking accounts with passwords * daemon: lvm-filter: use augeas for setting the filter * daemon: move AUGEAS_ERROR to the common header * daemon: add add_sprintf - Update to version 1.26.8 * mllib: Export output_spaces function. * daemon: Fix echo-daemon so it doesn't fail on empty array input. * drives: fix deletion of servers on error * daemon: zfile: call pclose instead of fclose * utils: Add new CLEANUP_PCLOSE cleanup. It calls pclose(3). * launch: direct: Only issue Debian /dev/kvm group warning if /dev/kvm wasn't openable (RHBZ#1130189). * lib: Missing include of . * python: fix possible free on uninit memory with OStringList optargs * df: unlock retire_mutex on early exit * daemon: use CLEANUP_CLOSE * daemon: blkid: fix memory issues in "no -p/-i" mode * daemon: initialize memory when handling DeviceList params * rescue: fix sscanf placeholders for --smp and --memsize * daemon: add and use a reply_with_unavailable_feature macro - Fix build without ocaml - Update to version 1.26.7 * launch: Close file descriptors after fork (RHBZ#1123007). * Revert "launch: Close file descriptors after fork (RHBZ#1123007)." * launch: direct: check for null paths in make_uri * make-fs: do not leak the fd from mkstemp * make-fs: respect libguestfs' temporary dir - define kernel_binary on aarch64 - Update to version 1.26.6 * cleanups: add CLEANUP_FCLOSE (fclose on FILE*) * launch: Close file descriptors after fork (RHBZ#1123007). * virt-resize: Unmount filesystem after testing size. * daemon: Add extra debugging to umount_all command. * sparsify: Relax requirement that output device cannot be block device (RHBZ#1122557). * ocaml: Ignore Warning 3: deprecated feature: String.* functions. * sysprep: Standard exception handling, taken from virt-builder & virt-v2v. * customize: Use Common_utils.error function instead of failwith. * mllib: introduce Mkdtemp.temp_dir * inspect: ignore /etc/fstab with no entries (RHBZ#1113156). - Include fdisk and bc (bnc#886372) - add Requires: qemu 2 to guestfs-tools to restore versioned kvm - Use /usr/bin/qemu-system-ppc64 as kvm_binary on ppc64le (bnc#884564) - Handle empty /lib/mkinitrd/scripts gracefully - Update requirements for kvm package. Instead of calling qemu-kvm and Requires: kvm, replace the Requires with /usr/bin/qemu-system-$ARCH Define the helper for aarch64, ppc64, s390x and x86_64. Other archs have to use LIBGUESTFS_HV= (bnc#884564) - Update to version 1.26.5 * generator: Sort the structs. * Use -v and -x flags consistently across OCaml virt-* tools. * mllib: Rewrite text wrapping function so it can handle newlines within the text. * mllib: Add a common 'warning' utility function. * mllib: Add an interface for Common_utils library. * mllib: Move common code for comparing version strings to library. * options: Compile out part of union which cannot be used when not compiling guestfish. * mllib: Create a common utility function is_directory. * fuse: UID 0 should override all permissions checks (RHBZ#1106548). * launch: libvirt: Only use serial BIOS (sgabios) on x86. * daemon: print parameters for vgchange in error messages * generator: fix daemon functions with optional params but no mandatory params * appliance: Increase udev timeout to 6000s (RHBZ#1096579). * launch: libvirt: Add -device sga (sgabios). - Add cdrkit-cdrtools-compat, psmisc, gptfdisk, syslinux to BuildRequires to reduce amount of missing commands - Include mkinitrd scripts for btrfs, and include it in feature list - Include mkinitrd scripts from lvm2, device-mapper, mdadm and nfs-client for 13.2 builds. The scripts will be removed from these packages, they are required here. (bnc#883863, bnc#883873,bnc#883876) - Fix permissions on initramfs to allow regular users access. - Update to version 1.26.3 * ppc64: Use console=hvc0 console=ttyS0. * fish: simplify output of 'supported' * Fix some spelling mistakes and typos in documentation (RHBZ#1099284). * configure: Move --with-default-backend test later in configure.ac. * Fix handling of passwords in URLs - Update to version 1.26.2 * sparsify: Add a note about qcow2 internal snapshots not being copied (RHBZ#1094746). * customize: random-seed file has moved again. * lib: xmlParse{File,Memory} -> xmlRead{File,Memory} * launch: direct: Supply -M option when testing qemu for devices. * tar-in: Fix places where we didn't cancel the receive (FileIn) correctly along error paths (RHBZ#1091803). * configure: Make sure grep matches qemu 2.x version string. * daemon: parted: part-get-name: switch from sgdisk to parted (RHBZ#1088424). * sparsify: If using -v (verbose), ensure #disk_create runs verbose too. * disk-create: Fix this API so it works correctly with block devices (RHBZ#1088262). * listfs: If LDM not available, don't inhibit partition detection (RHBZ#1079182). * mllib: utils: Add mapi function. * src/launch: improve the addition of the no-hpet option * handle: Free g->backend_settings. * python: Remove unnecessary library dependencies. * utils: Move guestfs___validate_guid out of utils.c. * utils: Remove for-loop variable decl. * rescue: Don't leak various variables when using --suggest option with multi-boot guests. * make-fs: Close FILE* along error path. * make-fs: Check for error return from guestfs_statvfs. * daemon: parted: part-get-name: Don't leak partition type string. - Update to version 1.26.0 * virt-customize is a new tool for customizing disk images * virt-diff is a new tool for showing differences between filesystems * virt-sparsify has a new --in-place option * new virt-sysprep operations * many bug fixes * full release notes: http://libguestfs.org/guestfs-release-notes.1.html - added 0000-hotfix.patch - removed 0001-ocamlopt.patch - Build without ocaml.opt on s390x and ppc64le 0001-ocamlopt.patch - Update to version 1.24.6 * FAQ: Another common problem is permission denied errors when running as root. * FAQ: Add another common Ubuntu appliance problem. * list-filesystems: Do not segfault if guestfs_btrfs_subvolume_list returns an error (RHBZ#1064008). * actions/part_set_gpt_type: set type of "guid" parameter as "GUID" (RHBZ#1008417). * generator: generate code for parameter validation * generator: add a GUID parameter type * utils: add a function to validate a GUID string * Remove bogus license file from daemon subdirectory. * daemon: Always pass -F option to mkfs.ntfs. * resize: Don't truncate libguestfs error messages. * libvirt-domain: Remove unnecessary and wrongly indented parens. * fish/uri: Tidy up error messages. * daemon: lvm2: Ignore "unknown device" output when a PV is missing (RHBZ#1054761). * generator/set-uuid: Fix two typos in documentation * sparsify: Prevent overwriting block or char output devices (RHBZ#1056290). * test-tool: Rearrange output into alphabetical order. - more testcases for SLE12, using grub2 libguestfs.test.simple.create-sles12-guest.sh libguestfs.test.simple.create-sles12-guest-crypt-on-lvm.sh - add BuildRequires: ocaml(ocaml.opt) - drop i586 from ExclusiveArch as SLE-12 does not build a runnable kernel there, and KVM is 64bit only - Disable ipv6 in the appliance because qemu usernet is ipv4 only - add libguestfs-test subpackage, /usr/share/guestfs (fate#316275) libguestfs.test.simple.run-libugestfs-test-tool.sh libguestfs.test.simple.create-opensuse-guest.sh libguestfs.test.simple.create-opensuse-guest-crypt-on-lvm.sh - Update to version 1.24.5 * launch: Allow backend = "appliance" for backwards compatibility (RHBZ#1055452). * daemon: Use wipefs_has_force_option to decide whether to add wipefs --force option. * init: Display clocksource (only when debugging is enabled). * launch: direct: Make sure we pass lpj= parameter when using TCG. * Use recommended timer settings for KVM (RHBZ#1053847). * fuse: clear stat structs (RHBZ#660687). * fuse: remove extra trailing \n in debug messages - Include crypto modules in appliance to enable luks related commands - Resolve also library dependencies of libnss in mkinitrd (bnc#847785) - BuildRequire nfs-utils to get mount.nfs, for virt-rescue - Include mkinitrd from 13.1 when building appliance for 13.2 or later because dracut can not be used as replacement for mkinitrd and supermin is not ready yet - Update to version 1.24.4 * ruby: Fix .new method (RHBZ#1046509). * RHEL 6: ruby: Fix fallback to rake/rdoctask for old rake. * inspect: fix detection of newer CirrOS versions (RHBZ#1045450). * launch: libvirt: Clearer message when libvirt screws up. * fish: Fix memory leak in inspect/-i code (detected by valgrind). * appliance: Create an /etc/resolv.conf file referring to qemu user network nameserver (RHBZ#1044585). * fish: Move -d option parsing to common function. * fish: Deprecate the -D option (prefer --no-dest-paths instead). * daemon: Improve error message for readlink call. * generator: Fix bug in documentation of guestfs_free_* functions. * fish: Ensure print_inspect_prompt can only be called by guestfish. * inspector: Ensure low-level inspection functions can only be called by virt-inspector. * virt-cat, virt-filesystems, virt-ls don't use libconfig. * resize: Move roundup64 function into common utilities. * fuse: provide a stub "flush" implementation (RHBZ#660687). * recipes: Use new style -a/-d options in virt-edit example. * daemon: mkfs: Use -I option to force mkfs.fat to write a filesystem over a whole device (RHBZ#1039995). * proto: Remove another error message which hides earlier error. * proto: Remove error message which hides earlier error. * lib: fix newline in error output (RHBZ#923355). * recipes: Add a recipe for masking a systemd service. * launch: direct: Pass -enable-fips option if qemu supports it. * fish: improve the command error messages - Update to version 1.24.2 * launch: Print program and version as part of standard debug output when launching the handle. * lua: Don't redefine lua_objlen if already defined. * lib: Make sure -lselinux is used when linking libguestfs.so. * daemon: btrfs: Upstream 'btrfs device add' command now needs '--force' option to work. * perl: Give error instead of crashing if optarg is not an array reference. * Avoid modulo bias in random password generation * mllib: Add a utility function for safely reading from /dev/urandom. * podwrapper: virt-install is not a libguestfs page. * Update to latest gnulib to get hash relicensing change (thanks Jim Meyering). * Fix fstab block device resolution for FreeBSD - Update to version 1.24.1 * virt-resize & virt-sysprep can now use URIs to work on remote disks * many new virt-sysprep operations * many bug fixes * full release notes: http://libguestfs.org/guestfs-release-notes.1.html - guestfsd needs at least libaugeas0 >= 1.0.0 - Recommend bash-completion to avoid completion errors - Update to version 1.22.7 * fish: CVE-2013-4419: Fix insecure temporary directory handling for remote guestfish (bnc#845720). * sysprep: firstboot: Don't set `Created_files flag unless files are created. * firstboot: Add some debugging to the control script. * firstboot: Fix test for installing sysvinit scripts. * firstboot: Install both systemd and SysV init scripts. * firstboot: Start service after network only. * firstboot: Fix firstboot scripts so they work on Ubuntu. * edit: Add virt-edit --edit as an alias for virt-edit -e. * btrfs: Fix improper memmove usage in do_btrfs_subvolume_list (RHBZ#1018149). * daemon: xattr: Fix scope of cleanup buf to avoid memory leaks. * daemon: parted: Fix memory leak of list of strings. * daemon: Fix scope of cleanup functions to avoid memory leaks. * df: parallel: Add a debug message when work function returns an error. * daemon: 'exists' API should not follow broken symlinks. * sysprep: Don't remove /var/cache/apt/archives/partial directory. * firstboot: Invoke firstboot.sh script with 'start' parameter. * daemon: Don't set LD_PRELOAD for guestfsd children. * daemon: Fix xfs_info parser because of new format. * sysprep: Fix option quoting in manual page. * virt-df: parallel: Send debugging messages to stderr. * inspection: Don't print a warning if \Windows\explorer.exe does not exist. * launch: direct: Set QEMU_AUDIO_DRV=none to stop qemu opening audio devices. * virt-df: parallel: Compile debugging messages in always. * daemon: augeas: Don't test if AUG_NO_ERR_CLOSE is defined. * daemon: augeas: Enhance error reporting for aug_init failures. * drives: Don't need to call free_drive_servers since preceding code checks servers == NULL. * sparsify: Fix signal handling. * daemon: tar: Use a temporary file to pass excludes to tar command (RHBZ#1001875). * format: Set MBR partition type byte appropriately (RHBZ#1000428). - Keep setup-dm.sh, required to copy dm rules (bnc#837595) - Remove BuildRequires: qemu-tools - Add static 169.254.0.0/16 network addresses (bnc#835949) - Update to version 1.22.6 * Initialize CLEANUP_* stack variables with NULL in various places. * daemon: sh: Fix missing initializer which caused segfault (RHBZ#1000121). * fish: Document that guestfish --remote --add won't work as expected (RHBZ#998513). * launch: direct: Don't try to wait for qemu if parent process forked (RHBZ#998482). * list-filesystems: Don't fail if there are no filesystems found (RHBZ#995711). * virt-list-filesystems: Fix to use $g->canonical_device_name instead of homebrew function. * daemon: If /proc/modules doesn't exist, linuxmodules optgroup is disabled. * launch: direct: Print \n after printing qemu command line. * conn: Make sure we display all log messages when qemu goes away. * lib: Turn 'random_chars' function used by libvirt backend into utility function. * daemon: ldm: Don't return an error if /dev/mapper doesn't exist. * daemon: Move all RESOLVE macros to daemon/stubs.c. * proto: Fix --enable-packet-dump mode. * daemon: Close augeas, hivex handles in unmount_all. * Fix parsing of boot flag in do_part_get_bootable() * Update gnulib to latest version. * augeas: Improve error reporting. * launch: direct: Add drives after machine parameters. * fish: Fix guestfish so it can recognize sheepdog://... as a valid URI. * resize: Move isatty_stdout function to separate module (TTY.isatty_stdout). * daemon: cap-get-file: Return empty string if no capability on file (RHBZ#989356). * src/file.c: Be sure to call guestfs___lazy_make_tmpdir before using g->tmpdir. * generator: Fix the case where a daemon function has one FileIn/FileOut parameter and no other parameters. - Create symlink from /etc/mtab to /proc/self/mounts (bnc#840662) - add ppc64 to Exclusive arch - Add support for lvm (bnc#837595) - Add network related modules to initrd (bnc#835949) - Remove supermin.d - Mount also /dev/pts in mount-rootfs-and-do-chroot.sh - Handle rw option in ext4.ko - Update libguestfs.mkinitrd.1210.patch to create /usr/*bin in 11.4 - Update to version 1.22.5 * full support for btrfs guests * large performance improvements in virt-df and virt-alignment-scan tools * many bug fixes * full release notes: http://libguestfs.org/guestfs-release-notes.1.html - Package /lib/udev or /usr/lib/udev in guestfsd subpackage - Update to version 1.20.10 * sysprep: On RHEL, firstboot script should be called S99... not 99. * fish: For -N option, add drive with explicit format = "raw". * daemon: Implement set-label for XFS and fix it for btrfs (RHBZ#986875). * mkfs: Use -b size= for xfs (RHBZ#981715). * cmd: Allow callers to override file-closing behaviour after fork. * daemon: hivex: Check that hivex_commit is passed an absolute path (RHBZ#981683). * daemon: Verify ext2/3/4 filesystem name before passing to mke2fs (RHBZ#978302). * virt-resize: Add notes about Windows and disk consistency (RHBZ#975753). * virt-resize: Take into account large start offset of the first partition when calculating overhead (RHBZ#974904). * launch: direct: Calculate appliance root correctly when iface drives are added (RHBZ#975797). - Update to version 1.20.9 * txz-out: Fix this API to produce xz files again (RHBZ#972775). * inspect: Fix bogus warning for partitions without /boot.ini * inspect: Partial support for non-standard windows system root * events: Avoid event handler limit if program allocates and deallocates handlers. * proto: Fix for rare FileIn hangs. (RHBZ#969845) * inspection: Don't segfault if /etc/SuSE-release is an empty file. * fuse: Allow specifying the fstype of a mount * is_lv: Does not need to depend on lvm2. * add --with-supermin-extra-options configure option * Remove use of gnulib progname module. * inspection: Fix double-free when certain guest files are empty. (CVE-2013-2124) * daemon: Properly quote arguments for tar-out, base64-out commands (RHBZ#957772). * inspection: Don't fail if libosinfo database is not found (RHBZ#948324). * daemon/copy: Ensure errno is preserved along error * Better error messages for FUSE and other things not supported. - force paths to supermin/supermin-helper even if package is not available at buildtime - Update to version 1.20.5 * daemon: file: Remove extraneous space after output of 'file' command (RHBZ#928995). * lib: Add missing cases in switch statements. * appliance: Make sure cachedir has mode 0755 (RHBZ#921292). * appliance: Use ignore_value() macro instead of casting return to (void). * launch: Print attach-method, tmpdir, umask, euid when launching. * utils: Fix error messages for external commands that fail (RHBZ#921040). - make sure /etc/lvm/lvm.conf exists (bnc#812931) - Update to version 1.20.4 * launch: appliance: Add custom parameters last. * filearch: Don't print errno if cpio command fails, print command status instead. * proto: send_to_daemon is not an exported function. - use proper build conditionals so that it can be influenced outside spec file (via e.g. prjconf) - Update to version 1.20.3 * trace: Put trace buffer on the stack instead of in the handle. * FAQ: Add question about running fsck on live filesystems * lib: Check calls to xmlXPathEvalExpression for nodesetval == NULL. * recipes: Add example converting from one format/filesystem to another * daemon: protocol: Fix memory leak when receiving FileIn file (RHBZ#914934). * protocol: Don't segfault if appliance crashes during FileIn upload (RHBZ#914931). * libutils: Add guestfs___count_strings utility function to common library * lib: Create libutils convenience library. * docs: Rewrite security section (thanks Dan Berrange) * lib: Fix memory leak when the 'lpj' setting is read from dmesg. - Update to version 1.20.2 * proto: Fix stack overflow when there are many progress events (RHBZ#909624). * rescue: Count the mountable filesystems when displaying the 'suggest' message. * lib: Define CLEANUP_CMD_CLOSE macro and use it throughout the library. * lib: Allow guestfs_free_* functions to be safely called with a NULL pointer. * btrfs: Fix btrfs_subvolume_list on F18 (RHBZ#903620). * daemon: Check parameter of base64-out and tar-out before running external command (RHBZ#908322). * daemon: download: Add extra check that download file is not a directory (RHBZ#908321). * daemon: Add more information to certain calls to perror. * daemon: Call wipefs before mkfs to work around pathological behaviour in btrfs. * lib: Add CLEANUP_* macros which automatically free things when leaving scope. * header: Deprecate LIBGUESTFS_HAVE_* in favour of GUESTFS_HAVE_*. * fuse: Use guestfs_rename to implement rename(2) syscall (RHBZ#895910). * New API: rename: Rename file within the same filesystem (RHBZ#895910). * fuse: If guestfs_last_errno returns 0, don't return no error to FUSE layer. * daemon: Change ln, ln-f (hard-link) APIs to use link(2) instead of external ln (RHBZ#895905). * Fix checksums-out command (RHBZ#895904). * launch: appliance: Fix parsing of QEMU_OPTIONS. * launch: appliance: Small refactoring of virtio-scsi detection code. - enable ruby bindings only in 12.2 or later, ruby is too fragile - BuildRequire: perl-macros only in sles11 builds to fix build in 11.4 - more fixes for copying entire /etc/lvm directory (bnc#795503) - disable strip and /usr/lib/rpm/find-debuginfo.sh for non-opt builds it destroys bytecode binaries - handle more architectures than just x86 when looking for guest kernel - Update to version 1.20.1 * inspection: Set fs->device field on swap devices. * Pass noapic on i686 kernel command line. * daemon: Use pvcreate --force option (RHBZ#887971). * daemon: Fold stdout on stderr when running e2fsck. * other minor changes - copy entire /etc/lvm directory in guestfsd (bnc#795503) - correct initrd filename on i586 (bnc#794819) - Update to stable branch, version 1.20.0 - add Conflicts: (libguestfs0|guestfs-data) with old versions to guestfs-tools to make sure all parts match the same API - update BuildRequire ext4-writeable-kmp-default handling enable it unconditional in sles11 builds, but not in the Virtualization repo because its a private package. - make perl-bindings (perl-Sys-Guestfs) optional, disabled for sles11 - include Pod-Simple-3.23.tar.gz to get perl(Pod::Simple::XHTML) at build time (bnc#789653) - Update to version 1.19.64 (fate#312159) - readd autoreconf -fi if automake is newer than 1.10 it fixes ruby build failures due to RPATH ending up in libraries in 11.4 and 12.1 - Update to version 1.19.61 new subpackage lua-libguestfs, disabled for sles11 - stick to upstream defaults: restore default attach mode, which is appliance, - adjust License tag, libguestfs0 is LGPL-2.1, rest is GPL-2 - add COPYING.LIB to subpackage - remove AUTHORS and README files from doc section - remove guestfs-doc subpackage, it contains just exmple xml files - remove autoreconf -fi, it fails with autoconf-1.10 as included in sles11 due to AM_SUBST_NOTMAKE usage - Update to version 1.19.59 - disable python when building for SLES11 - split BuildRequires ocaml into ocaml_tools and ocaml_bindings - disable ocaml_bindings when building for SLES11 - disable ruby when building for SLES11 - Update to version 1.19.57 - add BuildRequires aaa_base to get get_kernel_version handle get_kernel_version location in /sbin or /usr/sbin - Update to version 1.19.53 - change default_attach_method from appliance to libvirt if the distro kernel includes virtio-scsi. This is true for 12.2+ In 12.1 and older the attach_method remains appliance. The reason for this change is the creation of XML for libvirt, which is cumbersome for virtio-blk. - make appliance optional when using libvirt as attach-method - disable hivex and zerofree when building for SLES11 - Update to version 1.19.48 - make zerofree optional in the spec file - remove obsolete virt-list-filesystems, virt-list-partitions and virt-tar comamnds - add local patches to copy symlinks with mkinitrd (bnc#778149) - add mount.ntfs and mount.fuse to initrd - Update to version 1.19.44 - update virtio-blk patch to force vda in libguestfs-test-tool - update mount-rootfs-and-do-chroot.sh, avoid bind mount errors - Update to version 1.19.43 - reorder debug output in /init script, print partitions last - mention mount-rootfs-and-do-chroot.sh in rescue message - add mkdir, mount, chroot, umount to initrd command list, for 11.4 - use ttyS0 for setctsid if /proc/consoles does not exist - enable augeas unconditionally also for sles11 - add augeas-lenses to BuildRequires in 11.4+ and package it in initrd, for virt-inspector - Update to version 1.19.42 - move BuildRequires for subpackages into the subpackage section - move Requires to guestfs-tools - Use perl_requires macro in guestfs-tools - add Requires libguestfs0 to libguestfs-devel to fix rpmlint warning - fix rpmlint warnings about shlib-policy-missing-lib: move files from libguestfs to guestfs-tools rename libguestfs-guestfsd to guestfsd rename libguestfs-doc to guestfs-doc rename libguestfs-data to guestfs-data - force virtio-blk usage only if the guest kernel has no virtio-scsi - delete unused perl script without executable permissions to fix rpmlint warning - delete empty perl bootstrap files to fix rpmlint warning - adjust Summary of libguestfs0 to fix rpmlint warning - show missing_commands only in verbose mode - add jfsutils and reiserfs to BuildRequires to reduce number of missing_commands - add chroot helper for virt-rescue, Bug 674684 - mount-rootfs-and-do-chroot.sh - create /selinux in initrd, guestfsd tries to bind mount it into the guest - copy terminfo files so that backspace works in screen - run the rescue shell with setctsid so that it gets a controlling tty - move all modules, except dm-mod, to udevmodules so that the are really loaded on demand - include sparsify from zerofree.rpm, and strace in initrd - use perl_gen_filelist to avoid packaging the "auto" directory - this leads to build errors in SLE_11 repo - perl_gen_filelist tries to package everything, remove all non-perl files from list to avoid duplicate files - Update to version 1.19.40 - move additional modules to mkinitrd to prevent loading everything, rely on autoloading instead - add also nls modules, remove ecrypt - Update to version 1.19.39 - add also btrfs and ext4 - surprise: filesystem modules are required to mount a filesystem: 9p cramfs ecryptfs ext2 ext3 fat fuse hfs hfsplus jfs minix ncpfs nfs quota reiserfs squashfs squashfs3 udf ufs xfs - remove obsolete libguestfs-1.13.14-without-hivex.patch - Update to version 1.19.38 - correct assignment for additional external commands - actually enable the code to force virtio_blk - add also the fsck.* commands because guestfsd can not provide such a list - run format_specfile - add dosfstools for mkfs.vfat/msdos - move all BuildRequires for the initrd into the subpackage section - add patch to force virtio_blk or virtio_scsi via environment variable - update Group of ocaml-libguestfs-devel to fix rpmlint warning - provide fixed list of mkfs subcommands because guestfsd can not export such list - create /sysroot directory in initrd, guestfsd relies on it - show more /proc/entries using head(1) - add missing perl Requires, they are not automatically added at build time - remove the LD_RUN_PATH patch The same result can appearently achieved by passing an empty LD_RUN_PATH to make - quote % in awk regex to avoid potential errors - use perl macro to remove unwanted files from buildroot - Reduce number of rpmlint warnings: update Group of doc and devel subpackage update Summary and description of perl, python and ruby bindings trim description of ruby bindings - update perl(Pod::Simple::XHTML) BuildRequires, and comment - add hack to force virtio_blk instead of virtio_scsi - because 12.1 and older kernels do not have virtio_scsi yet - enable BuildRequires: perl(Win::Hivex) - use versioned obsoletes to avoid self-obsoletes - move guestfsd to subpackage libguestfs-guestfsd - enable BuildRequires: perl(String::ShellQuote) - move ocaml files to ocaml-libguestfs and ocaml-libguestfs-devel - rename subpackage libguestfs-python to python-libguestfs - rename subpackage libguestfs-perl to perl-Sys-Guestfs - Update to version 1.19.37 - reenable ruby bindings, apply patch to fix failure in 11.4 and 12.1 happens to work in sles11sp2 and 12.2 for some reason - remove Version from libguestfs-data package, not needed. - remove Requires from libguestfs-data package, not needed either. - remove libguestfs.perl.install_vendor.patch INSTALLDIRS=vendor can be used to select a different dir (from Fedora libguestfs.spec) - fix module loading, they have to be listed in a single line - include magic files for file - add iproute2 for ip command - add workaround for copying symlinks in mkinitrd (bnc#778149) - run mkinitrd with bash -x as a debugging aid - add ntfs-3g - remove compress - add more packages to BuildRequires to reduce number of missing_commands - Update to version 1.19.36 Add patch to collect a list of all called binaries from guestfsd - patch mkinitrd to copy links (bnc#778149) - sort modules and programs in initrd - add blockdev from util-linux to initrd - build with parted, for virt-alignment-scan - use final filename for initrd and vmlinuz to simplify copying from build chroot - Update to version 1.19.35 disable java remove kvm and qemu from BuildRequires, the path to qemu-kvm can be passed to configure - remove buildtime dependency of kvm - build appliance as initramfs image with the help of mkinitrd - enable and install the guestfs daemon - build with attr-devel - build with file-devel - build with augeas in openSUSE 11.4 and later - build with libconfig in openSUSE 12.2 and later - split perl patch libguestfs-1.19.30.patch into libguestfs.perl.install_vendor.patch and libguestfs.perl.no-rpath.patch Both are needed in upcoming versions - remove obsolete patches libguestfs-1.13.14-disable-erlang.patch libguestfs-1.13.14-no-machine.patch libguestfs-1.13.14-provided-appliance.patch - Update to version 1.19.34 enable fuse support - require at least kvm 1.1 at runtime - Update to version 1.19.32 - package ocaml directory to fix build - enable ocaml for sparsify - Require kvm, to get /usr/bin/qemu-kvm - move devel man pages to devel package - force usage of Pod::Simple::XHTML from this project to fix build in 11.4 - run /usr/lib/obs/service/format_spec_file - disable qemu test. If the package is built within kvm the configure test will fail because it starts kvm within kvm - require Pod::Simple::XHTML for podwrapper.pl - add more groups to enable sles11 build - Add Group: Documentation to fix build in sles11 - RPM_OPT_FLAGS can not be used with configure macro, use CFLAGS instead - remove libguestfs.files reference - disable ruby, uses -Wl,-R - build with -Wno-unused - touch file list - Update to version 1.19.30 move python, perl and ruby bindings to extra package - ExclusiveArch x86 - fix filelist to build on sles11 - disabling dependencies not present in Factory * will enable them once they will be available - shrinking virtual image - making virtual machine data dependent on libguestfs - enabling more dependencies (fuse, hivex, libconfig) - providing ruby bindings - Initial package (version 1.13.14) * no bindings yet * no fuse * no febootstrap * sample virtual machine included ==== manpages-l10n ==== Version update (4.10.0 -> 4.11.0) Subpackages: man-pages-cs man-pages-da man-pages-de man-pages-es man-pages-fr man-pages-it man-pages-pl man-pages-pt_BR - Update to version 4.11.0: * Enable Hungarian translation. * Updated and added many translations.