Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2006 13:20:22 GMT
From:      Ceri Davies <ceri@submonkey.net>
To:        freebsd-rc@FreeBSD.org
Subject:   Re: conf/107316: [rc.d]: [base] [rpc.lockd] nfslocking restart does not restart rpc.lockd
Message-ID:  <200612301320.kBUDKMkT072585@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/107316; it has been noted by GNATS.

From: Ceri Davies <ceri@submonkey.net>
To: FreeBSD Gnats Submit <freebsd-gnats-submit@FreeBSD.org>
Cc: freebsd-rc@FreeBSD.org, Remko Lodder <remko@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



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