Mike Makonnen <[EMAIL PROTECTED]> 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 - [EMAIL PROTECTED]
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to