aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.d/Makefile
diff options
context:
space:
mode:
authorMike Makonnen <mtm@FreeBSD.org>2007-08-17 07:58:26 +0000
committerMike Makonnen <mtm@FreeBSD.org>2007-08-17 07:58:26 +0000
commit6ee326fe2f08faa26152e085c68794fba627ecd1 (patch)
tree7afb2b616e3d35943e6c78f0b109bb6cbe7822b9 /etc/rc.d/Makefile
parent06eece48595efb77c7982b4ef5795fb0921b7906 (diff)
downloadsrc-6ee326fe2f08faa26152e085c68794fba627ecd1.tar.gz
src-6ee326fe2f08faa26152e085c68794fba627ecd1.zip
The rc.d/nfslocking file controls two servers: rpc.statd and rpc.lockd. It worked well
in most cases, except one. The 'restart' case was not working as expected. Specifically, it would stop both lockd and statd, but it would restart only statd (which appears first in the script). This is because rc.subr(8) contains code to guard against infinite recursion in the 'restart' casae. To fix this use the traditional approach of controlling only one server from one script by breaking out rc.d/nfslocking into its contituent parts: rc.d/lockd and rc.d/statd. Keep rc.d/nfslocking around but don't include it in the boot rcorder(8)ing. PR: conf/107316 Approved by: re (bmah) MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=171871
Diffstat (limited to 'etc/rc.d/Makefile')
-rwxr-xr-xetc/rc.d/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index 64d4e142adf0..386dc2414d11 100755
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -20,7 +20,7 @@ FILES= DAEMON FILESYSTEMS LOGIN NETWORKING SERVERS \
ipnat ipsec ipxrouted isdnd \
jail \
kadmind kerberos kernel keyserv kldxref kpasswdd \
- ldconfig local localpkg lpd \
+ ldconfig local localpkg lockd lpd \
mixer motd mountcritlocal mountcritremote mountlate \
mdconfig mdconfig2 mountd moused mroute6d mrouted msgs \
named natd netif netoptions \
@@ -33,7 +33,7 @@ FILES= DAEMON FILESYSTEMS LOGIN NETWORKING SERVERS \
random rarpd resolv root \
route6d routed routing rpcbind rtadvd rwho \
savecore sdpd securelevel sendmail \
- serial sppp swap1 \
+ serial sppp statd swap1 \
syscons sysctl syslogd \
timed tmp \
ugidfw \