[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cfengine 2.0.4 installation problem

From: Thomas Glanzmann
Subject: Re: cfengine 2.0.4 installation problem
Date: 19 Dec 2002 18:16:01 GMT
User-agent: slrn/ (Linux)

In article <address@hidden>, Thomas Glanzmann wrote:
>> I tried on Solaris with openssl that i compiled myself.
>> 1) Is it possible to compile openssl not to use shared libraries ?
>> 2) Can you tell me maybe how to tell the configure script manually that 
>> openssl is ok and continue ?
> a static openssl and berkleydb version in it. Last time I tried to compile the
> whole thing under solaris it crashed.
tried to link the whole thing __statically__. The version I provided works
>From address@hidden Sat Dec 21 15:38:41 2002
Received: from list by with tmda-scanned (Exim 4.10.13)
        id 18PqOP-0002Th-00
        for address@hidden; Sat, 21 Dec 2002 15:38:41 -0500
Received: from mail by with spam-scanned (Exim 4.10.13)
        id 18PqOM-0002Ol-00
        for address@hidden; Sat, 21 Dec 2002 15:38:40 -0500
Received: from ([])
        by with esmtp (Exim 4.10.13)
        id 18PqOM-0002KU-00
        for address@hidden; Sat, 21 Dec 2002 15:38:38 -0500
Received: from list by with local (Exim 3.35 #1 (Debian))
        id 18PqNo-0007VM-00
        for <address@hidden>; Sat, 21 Dec 2002 21:38:04 +0100
To: address@hidden
Received: from news by with local (Exim 3.35 #1 (Debian))
        id 18PqNO-0007Tl-00
        for <address@hidden>;
        Sat, 21 Dec 2002 21:37:38 +0100
Path: not-for-mail
From: address@hidden (Kai =?iso-8859-1?q?Gro=DFjohann?=)
Date: Sat, 21 Dec 2002 21:38:09 +0100
Organization: University of Dortmund, Germany
Lines: 37
Message-ID: <address@hidden>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: address@hidden
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
Cancel-Lock: sha1:icpU7yKwhK8PCpsq1UNi+h/WfeE=
Sender: news <address@hidden>
Subject: Undo a cfengine action?
X-BeenThere: address@hidden
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for GNU cfengine  <>
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <>,
List-Archive: <>
List-Unsubscribe: <>,
X-List-Received-Date: Sat, 21 Dec 2002 20:38:41 -0000

We do lots of things with cfengine, but it occurred to me that it is
kind of difficult to undo the effect.  What do folks do to deal with

Why do I have to undo operations?  Suppose I have a machine which is
the foo server.  Various config files are edited such that they are
good for foo servers.  Now the role of foo server moves to another
machine.  It's easy to change the class in cfagent.conf such that the
necessary actions will be done on the new machine, but how do I make
it so that they are *undone* on the old machine?

What kinds of operations are we talking about?  Well, config files
might be copied to /etc, or certain lines added to config files.

The background of my question is that I think that you guys must have
the same problem in principle.  And obviously, you have some way of
dealing with it.  But how?  What has fared well in practice?

One idea would be to completely scratch and reinstall a machine when
something like this happens.  After all, all the configuration will
be handled by cfengine anyway.

Another idea would be to never rely on default files coming with the
OS.  (Mine is Debian GNU/Linux, fwiw.)  So whenever you have a config
file for foo servers, you also have the same one for non-foo servers.

A third idea would be to construct was_foo_server classes in cfengine
and to have actions to undo the effect in the config.

A fourth idea would be to look through the cfengine config to see
which files are affected.  Then, run the Debian command that
reinstalls the corresponding packages, with an option to overwrite
the config files.

I'm happy about any input.
~/.signature is: umop ap!sdn    (Frank Nobis)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]