Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2009 09:04:23 -0800
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org
Cc:        Martin McCormick <martin@dc.cis.okstate.edu>
Subject:   Re: Control-Z the Sleep Signal
Message-ID:  <200906100904.23590.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <200906101628.n5AGSEOF031566@dc.cis.okstate.edu>
References:  <200906101628.n5AGSEOF031566@dc.cis.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 10 June 2009 08:28:14 Martin McCormick wrote:
> Mel Flynn writes:
> > Agreed. You're solving the wrong problem by mapping CTRL-Z to CTRL-C. The
> > questions you should be asking are:
> > 1) Why are stale locks bad for the app?
>
> Because if there is one, nobody else in our group can use the
> app to assign IP addresses. I made it back in 1993 so that only
> one person could use it at a time because it adds and or deletes
> records from the DNS and DHCP servers.

If this is the sole purpose of the program, I would retire it if you're using 
ISC provided software for these services. rndc and omshell can do all of this 
using atomic operations. Information is gathered first, then sent in one block 
to the server, so even if two people try to modify/delete the same record, the 
one that comes first makes the change, and the second one is handled according 
to the new information.

-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906100904.23590.mel.flynn%2Bfbsd.questions>