Commit Graph

62 Commits

Author SHA1 Message Date
Richard W.M. Jones
6a6cb92d31 Backport nbdkit-curl-plugin "multi" interface support
resolves: rhbz#2228131
Rebase to 1.34.2
resolves: rhbz#2168629
2023-08-01 15:36:49 +01:00
Richard W.M. Jones
cf1d6395e7 Rebase to 1.34.1
resolves: rhbz#2168629
2023-04-18 13:03:41 +01:00
Richard W.M. Jones
3966543612 Rebase to 1.34.0
resolves: rhbz#2168629
2023-04-14 10:55:53 +01:00
Richard W.M. Jones
ccb30ca5b4 Rebase to 1.33.11
resolves: rhbz#2168629
2023-03-09 13:01:52 +00:00
Richard W.M. Jones
23bbe5bb33 curl: Enable multi-conn for read-only connections
resolves: rhbz#2166686
2023-02-03 10:35:43 +00:00
Richard W.M. Jones
a482c73e32 luks: Avoid crash when image does not contain a LUKS header
resolves: rhbz#2159581
2023-01-10 09:04:22 +00:00
Richard W.M. Jones
8eb3bb554e Improve error message when PasswordAuthentication is set to 'no'
resolves: rhbz#2158300
2023-01-06 09:05:39 +00:00
Richard W.M. Jones
4eabdba087 Rebase to new stable branch version 1.32.5
resolves: rhbz#2135765

- Move stats filter to new subpackage.
2023-01-03 15:44:14 +00:00
Richard W.M. Jones
f013103704 Add support for VDDK 8.0.0
resolves: rhbz#2143889
2022-11-29 16:13:34 +00:00
Richard W.M. Jones
d7e3d19b6a Rebase to new stable branch version 1.30.8
resolves: rhbz#2059289

- Fix multiple Coverity problems
- Fix bounds error in nbdkit-checkwrite-filter
  resolves: rhbz#2108545
2022-07-19 11:59:28 +01:00
Richard W.M. Jones
82a691cb64 Rebase to new stable branch version 1.30.7
resolves: rhbz#2059289
2022-07-12 12:40:44 +01:00
Richard W.M. Jones
74f0e13c8d vddk: Suppress new VDDK "phone home" messages
resolves: rhbz#2104720
vddk: Clearer error message when thumbprint is wrong
resolves: rhbz#1905772
Fix memory allocator=malloc,mlock=true (2044432)
2022-07-07 14:29:48 +01:00
Richard W.M. Jones
46c400fb00 Rebase along stable-1.30 branch
related: rhbz#2059289
2022-07-06 13:00:11 +01:00
Richard W.M. Jones
9d2dd81620 Rebase to new stable branch version 1.30.6
resolves: rhbz#2059289

Backport new scan filter from 1.32.
Add new rate filter burstiness setting from 1.32
2022-06-13 13:48:01 +01:00
Richard W.M. Jones
ad784282b6 Rebase to new stable branch version 1.30.5
resolves: rhbz#2059289
Suppress excess messages from nbdkit-nbd-plugin
resolves: rhbz#2083498
Suppress incorrect VDDK error when converting guests from vCenter
resolves: rhbz#2083617
Backport new LUKS filter from 1.32.
Add new Python binding for nbdkit_parse_size from 1.32

Cherry-picked from Fedora:

Add new luks filter.
(Fedora commit 9588e5cbc7)
2022-05-12 18:51:12 +01:00
Richard W.M. Jones
c54cb3f9a4 Rebase to new stable branch version 1.30.4
resolves: rhbz#2059289

Add support for ssh create remote file.
Backport new readahead filter from 1.32.
2022-04-26 10:28:49 +01:00
Richard W.M. Jones
3ebd7154dd Rebase to new stable branch version 1.30.2
resolves: rhbz#2059289

Skip vsock tests unless the vsock_loopback module is loaded (2069558)
2022-04-04 13:30:29 +01:00
Richard W.M. Jones
4a8d800b4f vddk: Fix use of uninitialized memory when computing block size
resolves: rhbz#2066655
2022-03-22 11:18:40 +00:00
Richard W.M. Jones
02f2730051 Rebase to new stable branch version 1.30.1
resolves: rhbz#2059289
2022-03-15 17:10:00 +00:00
Richard W.M. Jones
09f48f19cf Build against nbdkit-srpm-macros
related: rhbz#2059291
2022-03-04 15:36:51 +00:00
Richard W.M. Jones
8860174767 Rebase to new stable branch version 1.30.0
resolves: rhbz#2059289
Add automatic provides generator and subpackage nbdkit-srpm-macros
resolves: rhbz#2059291 [bootstrap stage]
New filters: blocksize-policy, protect, retry-request
Fix license of bash-completion subpackage
2022-03-04 15:04:47 +00:00
Richard W.M. Jones
282830b82f Skip test-memory-allocator-malloc-mlock.sh on ppc64le
related: rhbz#2011709
2022-01-24 15:36:35 +00:00
Richard W.M. Jones
1ba7a69bc2 Rebase to new stable branch version 1.28.5
resolves: rhbz#2011709
2022-01-24 12:51:08 +00:00
Richard W.M. Jones
c8704cbb64 vddk: Implement VMDK creation
Also apply patch:
0030-tests-Add-configure-disable-libguestfs-tests-flag.patch
which was previous present in git but not applied by the spec file.

Because of this the previous build warned:
configure: WARNING: unrecognized options: --enable-libguestfs-tests

related: rhbz#2011709
2022-01-18 22:05:00 +00:00
Richard W.M. Jones
752d86cd28 Rebase to new stable branch version 1.28.4
related: rhbz#2011709
2022-01-04 14:19:04 +00:00
Richard W.M. Jones
b5f8430a27 Rebase to new stable branch version 1.28.3
resolves: rhbz#2011709

Includes these important commits:
    plugins/python: Fix extents() count format string
    tests: Add configure --disable-libguestfs-tests flag
    tests: Use mke2fs -d to create ext4 test image

Use new --disable-libguestfs-tests on non-guestfs arches.
2021-12-19 10:51:16 +00:00
Richard W.M. Jones
da9411d61e file: Fix implementation of cache=none for writes
Backport the following upstream commit:
a956e2e75d

related: rhbz#2011709
2021-12-08 11:25:06 +00:00
Richard W.M. Jones
d2ce66ec1f Rebase to new stable branch version 1.28.3
Fix nbdkit-cow-filter cow-block-size=4096

resolves: rhbz#2011709, rhbz#2029751
2021-12-07 10:08:43 +00:00
Richard W.M. Jones
36d6c29dea Rebase along stable-1.28 branch
resolves: rhbz#2011709

Drop obsolete documentation related to thread model in vddk plugin
related: rhbz#2018463
2021-11-29 10:44:05 +00:00
Richard W.M. Jones
b3fb585f58 Move nbdkit-null-plugin to nbdkit-server package
resolves: rhbz#2021154
Rebase to new stable branch version 1.28.2
resolves: rhbz#2011709

Switch to xorriso (instead of genisoimage)

Upstream prefers it since:

  commit 174a0caf7eaf1943360f9d8f714f466ea7449d90
  Author: Richard W.M. Jones <rjones@redhat.com>
  Date:   Sat Apr 3 17:15:34 2021 +0100

    iso: Pick xorriso in preference to genisoimage or mkisofs.

    See this Debian page explaining the situation with genisoimage:
    https://wiki.debian.org/genisoimage

(cherry picked from commit df8ac05e24)

Move nbdkit-null-plugin to the nbdkit-server package

This plugin is required for probing the presence of filters (see
nbdkit-probing(1) man page), so it makes sense to always have it
around.  The null plugin is only 16K in size so it does not add
significantly to the nbdkit-server package.

(cherry picked from commit 048b8de83c)

Consistent use of whitespace

Remove double line whitespace between %package and %description.
Also remove whitespace lines within %package sections.

Double line whitespace is kept between subpackages for visual clarity.

(cherry picked from commit 9fbfa6cc49)
2021-11-09 12:51:27 +00:00
Richard W.M. Jones
ceffede5b1 Update nbdkit-vddk-plugin
Distribute README.VDDK in nbdkit-vddk-plugin subpackage

resolves: rhbz#2018463, rhbz#2011709
2021-10-30 14:40:42 +01:00
Richard W.M. Jones
0d3bf32327 Add asynchronous support in nbdkit-vddk-plugin
resolves: rhbz#2018463, rhbz#2011709
2021-10-29 14:09:21 +01:00
Richard W.M. Jones
4129f7480f Rebase to new stable branch version 1.28.0
resolves: rhbz#2011709
2021-10-08 09:43:56 +01:00
Richard W.M. Jones
a86e62e68a Rebase along stable branch to 1.26.5
resolves: rhbz#1995327
Add nbdkit-vddk-plugin -D vddk.stats=1 flag
resolves: rhbz#1995329
Add nbdkit-cow-filter cow-block-size parameter
resolves: rhbz#1995332
Fix CVE-2021-3716 nbdkit: NBD_OPT_STRUCTURED_REPLY injection on STARTTLS
Update keyring
2021-08-19 09:12:41 +01:00
Richard W.M. Jones
b56fe54678 Remove bogus kernel hints in allocator=malloc
resolves: rhbz#1992542
2021-08-11 12:40:31 +01:00
Richard W.M. Jones
704d2b18ae Fix parsing of delay-* options
resolves: rhbz#1991649
Fix assertion failure during server shutdown
Fix delay-close option
  resolves: rhbz#1991652
tests/test-debug-flags.sh: Don't use port 10809 during test
  resolves: rhbz#1991945
2021-08-10 16:17:42 +01:00
Mohan Boddu
31f0b80356 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 22:30:20 +00:00
Richard W.M. Jones
7f6c9b5ea1 New upstream stable version 1.26.3.
resolves: rhbz#1950632
Add Python .cleanup() method.
Fix data corruption in zero and trim on unaligned tail.
  resolves: rhbz#1990134
2021-08-05 09:14:12 +01:00
Richard W.M. Jones
b4d42fa29b More efficient cache and cow filters.
Add nbdkit-cow-filter cow-on-read option.
Add nbdkit-cache-filter cache-on-read=/PATH.
Add nbdkit-cache-filter cache-min-block-size option.
Add nbdkit-delay-filter delay-open and delay-close options.
Reduce verbosity of debugging from virt-v2v.
Miscellaneous bugfixes
resolves: rhbz#1950632
2021-07-30 18:40:23 +01:00
Richard W.M. Jones
addc394e81 Add autotools for patches
Fixes previous commit.
related: rhbz#1950632
2021-07-26 10:10:59 +01:00
Richard W.M. Jones
bc50933de3 Add patches from upstream stable-1.26 branch, fixing a virt-v2v crash
resolves: rhbz#1950632
2021-07-26 09:56:31 +01:00
Richard W.M. Jones
99acada896 New upstream stable version 1.26.2.
resolves: rhbz#1950632

(cherry picked from commit 654527757343bf2054a863828d4b8b5b6e2fbe91)
2021-07-05 18:15:12 +01:00
Richard W.M. Jones
21504aafa5 Bump and rebuild
resolves: rhbz#1975317
2021-06-23 18:19:55 +01:00
Richard W.M. Jones
9494c4f899 New upstream stable version 1.26.1.
resolves: rhbz#1950632
2021-06-11 14:41:39 +01:00
Richard W.M. Jones
68db6cec37 New upstream version 1.26.0.
resolves: rhbz#1950632
2021-06-07 17:24:40 +01:00
Richard W.M. Jones
2bd2a2c9d9 Skip tests/test-memory-allocator-malloc-mlock.sh on RHEL 9 / aarch64
related: rhbz#1950632

Test failure:

FAIL: test-memory-allocator-malloc-mlock.sh
===========================================
/builddir/build/BUILD/nbdkit-1.25.8/server/nbdkit -v -P memory-allocator-malloc-mlock.pid -U /tmp/nbdkit-test-sock.QSUxq3 -- /builddir/build/BUILD/nbdkit-1.25.8/plugins/memory/.libs/nbdkit-memory-plugin.so 2048 allocator=malloc,mlock=true
nbdkit: debug: nbdkit 1.25.8 (nbdkit-1.25.8-2.el9)
nbdkit: debug: TLS disabled: could not load TLS certificates
nbdkit: debug: registering plugin /builddir/build/BUILD/nbdkit-1.25.8/plugins/memory/.libs/nbdkit-memory-plugin.so
nbdkit: debug: registered plugin /builddir/build/BUILD/nbdkit-1.25.8/plugins/memory/.libs/nbdkit-memory-plugin.so (name memory)
nbdkit: debug: memory: load
nbdkit: debug: memory: config key=size, value=2048
nbdkit: debug: memory: config key=allocator, value=malloc,mlock=true
nbdkit: debug: memory: config_complete
nbdkit: debug: using thread model: parallel
nbdkit: debug: memory: get_ready
nbdkit: debug: allocator: malloc,mlock=true
nbdkit: debug: allocator parameter: mlock=true
nbdkit: error: allocator=malloc: mlock: Cannot allocate memory
./test-memory-allocator-malloc-mlock.sh: run cleanup hooks: exit code 1
FAIL test-memory-allocator-malloc-mlock.sh (exit status: 1)

(cherry picked from commit c05c44cc7b)
2021-06-02 13:20:22 +01:00
Richard W.M. Jones
f907cef9e4 Manually merge fedora/rawhide
related: rhbz#1950632

Add gating tests for RHEL 9
resolves: rhbz#1950604
2021-06-02 12:37:08 +01:00
Richard W.M. Jones
30b0776b53 Manually merge fedora/rawhide
related: rhbz#1950632
2021-05-07 13:23:49 +01:00
Mohan Boddu
98d9374249 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 02:24:08 +00:00
DistroBaker
7cc2b6e8cc Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/nbdkit.git#8644a889cbd01cd09b983cafbe6b0afa8b78ac4d
2021-03-15 06:45:40 +00:00