remove nfs-idmapd.service since disabling nfs4 [release 1.3.3-4mamba;Tue Dec 01 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 07:37:49 +01:00
parent e419242f78
commit a7cd9340aa

View File

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