Compare commits

..

218 Commits

Author SHA1 Message Date
Fedora Release Engineering
2247731166 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 00:32:36 +00:00
Kaleb S. KEITHLEY
1d3eea3550 Rebuilt for pyparsing-3.0.9, ceph w/ fmt-9
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2022-07-19 09:59:38 -04:00
Zbigniew Jędrzejewski-Szmek
f9b55e0398 Rebuilt for pyparsing-3.0.9 2022-07-19 11:12:47 +02:00
Python Maint
5c580d2bd9 Rebuilt for Python 3.11 2022-06-15 18:15:36 +02:00
Karolina Surma
7e4703a16c Fix bogus date in %%changelog 2022-03-04 11:20:47 +01:00
Karolina Surma
05d91f058c Fix build with cmake 3.23.0rc2 2022-03-04 11:18:12 +01:00
Karolina Surma
bb5c7d05d7 Don't BR setuptools, use Python's bundled distutils 2022-03-04 11:12:01 +01:00
Kaleb S. KEITHLEY
81fb321f45 NFS-Ganesha 4.1, w/ modern linker (mold), this time for real
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2022-01-28 08:20:10 -05:00
Kaleb S. KEITHLEY
924bfb7714 NFS-Ganesha 4.1, w/ modern linker (mold), this time for real
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2022-01-28 07:42:17 -05:00
Kaleb S. KEITHLEY
d15b9bb2b3 NFS-Ganesha 4.0, w/ modern linker (mold)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2022-01-26 17:18:07 -05:00
Fedora Release Engineering
ef6ab3fb62 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 21:10:39 +00:00
Kaleb S. KEITHLEY
fb6e3e1938 NFS-Ganesha 4.0 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2021-12-21 17:16:59 -05:00
Kaleb S. KEITHLEY
9961703bbf NFS-Ganesha 4.0 RC6
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2021-12-17 09:09:04 -05:00
Kaleb S. KEITHLEY
047b685db6 NFS-Ganesha 4.0 RC4, w/ utils and gui_utils (python)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2021-11-17 09:48:47 -05:00
Kaleb S. KEITHLEY
66fd3679e7 NFS-Ganesha 4.0 RC4
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2021-11-17 07:48:06 -05:00
Kaleb S. KEITHLEY
9caf1185dd NFS-Ganesha 4.0 RC3
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2021-11-09 15:00:28 -05:00
Fedora Release Engineering
4211c1b372 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 16:06:26 +00:00
Lars Kellogg-Stedman
0627c77bf2 make nfs-ganesha depend on dbus-tools
the nfs-ganesha.service unit requires dbus-send (from the dbus-tools
package) in its ExecStop operation.
2021-07-16 21:18:27 -04:00
Kaleb S. KEITHLEY
200e7b67e5 Rebuilt for userspace-rcu-0.13 again
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2021-06-22 09:23:18 -04:00
Kaleb S. KEITHLEY
df8718b521 - Rebuilt for libntirpc-3.5
- plus https://src.fedoraproject.org/rpms/nfs-ganesha/pull-request/2
2021-06-16 08:42:34 -04:00
Kaleb S. KEITHLEY
32896262e9 Rebuilt for userspace-rcu-0.13
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2021-06-08 15:40:40 -04:00
Python Maint
820b3b0f74 Rebuilt for Python 3.10 2021-06-04 20:12:51 +02:00
Zbigniew Jędrzejewski-Szmek
d42f7eb3a0 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:13:18 +01:00
Kaleb S KEITHLEY
595ee3906f NFS-Ganesha 3.5, rebuild with ceph-16
Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
2021-02-09 11:22:01 -05:00
Kaleb S KEITHLEY
7f92338962 NFS-Ganesha 3.5 GA
fix for compiling with Ceph-16 (pacific)

Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
2021-01-28 14:19:07 -05:00
Fedora Release Engineering
3e84f439a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 21:29:56 +00:00
Kaleb S KEITHLEY
bf71e90723 NFS-Ganesha 3.4 GA
Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
2020-12-24 08:19:55 -05:00
Kaleb S. KEITHLEY
14466c6a6e BuildRequires: make
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-11-05 13:44:36 -05:00
Kaleb S. KEITHLEY
3b2b58f384 BuildRequires: make
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-11-05 13:43:16 -05:00
Fedora Release Engineering
ab19725f23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 09:08:01 +00:00
Kaleb S. KEITHLEY
a4ec89c0bb use cmake_build and
DESTDIR="/home/kkeithle/rpmbuild/BUILDROOT/nfs-ganesha-3.3-6.fc33.x86_64" /usr/bin/cmake --install "."

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-07-20 18:50:27 -04:00
Kaleb S. KEITHLEY
542de333e7 use /usr/bin/make install DESTDIR=/home/kkeithle/rpmbuild/BUILDROOT/nfs-ganesha-3.3-5.fc33.x86_64 INSTALL="/usr/bin/install -p"
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-07-20 17:32:17 -04:00
Kaleb S. KEITHLEY
a49b203422 use /usr/bin/make install DESTDIR=/home/kkeithle/rpmbuild/BUILDROOT/nfs-ganesha-3.3-5.fc33.x86_64 INSTALL="/usr/bin/install -p"
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-07-20 17:17:06 -04:00
Kaleb S. KEITHLEY
d96da186eb rpc-statd.conf.el8
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-07-13 08:31:14 -04:00
Kaleb S. KEITHLEY
165b431299 explicit BuildRequires: python3-setuptools
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-06-23 13:14:09 -04:00
Kaleb S. KEITHLEY
bc813f3e27 rhbz#1848208
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-06-18 13:05:47 -04:00
Kaleb S. KEITHLEY
9d6efd5167 rhbz#1848208
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-06-18 09:50:32 -04:00
Kaleb S. KEITHLEY
3ef69e3bfe NFS-Ganesha 3.3 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-06-08 19:22:54 -04:00
Miro Hrončok
88c1030d09 Rebuilt for Python 3.9 2020-05-26 02:54:07 +02:00
Kaleb S. KEITHLEY
293ee2225d NFS-Ganesha 3.2, NFSv4-compound-op-fails SEGV
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-03-23 11:23:00 -04:00
Kaleb S. KEITHLEY
8010aac0ae NFS-Ganesha 3.2, /var/log/ganesha, rhbz#1805493
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-02-20 16:48:26 -05:00
Fedora Release Engineering
6f0b4e91c5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 14:57:14 +00:00
Kaleb S. KEITHLEY
abe97aa180 NFS-Ganesha 3.2, gcc-10
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-01-23 07:22:29 -05:00
Kaleb S. KEITHLEY
9825f8b96a NFS-Ganesha 3.2 GA
3.1 was not built

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-12-22 08:43:35 -05:00
Kaleb S. KEITHLEY
ab2d212e63 python3-qt5-devel
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-12-18 21:06:44 -05:00
Kaleb S. KEITHLEY
3e3ebff950 fix typo in ceph
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-12-18 20:35:07 -05:00
Kaleb S. KEITHLEY
4f6f7afe3b NFS-Ganesha 3.0 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-11-12 08:56:51 -05:00
Kaleb S. KEITHLEY
936882ed73 nfs-ganesha 3.0 RC5, rebuild w/ libntirpc-3.0 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-11-06 15:25:31 -05:00
Kaleb S. KEITHLEY
b5d9744c39 nfs-ganesha 3.0 RC5, enable fsal_mem (again)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-11-05 07:21:24 -05:00
Kaleb S. KEITHLEY
cfc02de73c nfs-ganesha 3.0 RC5
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-11-04 06:40:20 -05:00
Kaleb S. KEITHLEY
2d0d6b1a89 nfs-ganesha 3.0 RC5
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-11-04 06:22:43 -05:00
Kaleb S. KEITHLEY
de44192b1b nfs-ganesha 3.0 RC5
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-11-04 06:20:19 -05:00
Kaleb S. KEITHLEY
79bb7eee69 nfs-ganesha 3.0 RC5
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-11-03 16:45:58 -05:00
Kaleb S. KEITHLEY
75adf590e8 PyQt4 -> PyQt5
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-09-25 10:03:44 -04:00
Miro Hrončok
a89e515064 Rebuilt for Python 3.8 2019-08-19 19:11:32 +02:00
Miro Hrončok
062930bf70 Rebuilt for Python 3.8 2019-08-19 10:20:44 +02:00
Kaleb S. KEITHLEY
6af7ffe044 nfs-ganesha 2.8.2 (f32/rawhide)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-08-14 18:28:05 -04:00
Kaleb S. KEITHLEY
d81a79c315 nfs-ganesha 2.8.2 (f32/rawhide)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-08-14 10:21:57 -04:00
Kaleb S. KEITHLEY
bbd24ff058 nfs-ganesha 2.8.2, #1741023
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-08-14 10:04:31 -04:00
Fedora Release Engineering
70b648dfcd - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 18:38:21 +00:00
Kaleb S. KEITHLEY
ff07091c53 nfs-ganesha 2.8.2 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-07-23 11:46:06 -04:00
Kaleb S. KEITHLEY
fc814435ed nfs-ganesha 2.8.2 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-07-23 11:45:27 -04:00
Kaleb S. KEITHLEY
513f8799eb nfs-ganesha 2.8.2 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-07-23 07:53:25 -04:00
Kaleb S. KEITHLEY
78e8f49df4 nfs-ganesha 2.8.1 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-07-02 16:28:32 -04:00
Kaleb S. KEITHLEY
07543d66ee nfs-ganesha 2.8.0.3
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-07-01 08:19:37 -04:00
Kaleb S. KEITHLEY
d8b0c47aad nfs-ganesha 2.8.0, 2.8.0.3
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-07-01 07:52:02 -04:00
Kaleb S. KEITHLEY
86b7cde6b7 nfs-ganesha 2.8.0, 2.8.0.2
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-06-16 11:27:27 -04:00
Kaleb S. KEITHLEY
b8c02c80a0 nfs-ganesha 2.8.0, 2.8.0.2
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-06-16 11:26:49 -04:00
Kaleb S. KEITHLEY
f628f3d066 nfs-ganesha 2.8.0, 2.8.0.1
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-06-11 13:45:20 -04:00
Kaleb S. KEITHLEY
def82dfa51 nfs-ganesha 2.8.0 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-06-01 08:24:22 -04:00
Kaleb S. KEITHLEY
a00bf8e864 nfs-ganesha 2.8.0 RC1, utils and gui_utils enabled
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-05-31 11:12:59 -04:00
Kaleb S. KEITHLEY
509613b1a7 nfs-ganesha 2.8.0 RC1, utils and gui_utils disabled until the python
byte_compile problems can be resolved

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-05-30 18:09:29 -04:00
Kaleb S. KEITHLEY
418b8af108 nfs-ganesha 2.8.0 RC1, utils and gui_utils disabled until the python
byte_compile problems can be resolved

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-05-30 18:07:08 -04:00
Miro Hrončok
022276c49e Avoid unversioned Python requires 2019-05-17 22:46:11 +02:00
Kaleb S. KEITHLEY
d73e4a2278 nfs-ganesha 2.7.3, enable utils w/ python2 on f30 and up
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-05-16 11:37:31 -04:00
Kaleb S. KEITHLEY
c19e20e90e nfs-ganesha 2.7.3, selinux bz#1706462
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-05-10 14:10:07 -04:00
Kaleb S. KEITHLEY
7ed9144fc2 nfs-ganesha 2.7.3 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-04-05 10:10:31 -04:00
Kaleb S. KEITHLEY
28bfca8b95 nfs-ganesha 2.7.3 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-04-05 09:22:41 -04:00
Kaleb S. KEITHLEY
18cd2f5bf7 nfs-ganesha 2.7.2 reenable ceph, rgw, rados from bad merge
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-03-11 12:43:35 -04:00
Kaleb S. KEITHLEY
0ef87e820b nfs-ganesha 2.7.2 reenable ceph, rgw, rados from bad merge
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-03-11 12:37:16 -04:00
Kaleb S. KEITHLEY
0c742b18ec nfs-ganesha 2.7.2 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-02-27 10:38:50 -05:00
Kaleb S. KEITHLEY
b0fd3e3246 rebuild for f31/rawhide
add libnsl2-devel on rhel8
 eliminate redundant cmake -DDSANITIZE_ADDRESS=OFF

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-02-21 17:37:59 -05:00
Fedora Release Engineering
4b51389cab - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 12:19:18 +00:00
Igor Gnatenko
1e5501946e Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:18 +01:00
Kaleb S. KEITHLEY
e2b082d005 nfs-ganesha 2.7.1, fix selinux
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-12-19 08:25:47 -05:00
Kaleb S. KEITHLEY
c1ed297730 nfs-ganesha 2.7.1, rebuild w/ ceph-14
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-12-07 15:07:08 -05:00
Kaleb S. KEITHLEY
ce7655b8e8 nfs-ganesha 2.7.1, rebuild w/ ceph-14
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-12-07 14:37:57 -05:00
Kaleb S. KEITHLEY
5938cd0116 nfs-ganesha 2.7.1, rebuild w/ libntirpc-1.7.1-1
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-10-16 11:08:34 -04:00
Kaleb S. KEITHLEY
1aca25ecc2 nfs-ganesha 2.7.1 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-10-14 09:34:44 -04:00
Kaleb S. KEITHLEY
74231f2de2 nfs-ganesha 2.7.0, obsolete xfs, enable lttng
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-09-20 10:48:06 -04:00
Kaleb S. KEITHLEY
728473a63c nfs-ganesha 2.7.0, obsolete xfs, enable lttng
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-09-20 10:31:31 -04:00
Kaleb S. KEITHLEY
65db5435fb nfs-ganesha 2.7.0 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-09-17 09:01:09 -04:00
Kaleb S. KEITHLEY
42f662bec2 nfs-ganesha 2.6.3 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-08-22 11:25:11 -04:00
Petr Lautrbach
bcd493e99b Require the correct package with /usr/sbin/semanage
/usr/sbin/semanage tool is shipped by policycoreutils-python in Red Hat
Enterprise Linux, but it was moved to policycoreutils-python-utils in Fedora
2018-08-10 09:57:34 +02:00
Igor Gnatenko
3380c42015
python-devel → python2-devel
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-29 23:39:13 +02:00
Igor Gnatenko
00e0072a42
%{python_sitelib} → %{python2_sitelib}
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-29 23:11:28 +02:00
Kaleb S. KEITHLEY
e796917a2d disable utils, python
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-17 11:58:24 -04:00
Fedora Release Engineering
51b22e8610 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 11:35:21 +00:00
Kaleb S. KEITHLEY
26760bb154 defattr
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-03 15:39:07 -04:00
Kaleb S. KEITHLEY
5c8952e684 nfs-ganesha 2.6.2 w/ ceph and rgw FSALs
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-05-16 09:49:54 -04:00
Kaleb S. KEITHLEY
14f2b8c96f nfs-ganesha 2.6.2 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-05-10 13:39:05 -04:00
Kaleb S. KEITHLEY
fa4ed37765 nfs-ganesha 2.6.1 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-03-20 11:24:55 -04:00
Kaleb S. KEITHLEY
dc3646458c nfs-ganesha 2.6.0 GA, rebuild (relink) with libntirpc-1.6.1
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-03-02 07:25:19 -05:00
Kaleb S. KEITHLEY
877078d3bf nfs-ganesha 2.6.0 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-02-20 08:14:05 -05:00
Kaleb S. KEITHLEY
9ca2f2d540 nfs-ganesha 2.6.0 RC5, rebuild with libntirpc-1.6.1
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-02-20 06:01:51 -05:00
Kaleb S. KEITHLEY
7b79460bf0 nfs-ganesha 2.6.0 RC5
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-02-09 07:27:23 -05:00
Fedora Release Engineering
7e45282fed - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 04:11:01 +00:00
Kaleb S. KEITHLEY
d15d4f6e00 nfs-ganesha 2.6.0 RC3
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-01-19 09:00:46 -05:00
Kaleb S. KEITHLEY
fbbaa05230 nfs-ganesha 2.6.0 RC2
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-01-17 14:32:41 -05:00
Kaleb S. KEITHLEY
f11e61c580 rebuild with libnfsidmap (libnfsidmap.so.1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-01-11 15:38:11 -05:00
Kaleb S. KEITHLEY
75d133c12c nfs-ganesha 2.5.4 GA 2017-11-13 14:28:54 -05:00
Kaleb S. KEITHLEY
0f11624b71 nfs-ganesha 2.5.3, quiet semanage 2017-10-20 12:54:58 -04:00
Kaleb S. KEITHLEY
1dc8241f13 nfs-ganesha 2.5.3, fix semanage in %post 2017-10-20 12:47:58 -04:00
Kaleb S. KEITHLEY
a98844adc4 nfs-ganesha 2.5.3 GA 2017-10-10 14:21:42 -04:00
Kaleb S. KEITHLEY
0e04457657 nfs-ganesha 2.5.3 GA 2017-10-10 09:49:19 -04:00
Kaleb S. KEITHLEY
474e44d1ac /var/log/ganesha -> ganesha_var_log_t
see https://github.com/nfs-ganesha/nfs-ganesha/issues/212
2017-09-27 07:19:24 -04:00
Kaleb S. KEITHLEY
d05aff4352 /var/log/ganesha -> ganesha_var_log_t
see https://github.com/nfs-ganesha/nfs-ganesha/issues/212
2017-09-22 15:30:33 -04:00
Kaleb S. KEITHLEY
ce0cac8bbe /var/log/ganesha owner ganesha.ganesha -> ganesha.root
see https://github.com/nfs-ganesha/nfs-ganesha/issues/212
2017-09-22 09:21:05 -04:00
Kaleb S. KEITHLEY
efb2febf03 nfs-ganesha 2.5.2 GA 2017-08-28 13:37:45 -04:00
Kaleb S. KEITHLEY
cbd714c6ef no rdma on arm(v7hl), FSAL_RGW, FSAL_CEPH; with ceph-12-1.4-5 2017-08-25 13:13:31 -04:00
Kaleb S. KEITHLEY
9f41a4ca0f no rdma on arm(v7hl), thus no rgw in ceph, hence no FSAL_RGW 2017-08-24 10:34:53 -04:00
Kaleb S. KEITHLEY
3029cca49a nfs-ganesha 2.5.2 GA 2017-08-24 09:21:29 -04:00
Kaleb S. KEITHLEY
32ba49ab2a /var/run -> /run 2017-08-18 13:57:40 -04:00
Kaleb S. KEITHLEY
14b51ae79c nfs-ganesha 2.5.1.1 GA
enable ppc64, enable FSAL_GPFS
2017-08-04 13:13:53 -04:00
Kaleb S. KEITHLEY
0cbafc6f02 nfs-ganesha 2.5.1.1 GA
enable ppc64, enable FSAL_GPFS
2017-08-03 09:30:28 -04:00
Kaleb S. KEITHLEY
b85803fad4 nfs-ganesha 2.5.1 w/ FSAL_CEPH and FSAL_RGW on i686, armv7hl 2017-07-31 08:22:52 -04:00
Fedora Release Engineering
6b492c5817 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 22:55:09 +00:00
Kaleb S. KEITHLEY
a170b7fc78 nfs-ganesha 2.5.1 w/ FSAL_RGW 2017-07-25 08:14:57 -04:00
Kaleb S. KEITHLEY
e5f872ff52 nfs-ganesha 2.5.1 w/ FSAL_RGW 2017-07-25 08:06:11 -04:00
Kaleb S. KEITHLEY
a58d1bc4cd nfs-ganesha 2.5.1 w/ ceph-12.1.1 2017-07-24 15:57:32 -04:00
Kaleb S. KEITHLEY
7f85a340c7 nfs-ganesha 2.5.1 w/ ceph-12.1.1 2017-07-24 15:15:14 -04:00
Kaleb S. KEITHLEY
d554e7ce72 nfs-ganesha 2.5.1 GA 2017-07-22 06:52:34 -04:00
Kaleb S. KEITHLEY
2bc3ae1b1f nfs-ganesha 2.5.1 GA 2017-07-21 22:35:04 -04:00
Kaleb S. KEITHLEY
6a7437ed79 nfs-ganesha 2.5.0 w/ libntirpc-1.5.3 2017-07-19 14:05:03 -04:00
Kaleb S. KEITHLEY
a9d34ca357 nfs-ganesha 2.5.0 w/ libntirpc-1.5.3 2017-07-19 13:45:43 -04:00
Kaleb S. KEITHLEY
5e04aa1acd nfs-ganesha 2.5.0 rebuild with libntirpc-1.5.3 2017-07-19 13:23:46 -04:00
Kaleb S. KEITHLEY
c046aad3c5 nfs-ganesha 2.5.0 rebuild with ceph 2017-06-27 09:31:32 -04:00
Kaleb S. KEITHLEY
8b3fa92254 nfs-ganesha 2.5.0 rebuild with userspace-rcu-0.10.0 (liburcu-bp.so.6) 2017-06-25 18:44:52 -04:00
Kaleb S. KEITHLEY
f2f6dd4571 nfs-ganesha 2.5.0 GA 2017-06-12 13:29:19 -04:00
Kaleb S. KEITHLEY
e97bb47964 nfs-ganesha 2.5.0 GA 2017-06-12 12:25:02 -04:00
Kaleb S. KEITHLEY
9fa6588925 nfs-ganesha 2.5 final 2017-06-07 01:54:32 -04:00
Kaleb S. KEITHLEY
417adbba62 nfs-ganesha 2.5 rc8, with libntirpc-1.5.2 2017-06-06 02:01:48 -04:00
Kaleb S. KEITHLEY
92b66aed92 nfs-ganesha 2.5 rc8, with libntirpc-1.5.2 2017-05-30 18:25:04 -04:00
Kaleb S. KEITHLEY
46a5515e98 nfs-ganesha 2.5rc7 2017-05-22 08:30:59 -04:00
Kaleb S. KEITHLEY
6c45a417d1 rebuild with libntirpc-1.4.4 2017-05-16 15:32:38 -04:00
Kaleb S. KEITHLEY
b8570f7f58 nfs-ganesha 2.5rc6 2017-05-14 17:55:15 -04:00
Kaleb S. KEITHLEY
0ccf11e5e8 nfs-ganesha 2.5rc6 2017-05-14 17:54:49 -04:00
Kaleb S. KEITHLEY
2374aacdbe nfs-ganesha 2.5rc5 2017-05-11 07:23:09 -04:00
Kaleb S. KEITHLEY
23164b9062 rebuild with libntirpc-1.5.1 2017-05-11 07:18:28 -04:00
Kaleb S. KEITHLEY
8a9dc58eb5 nfs-ganesha 2.5rc4 2017-05-08 07:21:22 -04:00
Kaleb S. KEITHLEY
6368c27d68 nfs-ganesha 2.5rc4 2017-05-08 06:44:21 -04:00
Kaleb S. KEITHLEY
2c451eb2c5 nfs-ganesha 2.5rc3 2017-05-01 10:45:21 -04:00
Kaleb S. KEITHLEY
59466f6b5c nfs-ganesha 2.5rc2 2017-04-22 08:38:40 -04:00
Kaleb S. KEITHLEY
f1b81b7b15 nfs-ganesha 2.4.5 GA, w/ RGW again (cephfs-10.2.7) 2017-04-19 14:06:33 -04:00
Kaleb S. KEITHLEY
bfd42fc375 nfs-ganesha 2.4.5 GA, w/ RGW again (cephfs-10.2.7) 2017-04-19 13:43:37 -04:00
Kaleb S. KEITHLEY
70d150de9e nfs-ganesha 2.4.5 GA 2017-04-05 10:54:01 -04:00
Kaleb S. KEITHLEY
066e64aa67 nfs-ganesha 2.4.5 GA 2017-04-05 09:50:22 -04:00
Kaleb S. KEITHLEY
b690a420d5 nfs-ganesha 2.4.4 GA 2017-03-21 09:16:18 -04:00
Kaleb S. KEITHLEY
cc278f54eb nfs-ganesha 2.4.4 GA 2017-03-21 08:45:31 -04:00
Kaleb S. KEITHLEY
054ad8b2e7 nfs-ganesha 2.4.3 GA, reenable FSAL_CEPH and FSAL_RGW 2017-02-24 15:31:02 -05:00
Kaleb S. KEITHLEY
e157f3a27c nfs-ganesha 2.4.3 GA, reenable FSAL_CEPH and FSAL_RGW 2017-02-10 16:35:30 -05:00
Kaleb S. KEITHLEY
9d32049077 nfs-ganesha 2.4.3 GA 2017-02-08 08:10:25 -05:00
Kaleb S. KEITHLEY
cbc4b142e5 nfs-ganesha 2.4.3 GA 2017-02-08 07:35:29 -05:00
Kaleb S. KEITHLEY
1b1ba590c6 nfs-ganesha 2.4.3 GA 2017-02-08 05:56:56 -05:00
Kaleb S. KEITHLEY
094556fcd7 nfs-ganesha 2.4.3 GA 2017-02-07 17:13:24 -05:00
Kaleb S. KEITHLEY
678423fa91 delete old patch file 2017-01-27 04:16:10 -05:00
Kaleb S. KEITHLEY
4a1eb56133 nfs-ganesha 2.4.2 GA 2017-01-23 20:20:55 -05:00
Kaleb S. KEITHLEY
e33d052261 python2 (vs python3) cleanup and delete obsolete patches 2017-01-18 13:26:06 -05:00
Kaleb S. KEITHLEY
1efc584c8f nfs-ganesha 2.4.1 w/ FSAL_RGW 2016-12-23 07:25:07 -05:00
Kaleb S. KEITHLEY
087f4be955 nfs-ganesha 2.4.1 GA 2016-10-31 09:35:03 -04:00
Kaleb S. KEITHLEY
b5dcaa6095 rebuild with libntirpc-1.4.3 2016-10-26 10:01:54 -04:00
Kaleb S. KEITHLEY
8677659365 nfs-ganesha 2.4.0 GA 2016-09-22 15:44:43 -04:00
Kaleb S. KEITHLEY
f03eb79e98 2.4-rc6 2016-09-21 07:48:51 -04:00
Kaleb S. KEITHLEY
6102d56037 nfs-ganesha-2.4 RC5 2016-09-16 01:25:54 -04:00
Kaleb S. KEITHLEY
8d5e465b9e 2.4-rc4 2016-09-11 10:56:46 -04:00
Kaleb S. KEITHLEY
8a9c7f9d80 2.4-rc3 2016-09-07 14:19:30 -04:00
Kaleb S. KEITHLEY
aad12c39e0 2.4-rc2 2016-09-06 09:48:40 -04:00
Kaleb S. KEITHLEY
1271f67f1e 2.4-rc1 2016-09-01 14:01:11 -04:00
Kaleb S. KEITHLEY
fa3f3eea69 2.4-rc1 2016-08-29 12:34:28 -04:00
Kaleb S. KEITHLEY
afb472918f 2.4-dev-29, jemalloc off by default (conflicts with glusterfs-api) 2016-08-16 07:50:23 -04:00
Kaleb S. KEITHLEY
a077e1d17e 2.4-dev-29, jemalloc off by default (conflicts with glusterfs-api) 2016-08-16 07:49:52 -04:00
Kaleb S. KEITHLEY
4afaf468c3 2.4-dev-29 2016-08-16 07:36:10 -04:00
Kaleb S. KEITHLEY
9a9c3b32a6 2.4-dev-29 2016-08-16 07:22:00 -04:00
Kaleb S. KEITHLEY
979f9e5e40 2.4-dev-29 2016-08-15 14:14:08 -04:00
Kaleb S. KEITHLEY
0b3779ea1e 2.4-dev-29 2016-08-15 13:58:11 -04:00
Kaleb S. KEITHLEY
d66e9549ed glusterfs-api-devel >= 3.8.0 2016-08-09 10:08:15 -04:00
Kaleb S. KEITHLEY
7e0751d7ab nfs-ganesha-2.4-dev-27 2016-08-01 13:41:23 -04:00
Kaleb S. KEITHLEY
b38b92a2d1 2.4-dev-26 2016-07-25 08:13:20 -04:00
Kaleb S. KEITHLEY
39fbbf3114 2.4-dev-25 (revised 32-bit) 2016-07-20 13:18:39 -04:00
Kaleb S. KEITHLEY
b10a9fccdc Merge remote-tracking branch 'origin/master' into f24 2016-07-19 11:56:12 -04:00
Kaleb S. KEITHLEY
94a2154831 Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/nfs-ganesha 2016-07-19 11:33:13 -04:00
Kaleb S. KEITHLEY
87299190b8 2.4-dev-25 2016-07-19 11:32:29 -04:00
Kaleb S. KEITHLEY
48252ca694 2.4-dev-25 2016-07-19 09:23:12 -04:00
Kaleb S. KEITHLEY
6a8b398cbd 2.4-dev-25 2016-07-19 09:06:59 -04:00
Fedora Release Engineering
cf1009b10e - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 08:02:27 +00:00
Kaleb S KEITHLEY
56672bbe5e Merge remote-tracking branch 'origin/master' into f24 2016-07-05 08:27:10 -04:00
Kaleb S KEITHLEY
b22c558234 2.4-dev-23 2016-07-05 07:48:53 -04:00
Kaleb S KEITHLEY
d0472e5551 Merge remote-tracking branch 'origin/master' into f24 2016-06-24 13:26:58 -04:00
Kaleb S KEITHLEY
edb8a2f067 2.4-dev-21 w/ FSAL_RGW 2016-06-24 13:19:30 -04:00
Kaleb S KEITHLEY
5a0dcbcc37 Merge branch 'master' of ssh://pkgs.fedoraproject.org/nfs-ganesha 2016-06-20 12:58:45 -04:00
Kaleb S KEITHLEY
c1c6f9f6ed 2.4-dev-21 2016-06-20 12:56:28 -04:00
Kaleb S KEITHLEY
358c9fcdeb Merge remote-tracking branch 'origin/master' into f24 2016-06-20 12:37:38 -04:00
Kaleb S KEITHLEY
adb988de7c 2.4-dev-21 2016-06-20 11:17:07 -04:00
Kaleb S KEITHLEY
6f59480bc3 Merge remote-tracking branch 'origin/master' into f24 2016-05-30 09:12:12 -04:00
Kaleb S KEITHLEY
ee3c33d435 2.4-dev-19 2016-05-30 09:06:54 -04:00
Kaleb S KEITHLEY
93d70cc0a8 2.4-dev-17 2016-05-10 10:39:33 -04:00
Kaleb S KEITHLEY
f2cd5cb1f2 2.4-dev-17 2016-05-10 07:55:18 -04:00
Kaleb S KEITHLEY
9aed528e43 2.4-dev-14 2016-04-08 09:07:46 -04:00
Kaleb S KEITHLEY
f0c06b76b1 2.4-dev-14 2016-04-08 09:07:02 -04:00
Kaleb S KEITHLEY
36130fd1b0 2.4-dev-14 2016-04-08 08:52:46 -04:00
Kaleb S KEITHLEY
f4828a9e36 update patch for 32-bit 2016-03-31 10:06:58 -04:00
Kaleb S KEITHLEY
b3a4f82167 2.4-dev-12 2016-03-31 09:36:24 -04:00
Kaleb S KEITHLEY
cd40e4bb53 2.4-dev-10 2016-02-29 21:18:28 -05:00
Kaleb S KEITHLEY
2bad9cc406 2.4-dev-7 2016-02-06 04:25:13 -05:00
Kaleb S KEITHLEY
fc2cc6affa 2.4-dev-7 2016-02-06 01:43:45 -05:00
Kaleb S KEITHLEY
666c3cfa34 2.4-dev-7 2016-02-05 04:22:34 -05:00
Fedora Release Engineering
93eaadae64 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 09:19:33 +00:00
Kaleb S KEITHLEY
e6e9eba5e4 Requires: rpcbind or portmap 2015-11-17 08:58:54 -05:00
9 changed files with 2175 additions and 1 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.tar.gz
*.rpm

View File

@ -0,0 +1,16 @@
--- nfs-ganesha-3.5/src/config_samples/logrotate_ganesha.orig 2021-06-11 11:05:49.699522427 -0400
+++ nfs-ganesha-3.5/src/config_samples/logrotate_ganesha 2021-06-11 11:06:18.362010100 -0400
@@ -1,4 +1,5 @@
/var/log/ganesha/ganesha.log {
+ su ganesha ganesha
weekly
rotate 52
copytruncate
--- nfs-ganesha-3.5/src/config_samples/logrotate_fsal_gluster.orig 2021-06-11 11:05:59.857340860 -0400
+++ nfs-ganesha-3.5/src/config_samples/logrotate_fsal_gluster 2021-06-11 11:06:22.785931021 -0400
@@ -1,4 +1,5 @@
/var/log/ganesha/ganesha-gfapi.log {
+ su ganesha ganesha
weekly
rotate 52
copytruncate

78
0002-CMakeLists.txt.patch Normal file
View File

@ -0,0 +1,78 @@
--- nfs-ganesha-4-rc3/src/CMakeLists.txt.orig 2021-11-08 18:24:19.024041776 -0500
+++ nfs-ganesha-4-rc3/src/CMakeLists.txt 2021-11-09 13:54:02.553226811 -0500
@@ -558,11 +558,11 @@
gopt_test(USE_ADMIN_TOOLS)
if (USE_ADMIN_TOOLS)
- find_package (Python COMPONENTS Interpreter Development)
- if (NOT Python_Interpreter_FOUND)
+ find_package(PythonInterp ${USE_ADMIN_TOOLS_REQUIRED})
+ if (NOT PYTHONINTERP_FOUND)
message(WARNING "Cannot find python. Disablin admin tools")
set(USE_ADMIN_TOOLS OFF)
- endif (NOT Python_Interpreter_FOUND)
+ endif (NOT PYTHONINTERP_FOUND)
endif (USE_ADMIN_TOOLS)
gopt_test(USE_GUI_ADMIN_TOOLS)
--- nfs-ganesha-4-rc4/src/scripts/ganeshactl/CMakeLists.txt.orig 2021-11-17 09:22:20.860134361 -0500
+++ nfs-ganesha-4-rc4/src/scripts/ganeshactl/CMakeLists.txt 2021-11-17 09:41:47.651949504 -0500
@@ -44,7 +44,7 @@
Ganesha/QtUI/ui_log_dialog.ui
)
-if(Python_FOUND)
+if(PYTHONINTERP_FOUND)
set(SETUP_PY_IN "${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in")
set(SETUP_PY "${CMAKE_CURRENT_BINARY_DIR}/setup.py")
set(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/build/ganeshactl_timestamp")
@@ -118,7 +118,7 @@
add_custom_command(
OUTPUT ${OUTPUT}
- COMMAND ${Python_EXECUTABLE} "${SETUP_PY}" build
+ COMMAND ${PYTHON_EXECUTABLE} "${SETUP_PY}" build
COMMAND ${CMAKE_COMMAND} -E touch ${OUTPUT}
DEPENDS ${GANESHA_SRCS} ${UI_PY_FILES} ${SCRIPTS}
)
@@ -127,9 +127,9 @@
install(
CODE
- "execute_process(WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${Python_EXECUTABLE} ${SETUP_PY} install --skip-build --no-compile --prefix=\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX})"
+ "execute_process(WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${PYTHON_EXECUTABLE} ${SETUP_PY} install --skip-build --no-compile --prefix=\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX})"
)
-endif(Python_FOUND)
+endif(PYTHONINTERP_FOUND)
# Man page
set(man8_file ganesha_conf.man)
--- nfs-ganesha-4-rc4/src/scripts/gpfs-epoch/CMakeLists.txt.orig 2021-11-17 09:22:55.938555754 -0500
+++ nfs-ganesha-4-rc4/src/scripts/gpfs-epoch/CMakeLists.txt 2021-11-17 09:41:32.836208727 -0500
@@ -1,6 +1,6 @@
if(USE_FSAL_GPFS)
- if(Python_FOUND)
+ if(PYTHONINTERP_FOUND)
set(SETUP_PY_IN "${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in")
set(SETUP_PY "${CMAKE_CURRENT_BINARY_DIR}/setup.py")
set(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/build/gpfs_epoch_timestamp")
@@ -38,7 +38,7 @@
add_custom_command(
OUTPUT ${OUTPUT}
COMMAND ${CMAKE_COMMAND} -E touch __init__.py
- COMMAND ${Python_EXECUTABLE} "${SETUP_PY}" build
+ COMMAND ${PYTHON_EXECUTABLE} "${SETUP_PY}" build
COMMAND ${CMAKE_COMMAND} -E touch ${OUTPUT}
DEPENDS ${GPFS_EPOCH_SRCS} ${SCRIPTS}
)
@@ -47,7 +47,7 @@
install(
CODE
- "execute_process(WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${Python_EXECUTABLE} ${SETUP_PY} install --skip-build --no-compile --prefix=\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX} --install-scripts=\$ENV{DESTDIR}${LIBEXECDIR}/ganesha)"
+ "execute_process(WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${PYTHON_EXECUTABLE} ${SETUP_PY} install --skip-build --no-compile --prefix=\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX} --install-scripts=\$ENV{DESTDIR}${LIBEXECDIR}/ganesha)"
)
- endif(Python_FOUND)
+ endif(PYTHONINTERP_FOUND)
endif(USE_FSAL_GPFS)

View File

@ -1 +0,0 @@
Obsoleted by NFS-Ganesha in the CentOS Storage SIG

105
nfs-ganesha.init Normal file
View File

@ -0,0 +1,105 @@
#!/bin/sh
#
# glusterd Startup script for the Ganesha NFS server
#
# chkconfig: - 20 80
# description: NFSv4 file-system server
### BEGIN INIT INFO
# Provides: nfs-ganesha
# Required-Start: $local_fs $network
# Required-Stop: $local_fs $network
# Should-Start:
# Should-Stop:
# Default-Start:
# Default-Stop: 0 1 2 3 4 5 6
# Short-Description: Ganesha NFS server
# Description: NFSv4 file-system server
### END INIT INFO
# Source function library.
. /etc/rc.d/init.d/functions
exe="/usr/sbin/nfs-ganesha.sh"
prog="nfs-ganesha"
# Fedora File System Layout dictates /run
[ -e /run ] && RUNDIR="/run"
pidf="${RUNDIR:-/var/run}/$prog.pid"
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
lockfile=/var/lock/subsys/$prog
start() {
[ -x $exe ] || exit 5
echo -n $"Starting $prog: "
daemon $exe
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
return $retval
}
stop() {
echo -n $"Stopping $prog: "
killproc $prog
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
return $retval
}
restart() {
stop
start
}
reload() {
restart
}
force_reload() {
restart
}
rh_status() {
status $prog
}
rh_status_q() {
rh_status &>/dev/null
}
case "$1" in
start)
rh_status_q && exit 0
$1
;;
stop)
rh_status_q || exit 0
$1
;;
restart)
$1
;;
reload)
rh_status_q || exit 7
$1
;;
force-reload)
force_reload
;;
status)
rh_status
;;
condrestart|try-restart)
rh_status_q || exit 0
restart
;;
*)
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
exit 2
esac
exit $?

12
nfs-ganesha.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=User-mode file server for NFS
Documentation=https://github.com/nfs-ganesha/nfs-ganesha/wiki
[Service]
ExecStart=/usr/bin/ganesha.nfsd
Type=forking
PIDFile=/var/run/ganesha.pid
[Install]
WantedBy=multi-user.target

1571
nfs-ganesha.spec Normal file

File diff suppressed because it is too large Load Diff

390
nfs_ganesha.sh Normal file
View File

@ -0,0 +1,390 @@
#!/bin/bash
VOLNAME=
CONF=
IP=
LOG=
DBGLVL=
OPT=
FILE1=
trap cleanup SIGHUP SIGINT SIGTERM
if [ $EUID -ne 0 ]; then
echo "You have to be root to run this script"
exit 1
fi
function usage {
echo " Usage : nfs-ganesha.sh [-l <logfile>][-n <dbg_lvl>] -v <volname> -i <ganesha_host_ip> -f <config_file> -o <start|stop>
[-h] display this help
[-l <logfile>] set the logfile for the daemon
[-n <dbg_lvl>] set the verbosity level
dbg_lvl options NIV_NULL, NIV_MAJ, NIV_CRIT, NIV_EVENT, NIV_DEBUG, NIV_MID_DEBUG, NIV_FULL_DEBUG
-v <volname> name of the volume to be exported
-i <ganesha_host_ip> IP of the ganesha host
-f <config_file> set the config file to be used
-o <start|stop> start or stop ganesha server
===========Default Values=============
LogFile : /tmp/nfs-ganesha.log
DebugLevel : NIV_EVENT"
}
while getopts "hf:i:l:n:v:o: -l help" OPTION
do
case $OPTION in
f) CONF=$OPTARG
;;
i) IP=$OPTARG
;;
l) LOG=$OPTARG
;;
n) DBGLVL=$OPTARG
;;
h) usage
exit 1
;;
v) VOLNAME=$OPTARG
;;
o) OPT=$OPTARG
;;
esac
done
function cleanup ()
{
if [ -f /tmp/old-ganesha.conf ]
then cp /tmp/old-ganesha.conf $CONF
exit 1
fi
}
function check_for_stop()
{
if echo $OPT | grep -i -q "stop"
then stop_ganesha
fi
}
function check_usage()
{
if [ "$VOLNAME" = "" ]
then
usage
exit 1
fi
if [ "$CONF" = "" ]
then
usage
exit 1
fi
if [ "$IP" = "" ]
then
usage
exit 1
fi
if [ "$OPT" = "" ]
then
usage
exit 1
fi
}
function check_ip {
if [[ ! $IP =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
echo "Invalid IP , please enter the correct IP of the ganesha host."
usage
exit 1
fi
}
function check_volname
{
if ! ls /var/lib/glusterd/vols | grep -q "$VOLNAME" ; then
echo "Volume doesn't exist. Please enter a valid volume name."
exit 1
fi
}
function check_conf
{
if ! [ -f "$CONF" ]; then
echo "The config_file $CONF doesn't exist."
usage
exit 1
else
if ! [ -s "$CONF" ]; then
echo "The cofig_file $CONF is empty "
exit 1
fi
fi
}
function check_option
{
if ! echo $OPT | grep -i -q -e "start" -q -e "stop"
then
echo "Invalid value for option 'o': start or stop expected"
exit 1
else if echo $OPT | grep -i -q "start"
then
OPT="start"
else
OPT="stop"
fi
fi
}
function check_debug
{
if [ "$DBGLVL" = "" ] ; then
DBGLVL="NIV_EVENT"
else
if ! echo $DBGLVL | grep -q -e " NIV_NULL" -q -e "NIV_MAJOR" -q -e " NIV_CRIT" -q -e "NIV_EVENT" -q -e "NIV_DEBUG" -q -e "NIV_FULL_DEBUG"
then
echo "Invalid value for option 'n': NIV_NULL, NIV_MAJ, NIV_CRIT, NIV_EVENT, NIV_DEBUG, NIV_MID_DEBUG or NIV_FULL_DEBUG expected."
exit 1
fi
fi
}
function check_logfile
{
if [ "$LOG" = "" ]; then
LOG="/tmp/nfs-ganesha.log"
else if [ -f $LOG ]
then
cp $LOG /tmp/old-ganesha.log
FILE1="1"
fi
fi
}
function call_checks
{
check_ip
check_conf
cp $CONF /tmp/old-ganesha.conf
check_debug
check_logfile
check_option
check_volname
}
function check_glusterd()
{
if ! ps aux | grep -q -e "[g]lusterd$" -q -e "[g]lusterd.pid"
then
echo "glusterd not started , please start glusterd. "
exit 1
fi
}
function check_bricks()
{
gluster volume status $VOLUME | grep -q "N/A"
if [ "$?" -eq 0 ]
then
echo "Brick(s) not online , please check $VOLUME volume status"
exit 1
fi
}
function check_glusternfs
{
if echo "$(ls /var/lib/glusterd/vols | wc -l)" | grep -q "1" ; then
if ps aux | grep -q "[g]luster/nfs" ; then
echo "gluster-nfs server is active, needs to be disabled to proceed. "
while true; do
read -p "Do you wish to disable gluster-nfs server ? [Y\N]" yn
case $yn in
[Yy]* ) gluster volume set $VOLNAME nfs.disable ON >/dev/null 2>/dev/null; break;;
[Nn]* ) exit 1;;
* ) echo "Please answer yes or no.";;
esac
done
sleep 2
if ps aux | grep -q "[g]luster/nfs" ; then
echo "Volume set unsuccessful , please try disabling gluster-nfs server "
exit 1
fi
sleep 2
if rpcinfo -p | grep -q -e "nfs_acl" ; then
echo " gluster-nfs ports still in use; please try again"
exit 1
fi
fi
else
if ps aux | grep -q "[g]luster/nfs"; then
echo "Please disable gluster-nfs servers on all the volumes"
exit 1
fi
fi
}
function check_kernelnfs()
{
service nfs status | grep -q -e "dead" -q -e "stopped" -q -e "disabled"
if [ "$?" -eq 1 ]; then
echo "kernel-NFS server is active , it needs to disabled to proceed. "
while true; do
read -p "Do you wish to disable kernel-nfs server ? [Y\N]" yn
case $yn in
[Yy]* ) service nfs stop; break;;
[Nn]* ) exit 1;;
* ) echo "Please answer yes or no.";;
esac
done
sleep 2
service nfs status | grep -q -e "dead" -q -e "stopped" -q -e "inactive" >>/dev/null
if [ "$?" -eq 1 ]; then
echo " kernel-NFS server couldn't be disabled , please try again"
exit 1
else
echo "kernel-NFS server successfully disabled"
fi
fi
}
function check_volstart()
{
if ! cat /var/lib/glusterd/vols/$1/info | grep -q "status=1"
then
echo "Volume $1 is not started, please start the volume."
exit 1
fi
}
function check_ganesha
{
if ps aux | grep -q "[g]anesha.nfsd" ; then
echo "NFS-ganesha server is already active , nothing to do."
exit 1
fi
}
function check_ports
{
if netstat -an | grep -q "2049$" ; then
echo "Port 2049 is already in use , exiting"
exit 1
fi
}
function check_fsal
{
if ! ls /usr/lib64/ganesha | grep -q "libfsalgluster.so" ; then
echo "Cannot find shared object libfsalgluster.so , exiting"
exit 1
fi
}
function start_ganesha
{
check_ganesha
#check_rpms
check_fsal
check_glusterd
check_volstart $1
check_kernelnfs
check_glusternfs $1
check_ports
check_conf $3
check_bricks $1
sed -i /^[[:space:]]*\#/!s/volume.*/"volume=$1,hostname=$2\";"/ $3
sed -i /^[[:space:]]*\#/!s/Pseudo.*/Pseudo="\"\/$1\";"/ $3
sed -i s/Path.*/Path="\"\/$1\";"/ $3
sed -i 's/\r//g' $3
/usr/bin/ganesha.nfsd -f $CONF -L $LOG -N $DBGLVL -d >/dev/null 2>/dev/null
sleep 5
}
function stop_ganesha
{
if ! ps aux | grep -q "[g]anesha.nfsd" ; then
echo "NFS-ganesha server already inactive,nothing to do."
exit 1
fi
kill -9 `cat /var/run/ganesha.pid`
if ps aux | ganesha.nfsd ; then
if rpcinfo -p | grep -q -e "nfs" ; then
echo "NFS-ganesha server could not be stopped, please try again"
fi
else
echo " NFS-ganesha server is now inactive."
exit 0
fi
}
function check_for_stop()
{
if echo $OPT | grep -i -q "stop"
then stop_ganesha
fi
}
check_for_stop
check_usage
call_checks
if [ "$OPT" = "start" ]
then
start_ganesha $VOLNAME $IP $CONF
if ! ps aux | grep -q "[g]anesha.nfsd" ; then
start_ganesha $VOLNAME $IP $CONF
fi
sleep 5
if ! ps aux | grep -q "[g]anesha.nfsd"
then
if [ "$FILE1" = "1" ]
then
cp /tmp/old-ganesha.log $LOG
rm -rf /tmp/ganesha.log
fi
cp /tmp/old-ganesha.conf $CONF
rm -rf /tmp/ganesha.conf
echo "Failed to start NFS-ganesha server , please see $LOG for details"
else
echo ""
echo "NFS-ganesha server started."
echo "============Volume exports============"
showmount -e $IP
echo "======================================"
rm -rf /tmp/old-ganesha.conf
fi
fi
if [ "$OPT" = "stop" ]
then
stop_ganesha
exit 0
fi

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (nfs-ganesha-4.0.tar.gz) = c6ec8146159500f03a4a8b1beb0e03ce79da33c67e8c077d1c7aea8be67d77690839bb7e10c88a9b8a3a8a9cca00ca10851f34f71c6f047956b24e7b7d9a7770