Always have the nfs-convert service enabled (bz 1668836)
Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
parent
8aa4166a28
commit
f916f59d75
@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser
|
|||||||
Name: nfs-utils
|
Name: nfs-utils
|
||||||
URL: http://linux-nfs.org/
|
URL: http://linux-nfs.org/
|
||||||
Version: 2.3.3
|
Version: 2.3.3
|
||||||
Release: 5.rc2%{?dist}
|
Release: 6.rc2%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
# group all 32bit related archs
|
# group all 32bit related archs
|
||||||
@ -220,13 +220,10 @@ if [ $1 -eq 1 ] ; then
|
|||||||
/bin/systemctl start nfs-client.target >/dev/null 2>&1 || :
|
/bin/systemctl start nfs-client.target >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check to see if converting to /etc/nfs.conf is needed
|
# Enable nfs-convert so if an old configuration
|
||||||
if [ -f /etc/sysconfig/nfs ]; then
|
# exists a conversion will occur
|
||||||
grep "nfs.conf" /etc/sysconfig/nfs > /dev/null
|
/bin/systemctl enable nfs-convert >/dev/null 2>&1 || :
|
||||||
if [ $? -eq 1 ]; then
|
|
||||||
/bin/systemctl enable nfs-convert >/dev/null 2>&1 || :
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
%systemd_post nfs-server
|
%systemd_post nfs-server
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@ -310,6 +307,9 @@ fi
|
|||||||
%{_libdir}/libnfsidmap.so
|
%{_libdir}/libnfsidmap.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 12 2019 Steve Dickson <steved@redhat.com> 2.3.3-5.rc2
|
||||||
|
- Always have the nfs-convert service enabled (bz 1668836)
|
||||||
|
|
||||||
* Mon Feb 11 2019 Steve Dickson <steved@redhat.com> 2.3.3-5.rc2
|
* Mon Feb 11 2019 Steve Dickson <steved@redhat.com> 2.3.3-5.rc2
|
||||||
- Do not install /etc/sysconfig/nfs (bz 1668836)
|
- Do not install /etc/sysconfig/nfs (bz 1668836)
|
||||||
- Change nfsconvert.sh not to set the immutable bit (bz 1668836)
|
- Change nfsconvert.sh not to set the immutable bit (bz 1668836)
|
||||||
|
Loading…
Reference in New Issue
Block a user