SHA256
1
0
forked from pool/libguestfs

49 Commits

Author SHA256 Message Date
d2c5872ae9 Accepting request 1297831 from Virtualization
Fix for bsc#1247578 dropping use of initviocons

OBS-URL: https://build.opensuse.org/request/show/1297831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=126
2025-08-06 12:34:05 +00:00
Charles Arnold
c10d93d043 Trivial comment change
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=636
2025-08-05 20:23:12 +00:00
Charles Arnold
e13f288cc0 - bsc#1247578 - [glibc2.42] initviocons fails to build
drop-initviocons-from-package-list.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=635
2025-08-05 20:14:42 +00:00
cbdd2b71f3 Accepting request 1288363 from Virtualization
Update libguestfs to version 1.56.1. Only build the libguestfs-inspect-icons RPM on Tumbleweed.

OBS-URL: https://build.opensuse.org/request/show/1288363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=125
2025-06-26 09:37:08 +00:00
Charles Arnold
c633ee3b82 - Update to version 1.56.1 (jsc#PED-12706)
* lib: Enable ACPI for the libvirt backend for x86_64 and arm

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=633
2025-06-24 17:57:47 +00:00
Charles Arnold
4e392f0277 - Only build the inspect-icons RPM for Tumbleweed. Tumbleweed is
the only place where icoutils package exists which it requires.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=632
2025-06-24 17:52:37 +00:00
Charles Arnold
8d0579558f Remove debug code
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=631
2025-06-16 15:28:48 +00:00
26ca57a959 Accepting request 1285463 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1285463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=124
2025-06-13 16:47:47 +00:00
Charles Arnold
49cdc75450 Drop gzip mtime from base.tar.gz (bsc#1216986)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=629
2025-06-13 11:45:39 +00:00
dfda96d0ef Accepting request 1284945 from Virtualization
Update libguestfs to version 1.56.0. Fix bsc#1216986 for reproducible builds.

OBS-URL: https://build.opensuse.org/request/show/1284945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=123
2025-06-12 13:53:01 +00:00
Charles Arnold
298b7e0072 Adjustment to changelog
* For a complete list of changes and bug fixes see,
    https://libguestfs.org/guestfs-release-notes-1.56.1.html

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=627
2025-06-11 20:46:18 +00:00
Charles Arnold
6ea7584bea - Update to version 1.56.0 (jsc#PED-12706)
* Add support for Windows 2025 (thanks Ming Xie).
  * Add support for TencentOS (Denise Cheng).
  * Inspection of Ubuntu 22+ guests that use a split /usr
    configuration now works properly (thanks Jaroslav Spanko,
    Daniel Berrange).
  * Inspecting guests that have duplicated root mountpoints now
    works.
  * Inspection of SUSE Linux guests using btrfs snapshots now
    ignores snapshots that mirror content in the root filesystem
    (thanks Ming Xie).
  * Inspection of SUSE Linux >= 15 now returns the correct osinfo
    short name (eg. "sle15") (thanks Ming Xie).
  * New command_out and sh_out APIs which allow you to capture
    output from guest commands that generate more output than the
    protocol limit allows.
  * New btrfs_scrub_full API which runs a full Btrfs scrub,
    synchronously. It works more like fsck for other filesystems.
  * The fstrim API has been modified to work around several issues
    in upstream and RHEL 9 kernels related to XFS support (Eric
    Sandeen, Dave Chinner).
  * The existing e2fsck API has a new FORCENO option enabling use
    of the command line -n flag.
  * json-c is now required. This replaces Jansson which was
    previously used for parsing JSON input files.
  * OCaml ≥ 4.08 is now required.
  * When using ./configure --disable-daemon we no longer require
    augeas and hivex (thanks Mohamed Akram).
  * zfs-fuse support has been dropped. The project is unmaintained
    upstream (thanks Paul Bolle, Gwyn Ciesla, Timothée Ravier).

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=626
2025-06-11 20:29:30 +00:00
Charles Arnold
623a4540f6 - Update to version 1.55.14 (jsc#PED-12706)
* lib/create.c: Capture and raise qemu-img stderr
  * inspection: Ignore btrfs snapshots of roots
- Drop patches contained in new tarball
  004-Add-more-debugging-to-list_filesystems.patch
  005-Pipeline-style-when-mapping-and-filtering-filesystems.patch
  007-inspection-Ignore-btrfs-snapshots-of-roots.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=625
2025-06-06 17:21:28 +00:00
02f8f22696 Accepting request 1281953 from Virtualization
Upstream patches to fix how BTRFS based images (SLES and openSUSE) are handled

OBS-URL: https://build.opensuse.org/request/show/1281953
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=122
2025-06-02 20:01:31 +00:00
Charles Arnold
7da0e53adb - Adjustment to use fusermount3 when fuse3 is required by distro.
use-fuse3-for-build.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=623
2025-05-29 22:06:29 +00:00
Charles Arnold
8330283327 Use fusermount3 when fuse3 is required.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=622
2025-05-29 21:40:48 +00:00
Charles Arnold
96a7acd34c - Upstream bug fix for BTRFS based images (SLES and openSUSE)
004-Add-more-debugging-to-list_filesystems.patch
  005-Pipeline-style-when-mapping-and-filtering-filesystems.patch
  007-inspection-Ignore-btrfs-snapshots-of-roots.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=621
2025-05-28 16:02:51 +00:00
3b869f4ae0 Accepting request 1280654 from Virtualization
Fix for bsc#1243351 - guestfs-appliance still requires ISC dhcp

OBS-URL: https://build.opensuse.org/request/show/1280654
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=121
2025-05-27 16:44:32 +00:00
Charles Arnold
a0cc415e8c Conditionally replace usage of dhcp-client with dhcpcd in
libguestfs.spec

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=619
2025-05-27 15:02:52 +00:00
Charles Arnold
3cb58ed2de Conditionally use dhcpcd over dhcp-client
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=618
2025-05-27 14:51:43 +00:00
Charles Arnold
0cd390a231 - bsc#1243351 - guestfs-appliance still requires ISC dhcp
Replace usage of dhcp-client with dhcpcd in libguestfs.spec

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=617
2025-05-27 14:44:56 +00:00
f4a9c30f65 Accepting request 1279328 from Virtualization
Update libguestfs to version 1.55.13. This version required for virt-v2v 2.7.16.

OBS-URL: https://build.opensuse.org/request/show/1279328
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=120
2025-05-23 12:31:07 +00:00
3b0dc53299 Accepting request 1278885 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1278885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=119
2025-05-22 14:55:41 +00:00
Charles Arnold
fd00bb0a2b - Update to version 1.55.13 (jsc#PED-12706)
* appliance: Remove zfs-fuse
  * Various updates to common submodule
  * ocaml-dep.sh.in: Remove mlgettext subdirectory
  * New API: Replace btrfs-fsck with btrfs-scrub-full
  * daemon: Implement e2fsck -n flag (as FORCENO option)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=614
2025-05-21 11:44:43 +00:00
Charles Arnold
d000599b93 - Update to version 1.55.11 (jsc#PED-12706)
* daemon/fstrim.c: Run the fstrim command twice
  * lib/create.c: Fix check after BLKDISCARD
  * daemon: inspect: Remove duplicate root mountpoints in /etc/fstab

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=613
2025-05-13 20:14:14 +00:00
99b5200b11 Accepting request 1277117 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1277117
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=118
2025-05-13 18:05:32 +00:00
Charles Arnold
934905d7f4 - Use FUSE3 starting with suse_version 1600 (aka CODE16): Release
CODE16 from the beginning without relying on FUSE 2.
- Do not add the patch conditionally to the .src.rpm, but only
  apply the patch conditionally: allows to reuse src.rpm across
  codestreams.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=611
2025-05-13 12:00:21 +00:00
Charles Arnold
d16cd16953 Only use fuse3 on Tumbleweed. Everything else stays with fuse2.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=610
2025-05-03 03:49:45 +00:00
Charles Arnold
4eb42f440a - bsc#1242082 - libguestfs: migration to fuse 3 and deprecation of
fuse (1)
  use-fuse3-for-build.patch
- Update to version 1.55.10 (jsc#PED-8910)
  * mltools: decouple and simplify osinfo device support checks
  * mlcustomize: disable `--inject-virtio-win osinfo`
  * mltools: Fix de-oUnit-ized tests
  * mltools: Unreference various objects
  * Revert "mltools: Unreference various objects"
  * generator: Implement struct FDevice type
  * mltools: Fix memory leak in OCaml binding of libosinfo
  * mlstdutils: Implement String.implode
  * daemon: Rewrite {pvs,vgs,lvs}-full APIs in OCaml
  * daemon: inspect: Resolve Ubuntu 22+ /dev/disk/by-id/dm-uuid-LVM-... in fstab
  * Various build improvements
  * daemon/fstrim.c: Issue sync_disks after fstri

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=609
2025-05-01 21:08:28 +00:00
f7a821edce Accepting request 1266967 from Virtualization
Update libguestfs to version 1.55.8

OBS-URL: https://build.opensuse.org/request/show/1266967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=117
2025-04-04 15:30:12 +00:00
Charles Arnold
2ac1438f53 Fix mispelled translations in changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=607
2025-04-03 21:10:43 +00:00
Charles Arnold
e6ed719757 - Update to version 1.55.8 (jsc#PED-8910)
* Various build improvements
  * Updated transations for several languages
  * lib/launch-libvirt.c: Remove fallback <emulator> for Arm

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=606
2025-04-03 21:06:51 +00:00
Charles Arnold
7cc766c3dd Minor spec file adjustment to exclude sysconfig-netconfig from sle16 and newer
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=605
2025-04-03 17:44:32 +00:00
6445be34f3 Accepting request 1265262 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1265262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=116
2025-03-31 09:40:57 +00:00
Charles Arnold
500aa1e5c7 - libguestfs-appliance: drop incorrect requireson libpcre1,
package was converted to pcre2 by 1.44.2

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=603
2025-03-28 17:33:05 +00:00
112b8eab94 Accepting request 1252579 from Virtualization
Update libguestfs to version 1.55.7

OBS-URL: https://build.opensuse.org/request/show/1252579
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=115
2025-03-13 14:06:39 +00:00
Charles Arnold
e68fea7a12 - Update to version 1.55.7 (jsc#PED-8910)
* libguestfs: Rust binding build error and warning fixes
  * support TencentOS
  * lib: Print kernel utsname in debug output
  * daemon: Fix loongarch64 detection on RHEL 9

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=601
2025-03-12 19:39:20 +00:00
eed68c2a6b Accepting request 1247499 from Virtualization
Update libguestfs to version 1.55.6

OBS-URL: https://build.opensuse.org/request/show/1247499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=114
2025-02-20 21:35:12 +00:00
Charles Arnold
cffce95202 - Update to version 1.55.6 (jsc#PED-8910)
* ruby: Make sure all object files are cleaned up
  * daemon: New command_out and sh_out APIs

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=599
2025-02-19 17:10:15 +00:00
Charles Arnold
49b2a088b5 - Update to version 1.55.5 (jsc#PED-8910)
* appliance: add dhcpcd support on Debian
  * appliance: add support for sfdisk on Debian
  * mlcustomize, mltools: Replace $TEST_FUNCTIONS

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=598
2025-02-18 16:32:05 +00:00
Charles Arnold
b678bb1267 - Update to version 1.55.4 (jsc#PED-8910)
* appliance/init: Fix /usr/sbin symlinks in Fedora 42+
  * Various translation updates

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=597
2025-02-12 22:37:12 +00:00
1bc5823a80 Accepting request 1241512 from Virtualization
Update libguestfs to version 1.55.3

OBS-URL: https://build.opensuse.org/request/show/1241512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=113
2025-01-31 15:04:29 +00:00
Charles Arnold
cef46cf35d - Update to version 1.55.3 (jsc#PED-8910)
* build: Move baseline OCaml to 4.08
  * Various translation updates

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=595
2025-01-30 17:35:34 +00:00
11b1819b76 Accepting request 1235234 from Virtualization
Update libguestfs to version 1.55.2

OBS-URL: https://build.opensuse.org/request/show/1235234
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=112
2025-01-07 19:52:31 +00:00
Charles Arnold
b0d567393a - Update to version 1.55.2 (jsc#PED-8910)
* lib/inspect-osinfo.c: Add Windows Server 2025 osinfo
  * appliance: Use stable owner, group and mtime in appliance
    tarballs
  * mltools: Replace jansson with json-c
  * lib/info.c: Replace jansson with json-c
  * lib/qemu.c: Replace jansson with json-c
  * lib: direct: Remove test for qemu mandatory locking
  * Various language translations
  * Fix dhcpcd failing on systemd-resolved stub
  * mlcustomize: Add heuristic support for Windows Server 2025
  * mlcustomize/customize_run.ml: Move 'in' to new line
  * mlstdutils/guestfs_config: Define host_os
  * mlcustomize, mltools: Check guest OS is compatible before
    allowing --run
  * generator: Remove common/mlv2v/uefi.ml{,i} files
  * qemuopts: Add ability to add raw, unquoted output to qemu
    scripts
  * qemuopts: Fix missing break statement
  * mlstdutils: Remove Option module
  * Remove test for caml_alloc_initialized_string
  * build: Move baseline OCaml to 4.08

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=593
2025-01-03 22:42:14 +00:00
35ab6dbaf5 Accepting request 1208864 from Virtualization
No code change. Add back a dropped bug number in a comment.

OBS-URL: https://build.opensuse.org/request/show/1208864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=111
2024-10-18 13:59:42 +00:00
Charles Arnold
f06eb3bdd8 Add missing bug number in comment bsc#1223444. No code change.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=591
2024-10-18 12:27:50 +00:00
21e94e5cc7 Accepting request 1206709 from Virtualization
Update libguestfs to version 1.54.0

OBS-URL: https://build.opensuse.org/request/show/1206709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=110
2024-10-10 20:14:59 +00:00
Charles Arnold
67ae6de24e - Update to version 1.54.0 (jsc#PED-8910)
* Add detection of Circle Linux (Bella Zhang).
  * Add support for LoongArch (liuxiang).
  * Add detection of Kylin (grass-lu).
  * Add detection of openEuler (Wang Guoquan).
  * PARTUUID and PARTLABEL are now resolved in guest /etc/fstab.
  * New APIs findfs_partuuid and findfs_partlabel. These can be
    used to efficiently look up a filesystem by its GPT partition
    UUID or label.
  * Support for the following inactive or infrequently used device
    types has been removed: Gluster, Sheepdog, TFTP.
  * Add GOST R34.11-94 message digest algorithm to checksum APIs
    (Alexey Shabalin).
  * Allow nbd+unix:// URIs (NBD over Unix domain socket) in
    guestfish and other places.
  * Various part_* (partition) APIs related to GPT have been
    reimplemented to use util-linux sfdisk instead of sgdisk.
    Util-linux is more widely available, so this reduces
    dependencies in the common case. One optional API remains that
    still uses sgdisk. (Thanks Yongkui Guo).
  * Add cipher suboption to cryptsetup_open (Jonatan Pålsson).
  * Because of a bug, the part_get_gpt_attributes API could
    truncate the return value from 64 to 32 bits. This has been
    fixed.
  * Libguestfs will now no longer recommend using
    LIBGUESTFS_BACKEND=direct. This was shown previously when
    libvirt failed to start the appliance. However it is felt that
    this now does more harm than good.
  * Fix generation of virt-customize --chown parameter (Yongkui Guo)
  * In the appliance, reduce boot time when dhcp isn't needed

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=589
2024-10-10 13:30:33 +00:00
10 changed files with 561 additions and 31 deletions

View File

@@ -0,0 +1,15 @@
References: bsc#1247578
initviocons is no longer maintained. This patch changes the SUSE section
of the packagelist file and should eventually go upstream.
--- libguestfs-1.56.1/appliance/packagelist.in.orig 2025-08-05 13:57:20.993985224 -0600
+++ libguestfs-1.56.1/appliance/packagelist.in 2025-08-05 13:57:27.041985375 -0600
@@ -135,7 +135,6 @@ ifelse(SUSE,1,
dhcp-client
glibc-locale
gptfdisk
- initviocons
iproute2
iputils
ntfsprogs

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0f21322023cacfac04902096f389793a045d818f955404888953f2d78ccecd7
size 19084237

View File

@@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJFBAABCAAvFiEE93dPsa0HSn6Mh2fqkXOPc+G3aKAFAma/YloRHHJpY2hAYW5u
ZXhpYS5vcmcACgkQkXOPc+G3aKDs5A//dEgzW/mjrxNjR/EdH9pPGE/xmhB7XbPz
2hNUP0GF2JnFBt104MRmuexivpFGvJHAt94DrVIikM41X0VO1yBStKDHqWYS1EWx
OyK7Lq5T1uxTnt3CTHmzve6MmiVwIZXC+BVOWfUcDZHtLufYwZE0HQQVe4IccaqM
rEfmKA12CDW0ZrtsYIZ+XYZTmSMNuuZ4/2l4IzaZnboCCyaOJOihwqGxDRFDMehb
1KFDX2s7IOOC6dx4wTFE954HSzQu4Xu3HlIznlVw6Vh51fJsC63VMU/QNOARsVVt
X9fo0zJS2zbja4q3xJ4c7v0mH1AYAmxfrOiD7eplQllsYKTjUSjd9B2BWjB99B+p
liki07SoEjOTuQanCsN+HGHTwjHqe/NkuFzmy3zONA5FeTYrslNWFLgtXL26LlAc
lcglwE7KFT+YEmEjbq0aSL1ofca6W9dX7AiQdtI0TD4NOkQZD5B4gFfpGBaWQWSh
XnYJIbVg7C/fN/46n1Bv773MI58kYleTvh1xsIf858CH10FG19aIXQIGy5iQ8/iQ
YyzzEGjvm5w/B6LC4NC8C5nqHQuRD0rHUac6EIiL8z0twx6wf+aPKH2LpvCRBDyp
sYTmC/mhXYiISWycNakzlTV4tq87fVZZosHMIki+/z6jxvUrjMzmWh8LfNH2hjJj
sb0ibmtllDk=
=okef
-----END PGP SIGNATURE-----

BIN
libguestfs-1.56.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJFBAABCgAvFiEE93dPsa0HSn6Mh2fqkXOPc+G3aKAFAmhQPkcRHHJpY2hAYW5u
ZXhpYS5vcmcACgkQkXOPc+G3aKBzGBAAnhwMRwtiYaw94nMMhZA+896zxzBDi6Wx
YhWiJ7wrlgx7qchP21Y+As4mz5ldDeiFFsFMXXuIBz2m+G73yM1EGbcwxYlpWV+h
bSBca5Vd14WFAVX497fWTzcz3UXAvkYmqLJqCliSJ4BdnCuTcCoKK4+sl/F0kwXe
F2x0YNaUxCMiuscFhmLIkz1r+RDUyuQfCeb+ilkkdsd+Gugq42CkW5kLxCfy/dn7
gSyj/oaYIaE2bsYW39EKXuJX1qb4DlmwZa8JUsYsi9uZGQbwH+gka9XkKVvbSd6Q
s7q68xl3DIna7rfIrnLdf/OGcwmPQ0U02Yhfam7tM/4FY2t5hBOSCahBSrZVfuQt
Q/QXpXiYzoD/nmgUNHgFqgN1kgm22E/qaqwwbKf6k412NDfF+Ez84sZHCcgJH+LR
/eJrp7lde74QxGervdQ5dYmwNBuv5IPrRJA2kWv97wVDqaOlMgpjpmYNTFyxppZm
9H2NyI8x+jSZ9KQT0vEjIWpe3Yr5l0zUkLLzLoD7t0DcxTZGVIeHV7n8ITLlK0dH
Ki/BmkWqs2p39Izv7IWWBlRV/URVxW5zK4zEvRtTQtFidlaRqAy5oWUrARnmO4Te
sT7Y7ZQss9ZJkcz3JF9lh27JCvD4aRW62y4n2zreq7FXPA67YjbsMJ43BLQ7Gek2
I0nROw3mmHw=
=OxmC
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,265 @@
-------------------------------------------------------------------
Tue Aug 5 13:58:45 MDT 2025 - carnold@suse.com
- bsc#1247578 - [glibc2.42] initviocons fails to build
drop-initviocons-from-package-list.patch
-------------------------------------------------------------------
Tue Jun 24 10:59:19 MDT 2025 - carnold@suse.com
- Update to version 1.56.1 (jsc#PED-12706)
* lib: Enable ACPI for the libvirt backend for x86_64 and arm
- Only build the inspect-icons RPM for Tumbleweed. Tumbleweed is
the only place where icoutils package exists which it requires.
-------------------------------------------------------------------
Fri Jun 13 06:40:24 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Drop gzip mtime from base.tar.gz (bsc#1216986)
-------------------------------------------------------------------
Wed Jun 11 13:37:01 MDT 2025 - carnold@suse.com
- Update to version 1.56.0 (jsc#PED-12706)
* Add support for Windows 2025 (thanks Ming Xie).
* Add support for TencentOS (Denise Cheng).
* Inspection of Ubuntu 22+ guests that use a split /usr
configuration now works properly (thanks Jaroslav Spanko,
Daniel Berrange).
* Inspecting guests that have duplicated root mountpoints now
works.
* Inspection of SUSE Linux guests using btrfs snapshots now
ignores snapshots that mirror content in the root filesystem
(thanks Ming Xie).
* Inspection of SUSE Linux >= 15 now returns the correct osinfo
short name (eg. "sle15") (thanks Ming Xie).
* New command_out and sh_out APIs which allow you to capture
output from guest commands that generate more output than the
protocol limit allows.
* New btrfs_scrub_full API which runs a full Btrfs scrub,
synchronously. It works more like fsck for other filesystems.
* The fstrim API has been modified to work around several issues
in upstream and RHEL 9 kernels related to XFS support (Eric
Sandeen, Dave Chinner).
* The existing e2fsck API has a new FORCENO option enabling use
of the command line -n flag.
* json-c is now required. This replaces Jansson which was
previously used for parsing JSON input files.
* OCaml ≥ 4.08 is now required.
* When using ./configure --disable-daemon we no longer require
augeas and hivex (thanks Mohamed Akram).
* zfs-fuse support has been dropped. The project is unmaintained
upstream (thanks Paul Bolle, Gwyn Ciesla, Timothée Ravier).
* Fix compatibility with GNU gettext 0.25.
* Fix dhcpcd failing on systemd-resolved stub (Thomas Wouters).
* Add support for dhcpcd and sfdisk on Debian (Daniel Gomez).
* Print the kernel utsname in debug output.
* We no longer emit a false warning about BLKDISCARD when
creating a block device.
* If qemu-img(1) commands fail during snapshot creation, make
sure we capture and print stderr from the qemu command (Cole
Robinson).
* For a complete list of changes and bug fixes see,
https://libguestfs.org/guestfs-release-notes-1.56.1.html
- bsc#1216986 - libguestfs: embeds /etc/hosts
reproducible-builds.patch
-------------------------------------------------------------------
Fri Jun 6 11:18:27 MDT 2025 - carnold@suse.com
- Update to version 1.55.14 (jsc#PED-12706)
* lib/create.c: Capture and raise qemu-img stderr
* inspection: Ignore btrfs snapshots of roots
- Drop patches contained in new tarball
004-Add-more-debugging-to-list_filesystems.patch
005-Pipeline-style-when-mapping-and-filtering-filesystems.patch
007-inspection-Ignore-btrfs-snapshots-of-roots.patch
-------------------------------------------------------------------
Wed May 28 09:50:06 MDT 2025 - carnold@suse.com
- Upstream bug fix for BTRFS based images (SLES and openSUSE)
004-Add-more-debugging-to-list_filesystems.patch
005-Pipeline-style-when-mapping-and-filtering-filesystems.patch
007-inspection-Ignore-btrfs-snapshots-of-roots.patch
- Adjustment to use fusermount3 when fuse3 is required by distro.
use-fuse3-for-build.patch
-------------------------------------------------------------------
Tue May 27 08:43:54 MDT 2025 - carnold@suse.com
- bsc#1243351 - guestfs-appliance still requires ISC dhcp
Conditionally replace usage of dhcp-client with dhcpcd in
libguestfs.spec
-------------------------------------------------------------------
Wed May 21 05:42:04 MDT 2025 - carnold@suse.com
- Update to version 1.55.13 (jsc#PED-12706)
* appliance: Remove zfs-fuse
* Various updates to common submodule
* ocaml-dep.sh.in: Remove mlgettext subdirectory
* New API: Replace btrfs-fsck with btrfs-scrub-full
* daemon: Implement e2fsck -n flag (as FORCENO option)
-------------------------------------------------------------------
Tue May 13 11:48:35 MDT 2025 - carnold@suse.com
- Update to version 1.55.11 (jsc#PED-12706)
* daemon/fstrim.c: Run the fstrim command twice
* lib/create.c: Fix check after BLKDISCARD
* daemon: inspect: Remove duplicate root mountpoints in /etc/fstab
-------------------------------------------------------------------
Mon May 12 14:17:21 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Use FUSE3 starting with suse_version 1600 (aka CODE16): Release
CODE16 from the beginning without relying on FUSE 2.
- Do not add the patch conditionally to the .src.rpm, but only
apply the patch conditionally: allows to reuse src.rpm across
codestreams.
-------------------------------------------------------------------
Wed Apr 30 14:41:53 MDT 2025 - carnold@suse.com
- bsc#1242082 - libguestfs: migration to fuse 3 and deprecation of
fuse (1)
use-fuse3-for-build.patch
- Update to version 1.55.10 (jsc#PED-8910)
* mltools: decouple and simplify osinfo device support checks
* mlcustomize: disable `--inject-virtio-win osinfo`
* mltools: Fix de-oUnit-ized tests
* mltools: Unreference various objects
* Revert "mltools: Unreference various objects"
* generator: Implement struct FDevice type
* mltools: Fix memory leak in OCaml binding of libosinfo
* mlstdutils: Implement String.implode
* daemon: Rewrite {pvs,vgs,lvs}-full APIs in OCaml
* daemon: inspect: Resolve Ubuntu 22+ /dev/disk/by-id/dm-uuid-LVM-... in fstab
* Various build improvements
* daemon/fstrim.c: Issue sync_disks after fstri
-------------------------------------------------------------------
Thu Apr 3 15:04:42 MDT 2025 - carnold@suse.com
- Update to version 1.55.8 (jsc#PED-8910)
* Various build improvements
* Updated translations for several languages
* lib/launch-libvirt.c: Remove fallback <emulator> for Arm
-------------------------------------------------------------------
Mon Mar 24 21:17:18 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- libguestfs-appliance: drop incorrect requireson libpcre1,
package was converted to pcre2 by 1.44.2
-------------------------------------------------------------------
Wed Mar 12 13:37:32 MDT 2025 - carnold@suse.com
- Update to version 1.55.7 (jsc#PED-8910)
* libguestfs: Rust binding build error and warning fixes
* support TencentOS
* lib: Print kernel utsname in debug output
* daemon: Fix loongarch64 detection on RHEL 9
-------------------------------------------------------------------
Wed Feb 19 10:08:10 MST 2025 - carnold@suse.com
- Update to version 1.55.6 (jsc#PED-8910)
* appliance: add dhcpcd support on Debian
* appliance: add support for sfdisk on Debian
* mlcustomize, mltools: Replace $TEST_FUNCTIONS
* ruby: Make sure all object files are cleaned up
* daemon: New command_out and sh_out APIs
-------------------------------------------------------------------
Wed Feb 12 15:34:38 MST 2025 - carnold@suse.com
- Update to version 1.55.4 (jsc#PED-8910)
* appliance/init: Fix /usr/sbin symlinks in Fedora 42+
* Various translation updates
-------------------------------------------------------------------
Thu Jan 30 10:29:58 MST 2025 - carnold@suse.com
- Update to version 1.55.3 (jsc#PED-8910)
* build: Move baseline OCaml to 4.08
* Various translation updates
-------------------------------------------------------------------
Fri Jan 3 14:09:24 MST 2025 - carnold@suse.com
- Update to version 1.55.2 (jsc#PED-8910)
* lib/inspect-osinfo.c: Add Windows Server 2025 osinfo
* appliance: Use stable owner, group and mtime in appliance
tarballs
* mltools: Replace jansson with json-c
* lib/info.c: Replace jansson with json-c
* lib/qemu.c: Replace jansson with json-c
* lib: direct: Remove test for qemu mandatory locking
* Various language translations
* Fix dhcpcd failing on systemd-resolved stub
* mlcustomize: Add heuristic support for Windows Server 2025
* mlcustomize/customize_run.ml: Move 'in' to new line
* mlstdutils/guestfs_config: Define host_os
* mlcustomize, mltools: Check guest OS is compatible before
allowing --run
* generator: Remove common/mlv2v/uefi.ml{,i} files
* qemuopts: Add ability to add raw, unquoted output to qemu
scripts
* qemuopts: Fix missing break statement
* mlstdutils: Remove Option module
* Remove test for caml_alloc_initialized_string
* build: Move baseline OCaml to 4.08
-------------------------------------------------------------------
Thu Oct 10 07:06:04 MDT 2024 - carnold@suse.com
- Update to version 1.54.0 (jsc#PED-8910)
* Add detection of Circle Linux (Bella Zhang).
* Add support for LoongArch (liuxiang).
* Add detection of Kylin (grass-lu).
* Add detection of openEuler (Wang Guoquan).
* PARTUUID and PARTLABEL are now resolved in guest /etc/fstab.
* New APIs findfs_partuuid and findfs_partlabel. These can be
used to efficiently look up a filesystem by its GPT partition
UUID or label.
* Support for the following inactive or infrequently used device
types has been removed: Gluster, Sheepdog, TFTP.
* Add GOST R34.11-94 message digest algorithm to checksum APIs
(Alexey Shabalin).
* Allow nbd+unix:// URIs (NBD over Unix domain socket) in
guestfish and other places.
* Various part_* (partition) APIs related to GPT have been
reimplemented to use util-linux sfdisk instead of sgdisk.
Util-linux is more widely available, so this reduces
dependencies in the common case. One optional API remains that
still uses sgdisk. (Thanks Yongkui Guo).
* Add cipher suboption to cryptsetup_open (Jonatan Pålsson).
* Because of a bug, the part_get_gpt_attributes API could
truncate the return value from 64 to 32 bits. This has been
fixed.
* Libguestfs will now no longer recommend using
LIBGUESTFS_BACKEND=direct. This was shown previously when
libvirt failed to start the appliance. However it is felt that
this now does more harm than good.
* Fix generation of virt-customize --chown parameter (Yongkui Guo)
* In the appliance, reduce boot time when dhcp isn't needed
(Olaf Hering).
* A deadlock in the appliance caused by a regression in Linux
6.11 has been worked around. The deadlock was also fixed in
Linux 6.12.
- Bug fixes
* Fix rare hangs while starting the appliance, at 'echo noop'
into /sys/block/{h,s,ub,v}d*/queue/scheduler
* Drop dependency from libguestfs -> gdisk
* libguestfs inspection does not know about /etc/fstab
PARTLABEL=<label>
* btrfs related c_api/tests are failing (unable to create quota
group: Invalid argument)
* Python how-to incorrect exception name
* Rust test 410_close_event fails
-------------------------------------------------------------------
Thu Aug 29 15:06:57 MDT 2024 - carnold@suse.com
@@ -63,6 +325,7 @@ Thu May 16 13:02:34 MDT 2024 - carnold@suse.com
Wed May 8 12:42:02 MDT 2024 - carnold@suse.com
- Set Recommends on zerofree and ntfsprogs for libguestfs-appliance
(bsc#1223444)
-------------------------------------------------------------------
Tue May 7 10:27:25 MDT 2024 - carnold@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package libguestfs
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
Name: libguestfs
ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64 riscv64
Version: 1.53.6
Version: 1.56.1
Release: 0
Summary: Access and modify virtual machine disk images
License: GPL-2.0-or-later
@@ -33,6 +33,9 @@ Source101: README
# Patches
Patch1: use-rtc-driftfix-slew-for-x86-only.patch
Patch2: reproducible-builds.patch
Patch3: drop-initviocons-from-package-list.patch
Patch100: use-fuse3-for-build.patch
BuildRequires: bison
BuildRequires: file-devel
@@ -41,6 +44,7 @@ BuildRequires: gawk
BuildRequires: gcc-c++
BuildRequires: gobject-introspection-devel
BuildRequires: gperf
BuildRequires: libjson-c-devel
BuildRequires: libtool
BuildRequires: ocaml-augeas-devel
BuildRequires: ocaml-hivex-devel
@@ -49,7 +53,7 @@ BuildRequires: po4a
BuildRequires: readline-devel
BuildRequires: supermin >= 5.1.18
BuildRequires: zstd
BuildRequires: ocaml(ocaml_base_version) >= 4.07
BuildRequires: ocaml(ocaml_base_version) >= 4.08
BuildRequires: ocamlfind(findlib)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Locale::TextDomain)
@@ -60,7 +64,11 @@ BuildRequires: perl(Pod::Usage)
BuildRequires: perl(Test::More)
BuildRequires: pkgconfig(augeas)
BuildRequires: pkgconfig(bash-completion)
%if 0%{?suse_version} >= 1600
BuildRequires: pkgconfig(fuse3)
%else
BuildRequires: pkgconfig(fuse)
%endif
BuildRequires: pkgconfig(hivex)
BuildRequires: pkgconfig(jansson)
BuildRequires: pkgconfig(libacl)
@@ -90,7 +98,11 @@ to: ext2/3/4, btrfs, FAT and NTFS, LVM, many different disk partition
schemes, qcow, qcow2, vmdk.
%prep
%autosetup -p1
%autosetup -N
%autopatch -p1 -M 99
%if 0%{?suse_version} >= 1600
%autopatch -p1 -m 100
%endif
sed -i 's|RPMVSF_MASK_NOSIGNATURES|_RPMVSF_NOSIGNATURES|' daemon/rpm-c.c
sed -i 's/tar zcf/tar -zcf/' appliance/Makefile.am
@@ -275,7 +287,11 @@ tar -czf %{buildroot}%{_libdir}/guestfs/supermin.d/zz-winsupport.tar.gz .
popd
cat > %{buildroot}%{_libdir}/guestfs/supermin.d/zz-packages-winsupport << EOF
%if 0%{?suse_version} >= 1600
libfuse3
%else
libfuse2
%endif
hwinfo
EOF
@@ -317,7 +333,11 @@ BuildRequires: bzip2
BuildRequires: coreutils
BuildRequires: cpio
BuildRequires: cryptsetup
%if 0%{?suse_version} < 1600
BuildRequires: dhcp-client
%else
BuildRequires: dhcpcd
%endif
BuildRequires: diffutils
BuildRequires: dosfstools
BuildRequires: e2fsprogs
@@ -327,7 +347,6 @@ BuildRequires: glibc
BuildRequires: gptfdisk
BuildRequires: grep
BuildRequires: gzip
BuildRequires: initviocons
BuildRequires: iproute2
BuildRequires: jfsutils
BuildRequires: ldmtool
@@ -344,7 +363,9 @@ BuildRequires: parted
BuildRequires: psmisc
BuildRequires: sg3_utils
BuildRequires: strace
%if 0%{?suse_version} < 1600
BuildRequires: sysconfig-netconfig
%endif
%ifarch %ix86 x86_64
BuildRequires: syslinux
%endif
@@ -367,12 +388,16 @@ BuildRequires: xz
# the appliance will fail to start the guestfsd.
Requires: augeas
Requires: augeas-lenses
%if 0%{?suse_version} < 1600
Requires: dhcp-client
%else
Requires: dhcpcd
%endif
Requires: libaugeas0
Requires: libcap2
Requires: libguestfs0
Requires: libhivex0
Requires: libpcre1
Requires: libpcre2-8-0
# For core disk features
Requires: qemu-tools
@@ -433,13 +458,12 @@ Requires: bash-completion >= 2.0
Install this package if you want intelligent bash tab-completion
for guestfish, guestmount and various virt-* tools.
%if 0%{?suse_version} >= 1699
%package inspect-icons
Summary: Additional dependencies for inspecting guest icons
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%if 0%{?suse_version} > 1500
Requires: icoutils
%endif
%description inspect-icons
%{name}-inspect-icons is a metapackage that pulls in additional
@@ -449,6 +473,7 @@ inspect non-Linux guests and display icons from them.
The only reason this is a separate package is to avoid core libguestfs
having to depend on Perl.
%endif
%package -n ocaml-%{name}
Summary: OCaml bindings for %{name}
@@ -648,8 +673,10 @@ for %{name}.
%{_datadir}/bash-completion/completions/virt-tar-in
%{_datadir}/bash-completion/completions/virt-tar-out
%if 0%{?suse_version} >= 1699
%files inspect-icons
# no files
%endif
%files -n ocaml-%{name} -f %name.files

16
reproducible-builds.patch Normal file
View File

@@ -0,0 +1,16 @@
References: bsc#1216986 - libguestfs: embeds /etc/hosts (also bsc#1237212)
Removes etc/hosts from base.tar.gz which will be different for each
build environment.
Index: libguestfs-1.56.0/appliance/Makefile.am
===================================================================
--- libguestfs-1.56.0.orig/appliance/Makefile.am
+++ libguestfs-1.56.0/appliance/Makefile.am
@@ -62,6 +62,7 @@ stamp-supermin: make.sh packagelist supe
supermin.d/hostfiles \
supermin.d/init.tar.gz \
supermin.d/udev-rules.tar.gz
+ gunzip supermin.d/base.tar.gz; tar --delete ./etc/hosts -f supermin.d/base.tar 2>/dev/null; gzip -n9 supermin.d/base.tar
touch $@
clean-supermin-appliance:

209
use-fuse3-for-build.patch Normal file
View File

@@ -0,0 +1,209 @@
References: bsc#1242082 - libguestfs: migration to fuse 3 and
deprecation of fuse (1)
See also spec file changes to use fuse3
Index: libguestfs-1.55.13/m4/guestfs-fuse.m4
===================================================================
--- libguestfs-1.55.13.orig/m4/guestfs-fuse.m4
+++ libguestfs-1.55.13/m4/guestfs-fuse.m4
@@ -21,7 +21,7 @@ AC_ARG_ENABLE([fuse],
[],
[enable_fuse=yes])
AS_IF([test "x$enable_fuse" != "xno"],[
- PKG_CHECK_MODULES([FUSE],[fuse],[
+ PKG_CHECK_MODULES([FUSE],[fuse3],[
AC_SUBST([FUSE_CFLAGS])
AC_SUBST([FUSE_LIBS])
AC_DEFINE([HAVE_FUSE],[1],[Define to 1 if you have FUSE.])
Index: libguestfs-1.55.13/lib/fuse.c
===================================================================
--- libguestfs-1.55.13.orig/lib/fuse.c
+++ libguestfs-1.55.13/lib/fuse.c
@@ -40,7 +40,7 @@
#define ENOATTR ENODATA
#endif
-#define FUSE_USE_VERSION 26
+#define FUSE_USE_VERSION 30
#include <fuse.h>
#include <fuse_lowlevel.h>
@@ -115,7 +115,7 @@ copy_xattr_list (guestfs_h *g, const str
static int
mount_local_readdir (const char *path, void *buf, fuse_fill_dir_t filler,
- off_t offset, struct fuse_file_info *fi)
+ off_t offset, struct fuse_file_info *fi, enum fuse_readdir_flags flags)
{
time_t now;
size_t i;
@@ -154,7 +154,7 @@ mount_local_readdir (const char *path, v
* not quite sure how this is ever supposed to work on large
* directories. XXX
*/
- if (filler (buf, ents->val[i].name, &stat, 0))
+ if (filler (buf, ents->val[i].name, &stat, 0, flags))
break;
}
@@ -250,7 +250,7 @@ mount_local_readdir (const char *path, v
}
static int
-mount_local_getattr (const char *path, struct stat *statbuf)
+mount_local_getattr (const char *path, struct stat *statbuf, struct fuse_file_info *fi)
{
const struct stat *buf;
CLEANUP_FREE_STAT struct guestfs_statns *r = NULL;
@@ -304,6 +304,7 @@ mount_local_access (const char *path, in
struct stat statbuf;
int r;
struct fuse_context *fuse;
+ struct fuse_file_info fi;
int ok = 1;
DECL_G ();
DEBUG_CALL ("%s, %d", path, mask);
@@ -311,7 +312,7 @@ mount_local_access (const char *path, in
if (g->ml_read_only && (mask & W_OK))
return -EROFS;
- r = mount_local_getattr (path, &statbuf);
+ r = mount_local_getattr (path, &statbuf, &fi);
if (r < 0 || mask == F_OK) {
debug (g, "%s: mount_local_getattr returned r = %d", path, r);
return r;
@@ -490,7 +491,7 @@ mount_local_symlink (const char *from, c
}
static int
-mount_local_rename (const char *from, const char *to)
+mount_local_rename (const char *from, const char *to, unsigned int flags)
{
int r;
DECL_G ();
@@ -528,7 +529,7 @@ mount_local_link (const char *from, cons
}
static int
-mount_local_chmod (const char *path, mode_t mode)
+mount_local_chmod (const char *path, mode_t mode, struct fuse_file_info *fi)
{
int r;
DECL_G ();
@@ -546,7 +547,7 @@ mount_local_chmod (const char *path, mod
}
static int
-mount_local_chown (const char *path, uid_t uid, gid_t gid)
+mount_local_chown (const char *path, uid_t uid, gid_t gid, struct fuse_file_info *fi)
{
int r;
DECL_G ();
@@ -564,7 +565,7 @@ mount_local_chown (const char *path, uid
}
static int
-mount_local_truncate (const char *path, off_t size)
+mount_local_truncate (const char *path, off_t size, struct fuse_file_info *fi)
{
int r;
DECL_G ();
@@ -582,7 +583,7 @@ mount_local_truncate (const char *path,
}
static int
-mount_local_utimens (const char *path, const struct timespec ts[2])
+mount_local_utimens (const char *path, const struct timespec ts[2], struct fuse_file_info *fi)
{
int r;
time_t atsecs, mtsecs;
@@ -1005,32 +1006,26 @@ guestfs_impl_mount_local (guestfs_h *g,
goto arg_error;
}
- debug (g, "%s: fuse_mount %s", __func__, localmountpoint);
-
- /* Create the FUSE mountpoint. */
- ch = fuse_mount (localmountpoint, &args);
- if (ch == NULL) {
- error (g, _("fuse_mount failed: %s, see error messages above"),
- localmountpoint);
- fuse_opt_free_args (&args);
- guestfs_int_free_fuse (g);
- return -1;
- }
-
- /* Set F_CLOEXEC on the channel. XXX libfuse should do this. */
- fd = fuse_chan_fd (ch);
- if (fd >= 0)
- set_cloexec_flag (fd, 1);
-
debug (g, "%s: fuse_new", __func__);
/* Create the FUSE handle. */
- g->fuse = fuse_new (ch, &args,
+ g->fuse = fuse_new (&args,
&mount_local_operations, sizeof mount_local_operations,
g);
if (!g->fuse) {
perrorf (g, _("fuse_new: %s"), localmountpoint);
- fuse_unmount (localmountpoint, ch);
+ fuse_opt_free_args (&args);
+ guestfs_int_free_fuse (g);
+ return -1;
+ }
+
+ debug (g, "%s: fuse_mount %s", __func__, localmountpoint);
+
+ /* Create the FUSE mountpoint. */
+ if (fuse_mount (g->fuse, localmountpoint) == -1) {
+ error (g, _("fuse_mount failed: %s, see error messages above"),
+ localmountpoint);
+ fuse_destroy(g->fuse);
fuse_opt_free_args (&args);
guestfs_int_free_fuse (g);
return -1;
Index: libguestfs-1.55.13/fuse/guestmount.c
===================================================================
--- libguestfs-1.55.13.orig/fuse/guestmount.c
+++ libguestfs-1.55.13/fuse/guestmount.c
@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define FUSE_USE_VERSION 26
+#define FUSE_USE_VERSION 30
#include <config.h>
Index: libguestfs-1.55.13/fuse/guestunmount.c
===================================================================
--- libguestfs-1.55.13.orig/fuse/guestunmount.c
+++ libguestfs-1.55.13/fuse/guestunmount.c
@@ -241,7 +241,7 @@ do_fusermount (const char *mountpoint, c
error (EXIT_FAILURE, errno, "pipe");
if (verbose)
- fprintf (stderr, "%s: running: fusermount -u %s\n",
+ fprintf (stderr, "%s: running: fusermount3 -u %s\n",
getprogname (), mountpoint);
pid = fork ();
@@ -258,7 +258,7 @@ do_fusermount (const char *mountpoint, c
setenv ("LC_ALL", "C", 1);
#ifdef __linux__
- execlp ("fusermount", "fusermount", "-u", mountpoint, NULL);
+ execlp ("fusermount3", "fusermount3", "-u", mountpoint, NULL);
#else
/* use umount where fusermount is not available */
execlp ("umount", "umount", mountpoint, NULL);
@@ -316,7 +316,7 @@ do_fusermount (const char *mountpoint, c
}
if (verbose)
- fprintf (stderr, "%s: fusermount successful\n",
+ fprintf (stderr, "%s: fusermount3 successful\n",
getprogname ());
free (buf);

View File

@@ -1,6 +1,6 @@
--- libguestfs-1.52.0/lib/launch-direct.c.orig 2024-02-05 14:17:10.208970293 -0700
+++ libguestfs-1.52.0/lib/launch-direct.c 2024-02-05 14:21:37.548976664 -0700
@@ -650,7 +650,10 @@ launch_direct (guestfs_h *g, void *datav
--- a/lib/launch-direct.c
+++ b/lib/launch-direct.c
@@ -645,7 +645,10 @@ launch_direct (guestfs_h *g, void *datav
flag ("-no-reboot");
/* These are recommended settings, see RHBZ#1053847. */