On 8/17/07, Mike Makonnen <[EMAIL PROTECTED]> wrote: > mtm 2007-08-17 07:58:27 UTC > > FreeBSD src repository > > Modified files: > etc/rc.d Makefile lockd nfslocking statd > 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. > > PR: conf/107316 > Approved by: re (bmah) > MFC after: 2 weeks
Hi, It seems that you forget to set $name in these two scripts: Clearing /tmp (X related). /etc/rc: ERROR: USAGE: load_rc_config name /etc/rc: ERROR: USAGE: load_rc_config name Starting local daemons: Regards, Rong-En Fan > > Revision Changes Path > 1.82 +2 -2 src/etc/rc.d/Makefile > 1.16 +2 -27 src/etc/rc.d/lockd > 1.15 +1 -1 src/etc/rc.d/nfslocking > 1.16 +2 -27 src/etc/rc.d/statd > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-src > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"