conf/107316: [rc.d]: [base] [rpc.lockd] nfslocking restart does
not restart rpc.lockd
Mike Makonnen
mtm at FreeBSD.Org
Thu May 17 11:10:10 UTC 2007
The following reply was made to PR conf/107316; it has been noted by GNATS.
From: Mike Makonnen <mtm at FreeBSD.Org>
To: Net147 at hotmail.com
Cc: bug-followup at FreeBSD.org
Subject: Re: conf/107316: [rc.d]: [base] [rpc.lockd] nfslocking restart does
not restart rpc.lockd
Date: Thu, 17 May 2007 14:12:07 +0300
I believe _rc_restart_done is there to prevent uncontrollable
recursion (for example, script A runs script B, which runs script C,
which runs script A).
I think the solution is to break out rc.d/nfslocking into rc.d/statd and
rc.d/lockd. I never liked having both daemons run from the same file,
but at the time we had decided to limit gratuitous differences with
the NetBSD code so I couldn't do anything about. Now that we don't have
to worry about that I think this is the proper solution.
Cheers.
--
Mike Makonnen | GPG-KEY: http://people.freebsd.org/~mtm/mtm.asc
mmakonnen @ gmail.com | AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55
mtm @ FreeBSD.Org | FreeBSD - http://www.freebsd.org
More information about the freebsd-rc
mailing list