Release Notes
234
nfs-utils-1.0.9-33.el5.i386.rpm: /etc/rc.d/init.d/nfslock
---
+++
@@ -33,7 +33,7 @@
RETVAL=0
start() {
# Check that networking is up.
- [ "${NETWORKING}" = "no" ] && exit 6
+ [ "${NETWORKING}" != "yes" ] && exit 6
if [ "$USERLAND_LOCKD" ] ; then
[ -x /sbin/rpc.lockd ] || exit 5
@@ -46,9 +46,12 @@
STATDARG=""
fi
- if [ -f /var/lock/subsys/nfslock ]; then
- return $RETVAL
+ # Make sure the rpc.statd is not already running.
+ if status rpc.statd > /dev/null ; then
+ exit 0
fi
+ rm -f /var/lock/subsys/nfslock
+
# Start daemons.
if [ "$USERLAND_LOCKD" ]; then
echo -n $"Starting NFS locking: "
@@ -64,10 +67,14 @@
/sbin/sysctl -w fs.nfs.nlm_udpport=$LOCKD_UDPPORT >/dev/null 2>&1
fi
echo -n $"Starting NFS statd: "
+ # Set statd's local hostname if defined
+ [ -n "${STATD_HOSTNAME}" ] && STATDARG="$STATDARG -n ${STATD_HOSTNAME}"
+
# See if a statd's ports has been defined
[ -n "$STATD_PORT" ] && STATDARG="$STATDARG -p $STATD_PORT"
[ -n "$STATD_OUTGOING_PORT" ] \
&& STATDARG="$STATDARG -o $STATD_OUTGOING_PORT"
+
# See if we have an HA-callout program specified
[ -n "$STATD_HA_CALLOUT" ] \
&& STATDARG="$STATDARG -H $STATD_HA_CALLOUT"
@@ -91,6 +98,7 @@
RETVAL=$?
echo
rm -f /var/lock/subsys/nfslock
+ rm -f /var/run/sm-notify.pid
return $RETVAL
}
dbus-1.0.0-7.el5.i386.rpm: /etc/dbus-1/system.conf
Содержание ENTERPRISE LINUX 5.3 - RELEASE MANIFEST
Страница 240: ...240 ...