help-cfengine
[Top][All Lists]
Advanced

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

Re: Help with file copies


From: martynas sklizmantas
Subject: Re: Help with file copies
Date: Tue, 8 Jul 2003 19:47:10 +0200

Hello,

"Ferguson, Steve" <Steve.Ferguson@gedas.com> wrote in message
news:mailman.81.1057684047.1376.help-cfengine@gnu.org...
> Okay, apparently I'm completely lost.  The reason some of the runs seem to
> authenticate seems to be that the lock file is still around on the client,
> so it's just not trying again (though cfagent reports successful
> authentication).  If I run cfagent, blow away the lock file, then run
> cfagent again I get the "Host authentication" message every time.  So I
> figured I'd ignore file copies and just look at cfrun from the server.
That
> doesn't work either.  Same problem.

<--snipped-->

i was banging my head today after cfengine upgrade to 2.0.7p3 with the
similar problem, my cfservd.conf was something like:

control:

        AllowConnectionsFrom            =       ( masterhost )
        AllMultipleConnectionsFrom      =       ( masterhost )
        AllowUsers                      =       ( root )
        domain                          =       ( domain )
        cfrunCommand                    =       (
"/var/cfengine/bin/cfagent" )

grant:

        /var/cfengine/masterfiles/inputs   somehosts
        $(cfrunCommand)        masterhost

and it was failing with "host authentication" error. so with some dumb luck
i changed it to:

control:

        AllowConnectionsFrom            =       ( masterhost )
        AllMultipleConnectionsFrom      =       ( masterhost )
        AllowUsers                      =       ( root )
        domain                          =       ( domain )
grant:

        /var/cfengine/masterfiles/inputs   somehosts
        /var/cfengine/bin/cfagent    masterhost

and everything is working fine now. i don't know if it is a bug, feature or
just bad day :)

regards,
m








reply via email to

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