Date: Fri, 17 Aug 2007 07:58:27 +0000 (UTC) From: Mike Makonnen <mtm@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc/rc.d Makefile lockd nfslocking statd Message-ID: <200708170758.l7H7wRbV097007@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708170758.l7H7wRbV097007>