This commit is contained in:
parent
2e353c77e4
commit
d6ffc47ef6
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 18 00:35:09 CET 2008 - nfbrown@suse.de
|
||||||
|
|
||||||
|
- nfs.init
|
||||||
|
* 'stop' should stop servies based on what is
|
||||||
|
running, not what is configured to be run.
|
||||||
|
bnc#459021
|
||||||
|
* force-start added to start NFS services even
|
||||||
|
if nothing is in /etc/fstab.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 08 15:37:13 CET 2008 - bwalle@suse.de
|
Mon Dec 08 15:37:13 CET 2008 - bwalle@suse.de
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ BuildRequires: libevent
|
|||||||
Url: http://nfs.sourceforge.net
|
Url: http://nfs.sourceforge.net
|
||||||
Summary: Support Utilities for Kernel nfsd
|
Summary: Support Utilities for Kernel nfsd
|
||||||
Version: 1.1.3
|
Version: 1.1.3
|
||||||
Release: 17
|
Release: 18
|
||||||
Group: Productivity/Networking/NFS
|
Group: Productivity/Networking/NFS
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -291,6 +291,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc nfs/*.html nfs/*.ps linux-nfs/* README.NFSv4
|
%doc nfs/*.html nfs/*.ps linux-nfs/* README.NFSv4
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 18 2008 nfbrown@suse.de
|
||||||
|
- nfs.init
|
||||||
|
* 'stop' should stop servies based on what is
|
||||||
|
running, not what is configured to be run.
|
||||||
|
bnc#459021
|
||||||
|
* force-start added to start NFS services even
|
||||||
|
if nothing is in /etc/fstab.
|
||||||
* Mon Dec 08 2008 bwalle@suse.de
|
* Mon Dec 08 2008 bwalle@suse.de
|
||||||
- initrd: Giving the DHCP provided root path a higher priority
|
- initrd: Giving the DHCP provided root path a higher priority
|
||||||
compared to the fallback from fstab. Command line can still
|
compared to the fallback from fstab. Command line can still
|
||||||
|
19
nfs.init
19
nfs.init
@ -163,12 +163,7 @@ case "$1-$nfs" in
|
|||||||
echo -n "Not starting NFS client services - no NFS found in /etc/fstab:"
|
echo -n "Not starting NFS client services - no NFS found in /etc/fstab:"
|
||||||
rc_status -u
|
rc_status -u
|
||||||
;;
|
;;
|
||||||
stop-no )
|
start-yes|reload-yes|force-start-*)
|
||||||
echo -n "No NFS client services to stop:"
|
|
||||||
rc_status -v
|
|
||||||
;;
|
|
||||||
|
|
||||||
start-yes|reload-yes)
|
|
||||||
echo -n "Starting NFS client services:"
|
echo -n "Starting NFS client services:"
|
||||||
if ! check_portmap ; then
|
if ! check_portmap ; then
|
||||||
echo "portmap/rpcbind is not running"
|
echo "portmap/rpcbind is not running"
|
||||||
@ -234,7 +229,7 @@ case "$1-$nfs" in
|
|||||||
#
|
#
|
||||||
rc_status -v
|
rc_status -v
|
||||||
;;
|
;;
|
||||||
stop-yes)
|
stop* )
|
||||||
echo -n "Shutting down NFS client services:"
|
echo -n "Shutting down NFS client services:"
|
||||||
|
|
||||||
rootfs=`awk '$2 == "/" && $1 != "rootfs" {print $3}' /proc/mounts`
|
rootfs=`awk '$2 == "/" && $1 != "rootfs" {print $3}' /proc/mounts`
|
||||||
@ -244,19 +239,16 @@ case "$1-$nfs" in
|
|||||||
rc_status -s
|
rc_status -s
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|
||||||
if test "$nfs" = yes ; then
|
|
||||||
umount -alt nfs,nfs4
|
umount -alt nfs,nfs4
|
||||||
fi
|
|
||||||
|
|
||||||
# stop gssd
|
# stop gssd
|
||||||
if test "$NEED_GSSD" = yes ; then
|
if checkproc $GSSD_BIN; then
|
||||||
echo -n " gssd"
|
echo -n " gssd"
|
||||||
killproc $GSSD_BIN
|
killproc $GSSD_BIN
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# stop idmapd
|
# stop idmapd
|
||||||
if test "$NEED_IDMAPD" = yes ; then
|
if test -f $IDMAPD_CLIENT_STATE; then
|
||||||
# only stop idmapd if it is not needed by server
|
# only stop idmapd if it is not needed by server
|
||||||
if test ! -f $IDMAPD_SERVER_STATE ; then
|
if test ! -f $IDMAPD_SERVER_STATE ; then
|
||||||
echo -n " idmapd"
|
echo -n " idmapd"
|
||||||
@ -275,7 +267,6 @@ case "$1-$nfs" in
|
|||||||
|
|
||||||
umount_rpc_pipefs
|
umount_rpc_pipefs
|
||||||
|
|
||||||
#
|
|
||||||
rc_status -v
|
rc_status -v
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
@ -283,7 +274,7 @@ case "$1-$nfs" in
|
|||||||
## Stop the service and regardless of whether it was
|
## Stop the service and regardless of whether it was
|
||||||
## running or not, start it again.
|
## running or not, start it again.
|
||||||
$0 stop
|
$0 stop
|
||||||
$0 start
|
$0 force-start
|
||||||
rc_status
|
rc_status
|
||||||
;;
|
;;
|
||||||
status*)
|
status*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user