Commit Graph

74 Commits

Author SHA1 Message Date
Richard W.M. Jones
d475e2337c Generate correct osinfo for SLES >= 15
resolves: RHEL-95791
2025-06-17 11:11:11 +01:00
Richard W.M. Jones
702ab47557 Remove duplicate root mountpoints in /etc/fstab
resolves: RHEL-90168
2025-05-08 21:22:21 +01:00
Richard W.M. Jones
2ea5842951 Fix RHEL gating tests
These would always fail because libvirt doesn't start up after being
installed.  You would see errors like:

  libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0
  libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/virtqemud-sock': No such file or directory
  libguestfs: error: could not connect to libvirt (URI = qemu:///system): Failed to connect socket to '/var/run/libvirt/virtqemud-sock': No such file or directory [code=38 int1=2]

(cherry picked from
Fedora commit a1eed9c04c9e64cf24bc83a0da2cd6b05f7400c3)
2025-04-25 17:08:01 +01:00
Richard W.M. Jones
f021d89f94 Run the fstrim command twice
resolves: RHEL-88508
2025-04-25 15:51:27 +01:00
Richard W.M. Jones
f0aae59556 Fix virt-v2v conversion of split /usr Ubuntu 22+
resolves: RHEL-87493
2025-04-16 21:38:07 +01:00
Richard W.M. Jones
029a7e6ce3 Include host kernel information in libguestfs debugging output
resolves: RHEL-83025
2025-03-11 13:49:11 +00:00
Richard W.M. Jones
1047a2ce7e Fix date in %changelog
related: RHEL-80159
2025-02-24 16:40:09 +00:00
Richard W.M. Jones
f97928420b Add new APIs to allow command output > 4MB
resolves: RHEL-80159
2025-02-24 16:09:33 +00:00
Richard W.M. Jones
0b82e08b9e Replace Jansson with json-c
resolves: RHEL-65292
2024-10-30 11:27:45 +00:00
Richard W.M. Jones
e4a2016270 Fix osinfo for Windows Server 2025
resolves: RHEL-62935
2024-10-17 14:28:17 +01:00
Richard W.M. Jones
f62fa9f195 Rebase to libguestfs 1.54.0
resolves: RHEL-56809
2024-10-09 11:31:14 +01:00
Richard W.M. Jones
6b578e0d34 Update to libguestfs 1.50.2
resolves: RHEL-46775
2024-07-09 15:09:20 +01:00
Richard W.M. Jones
5400e4953a inspection: Resolve PARTUUID= and PARTLABEL= in /etc/fstab
resolves: RHEL-40142, RHEL-46596
2024-07-08 14:59:36 +01:00
Richard W.M. Jones
a86c5a4fb4 Fix (rare) undetected truncation of 64 bit int results to 32 bits
resolves: RHEL-45466
2024-06-28 10:10:57 +01:00
Richard W.M. Jones
d9b4d60317 Remove bundled ocaml-augeas
resolves: RHEL-32142
2024-06-20 12:52:43 +01:00
Richard W.M. Jones
a5e5277b4d Bump release 2024-04-24 22:31:49 +01:00
Richard W.M. Jones
9edacc7cb2 Add fix for parallel builds in po-docs
related: RHEL-33851
2024-04-24 22:19:16 +01:00
Richard W.M. Jones
1574b7d34d Add support for nbd+unix:// URIs
resolves: RHEL-33851
2024-04-24 16:15:12 +01:00
Richard W.M. Jones
8295920bc2 Add --key all:... selector
resolves: RHEL-19367

Add miscellaneous other upstream fixes since 1.50.1
2023-12-14 13:34:37 +00:00
Laszlo Ersek
4a6d9a7c74 fix "osci.brew-build.rpminspect.static-analysis" gating test
Perl's ExtUtils::Install installs "Guestfs.so" read-only; that prevents
objcopy from adding the ".gdb_index" section for the sake of the debuginfo
file. See <https://rt.cpan.org/Public/Bug/Display.html?id=40976>. Lack of
".gdb_index" is then flagged as an error by rpminspect. Restore write
permission for the user, on "Guestfs.so".

https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/52967012
https://bugzilla.redhat.com/show_bug.cgi?id=2209279#c24
https://lists.corp.redhat.com/archives/rhel-devel/2023-May/005059.html

(This has nothing to do with RHBZ 2209279 BTW, but the bots don't let us
commit maintenance-only patches.)

resolves: rhbz#2209279
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2023-06-07 08:15:33 +02:00
Laszlo Ersek
feaa7975e5 reenable quickcheck
We now use "-cpu max" (upstream 30f74f38bd6e).

(This has nothing to do with RHBZ 2209279 BTW, but the bots don't let us
commit maintenance-only patches.)

resolves: rhbz#2209279
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2023-05-25 10:37:45 +02:00
Laszlo Ersek
d5d03ce545 let "guestfish -i" recognize "--key /dev/mapper/VG-LV🔑password"
In the spirit of dist-git commit fb7b8af04b ("Run SELinux relabelling in
parallel [for virt-v2v]", 2023-05-04), hand-edit the effect of
"copy-patches.sh": remove the "common/mlcustomize" changes from
"0011-update-common-submodule.patch" (which make no sense for libguestfs,
as libguestfs does not bundle "common/mlcustomize"), namely upstream
commits 17ef57a9bc81 ("mlcustomize: skip SELinux relabeling if it's
disabled", 2023-04-22) and 38e6988c1864 ("mlcustomize/SELinux_relabel.ml:
Use Array.mem", 2023-04-22).

resolves: rhbz#2209279
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2023-05-23 15:05:02 +02:00
Richard W.M. Jones
fb7b8af04b Run SELinux relabelling in parallel [for virt-v2v]
resolves: rhbz#2190276

Also synch copy-patches.sh with the later version from virt-v2v c9s.

I had to hand-hack the patches which touch common/ because they touch
some directories that are not listed as SUBDIRS by libguestfs, so not
included in the tarball.  Hopefully this will go away when upstream
stable-1.50 does a new stable release.
2023-05-04 10:58:01 +01:00
Richard W.M. Jones
5089358fe5 Bump and rebuild because of RHEL 9.3 shipshow #2
resolves: rhbz#2168625
2023-03-07 21:57:22 +00:00
Richard W.M. Jones
949e465d1e Bump and rebuild because of RHEL 9.3 shipshow
rhbz#2168625
2023-03-07 21:20:06 +00:00
Richard W.M. Jones
78dbd805f8 Rebase libguestfs to 1.50.1
resolves: rhbz#2168625
Use q35 machine type for libguestfs appliance
resolves: rhbz#2168578
2023-03-02 10:41:15 +00:00
Richard W.M. Jones
1c072685a9 New API: guestfs_inspect_get_build_id
Add support for detecting Windows >= 10, returned through osinfo
resolves: rhbz#2012658
2022-12-02 12:09:20 +00:00
Richard W.M. Jones
d44b01867e Move libguestfs-make-fixed-appliance to main package
resolve: rhbz#2140695

Cherry picked from Fedora commit ea7571f662
2022-11-08 15:00:29 +00:00
Richard W.M. Jones
a983a3cba0 Add zstd support to guestfs_file_architecture
resolves: rhbz#2117004
2022-08-10 08:48:02 +01:00
Richard W.M. Jones
8a4b914681 Rebase to new stable branch version 1.48.4
resolves: rhbz#2059285
2022-07-06 17:33:11 +01:00
Richard W.M. Jones
3fd2f945f8 Add clevis-luks to BRs, required for Clevis & Tang support
related: rhbz#1809453

(cherry picked from commit 9613879357)
2022-07-04 11:08:51 +01:00
Richard W.M. Jones
dac85f9e02 Add support for Clevis & Tang
resolves: rhbz#1809453
Fix CVE-2022-2211 Denial of Service in --key parameter
resolves: rhbz#2101281
2022-07-01 16:46:36 +01:00
Richard W.M. Jones
919dd2dd10 Enable PHP bindings
resolves: rhbz#2097718
2022-06-17 08:31:52 +01:00
Richard W.M. Jones
86277c2cc0 Fix lvm-set-filter failed in guestfish with the latest lvm2 package
resolves: rhbz#1965941
2022-06-13 14:34:39 +01:00
Richard W.M. Jones
3189d98758 Add dependency from libguestfs-rescue to base package
related: rhbz#2059285

This kept causing failures in OSCI.  Finally synchronise the Fedora
package with the RHEL 9.1 package to fix this.
2022-06-08 12:41:18 +01:00
Richard W.M. Jones
0b7021a86c Rebase to new stable branch version 1.48.3
resolves: rhbz#2059285

Check return values from librpm calls (2089623)
Document limitations of encrypted RBD disks
resolves: rhbz#2033247
2022-05-26 14:14:01 +01:00
Richard W.M. Jones
d4ba013a56 Disable 5-level page tables when using -cpu max
resolves: rhbz#2084568

(I forgot to include the patch in the previous build)
2022-05-12 21:02:58 +01:00
Richard W.M. Jones
6c716c264d Rebase to new stable branch version 1.48.2
resolves: rhbz#2059285
Disable 5-level page tables when using -cpu max
resolves: rhbz#2084568
SELinux relabelling should not stop on ext4 immutable bits
resolves: rhbz#1794518
Ignore "iface" in add-drive variants
resolves: rhbz#1844341
Lift protocol limit on guestfs_readdir()
resolves: rhbz#1674392
2022-05-12 17:12:50 +01:00
Richard W.M. Jones
e824d7ad85 Rebase to new stable branch version 1.48.1
resolves: rhbz#2059285
2022-04-14 17:44:31 +01:00
Richard W.M. Jones
ff591404d4 Disable signature checking in librpm
resolves: rhbz#2065172
2022-03-17 13:46:13 +00:00
Richard W.M. Jones
dd23a60a71 Rebase to new stable branch version 1.48.0
resolves: rhbz#2059285
2022-03-14 21:05:55 +00:00
Laszlo Ersek
96381bce89 Resolve rhbz#2030709, rhbz#2034160
- Add detection support for Rocky Linux
- Resolve conflict between manual and libvirt-assigned PCI addresses

resolves: rhbz#2030709, rhbz#2034160
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2021-12-23 15:02:03 +01:00
Laszlo Ersek
975798ac9b copy-patches: mask some differences in Laszlo's git setup
Restore these git defaults:
- core.abbrev=9
- -O/dev/null

resolves: rhbz#2030709, rhbz#2034160
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2021-12-23 15:01:02 +01:00
Laszlo Ersek
887dcfdf42 copy-patches: make it run on Laszlo's laptop too
Port virt-v2v dist-git commits cd77acc43380, 99c8749f70fb, and
818a2d3d6a80, to "copy-patches.sh".

resolves: rhbz#2030709, rhbz#2034160
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2021-12-23 15:00:56 +01:00
Richard W.M. Jones
e0c7084adb Rebase to new stable branch version 1.46.1
resolves: rhbz#2011711
Fix usage of strerror_r which caused corrupted error messages
resolves: rhbz#2030396
2021-12-09 19:35:58 +00:00
Richard W.M. Jones
d41847e5f9 Add --enable-appliance-format-auto
Add support for Kylin
Document lazy-counters setting cannot be changed in XFS version 5
resolves: rhbz#2025944, rhbz#1995391, rhbz#2024022
2021-11-23 13:34:05 +00:00
Richard W.M. Jones
83a688db51 Require libvirt-daemon-driver-storage-core
resolves: rhbz#2018358

(cherry picked from commit 04309c70cd)
2021-10-29 09:51:51 +01:00
Richard W.M. Jones
f8febbf143 Rebase to new stable branch version 1.46.0
resolves: rhbz#2011711
2021-10-08 13:07:45 +01:00
Richard W.M. Jones
61eede1ba3 Specify backing format for qemu 6.1
resolves: rhbz#1999419
2021-09-14 12:32:48 +01:00
Richard W.M. Jones
8b5d662685 Remove use of sga
resolves: rhbz#2002325
2021-09-13 10:50:23 +01:00