Guys
I think my /etc/hosts permission problem might have to do with the way cfagent copies files.
"...by copying first to a file called file.cfnew on the local filesystem, and then renaming it this quickly into place."
Question is what default permission does hosts.cfnew have - I'm inclined to
[* I sent this message to the old gnu.org list, and only got one reply
(with a clever but somewhat hackish workaround), so I'm re-sending it
to the new cfengine.org list in case others have other ideas. *]
I'm trying to split my class definitions into a cfgroups.conf file, so
that my update.
On Mon, Mar 20, 2006 at 11:11:37AM -0800, stucky wrote:
> [EMAIL PROTECTED] stucky]# ls -l /etc/hosts
> -rw-r--r-- 1 root root 228 Mar 20 11:09 /etc/hosts
> [EMAIL PROTECTED] stucky]# /var/cfengine/bin/cfagent -qB
> [EMAIL PROTECTED] stucky]# ls -l /etc/hosts
> -rw-r--r-- 1 root root 228 Mar 20 1
On Mon, Mar 20, 2006 at 11:11:37AM -0800, stucky wrote:
> [EMAIL PROTECTED] stucky]# ls -l /etc/hosts
> -rw-r--r-- 1 root root 228 Mar 20 11:09 /etc/hosts
> [EMAIL PROTECTED] stucky]# /var/cfengine/bin/cfagent -qB
> [EMAIL PROTECTED] stucky]# ls -l /etc/hosts
> -rw-r--r-- 1 root root 228 Mar 20 1
On 3/20/06, stucky <[EMAIL PROTECTED]> wrote:
> cfengine:sandbox: Update of image /etc/hosts from master
> /usr/local/cfengine/masterfiles/configs/generic/hosts on
> 10.152.48.15
> cfengine:sandbox: Object /etc/hosts had permission 600, changed it to 644
What does that files section look like?
I
On Fri, Mar 17, 2006 at 02:01:35PM -0800, stucky wrote:
> thing. I'm pretty sure the perms get changed during
> the update phase - wherelse would it happen ? There is nothing else running
> that would adjust the /etc/hosts file.
You can run cfagent -qB to only run the update section, that
will help
[EMAIL PROTECTED] stucky]# ls -l /etc/hosts
-rw-r--r-- 1 root root 228 Mar 20 11:09 /etc/hosts
[EMAIL PROTECTED] stucky]# /var/cfengine/bin/cfagent -qB
[EMAIL PROTECTED] stucky]# ls -l /etc/hosts
-rw-r--r-- 1 root root 228 Mar 20 11:09 /etc/hosts
[EMAIL PROTECTED] stucky]# /var/cfengine/bin/cfage
On Fri, Mar 17, 2006 at 02:01:35PM -0800, stucky wrote:
> thing. I'm pretty sure the perms get changed during
> the update phase - wherelse would it happen ? There is nothing else running
> that would adjust the /etc/hosts file.
You can run cfagent -qB to only run the update section, that
will help
ok I understand that although if you say cfagent protects the
permissions from regular users then why does it complain if I set
/var/cfengine to 700 ? In fact, cfagent opens them up again by setting
them to 755. I'd understand if the exact opposite was the case. Anyways
this still doesn't explain w
Tried BindToInterface, doesn't help. Let me show you where I get stuck, I don't think it even gets to read my configs before it starts timing out on dns. [EMAIL PROTECTED]:/var/lib$ sudo cfagent -q -v Setting cfengine new port to 5308 Setting cfengine old port to 5308 Reference time set to Mon Ma
Eli Stair wrote:
I've seen mention of adding functionality to CFE in the future to
assign it to an interface to use, but a quickie in your case may be to
just add a static route to the IP of your cfengine server and adding
its entry in /etc/hosts.
/eli
-Original Message-
From: [EMA
Title: RE: dns resolution timeouts
I can get to my cfengine server from the interface that has the ip address in dns on it. That's why I just want to completely ignore the other interface, it doesn't need it. Adding entries for the hosts file would be cumbersome as the ip addresses on that interf
Title: RE: dns resolution timeouts
I've seen mention of adding functionality to CFE in the future to assign it to an interface to use, but a quickie in your case may be to just add a static route to the IP of your cfengine server and adding its entry in /etc/hosts.
/eli
-Original Messa
Hello all: I have a cfengine client that has to physical interfaces. One it uses to talk to cfengine and it has an ip address that is in dns. The other it would like cfagent to ignore completely as it's causing a problem with dns timeouts as it's ip addresses are not in dns. Is there some way f
If you have just joined the cfengine mailing lists at gnu.org then it is
possible that we have not
transferred you over to the new lists. In that case, please subscribe to
the lists manually
help-cfengine@cfengine.org
bug-cfengine@cfengine.org
instead. you will find web links to these at htt
Jason Martin wrote:
On Fri, Mar 17, 2006 at 10:52:09AM -0800, stucky wrote:
I had sent this before but maybe I was a little fast cause my list
enrollment confirmation hadn't come in yet.
Now I'm thinking the stuff got lost so I'm sending it again.
Sorry if it shows up twice.
Is cf.precon
Jason Martin wrote:
On Fri, Mar 17, 2006 at 10:52:09AM -0800, stucky wrote:
I had sent this before but maybe I was a little fast cause my list
enrollment confirmation hadn't come in yet.
Now I'm thinking the stuff got lost so I'm sending it again.
Sorry if it shows up twice.
Is cf.precon
On Fri, Mar 17, 2006 at 10:52:09AM -0800, stucky wrote:
> I had sent this before but maybe I was a little fast cause my list
> enrollment confirmation hadn't come in yet.
> Now I'm thinking the stuff got lost so I'm sending it again.
> Sorry if it shows up twice.
Is cf.preconf resetting the dir pe
This message signifies that the cfengine lists at cfengine.org are now
active and for use.
The old lists at gnu.org are now officially deprecated. The new lists
are also tied into news as before.
Mark
___
Help-cfengine mailing list
Help-cfengine@cf
19 matches
Mail list logo