help-cfengine
[Top][All Lists]
Advanced

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

Re: copy file size limit?


From: Martin A. Brooks
Subject: Re: copy file size limit?
Date: Wed, 31 Jul 2002 10:02:54 +0100

Hi

At 10:22 31/07/2002 +0200, you wrote:
It is possible to set a limit, but the default is infinite.
Possibly some other error occurred? Need to look at the verbose
output.

Before:

[root@dhcp24 root]# ls -l /etc/hosts
-rw-r--r--    1 root     root          181 Jul 31 09:29 /etc/hosts


I then run cfagent -v -q  and I get this:

*********************************************************************
 Main Tree Sched: copy pass 1 @ Wed Jul 31 09:50:09 2002
*********************************************************************

Connect to 10.4.64.11 = 10.4.64.11 on port cfengine
Loaded /var/cfengine/ppkeys/root-10.4.64.11.pub
cfengine:dhcp24.lon4.fastsearch.net: Strong authentication of server=10.4.64.11 connection confirmed Checking copy from 10.4.64.11:/var/cfengine/masterfiles/inputs/master.hosts to /etc/hosts
Saving the setuid log in /var/cfengine/cfagent..log
Job start time set to Wed Jul 31 09:50:09 2002

Yet:

[root@dhcp24 root]# ls -l /etc/hosts
-rw-r--r--    1 root     root          181 Jul 31 09:29 /etc/hosts

And then I do....

[root@dhcp24 root]# rm -f /etc/hosts
[root@dhcp24 root]# cfagent -v -q

*********************************************************************
 Main Tree Sched: copy pass 1 @ Wed Jul 31 09:54:04 2002
*********************************************************************

Connect to 10.4.64.11 = 10.4.64.11 on port cfengine
Loaded /var/cfengine/ppkeys/root-10.4.64.11.pub
cfengine:dhcp24.lon4.fastsearch.net: Strong authentication of server=10.4.64.11 connection confirmed Checking copy from 10.4.64.11:/var/cfengine/masterfiles/inputs/master.hosts to /etc/hosts
cfengine:dhcp24.lon4.fastsearch.net: /etc/hosts wasn't at destination (copying)
cfengine:dhcp24.lon4.fastsearch.net: Copying from 10.4.64.11:/var/cfengine/masterfiles/inputs/master.hosts cfengine:dhcp24.lon4.fastsearch.net: /etc/hosts had permission 600, changed it to 644
Saving the setuid log in /var/cfengine/cfagent..log
Job start time set to Wed Jul 31 09:54:04 2002


And of course:

[root@dhcp24 root]# ls -l /etc/hosts
-rw-r--r--    1 root     root        21965 Jul 31 09:54 /etc/hosts


Regards

Mart.




reply via email to

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