Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2006 12:48:03 +0000
From:      Ceri Davies <ceri@submonkey.net>
To:        FreeBSD Gnats Submit <freebsd-gnats-submit@FreeBSD.org>
Cc:        Remko Lodder <remko@FreeBSD.org>, freebsd-rc@FreeBSD.org
Subject:   Re: conf/107316: [rc.d]: [base] [rpc.lockd] nfslocking restart does not restart rpc.lockd
Message-ID:  <20061230124803.GB97921@submonkey.net>
In-Reply-To: <200612291534.kBTFYje0037552@freefall.freebsd.org>
References:  <200612291534.kBTFYje0037552@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061230124803.GB97921>