- Reworked the nfslock init script so if lockd is running it will be killed
which is what the HA community needs. (bz 162446) - Stopped rpcidmapd.init from doing extra echoing when condstart-ed.
This commit is contained in:
parent
68e592b237
commit
819e6dc24e
@ -257,9 +257,11 @@ fi
|
|||||||
%config /etc/rc.d/init.d/nfslock
|
%config /etc/rc.d/init.d/nfslock
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Sep 6 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-16
|
* Tue Sep 8 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-16
|
||||||
- The nfslock init script no longer needs to bring lockd
|
- Reworked the nfslock init script so if lockd is running
|
||||||
down. (bz 162446)
|
it will be killed which is what the HA community needs. (bz 162446)
|
||||||
|
- Stopped rpcidmapd.init from doing extra echoing when
|
||||||
|
condstart-ed.
|
||||||
|
|
||||||
* Wed Aug 24 2005 Peter Jones <pjones@redhat.com> - 1.0.7-15
|
* Wed Aug 24 2005 Peter Jones <pjones@redhat.com> - 1.0.7-15
|
||||||
- don't strip during "make install", so debuginfo packages are generated right
|
- don't strip during "make install", so debuginfo packages are generated right
|
||||||
|
@ -74,11 +74,11 @@ start() {
|
|||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
# Stop daemons.
|
# Stop daemons.
|
||||||
|
if [ -n "`pidofproc lockd`" ]; then
|
||||||
echo -n $"Stopping NFS locking: "
|
echo -n $"Stopping NFS locking: "
|
||||||
if [ "$USERLAND_LOCKD" ]; then
|
killproc lockd -KILL
|
||||||
killproc lockd
|
|
||||||
fi
|
|
||||||
echo
|
echo
|
||||||
|
fi
|
||||||
echo -n $"Stopping NFS statd: "
|
echo -n $"Stopping NFS statd: "
|
||||||
killproc rpc.statd
|
killproc rpc.statd
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
|
@ -29,10 +29,10 @@ prog="rpc.idmapd"
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
start|condstart)
|
start|condstart)
|
||||||
# Make sure the daemon is not already running.
|
# Make sure the daemon is not already running.
|
||||||
if status $prog > /dev/null ; then
|
[ "$1" = "condstart" -a -n "`pidofproc $prog`" ] && {
|
||||||
[ "$1" = "condstart" ] && killproc $prog "-SIGHUP"
|
killproc $prog "-SIGHUP" > /dev/null
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
}
|
||||||
rm -f /var/lock/subsys/$prog
|
rm -f /var/lock/subsys/$prog
|
||||||
|
|
||||||
echo -n $"Starting RPC idmapd: "
|
echo -n $"Starting RPC idmapd: "
|
||||||
|
Loading…
Reference in New Issue
Block a user