conf/107316: [rc.d]: [base] [rpc.lockd] nfslocking restart does
not restart rpc.lockd
Ceri Davies
ceri at submonkey.net
Sat Dec 30 05:20:23 PST 2006
The following reply was made to PR conf/107316; it has been noted by GNATS.
From: Ceri Davies <ceri at submonkey.net>
To: FreeBSD Gnats Submit <freebsd-gnats-submit at FreeBSD.org>
Cc: freebsd-rc at FreeBSD.org, Remko Lodder <remko at FreeBSD.org>
Subject: Re: conf/107316: [rc.d]: [base] [rpc.lockd] nfslocking restart does not restart rpc.lockd
Date: Sat, 30 Dec 2006 12:48:03 +0000
Restarting twice from the same script is explicitly denied in
/etc/rc.subr:
783 # prevent restart being called more
784 # than once by any given script
785 #
786 if ${_rc_restart_done:-false}; then
787 return 0
788 fi
789 _rc_restart_done=true
This is why it's failing to restart rpc.lockd, but I don't know why that
check is there.
Ceri
--
That must be wonderful! I don't understand it at all.
-- Moliere
More information about the freebsd-rc
mailing list