Commit Graph

136 Commits

Author SHA1 Message Date
Troy Dawson
a6ab4e65e0 Bump release for June 2024 mass rebuild 2024-06-24 08:54:34 -07:00
Vojtech Trefny
78aef73af3 Check also for aliases in bd_utils_have_kernel_module
Resolves: RHEL-37249
2024-05-30 15:38:18 +02:00
Vojtech Trefny
bb69299b79 Backport multiple fixes to RHEL 10 Beta
- Fix creating MD RAID arrays without specifying bitmap localtion
  Resolves: RHEL-31379
- crypto: Fix double free in bd_crypto_luks_remove_key
  Resolves: RHEL-31489
- tests: Fix running tests without ntfsprogs
  Resolves: RHEL-32875
2024-05-14 09:30:15 +02:00
Fedora Release Engineering
3b464e351f Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 01:36:56 +00:00
Vojtech Trefny
804b21163e New version 3.1.0 2024-01-19 13:32:21 +01:00
Vojtech Trefny
631e826177 New version 3.0.4 2023-10-13 08:37:42 +02:00
Vojtech Trefny
bf12e7b6ee Obsolete vdo plugin packages (#2237477) 2023-09-06 16:10:39 +02:00
Vojtech Trefny
1cb5935350 New version 3.0.3 2023-08-31 14:04:34 +02:00
Vojtech Trefny
e6cc4e45e8 New version 3.0.2 2023-07-20 08:43:46 +02:00
Python Maint
65a6131a16 Rebuilt for Python 3.12 2023-07-04 18:30:50 +02:00
Vojtech Trefny
0a37033dee New version 3.0.1 2023-07-04 15:21:58 +02:00
Python Maint
16293e5a70 Rebuilt for Python 3.12 2023-06-29 23:31:06 +02:00
Vojtech Trefny
965d13a312 New version 3.0 2023-06-29 13:54:56 +02:00
Python Maint
54e6e223a3 Rebuilt for Python 3.12 2023-06-26 13:59:26 +02:00
Vojtech Trefny
750062c251 s390: Do not try to close an unopened stream 2023-06-19 11:28:07 +02:00
Python Maint
093cfeed36 Rebuilt for Python 3.12 2023-06-15 15:34:47 +02:00
Vojtech Trefny
8ceac4c75e Allow resizing of inactive LVs with latest LVM (#2188830) 2023-05-17 19:51:01 +02:00
Vojtech Trefny
48f474aa48 Stop building dm plugin with dmraid support on Fedora >= 38 2023-03-17 10:10:40 +01:00
Vojtech Trefny
055aa95736 Remove dependency on dmraid
We don't need the dmraid package which provides the dmraid binary
and systemd services, the library is provided by dmraid-libs.
2023-01-19 10:16:09 +01:00
Vojtech Trefny
27ffaf1767 Change license string to the SPDX format required by Fedora 2022-11-11 15:17:23 +01:00
Kevin Fenzi
89168ea53e Change Requires on mpath subpackage for device-mapper-multipath back to Recommends.
This breaks rawhide compose/livecd's.
See https://fedoraproject.org/wiki/Changes/RemoveDeviceMapperMultipathFromWorkstationLiveCD
2022-09-15 09:22:42 -07:00
Vojtech Trefny
8d117df190 New version 2.28
- mpath: Fix potential NULL pointer dereference (vtrefny)
- ci: Add GitHub actions for running rpmbuilds and csmock (vtrefny)
- ci: Add .lgtm.yaml config for LGTM (vtrefny)
- mdraid: Fix use after free (vtrefny)
- dm: Fix comparing DM RAID member devices UUID (vtrefny)
- tests: Make smaller images for test_lvcreate_type (vtrefny)
- tests: Wait for raid and mirrored LVs to be synced before removing (vtrefny)
- mdraid: Fix copy-paste error when checking return value (vtrefny)
- mdraid: Try harder to get container UUID in bd_md_examine (vtrefny)
- mdraid: Do not ignore errors from bd_md_canonicalize_uuid in bd_md_examine (vtrefny)
- Add a test case for DDF arrays/containers (vtrefny)
- mdraid: Try harder to get container UUID in bd_md_detail (vtrefny)
- Fix mismatched functions return value type (zhanghongtao22)
- spec: Require the same version utils from plugins (vtrefny)
- mpath: Memory leak fix (vtrefny)
- tests: Use ext instead of xfs in MountTestCase.test_mount_ro_device (vtrefny)
- tests: Create bigger devices for XFS tests (vtrefny)
- lvm: Fix bd_lvm_get_supported_pe_sizes in Python on 32bit (vtrefny)
- Fix typos (biebl)
2022-09-14 13:34:15 +02:00
Fedora Release Engineering
5e858324e2 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 17:22:39 +00:00
Python Maint
a4feeaa388 Rebuilt for Python 3.11 2022-06-13 18:18:12 +02:00
Vojtech Trefny
c9dcc9e33b New version 2.27
- crypto: Remove unused and leaking error in write_escrow_data_file (vtrefny)
- kbd: Fix potential NULL pointer dereference in bd_kbd_bcache_create (vtrefny)
- kbd: Fix leaking error in bd_kbd_bcache_detach (vtrefny)
- kbd: Add missing progress reporting to bd_kbd_bcache_create (vtrefny)
- boilerplate_generator: Remove unused variable assignment (vtrefny)
- crypto: Remove useless comparison in progress report in luks_format (vtrefny)
- lvm: Use correct integer type in for comparison (vtrefny)
- lvm: Do not include duplicate entries in bd_lvm_lvs output (vtrefny)
- lvm: Do not set global config to and empty string (vtrefny)
- tests: Fix expected extended partition flags with new parted (vtrefny)
- tests: Skip test_lvcreate_type on CentOS/RHEL 9 (vtrefny)
- lvm-dbus: Add support for changing compression and deduplication (vtrefny)
- s390: Remove double fclose in bd_s390_dasd_online (#2045784) (vtrefny)
- fs: Return BD_FS_ERROR_UNKNOWN_FS on mounting unknown filesystem (tbzatek)
- tests: Use losetup to create 4k sector size loop device for testing (vtrefny)
- tests: Fix creating loop device for CryptoTestLuksSectorSize (vtrefny)
- lvm: Fix reading statistics for VDO pools with VDO 8 (vtrefny)
- vdo_stats: Default to 100 % savings for invalid savings values (vtrefny)
- tests: Remove test for NTFS read-only mounting (vtrefny)
- tests: Lower expected free space on newly created Ext filesystems (vtrefny)
- tests: Do not check that swap flag is not supported on DOS table (vtrefny)
- overrides: Fix translating exceptions in ErrorProxy (vtrefny)
2022-06-01 13:31:36 +02:00
Vojtech Trefny
d558bbe585 Remove double fclose in bd_s390_dasd_online (#2045784) 2022-01-26 09:04:17 +01:00
Fedora Release Engineering
b2a2bc0a82 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 15:49:13 +00:00
Vojtech Trefny
dc016e8925 New version 2.26
- Add missing plugins to the default config (vtrefny)
- remove unused variable and fix build with LLVM/clang (tpgxyz)
- exec: Fix deprecated glib function call Glib will rename "g_spawn_check_exit_status()" to "g_spawn_check_wait_status()" in version 2.69. (manuel.wassermann97)
- tests: Tag LvmPVVGLVcachePoolCreateRemoveTestCase as unstable (vtrefny)
- tests: Force remove LVM VG /dev/ entry not removed by vgremove (vtrefny)
- tests: Do not try to remove VG before removing the VDO pool (vtrefny)
- crypto: Let cryptsetup autodect encryption sector size when not specified (vtrefny)
- Fix skipping tests on Debian testing (vtrefny)
- tests: Temporarily skip test_snapshotcreate_lvorigin_snapshotmerge (vtrefny)
- tests: Do not check that XFS shrink fails with xfsprogs >= 5.12 (vtrefny)
- tests: Make sure the test temp mount is always unmounted (vtrefny)
- swap: Fix memory leak (vtrefny)
- mdraid: Fix memory leak (vtrefny)
- lvm-dbus: Fix memory leak (vtrefny)
- kbd: Fix memory leak (vtrefny)
- fs: Fix memory leak (vtrefny)
- dm: Fix memory leak in the DM plugin and DM logging redirect function (vtrefny)
- crypto: Fix memory leak (vtrefny)
- kbd: Fix memory leak (vtrefny)
- tests: Call fs_vfat_mkfs with "--mbr=n" extra option in tests (vtrefny)
- fs: Allow using empty label for vfat with newest dosfstools (vtrefny)
- vdo: Do not use g_memdup in bd_vdo_stats_copy (vtrefny)
- crypto: Fix default key size for non XTS ciphers (vtrefny)
- NEWS.rts: Fix markup (vtrefny)
2021-07-28 09:29:07 +02:00
Fedora Release Engineering
8572706548 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 11:00:29 +00:00
Vojtech Trefny
6d2d2ca1e5 crypto: Let cryptsetup autodect encryption sector size 2021-07-19 13:24:09 +02:00
Python Maint
9c9f2842f2 Rebuilt for Python 3.10 2021-06-03 13:38:54 +02:00
Fedora Release Engineering
fd69759cc3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 16:42:47 +00:00
Vojtech Trefny
08a065cdfd New version 2.25
- loop: Retry LOOP_SET_STATUS64 on EAGAIN (vtrefny)
- Fix max size limit for LVM thinpool metadata (vtrefny)
- lvm: Use the UNUSED macro instead of __attribute__((unused)) (vtrefny)
- lvm: Do not use thin_metadata_size to recommend thin metadata size (vtrefny)
- lvm: Set thin metadata limits to match limits LVM uses in lvcreate (vtrefny)
- Mark all GIR file constants as guint64 (vtrefny)
- lvm: Fix bd_lvm_vdopooldata_* symbols (tbzatek)
- fs: Fix compile error in ext_repair caused by cherry pick from master (vtrefny)
- README: Use CI status image for 2.x-branch on 2.x (vtrefny)
- fs: Do not report error when errors were fixed by e2fsck (vtrefny)
- tests: Add null-byte exec tests (tbzatek)
- tests: Add bufferbloat exec tests (tbzatek)
- exec: Clarify the BDUtilsProgExtract callback documentation (tbzatek)
- exec: Use non-blocking read and process the buffer manually (tbzatek)
- exec: Fix polling for stdout and stderr (tbzatek)
- exec: Fix setting locale for util calls (vtrefny)
2021-01-11 13:12:39 +01:00
Tom Stellard
22ba0c9ab5 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-06 00:59:55 +00:00
Vojtech Trefny
5e985ab28c Do not build VDO plugin 2020-10-01 16:09:22 +02:00
Vojtech Trefny
7ce954332a exec: Fix setting locale for util calls 2020-09-17 18:58:01 +02:00
Vojtech Trefny
a0c2a70de0 dm: Fix comparing DM RAID member devices UUID (#1583351) 2020-08-20 09:08:49 +02:00
Jeff Law
d8981421df Work around false positive gcc-11 diagnostic 2020-08-19 10:22:25 -06:00
Hans de Goede
d70a179e53 Change -mpath subpackage Requires: device-mapper-multipath into Recommends
Related: rhbz#1857393
2020-07-27 16:06:53 +02:00
Miro Hrončok
0a53e96e37 Rebuilt for Python 3.9 2020-05-23 06:58:25 +02:00
Vojtech Trefny
37ee523695 New version 2.24
- Mark VDO plugin as deprecated since 2.24 (vtrefny)
- Fix multiple uninitialized values discovered by coverity (vtrefny)
- fs: Fix potential NULL pointer dereference in mount.c (vtrefny)
- utils: Remove deadcode in exec.c (vtrefny)
- Do not check VDO saving percent value in LVM DBus tests (vtrefny)
- Use libblkid to get label and UUID for XFS filesystems (vtrefny)
- Do not open devices as read-write for read-only fs operations (vtrefny)
- Create a common function to get label and uuid of a filesystem (vtrefny)
- lvm: Fix getting cache stats for cache thinpools (vtrefny)
- Do not skip LVM VDO tests when the kvdo module is already loaded (vtrefny)
- tests: Skip LVM VDO tests if kvdo module cannot be loaded (vtrefny)
- lvm-dbus: Add LVM VDO pools to bd_lvm_lvs (vtrefny)
- lvm: Add a function to get VDO pool name for a VDO LV (vtrefny)
- lvm-dbus: Get data LV name for LVM VDO pools too (vtrefny)
- Add functions to get VDO stats for LVM VDO volumes (vtrefny)
- Move VDO statistics code to a separate file (vtrefny)
- Fix copy-paste bug in lvm.api (vtrefny)
- exec: Disable encoding when reading data from stdout/stderr (vtrefny)
- Add function to get LVM VDO write policy from a string (vtrefny)
- Add extra parameters for creating LVM VDO volumes (vtrefny)
- Allow calling LVM functions without locking global_config_lock (vtrefny)
- Fix getting VDO data in the LVM DBus plugin (vtrefny)
- Fix getting string representation of unknown VDO state index (vtrefny)
- Add write policy and index size to LVM VDO data (vtrefny)
- Fix converting to VDO pool without name for the VDO LV (vtrefny)
- Add some helper functions to get LVM VDO mode and state strings (vtrefny)
- Add support for creating and managing VDO LVs with LVM (vtrefny)
- Fix LVM plugin so names in tests (vtrefny)
- Do not hardcode pylint executable name in Makefile (vtrefny)
- Add a function to check if a tool supports given feature (vtrefny)
- configure.ac: Avoid more bashisms (gentoo)
- mount: Fix a memleak (tbzatek)
- exec: Fix a memleak (tbzatek)
- vdo: Fix a memleak (tbzatek)
- configure.ac: Avoid bashisms (polynomial-c)
- tests: Specify loader for yaml.load in VDO tests (vtrefny)
- lvm-dbus: Fix memory leak in bd_lvm_thlvpoolname (vtrefny)
- lvm-dbus: Do not activate LVs during pvscan --cache (vtrefny)
- vdo: Run "vdo create" with "--force" (vtrefny)
- Fix typo in (un)mount error messages (vtrefny)
- utils: Add functions to get and check current linux kernel version (tbzatek)
- ext: Return empty string instead of "<none>" for empty UUID (vtrefny)
- Add support for BitLocker encrypted devices using cryptsetup (vtrefny)
- Add a helper function for closing an active crypto device (vtrefny)
- Manually remove symlinks not removed by udev in tests (vtrefny)
- Fix memory leak in LVM DBus plugin (vtrefny)
- Fix expected cache pool name with newest LVM (vtrefny)
- fs: Fix checking for UID/GID == 0 (vtrefny)
- Fixed a number of memory leaks in lvm-dbus plugin (mthompson)
- exec.c: Fix reading outputs with null bytes (vtrefny)
- Fix linking against utils on Debian (vtrefny)
- Add new function 'bd_fs_wipe_force' to control force wipe (vtrefny)
- Use 'explicit_bzero' to erase passphrases from key files (vtrefny)
- Sync spec with downstream (vtrefny)
2020-05-22 15:19:02 +02:00
Fedora Release Engineering
7427cced9a - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 08:39:11 +00:00
Vojtech Trefny
cb18f66c30 New version 2.23
- Fix how we get process exit code from g_spawn_sync (vtrefny)
- Skip tests for old-style LVM snapshots on recent Fedora (vtrefny)
- Fix skipping NTFS read-only test case on systems without NTFS (vtrefny)
- Fix LVM_MAX_LV_SIZE in the GIR file (vtrefny)
- Print skipped test "results" to stderr instead of stdout (vtrefny)
- Move the NTFS read-only device test to a separate test case (vtrefny)
- Fix parsing distro version from CPE name (vtrefny)
- Use 'kmod_module_probe_insert_module' function for loading modules (vtrefny)
- Hide filesystem-specific is_tech_available functions (vtrefny)
- Mark LVM global config locks as static (vtrefny)
- Remove unused 'get_PLUGIN_num_functions' and 'get_PLUGIN_functions' functions (vtrefny)
- Mark 'private' plugin management functions as static (vtrefny)
- Ignore coverity deadcode warning in 'bd_fs_is_tech_avail' (vtrefny)
- Ignore coverity deadcode warnings in the generated code (vtrefny)
- Use the new config file for skipping tests (vtrefny)
- Skip bcache tests if make-bcache is not installed (vtrefny)
- Add ability to read tests to skip from a config file (vtrefny)
- Mark 'test_set_bitmap_location' as unstable (vtrefny)
- Force LVM cli plugin in lvm_test (vtrefny)
- Add a special test tag for library tests that recompile plugins (vtrefny)
- Allow running tests against installed libblockdev (vtrefny)
- Remove duplicate test case (vtrefny)
- Use the new test tags in tests (vtrefny)
- Use test tags for skipping tests (vtrefny)
- Add a decorator for "tagging" tests (vtrefny)
- Add function for (un)freezing filesystems (vtrefny)
- Add a function to check whether a path is a mounpoint or not (vtrefny)
- Skip bcache tests on all Debian versions (vtrefny)
2019-09-09 14:48:19 +02:00
Miro Hrončok
076b3f6731 Rebuilt for Python 3.8 2019-08-16 11:24:32 +02:00
Fedora Release Engineering
80bac6f83a - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 12:51:38 +00:00
Vojtech Trefny
43bae90cc8 New version 2.22
- tests: Fix Debian testing "version" for skipping (vtrefny)
- module: Fix libkmod related leak (tbzatek)
- btrfs: Fix number of memory leaks (tbzatek)
- mdraid: Fix leaking BDMDExamineData.metadata (tbzatek)
- mdraid: Fix leaking error (tbzatek)
- part: Fix leaking string in args (tbzatek)
- ext: Fix leaking string (tbzatek)
- part: Fix leaking objects (tbzatek)
- kbd: Fix g_match_info_fetch() leaks (tbzatek)
- ext: Fix g_match_info_fetch() leaks (tbzatek)
- ext: Fix g_strsplit() leaks (tbzatek)
- s390: Fix g_strsplit() leaks (tbzatek)
- mdraid: Fix g_strsplit() leaks (tbzatek)
- exec: Fix some memory leaks (tbzatek)
- lvm: Fix leaking BDLVMPVdata.vg_uuid (tbzatek)
- lvm: Use g_ptr_array_free() for creating lists (tbzatek)
- lvm: Fix some obvious memory leaks (tbzatek)
- Remove device-mapper-multipath dependency from fs and part plugins (vtrefny)
- bd_fs_xfs_get_info: Allow passing error == NULL (tbzatek)
- tests: Fix removing targetcli lun (vtrefny)
- Use existing cryptsetup API for changing keyslot passphrase (vtrefny)
- New function to get supported sector sizes for NVDIMM namespaces (vtrefny)
- Allow skiping tests only based on architecture (vtrefny)
- Sync spec file with python2 obsoletion added downstream (awilliam)
- Sync spec with downstream (vtrefny)
2019-06-12 09:35:53 +02:00
Vojtech Trefny
659642a6c2 Remove device-mapper-multipath dependency from fs and part plugins
Resolves: rhbz#1699071
2019-04-16 09:54:22 +02:00
Adam Williamson
46c87cc14b Obsolete the python2 subpackage if we're not building it 2019-02-28 07:49:38 -08:00
Vojtech Trefny
9171985e95 New version - 2.21
- Fix checking swap status on lvm/md (vtrefny)
- tests: Stop skipping some tests on Debian testing (vtrefny)
- tests: Remove some old/irrelevant skips (vtrefny)
- Use 512bit keys in LUKS by default (vratislav.podzimek)
- Add 'autoconf-archive' to build requires (vtrefny)
- vagrant: remove F27 and add F29 (vtrefny)
- vagrant: install 'autoconf-archive' on Ubuntu (vtrefny)
- Enable cryptsetup debug messages when compiled using --enable-debug (vtrefny)
- lvm-dbus: Do not pass extra arguments enclosed in a tuple (vtrefny)
- crypto: Do not try to use keyring on systems without keyring support (vtrefny)
- Fix LUKS2 resize password test (vtrefny)
- Use cryptsetup to check LUKS2 label (vtrefny)
- Skip LUKS2+integrity test on systems without dm-integrity module (vtrefny)
- Add custom error message for wrong passphrase for open (vtrefny)
- Use major/minor macros from sys/sysmacros.h instead of linux/kdev_t.h (vtrefny)
- crypto_test.py: Use blkid instead of lsblk to check luks label (vtrefny)
- Skip VDO grow physical test (vtrefny)
- Add libblkid-devel as a build dependency for the swap plugin (vtrefny)
- Add error codes and Python exceptions for swapon fails (vtrefny)
- Use libblkid to check swap status before swapon (vtrefny)
- Add a new subpackage with the tool(s) (v.podzimek)
- Document what the 'tools' directory contains (v.podzimek)
- Make building tools optional (v.podzimek)
- Add a tool for getting cached LVM statistics (v.podzimek)
- Discard messages from libdevmapper in the LVM plugins (v.podzimek)
2019-02-21 14:18:58 +01:00
Fedora Release Engineering
85dd9a97b9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 06:44:20 +00:00