cvs commit: src/etc/rc.d Makefile lockd nfslocking statd
Dag-Erling Smørgrav
des at des.no
Fri Aug 17 01:57:23 PDT 2007
Mike Makonnen <mtm at FreeBSD.org> writes:
> Log:
> 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.
Wouldn't it have been better to name them rpc_lockd and rpc_statd, to
match their rc.conf variables?
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the cvs-src
mailing list