[nycbug-talk] tracking for multiple machines
pete wright
nomadlogic
Thu Nov 17 12:16:25 EST 2005
On 11/17/05, Bjorn Nelson <o_sleep at belovedarctos.com> wrote:
>
> NYCBuggers,
>
> I noticed that this page was recently created in the handbook:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html
>
> I have been looking for an official document about this for a while,
> and it's great to finally see one where it should be. My question,
> is there a way to prevent client machines from running a make
> installworld while a make buildworld is being run on the host
> machine. I guess I could just touch a file in /usr/src and then
> alter the Makefile on the clients to look for this file, and fail if
> it's present, but I wondered what others have done about this.
One thing we do at my job is make extensive use of RCS and Makefiles. We do
this for generic configuration data (/etc/hosts) as well as for more complex
tasks (converting LDAP entries to flat files to cfengine). you could do
something similiar with /usr/src. You could create a Makefile that contains
the buildworld commands in it, but checks to see if someone has a lock on
file in /usr/src...say LOCK. To rebuild the world you could cd to /usr/src,
co -l LOCK, sudo make, ci -u LOCK. At least that's the gist of it :)
-pete
--
~~o0OO0o~~
Pete Wright
www.nycbug.org <http://www.nycbug.org>
NYC's *BSD User Group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nycbug.org/pipermail/talk/attachments/20051117/e154a29c/attachment.html
More information about the talk
mailing list