Compare commits

...

No commits in common. 'c9' and 'i8c' have entirely different histories.
c9 ... i8c

2
.gitignore vendored

@ -1 +1 @@
SOURCES/libstoragemgmt-1.9.7.tar.gz SOURCES/libstoragemgmt-1.9.1.tar.gz

@ -1 +1 @@
d1d300522b73f1db12763100d0bc0abcd01af5e4 SOURCES/libstoragemgmt-1.9.7.tar.gz 77c03b4100a774cb15805f8a2782ad4754f87060 SOURCES/libstoragemgmt-1.9.1.tar.gz

@ -0,0 +1,9 @@
diff --git a/packaging/daemon/libstoragemgmt.conf b/packaging/daemon/libstoragemgmt.conf
index 1c118a9..cdb43c2 100644
--- a/packaging/daemon/libstoragemgmt.conf
+++ b/packaging/daemon/libstoragemgmt.conf
@@ -1,2 +1,2 @@
-D /var/run/lsm 0775 root libstoragemgmt -
-D /var/run/lsm/ipc 0775 root libstoragemgmt -
+D /run/lsm 0775 root libstoragemgmt -
+D /run/lsm/ipc 0775 root libstoragemgmt -

@ -0,0 +1,13 @@
diff --git a/plugin/megaraid_plugin/megaraid.py b/plugin/megaraid_plugin/megaraid.py
index 748bdba..0210235 100644
--- a/plugin/megaraid_plugin/megaraid.py
+++ b/plugin/megaraid_plugin/megaraid.py
@@ -791,7 +791,7 @@ def volume_raid_info(self, volume, flags=Client.FLAG_RSVD):
int(vd_prop_info['Span Depth']))
elif raid_type == Volume.RAID_TYPE_RAID10:
strip_count = (
- int(vd_prop_info['Number of Drives Per Span']) / 2 *
+ int_div(int(vd_prop_info['Number of Drives Per Span']), 2) *
int(vd_prop_info['Span Depth']))
else:
# MegaRAID does not support 15 or 16 yet.

@ -0,0 +1,120 @@
diff --git a/configure.ac b/configure.ac
index 02ecc4c..0a2316a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -106,9 +106,6 @@ fi
dnl Availability of various common headers (non-fatal if missing).
AC_CHECK_HEADERS([dlfcn.h])
-#Check for openssl development libs, we are using in simc_lsmplugin
-AC_CHECK_LIB([crypto], [MD5_Final], [SSL_LIBS=-lcrypto], AC_MSG_ERROR([Missing openssl-devel libraries]))
-AC_SUBST([SSL_LIBS])
#Check for sqlite development libs for simc_lsmplugin
PKG_CHECK_MODULES([SQLITE3], [sqlite3])
diff --git a/packaging/libstoragemgmt.spec.in b/packaging/libstoragemgmt.spec.in
index 4c19606..6148cb5 100644
--- a/packaging/libstoragemgmt.spec.in
+++ b/packaging/libstoragemgmt.spec.in
@@ -27,7 +27,6 @@ Obsoletes: %{name}-nfs-plugin-clibs < %{version}-%{release}
BuildRequires: gcc gcc-c++
BuildRequires: autoconf automake libtool libxml2-devel check-devel perl-interpreter
-BuildRequires: openssl-devel
BuildRequires: glib2-devel
BuildRequires: systemd
BuildRequires: bash-completion
diff --git a/plugin/sim_plugin/simarray.py b/plugin/sim_plugin/simarray.py
index c39f5f0..c5471bb 100644
--- a/plugin/sim_plugin/simarray.py
+++ b/plugin/sim_plugin/simarray.py
@@ -130,7 +130,7 @@ def data_disk_count(raid_type, disk_count):
class BackStore(object):
VERSION = "4.1"
- VERSION_SIGNATURE = 'LSM_SIMULATOR_DATA_%s_%s' % (VERSION, md5(VERSION))
+ VERSION_SIGNATURE = 'LSM_SIMULATOR_DATA_%s' % (VERSION)
JOB_DEFAULT_DURATION = 1
JOB_DATA_TYPE_VOL = 1
JOB_DATA_TYPE_FS = 2
diff --git a/plugin/simc/db.c b/plugin/simc/db.c
index 8f8e1e9..fd5b797 100644
--- a/plugin/simc/db.c
+++ b/plugin/simc/db.c
@@ -354,13 +354,8 @@ out:
}
static const char *_sys_version(void) {
- char version_md5[_MD5_HASH_STR_LEN];
-
- _md5(_DB_VERSION, version_md5);
-
- snprintf(_SYS_VERSION, _BUFF_SIZE, "%s_%s_%s", _DB_VERSION_STR_PREFIX,
- _DB_VERSION, version_md5);
-
+ snprintf(_SYS_VERSION, _BUFF_SIZE, "%s_%s", _DB_VERSION_STR_PREFIX,
+ _DB_VERSION);
return _SYS_VERSION;
}
diff --git a/plugin/simc/simc_lsmplugin.c b/plugin/simc/simc_lsmplugin.c
index 5eea918..13e0166 100644
--- a/plugin/simc/simc_lsmplugin.c
+++ b/plugin/simc/simc_lsmplugin.c
@@ -20,7 +20,6 @@
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
-#include <openssl/md5.h>
#include <sqlite3.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/plugin/simc/utils.c b/plugin/simc/utils.c
index 99cbef7..616ea75 100644
--- a/plugin/simc/utils.c
+++ b/plugin/simc/utils.c
@@ -49,19 +49,6 @@ int _get_db_from_plugin_ptr(char *err_msg, lsm_plugin_ptr c, sqlite3 **db) {
return rc;
}
-void _md5(const char *data, char *out_hash) {
- int i = 0;
- unsigned char digest[MD5_DIGEST_LENGTH];
-
- assert(data != NULL);
- assert(out_hash != NULL);
-
- MD5((const unsigned char *)data, strlen(data), digest);
-
- for (; i < MD5_DIGEST_LENGTH; ++i)
- sprintf(out_hash + i * 2, "%02x", (unsigned int)digest[i]);
-}
-
/*
* Copy from c_binding/utils.c, will remove if that was exposed out.
*/
diff --git a/plugin/simc/utils.h b/plugin/simc/utils.h
index f018b0a..30c9bb8 100644
--- a/plugin/simc/utils.h
+++ b/plugin/simc/utils.h
@@ -19,7 +19,6 @@
#ifndef _SIMC_UTILS_H_
#define _SIMC_UTILS_H_
-#include <openssl/md5.h>
#include <sqlite3.h>
#include <stdbool.h>
#include <stdlib.h>
@@ -145,12 +144,6 @@ struct _simc_private_data {
}
int _get_db_from_plugin_ptr(char *err_msg, lsm_plugin_ptr c, sqlite3 **db);
-/*
- * data: Non-NULL pointer to a string.
- * out_hash: Pointer to char[_MD5_HASH_STR_LEN]
- */
-void _md5(const char *data, char *out_hash);
-
/*
* true if file exists or false.
*/

@ -0,0 +1,16 @@
diff --git a/test/cmdtest.py.in b/test/cmdtest.py.in
index 0764318..e4f4f77 100755
--- a/test/cmdtest.py.in
+++ b/test/cmdtest.py.in
@@ -64,7 +64,10 @@ def random_iqn():
"""Logic taken from anaconda library"""
s = "iqn.1994-05.com.domain:01."
- m = hashlib.md5()
+ try:
+ m = hashlib.md5(usedforsecurity=False)
+ except Exception:
+ m = hashlib.md5()
u = os.uname()
for i in u:
m.update(i.encode('utf-8'))

@ -1,28 +1,5 @@
From bbb13a7970c4d82d2e7bace5e96056ef469eb7b3 Mon Sep 17 00:00:00 2001
From: Tony Asleson <tasleson@redhat.com>
Date: Fri, 14 Apr 2023 10:43:27 -0500
Subject: [PATCH] Correction for fips error
When running on a fips enabled system we encounter the following
error:
PLUGIN_BUG(2): [digital envelope routines] unsupported Data: Traceback (most recent call last):
...
File "/usr/lib64/python3.9/site-packages/lsm/_common.py", line 348, in md5
h = hashlib.md5()
ValueError: [digital envelope routines] unsupported
Utilize the usedforsecurity=False parameter to md5 to indicate that our
use is not for security related purposes.
Signed-off-by: Tony Asleson <tasleson@redhat.com>
---
plugin/nfs_plugin/nfs.py | 8 +++++++-
python_binding/lsm/_common.py | 7 ++++++-
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/plugin/nfs_plugin/nfs.py b/plugin/nfs_plugin/nfs.py diff --git a/plugin/nfs_plugin/nfs.py b/plugin/nfs_plugin/nfs.py
index 8a87652..11ce3c2 100644 index be1abdb..944d136 100644
--- a/plugin/nfs_plugin/nfs.py --- a/plugin/nfs_plugin/nfs.py
+++ b/plugin/nfs_plugin/nfs.py +++ b/plugin/nfs_plugin/nfs.py
@@ -55,7 +55,13 @@ def _export_id(path, auth_type, anon_uid, anon_gid, options): @@ -55,7 +55,13 @@ def _export_id(path, auth_type, anon_uid, anon_gid, options):
@ -41,7 +18,7 @@ index 8a87652..11ce3c2 100644
hsh.update(auth_type.encode('utf-8')) hsh.update(auth_type.encode('utf-8'))
if anon_uid is not None and anon_uid != NfsExport.ANON_UID_GID_NA: if anon_uid is not None and anon_uid != NfsExport.ANON_UID_GID_NA:
diff --git a/python_binding/lsm/_common.py b/python_binding/lsm/_common.py diff --git a/python_binding/lsm/_common.py b/python_binding/lsm/_common.py
index 1220381..163f726 100644 index 1508972..e09be49 100644
--- a/python_binding/lsm/_common.py --- a/python_binding/lsm/_common.py
+++ b/python_binding/lsm/_common.py +++ b/python_binding/lsm/_common.py
@@ -345,7 +345,12 @@ def uri_parameters(uri): @@ -345,7 +345,12 @@ def uri_parameters(uri):
@ -58,6 +35,3 @@ index 1220381..163f726 100644
h.update(t.encode("utf-8")) h.update(t.encode("utf-8"))
return h.hexdigest() return h.hexdigest()
--
2.39.2

@ -0,0 +1,12 @@
diff --git a/tools/lsmcli/cmdline.py b/tools/lsmcli/cmdline.py
index ae249b8..6698c53 100644
--- a/tools/lsmcli/cmdline.py
+++ b/tools/lsmcli/cmdline.py
@@ -1228,6 +1228,7 @@ def cli(self):
_add_common_options(parser, is_child=False)
subparsers = parser.add_subparsers(metavar="command")
+ subparsers.required = True
# Walk the command list and add all of them to the parser
for cmd in cmds:

@ -1,14 +1,20 @@
%bcond_with test %bcond_with test
Name: libstoragemgmt Name: libstoragemgmt
Version: 1.9.7 Version: 1.9.1
Release: 2%{?dist} Release: 7%{?dist}
Summary: Storage array management library Summary: Storage array management library
Group: System Environment/Libraries
License: LGPLv2+ License: LGPLv2+
URL: https://github.com/libstorage/libstoragemgmt URL: https://github.com/libstorage/libstoragemgmt
Source0: https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz
Patch1: 0001-Correction-for-fips-error.patch Patch0: BZ_1710776_change_run_dir.patch
Requires: python3-%{name}%{_isa} Patch1: BZ_2018657_correct_raid10_info.patch
Patch2: RHEL-397_part1_remove_openssl_usage.patch
Patch3: RHEL-397_part2_cmdtest_correct_hashlib.md5_usage.patch
Patch4: RHEL-397_part3_correction_fips_error_lib.patch
Patch5: RHEL-397_part4_require_subparsers.patch
Requires: python3-%{name}%{_isa} = %{version}-%{release}
# Packages that have been removed # Packages that have been removed
Obsoletes: %{name}-netapp-plugin <= 1.6.2-10 Obsoletes: %{name}-netapp-plugin <= 1.6.2-10
@ -32,7 +38,6 @@ BuildRequires: python3-devel
BuildRequires: systemd systemd-devel BuildRequires: systemd systemd-devel
BuildRequires: chrpath BuildRequires: chrpath
BuildRequires: valgrind
%description %description
The libStorageMgmt library will provide a vendor agnostic open source storage The libStorageMgmt library will provide a vendor agnostic open source storage
@ -43,6 +48,7 @@ executing plug-ins in a separate process (lsmd).
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %description devel
@ -51,9 +57,8 @@ developing applications that use %{name}.
%package -n python3-%{name} %package -n python3-%{name}
Summary: Python 3 client libraries and plug-in support for %{name} Summary: Python 3 client libraries and plug-in support for %{name}
Group: System Environment/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: python3-six
# If obsoleted packages are installed, we need to meet it's requirement # If obsoleted packages are installed, we need to meet it's requirement
# of having the correct version of this package functionality installed too as # of having the correct version of this package functionality installed too as
# the update occurs first, before the obsolete removes the obsoleted package. # the update occurs first, before the obsolete removes the obsoleted package.
@ -71,11 +76,11 @@ support and open source plug-ins written in python 3.
%package smis-plugin %package smis-plugin
Summary: Files for SMI-S generic array support for %{name} Summary: Files for SMI-S generic array support for %{name}
Group: System Environment/Libraries
BuildRequires: python3-pywbem BuildRequires: python3-pywbem
BuildRequires: make
Requires: python3-pywbem Requires: python3-pywbem
BuildArch: noarch BuildArch: noarch
Provides: %{name}-ibm-v7k-plugin <= 2:1.9.2-4 Provides: %{name}-ibm-v7k-plugin <= 2:1.9.1-1
Obsoletes: %{name}-ibm-v7k-plugin <= 2:0.1.0-3 Obsoletes: %{name}-ibm-v7k-plugin <= 2:0.1.0-3
Requires: python3-%{name} = %{version} Requires: python3-%{name} = %{version}
Requires(post): python3-%{name} = %{version} Requires(post): python3-%{name} = %{version}
@ -88,6 +93,7 @@ support.
%package targetd-plugin %package targetd-plugin
Summary: Files for targetd array support for %{name} Summary: Files for targetd array support for %{name}
Group: System Environment/Libraries
Requires: python3-%{name} = %{version} Requires: python3-%{name} = %{version}
Requires(post): python3-%{name} = %{version} Requires(post): python3-%{name} = %{version}
Requires(postun): python3-%{name} = %{version} Requires(postun): python3-%{name} = %{version}
@ -99,6 +105,7 @@ support.
%package udev %package udev
Summary: Udev files for %{name} Summary: Udev files for %{name}
Group: System Environment/Base
%description udev %description udev
The %{name}-udev package contains udev rules and helper utilities for The %{name}-udev package contains udev rules and helper utilities for
@ -106,6 +113,7 @@ uevents generated by the kernel.
%package megaraid-plugin %package megaraid-plugin
Summary: Files for LSI MegaRAID support for %{name} Summary: Files for LSI MegaRAID support for %{name}
Group: System Environment/Libraries
Requires: python3-%{name} = %{version} Requires: python3-%{name} = %{version}
Requires(post): python3-%{name} = %{version} Requires(post): python3-%{name} = %{version}
Requires(postun): python3-%{name} = %{version} Requires(postun): python3-%{name} = %{version}
@ -117,6 +125,7 @@ MegaRAID storage management via storcli.
%package hpsa-plugin %package hpsa-plugin
Summary: Files for HP SmartArray support for %{name} Summary: Files for HP SmartArray support for %{name}
Group: System Environment/Libraries
Requires: python3-%{name} = %{version} Requires: python3-%{name} = %{version}
Requires(post): python3-%{name} = %{version} Requires(post): python3-%{name} = %{version}
Requires(postun): python3-%{name} = %{version} Requires(postun): python3-%{name} = %{version}
@ -128,6 +137,7 @@ SmartArray storage management via hpssacli.
%package arcconf-plugin %package arcconf-plugin
Summary: Files for Microsemi Adaptec and Smart Family support for %{name} Summary: Files for Microsemi Adaptec and Smart Family support for %{name}
Group: System Environment/Libraries
Requires: python3-%{name} = %{version} Requires: python3-%{name} = %{version}
Requires(post): python3-%{name} = %{version} Requires(post): python3-%{name} = %{version}
Requires(postun): python3-%{name} = %{version} Requires(postun): python3-%{name} = %{version}
@ -139,9 +149,13 @@ Adaptec RAID and Smart Family Controller storage management.
%package nfs-plugin %package nfs-plugin
Summary: Files for NFS local filesystem support for %{name} Summary: Files for NFS local filesystem support for %{name}
Group: System Environment/Libraries
Requires: python3-%{name} = %{version} Requires: python3-%{name} = %{version}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: nfs-utils Requires: nfs-utils
Obsoletes: %{name}-nfs-plugin-clibs <= 1.9.0-1
Provides: %{name}-nfs-plugin-clibs <= 1.9.0-1
Requires(post): python3-%{name} = %{version} Requires(post): python3-%{name} = %{version}
Requires(postun): python3-%{name} = %{version} Requires(postun): python3-%{name} = %{version}
@ -150,6 +164,7 @@ The nfs-plugin package contains plug-in for local NFS exports support.
%package local-plugin %package local-plugin
Summary: Files for local pseudo plugin of %{name} Summary: Files for local pseudo plugin of %{name}
Group: System Environment/Libraries
Requires: python3-%{name} = %{version} Requires: python3-%{name} = %{version}
Requires: %{name}-arcconf-plugin = %{version}-%{release} Requires: %{name}-arcconf-plugin = %{version}-%{release}
Requires: %{name}-hpsa-plugin = %{version}-%{release} Requires: %{name}-hpsa-plugin = %{version}-%{release}
@ -167,13 +182,17 @@ plugin selection for locally managed storage.
%build %build
./autogen.sh ./autogen.sh
%configure --with-python3 --disable-static %configure PYTHON=%{__python3} --with-python3 --disable-static \
%make_build %if %{without test}
--without-test
%endif
V=1 make %{?_smp_mflags}
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
%make_install make install DESTDIR=%{buildroot}
find %{buildroot} -name '*.la' -exec rm -f {} ';' find %{buildroot} -name '*.la' -exec rm -f {} ';'
@ -184,6 +203,19 @@ install -m 644 tools/udev/90-scsi-ua.rules \
install -m 755 tools/udev/scan-scsi-target \ install -m 755 tools/udev/scan-scsi-target \
%{buildroot}/%{_udevrulesdir}/../scan-scsi-target %{buildroot}/%{_udevrulesdir}/../scan-scsi-target
# Fix shebangs using the proper %%{__python3} macro
pathfix.py -pni "%{__python3}" \
%{buildroot}/usr/bin/nfs_lsmplugin \
%{buildroot}/usr/bin/lsmcli \
%{buildroot}/usr/bin/arcconf_lsmplugin \
%{buildroot}/usr/bin/targetd_lsmplugin \
%{buildroot}/usr/bin/sim_lsmplugin \
%{buildroot}/usr/bin/megaraid_lsmplugin \
%{buildroot}/usr/bin/hpsa_lsmplugin \
%{buildroot}/usr/bin/local_lsmplugin \
%{buildroot}/usr/bin/smispy_lsmplugin
%if 0%{with test} %if 0%{with test}
%check %check
if ! make check if ! make check
@ -191,12 +223,13 @@ then
cat test-suite.log || true cat test-suite.log || true
exit 1 exit 1
fi fi
%endif %endif
%pre %pre
echo 'u libstoragemgmt - "daemon account for libstoragemgmt"' | \ getent group libstoragemgmt >/dev/null || groupadd -r libstoragemgmt
systemd-sysusers --replace=/usr/lib/sysusers.d/libstoragemgmt.conf - getent passwd libstoragemgmt >/dev/null || \
useradd -r -g libstoragemgmt -d /var/run/lsm -s /sbin/nologin \
-c "daemon account for libstoragemgmt" libstoragemgmt
%post %post
/sbin/ldconfig /sbin/ldconfig
@ -298,6 +331,7 @@ if [ $1 -eq 0 ]; then
fi fi
%files %files
%defattr(-,root,root,-)
%doc README COPYING.LIB NEWS %doc README COPYING.LIB NEWS
%{_mandir}/man1/lsmcli.1* %{_mandir}/man1/lsmcli.1*
%{_mandir}/man1/lsmd.1* %{_mandir}/man1/lsmd.1*
@ -320,6 +354,7 @@ fi
%attr(0644, root, root) %{_tmpfilesdir}/%{name}.conf %attr(0644, root, root) %{_tmpfilesdir}/%{name}.conf
%files devel %files devel
%defattr(-,root,root,-)
%{_includedir}/* %{_includedir}/*
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
@ -359,6 +394,7 @@ fi
%{_mandir}/man1/sim_lsmplugin.1* %{_mandir}/man1/sim_lsmplugin.1*
%files smis-plugin %files smis-plugin
%defattr(-,root,root,-)
%dir %{python3_sitelib}/smispy_plugin %dir %{python3_sitelib}/smispy_plugin
%dir %{python3_sitelib}/smispy_plugin/__pycache__ %dir %{python3_sitelib}/smispy_plugin/__pycache__
%{python3_sitelib}/smispy_plugin/__pycache__/* %{python3_sitelib}/smispy_plugin/__pycache__/*
@ -377,6 +413,7 @@ fi
%{_mandir}/man1/smispy_lsmplugin.1* %{_mandir}/man1/smispy_lsmplugin.1*
%files targetd-plugin %files targetd-plugin
%defattr(-,root,root,-)
%dir %{python3_sitelib}/targetd_plugin %dir %{python3_sitelib}/targetd_plugin
%dir %{python3_sitelib}/targetd_plugin/__pycache__ %dir %{python3_sitelib}/targetd_plugin/__pycache__
%{python3_sitelib}/targetd_plugin/__pycache__/* %{python3_sitelib}/targetd_plugin/__pycache__/*
@ -386,10 +423,12 @@ fi
%{_mandir}/man1/targetd_lsmplugin.1* %{_mandir}/man1/targetd_lsmplugin.1*
%files udev %files udev
%defattr(-,root,root,-)
%{_udevrulesdir}/../scan-scsi-target %{_udevrulesdir}/../scan-scsi-target
%{_udevrulesdir}/90-scsi-ua.rules %{_udevrulesdir}/90-scsi-ua.rules
%files megaraid-plugin %files megaraid-plugin
%defattr(-,root,root,-)
%dir %{python3_sitelib}/megaraid_plugin %dir %{python3_sitelib}/megaraid_plugin
%dir %{python3_sitelib}/megaraid_plugin/__pycache__ %dir %{python3_sitelib}/megaraid_plugin/__pycache__
%{python3_sitelib}/megaraid_plugin/__pycache__/* %{python3_sitelib}/megaraid_plugin/__pycache__/*
@ -401,6 +440,7 @@ fi
%{_mandir}/man1/megaraid_lsmplugin.1* %{_mandir}/man1/megaraid_lsmplugin.1*
%files hpsa-plugin %files hpsa-plugin
%defattr(-,root,root,-)
%dir %{python3_sitelib}/hpsa_plugin %dir %{python3_sitelib}/hpsa_plugin
%dir %{python3_sitelib}/hpsa_plugin/__pycache__ %dir %{python3_sitelib}/hpsa_plugin/__pycache__
%{python3_sitelib}/hpsa_plugin/__pycache__/* %{python3_sitelib}/hpsa_plugin/__pycache__/*
@ -412,6 +452,7 @@ fi
%{_mandir}/man1/hpsa_lsmplugin.1* %{_mandir}/man1/hpsa_lsmplugin.1*
%files nfs-plugin %files nfs-plugin
%defattr(-,root,root,-)
%dir %{python3_sitearch}/nfs_plugin %dir %{python3_sitearch}/nfs_plugin
%dir %{python3_sitearch}/nfs_plugin/__pycache__ %dir %{python3_sitearch}/nfs_plugin/__pycache__
%{python3_sitearch}/nfs_plugin/__pycache__/* %{python3_sitearch}/nfs_plugin/__pycache__/*
@ -423,6 +464,7 @@ fi
%{_mandir}/man1/nfs_lsmplugin.1* %{_mandir}/man1/nfs_lsmplugin.1*
%files arcconf-plugin %files arcconf-plugin
%defattr(-,root,root,-)
%dir %{python3_sitelib}/arcconf_plugin %dir %{python3_sitelib}/arcconf_plugin
%dir %{python3_sitelib}/arcconf_plugin/__pycache__ %dir %{python3_sitelib}/arcconf_plugin/__pycache__
%{python3_sitelib}/arcconf_plugin/__pycache__/* %{python3_sitelib}/arcconf_plugin/__pycache__/*
@ -434,6 +476,7 @@ fi
%{_mandir}/man1/arcconf_lsmplugin.1* %{_mandir}/man1/arcconf_lsmplugin.1*
%files local-plugin %files local-plugin
%defattr(-,root,root,-)
%dir %{python3_sitelib}/local_plugin %dir %{python3_sitelib}/local_plugin
%dir %{python3_sitelib}/local_plugin/__pycache__ %dir %{python3_sitelib}/local_plugin/__pycache__
%{python3_sitelib}/local_plugin/__pycache__/* %{python3_sitelib}/local_plugin/__pycache__/*
@ -444,148 +487,99 @@ fi
%{_mandir}/man1/local_lsmplugin.1* %{_mandir}/man1/local_lsmplugin.1*
%changelog %changelog
* Tue Apr 18 2023 Tony Asleson <tasleson@redhat.com> - 1.9.7-2 * Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.9.1-7
- FIPS correction ref: https://issues.redhat.com/browse/RHEL-376 - Rebuilt for MSVSphere 8.8
* Wed Feb 22 2023 Tony Asleson <tasleson@redhat.com> - 1.9.7-1
- Upgrade to 1.9.7
* Thu Oct 27 2022 Tony Asleson <tasleson@redhat.com> - 1.9.5-1
- Upgrade to 1.9.5
- Use systemd-sysusers
* Wed Nov 17 2021 Tony Asleson <tasleson@redhat.com> - 1.9.3-1 * Thu Jun 29 2023 Tony Asleson <tasleson@redhat.com> - 1.9.1-7
- Upgrade to 1.9.3 - Remove valgrind dependency as not being used and causing
- Add requirements for local plugin build to fail as it pulls in python3.11
* Thu Aug 12 2021 Tony Asleson <tasleson@redhat.com> - 1.9.2-4 * Tue Jun 27 2023 Tony Asleson <tasleson@redhat.com> - 1.9.1-6
- Re-spin to pick up gating file change - Fix subparsers
* Wed Aug 11 2021 Tony Asleson <tasleson@redhat.com> - 1.9.2-3 * Tue Jun 27 2023 Tony Asleson <tasleson@redhat.com> - 1.9.1-5
- Fix for https://bugzilla.redhat.com/show_bug.cgi?id=1974108 - Add missing test yaml configuration file
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.9.2-2 * Wed Jun 21 2023 Tony Asleson <tasleson@redhat.com> - 1.9.1-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - RHEL-397 fips related corrections
Related: rhbz#1991688
* Mon May 17 2021 Tony Asleson <tasleson@redhat.com> - 1.9.2-1 * Fri Nov 12 2021 Tony Asleson <tasleson@redhat.com> - 1.9.1-3
- Upgrade to 1.9.2 - Correct rpmdiff warnings
- RHBZ #2018657
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.9.0-2 * Tue Nov 9 2021 Tony Asleson <tasleson@redhat.com> - 1.9.1-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Correct megaraid raid info (RHBZ #2018657)
* Thu Mar 25 2021 Tony Asleson <tasleson@redhat.com> - 1.9.0-1 * Tue Apr 20 2021 Tony Asleson <tasleson@redhat.com> - 1.9.1-1
- Upgrade to 1.9.0 - Upgrade to 1.9.1
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-3 * Wed Apr 14 2021 Tony Asleson <tasleson@redhat.com> - 1.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Re-order dependencies
- Correct multi-lib issue with python simulator files location
* Mon Jan 25 2021 Tony Asleson <tasleson@redhat.com> - 1.8.8-2 * Tue Mar 30 2021 Tony Asleson <tasleson@redhat.com> - 1.9.0-1
- Disable test - Upgrade to 1.9.0 (RHBZ #1939191)
* Tue Dec 15 2020 Tony Asleson <tasleson@redhat.com> - 1.8.8-1
- Upgrade to 1.8.8 which removes a couple of plugins and reorg.
the plugin install directories.
* Thu Dec 3 2020 Tony Asleson <tasleson@redhat.com> - 1.8.7-1 * Thu Dec 3 2020 Tony Asleson <tasleson@redhat.com> - 1.8.7-1
- Upgrade to 1.8.7 - Upgrade to 1.8.7 (RHBZ #1817117)
* Mon Nov 2 2020 Tony Asleson <tasleson@redhat.com> - 1.8.6-1
- Upgrade to 1.8.6
* Thu Oct 1 2020 Tony Asleson <tasleson@redhat.com> - 1.8.5-3
- Remove pywbem version check as its not needed and breaks
now that epoch is used in it.
* Fri Sep 4 2020 Tony Asleson <tasleson@redhat.com> - 1.8.5-2 * Thu Nov 5 2020 Tony Asleson <tasleson@redhat.com> - 1.8.6-1
- Fix test compile error for i386 - Upgrade to 1.8.6 (RHBZ #1817117)
* Tue Aug 11 2020 Tony Asleson <tasleson@redhat.com> - 1.8.5-1 * Wed Jul 1 2020 Tony Asleson <tasleson@redhat.com> - 1.8.3-2
- Upgrade to 1.8.5 - Version bump for (RHBZ #1792447)
- Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1864052
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-5 * Thu Feb 13 2020 Tony Asleson <tasleson@redhat.com> - 1.8.3-1
- Second attempt - Rebuilt for - Upgrade to 1.8.3 (RHBZ #1741288)
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-4 * Thu Feb 13 2020 Tony Asleson <tasleson@redhat.com> - 1.8.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Fix dnf groupinstall base (RHBZ #1792370)
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 1.8.4-3 * Wed Oct 30 2019 Tony Asleson <tasleson@redhat.com> - 1.8.1-3
- Use make macros - Correct rpm -V (RHBZ #1726209)
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.8.4-2 * Thu Jun 13 2019 Tony Asleson <tasleson@redhat.com> - 1.8.1-2
- Rebuilt for Python 3.9 - Correct gating.yaml (RHBZ #1720284)
* Thu May 21 2020 Tony Asleson <tasleson@redhat.com> - 1.8.4-1 * Tue Jun 11 2019 Tony Asleson <tasleson@redhat.com> - 1.8.1-1
- Upgrade to 1.8.4 - Obsolete the netapp plugin.
* Wed Feb 12 2020 Tony Asleson <tasleson@redhat.com> - 1.8.3-1 * Fri May 24 2019 Tony Asleson <tasleson@redhat.com> - 1.8.1-0
- Upgrade to 1.8.3 - Upgrade to 1.8.1
* Mon Feb 10 2020 Tony Asleson <tasleson@redhat.com> - 1.8.2-3 * Wed May 22 2019 Tony Asleson <tasleson@redhat.com> - 1.6.2-11
- Correct python clib packages to include ISA for correct dependencies - Fix tmpfiles run directory (RHBZ #1710776)
- Add nfs-utils dependency (RHBZ #1657407)
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2 * Tue Oct 16 2018 Tony Asleson <tasleson@redhat.com> - 1.6.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Remove NetApp Ontap plugin. (RHBZ #1626415)
* Tue Dec 10 2019 Tony Asleson <tasleson@redhat.com> - 1.8.2-1 * Tue Sep 25 2018 Gris Ge <fge@redhat.com> - 1.6.2-9
- Upgrade to 1.8.2 - Fix the manapge of lsmd.conf. (RHBZ #1612755)
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.8.0-4 * Tue Sep 18 2018 Gris Ge <fge@redhat.com> - 1.6.2-8
- Rebuilt for Python 3.8.0rc1 (#1748018) - Fix the `rpm -V` failures. (RHBZ #1630114)
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.8.0-3 * Tue Sep 18 2018 Gris Ge <fge@redhat.com> - 1.6.2-7
- Rebuilt for Python 3.8
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed Apr 17 2019 Tony Asleson <tasleson@redhat.com> - 1.8.0-1
- Upgrade to 1.8.0
* Mon Feb 18 2019 Tony Asleson <tasleson@redhat.com> - 1.7.3-1
- Upgrade to 1.7.3
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Dec 19 2018 Tony Asleson <tasleson@redhat.com> - 1.7.2-1
- Upgrade to 1.7.2
* Tue Nov 6 2018 Tony Asleson <tasleson@redhat.com> - 1.7.1-1
- Upgrade to 1.7.1
* Wed Oct 31 2018 Tony Asleson <tasleson@redhat.com> - 1.7.0-1
- Upgrade to 1.7.0
* Tue Sep 18 2018 Gris Ge <fge@redhat.com> - 1.6.2-10
- Add explicit package version requirement to libstoragemgmt-nfs-plugin-clibs. - Add explicit package version requirement to libstoragemgmt-nfs-plugin-clibs.
* Mon Sep 17 2018 Gris Ge <fge@redhat.com> - 1.6.2-9 * Mon Sep 03 2018 Gris Ge <fge@redhat.com> - 1.6.2-6
- Fix the `rpm -V` failures. (RHBZ #1629735, the same issue also in Fedora) - Move lsm utils to /usr/libexec/lsm.d folder. (RHBZ #1623506)
* Tue Jul 24 2018 Adam Williamson <awilliam@redhat.com> - 1.6.2-8
- Rebuild for new libconfig
* Tue Jul 24 2018 Gris Ge <fge@redhat.com> - 1.6.2-7
- Add missing gcc gcc-c++ build requirements.
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 26 2018 Gris Ge <fge@redhat.com> - 1.6.2-5 * Mon Sep 03 2018 Gris Ge <fge@redhat.com> - 1.6.2-5
- Fix lscmli on python 3.7. - Removed the dependency of yajl. (RHBZ #1560205)
* Tue Jun 26 2018 Gris Ge <fge@redhat.com> - 1.6.2-4 * Fri Aug 10 2018 Gris Ge <fge@redhat.com> 1.6.2-4
- Rebuild again with --target=f29-python. - Removed the requirement of initscripts.
- Remove python2 sub-packages.
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.6.2-3 * Fri Aug 3 2018 Florian Weimer <fweimer@redhat.com> - 1.6.2-3
- Rebuilt for Python 3.7 - Honor %%{valgrind_arches}
- De-configure the test suite unless building with testing
* Mon Jun 18 2018 Gris Ge <fge@redhat.com> - 1.6.2-2 * Tue Jul 03 2018 Tomas Orsava <torsava@redhat.com> - 1.6.2-2
- Removed the requirement of initscripts. (RHBZ 1592363) - Switch hardcoded python3 path into the %%{__python3} macro
- Fix shebangs accordingly
* Fri May 18 2018 Gris Ge <fge@redhat.com> - 1.6.2-1 * Fri May 18 2018 Gris Ge <fge@redhat.com> - 1.6.2-1
- Upgrade to 1.6.2. - Upgrade to 1.6.2.

Loading…
Cancel
Save