conf/107316: [rc.d]: [base] [rpc.lockd] nfslocking restart does not restart rpc.lockd

Ceri Davies ceri at submonkey.net
Sat Dec 30 05:11:18 PST 2006


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