remove nfs-idmapd.service since disabling nfs4 [release 1.3.3-4mamba;Tue Dec 01 2015]
This commit is contained in:
parent
e419242f78
commit
a7cd9340aa
@ -9,7 +9,7 @@
|
||||
|
||||
Name: nfs-utils
|
||||
Version: 1.3.3
|
||||
Release: 3mamba
|
||||
Release: 4mamba
|
||||
Summary: NFS utilities and supporting clients and daemons for the kernel NFS server
|
||||
Group: Network/File Systems
|
||||
Vendor: openmamba
|
||||
@ -87,6 +87,7 @@ sed -i "s|/run/sysconfig|/run|" systemd/*
|
||||
--with-tcp-wrappers \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--with-systemd=%{_unitdir} \
|
||||
--with-statduser=rpcuser \
|
||||
--with-start-statd=%{_sbindir}/start-statd \
|
||||
%if "%{_host}" != "%{_build}"
|
||||
@ -120,10 +121,11 @@ touch %{buildroot}/var/lib/nfs/rmtab
|
||||
install -d %{buildroot}%{_sysconfdir}
|
||||
touch %{buildroot}%{_sysconfdir}/exports
|
||||
|
||||
install -d -m0755 %{buildroot}%{_unitdir}
|
||||
cp -a systemd/*.service %{buildroot}%{_unitdir}
|
||||
cp -a systemd/*.target %{buildroot}%{_unitdir}
|
||||
cp -a systemd/*.mount %{buildroot}%{_unitdir}
|
||||
#install -d -m0755 %{buildroot}%{_unitdir}
|
||||
#cp -a systemd/*.service %{buildroot}%{_unitdir}
|
||||
#cp -a systemd/*.target %{buildroot}%{_unitdir}
|
||||
#cp -a systemd/*.mount %{buildroot}%{_unitdir}
|
||||
#rm -f %{buildroot}%{_unitdir}/nfs-idmapd.service
|
||||
|
||||
install -D -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/nfs
|
||||
|
||||
@ -135,6 +137,7 @@ _EOF
|
||||
|
||||
chmod +x %{buildroot}%{_prefix}/lib/systemd/scripts/nfs-utils_env.sh
|
||||
|
||||
|
||||
%pre
|
||||
if [ $1 -ge 1 ]; then
|
||||
chkconfig nfs off 2>/dev/null || true
|
||||
@ -211,8 +214,8 @@ fi
|
||||
%{_unitdir}/nfs-config.service
|
||||
%{_unitdir}/rpc-statd.service
|
||||
%{_unitdir}/nfs-utils.service
|
||||
%{_unitdir}/nfs-blkmap.service
|
||||
%{_unitdir}/nfs-idmapd.service
|
||||
#%{_unitdir}/nfs-blkmap.service
|
||||
#%{_unitdir}/nfs-idmapd.service
|
||||
%{_unitdir}/nfs-mountd.service
|
||||
%{_unitdir}/rpc-gssd.service
|
||||
%{_unitdir}/rpc-statd-notify.service
|
||||
@ -273,6 +276,9 @@ fi
|
||||
%{_mandir}/man7/nfsd.7*
|
||||
|
||||
%changelog
|
||||
* Tue Dec 01 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.3-4mamba
|
||||
- remove nfs-idmapd.service since disabling nfs4
|
||||
|
||||
* Fri Nov 06 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.3-3mamba
|
||||
- move nfs-config.service to client package
|
||||
- patch for /run instead of /var/run
|
||||
|
Loading…
Reference in New Issue
Block a user