Re: Weird behavior with update promises and subfolder
Jean-Noël Rivasseau <[email protected]> Tue, 1 Dec 2009 09:27:50 -0800
| Newsgroups | gmane.comp.sysutils.cfengine.bugs |
|---|---|
| Message-ID | <[email protected]> |
--===============0347765968==
Content-Type: multipart/alternative; boundary=0016e65c8c02d39ace0479ae1348
--0016e65c8c02d39ace0479ae1348
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hello,
I am replying to this old thread (two monthes old only, actually) that I
found via Googling. I also have this problem and it is 100% reproducible in
my case.
I am using Gentoo on both the server and the client, with version 3.0.2. Th=
e
version of OpenSSL is identical in both cases, 0.9.8l (note that it also
failed using 0.9.8l on the server and 0.9.8k on the client).
This is my promises.cf:
bundle agent setupPhase
{
files:
"/srv/demo-phpbb/" copy_from =3D>
fastCopyFromRemote("${global.OVERMIND_HOST}",
"${global.UNISON_REPOSITORY_PATH}demo-phpbb/"), depth_search =3D> recurse,
perms =3D> apache;
}
body copy_from fastCopyFromRemote(server, path)
{
servers =3D> {"${server}"};
encrypt =3D> "true";
trustkey =3D> "true";
source =3D> "${path}";
compare =3D> "digest";
preserve =3D> "false";
purge =3D> "true";
copy_backup =3D> "false";
}
body depth_search recurse
{
depth =3D> "inf";
}
I am linking the demo-phpbb/ directory for you to reproduce the bug, as I
think it is somehow important (on other directories I am not hit by this
problem, so it is something strange in this directory that is causing the
bug, although I checked and everything seems normal...). It is available at
http://test.elvanor.net/bugs/demo-phpbb.zip
I hope you can debug and fix this problem as it is quite critical IMHO (not
only it does not copy correctly the directory, it completely hangs the
cf-agent process while encountering garbage).
Jean-Noel
Mark,
>
> On the Ubuntu server I have OpenSSL 0.9.8g
> On the Cygwin client I have OpenSSL 0.9.8k
> And on the Fedora client, I have OpenSSL 0.9.8k-fips
>
> So yes, it's more than likely that it is a OpenSSL issue since both
> clients fails the same way,
>
> Regards,
> Nicolas
>
> Mark Burgess a =C3=A9crit :
> > Nicholas,
> >
> > I have been trying hard to reproduce this error but I have not been abl=
e to.
> > The problem is that encryption fails in the final transmission causing =
file
> > data
> > to be apparent garbage.
> >
> > I will try a few more things before giving up. May I ask what kind of s=
ystems
> > are running this? Do they have the same versions of OpenSSL?
> >
> > M
> >
> >
> > Nicolas Charles wrote:
> >
> >> Hi,
> >>
> >> I'm having a nasty behavior with the updating of promises when having =
a
> >> subfolder.
> >> Here is my update.cf :
> >>
> >>
> >> #
> >> # Define what an agent has to do when it updates
> >> # its promises
> >> #
> >>
> >> #simple copy method
> >> body copy_from remote(server, path) {
> >>
> >> servers =3D> {
> >> "${server}"
> >> };
> >> encrypt =3D> "true";
> >> trustkey =3D> "true";
> >> source =3D> "${path}";
> >> compare =3D> "digest";
> >> preserve =3D> "false"; #preserver permissions
> >> verify =3D> "true";
> >> purge =3D> "true";
> >> owners =3D> {"slave"};
> >> }
> >>
> >> #simple recurse method
> >>
> >>
> >> bundle agent update {
> >> vars:
> >> any::
> >> "cfserved" string =3D> "192.168.56.101"; #server IP
> >> "policy_files" string =3D> "/srv/cf-served"; #directory where to look =
for
> >> promises in the server for that client
> >> "server_inputs" string =3D> "${policy_files}/inputs"; #actual director=
y
> >> with promises, just to show the use of variables
> >> "client_inputs" string =3D> "${sys.workdir}/inputs"; #where to put the
> >> files on the client when downloaded
> >>
> >> files:
> >> any::
> >> "${client_inputs}" #that's a loop on each files in client_inputs
> >> copy_from =3D> remote("${cfserved}","${server_inputs}"),
> >> depth_search =3D> recurse_visible("inf");
> >> }
> >>
> >>
> >>
> >> On my server, I have
> >> /srv/cf-served/inputs : the promises
> >> /srv/cf-served/inputs/resources : variables, resources, etc
> >> If resources folder is empty (or better, doesn't exist), it is great
> >> If there is one empty file, it works great
> >>
> >> But if /srv/cf-served/inputs/resources contains a file (let's call it
> >> simple_its.txt) containing "foo baz" (or whatever), here is the update
> >> behavior :
> >> cf3 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >> cf3 files in bundle update (1)
> >> cf3 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >> cf3
> >> cf3 Verifying SQL table promises is only available with Cfengine Nova =
or
> >> above
> >> cf3
> >> cf3 .........................................................
> >> cf3 Promise handle:
> >> cf3 Promise made by: /var/cfengine/inputs
> >> cf3 .........................................................
> >> cf3
> >> cf3 -> Handling file existence constraints on /var/cfengine/inputs
> >> cf3 -> Copy file /var/cfengine/inputs from /srv/cf-served/inputs check
> >> cf3 Found address (192.168.56.101) for host 192.168.56.101
> >> cf3 Found address (192.168.56.101) for host 192.168.56.101
> >> cf3 No existing connection to 192.168.56.101 is established...
> >> cf3 Set cfengine port number to 5308 =3D 5308
> >> cf3 Connect to 192.168.56.101 =3D 192.168.56.101, port =3D (5308=3D530=
8)
> >> cf3 LastSaw host 192.168.56.101 now
> >> cf3 Found address (192.168.56.101) for host 192.168.56.101
> >> cf3 Loaded /var/cfengine/ppkeys/root-192.168.56.101.pub
> >> cf3 .....................[.h.a.i.l.].................................
> >> cf3 Strong authentication of server=3D192.168.56.101 connection confir=
med
> >> cf3 Found address (192.168.56.101) for host 192.168.56.101
> >> cf3 !! (Destination purging enabled)
> >> cf3 ->> Entering /srv/cf-served/inputs
> >> (snip)
> >> cf3 -> Destination file /var/cfengine/inputs/site.cf already exists
> >> cf3 -> File permissions on /var/cfengine/inputs/site.cf as promised
> >> cf3 -> File /var/cfengine/inputs/site.cf is an up to date copy of sour=
ce
> >> cf3 -> /var/cfengine/inputs/update.cf~ wasn't at destination (copying)
> >> cf3 -> Copying from 192.168.56.101:/srv/cf-served/inputs/update.cf~
> >> cf3 -> Copy of regular file succeeded /srv/cf-served/inputs/update.cf~
> >> to /var/cfengine/inputs/update.cf~.cfnew
> >> cf3 ?? Final verification of transmission ...
> >> cf3 -> New file /var/cfengine/inputs/update.cf~.cfnew transmitted
> >> correctly - verified
> >> cf3 -> Group of /var/cfengine/inputs/update.cf~ was 513, setting to 0
> >> cf3 -> File permissions on /var/cfengine/inputs/update.cf~ as promised
> >> cf3 -> Updated file from 192.168.56.101:/srv/cf-served/inputs/update.c=
f~
> >> cf3 ->> Entering /var/cfengine/inputs/resources
> >> cf3 -> File permissions on /var/cfengine/inputs/resources as promised
> >> cf3 -> Destination file /var/cfengine/inputs/resources/simple_ips.txt~
> >> already exists
> >> cf3 -> File permissions on
> >> /var/cfengine/inputs/resources/simple_ips.txt~ as promised
> >> cf3 -> File /var/cfengine/inputs/resources/simple_ips.txt~ is an up to
> >> date copy of source
> >> cf3 -> /var/cfengine/inputs/resources/simple_ips.txt wasn't at
> >> destination (copying)
> >> cf3 -> Copying from
> >> 192.168.56.101:/srv/cf-served/inputs/resources/simple_ips.txt
> >> cf3 !! Copy from
> >> 192.168.56.101:/srv/cf-served/inputs/resources/simple_ips.txt failed
> >> cf3 !! Purging /var/cfengine/inputs/resources/simple_ips.txt.cfnew in
> >> copy dest directory
> >> cf3 Transmission refused or failed statting
> >> /srv/cf-served/inputs/ocsi-agent.cf
> >> Got: =C3=89=C3=B2=C3=9E=C2=88=C2=A1=C3=8D=C3=A4=C3=AD
> >> cf3 !! (Can't stat /srv/cf-served/inputs/ocsi-agent.cf)
> >> cf3 !!! System error for cf_stat: "Operation not permitted"
> >> cf3 -> Destination file /var/cfengine/inputs/promises.cf already exist=
s
> >> cf3 !! Image file /var/cfengine/inputs/promises.cf has a wrong MD5
> >> checksum (should be copy of /srv/cf-served/inputs/promises.cf)
> >> cf3 -> Updated /var/cfengine/inputs/promises.cf from source
> >> /srv/cf-served/inputs/promises.cf on 192.168.56.101
> >> cf3 Was not able to copy /srv/cf-served/inputs/promises.cf to
> >> /var/cfengine/inputs/promises.cf
> >> cf3 I: Report relates to a promise with handle ""
> >> cf3 I: Made in version 'not specified' of
> >> '/var/cfengine/inputs/update.cf' near line 37
> >> cf3 -> Destination file /var/cfengine/inputs/library.cf already exists
> >> cf3 !! Image file /var/cfengine/inputs/library.cf has a wrong MD5
> >> checksum (should be copy of /srv/cf-served/inputs/library.cf)
> >> cf3 -> Updated /var/cfengine/inputs/library.cf from source
> >> /srv/cf-served/inputs/library.cf on 192.168.56.101
> >> cf3 -> Copy of regular file succeeded /srv/cf-served/inputs/library.cf
> >> to /var/cfengine/inputs/library.cf.cfnew
> >> cf3 !! New file /var/cfengine/inputs/library.cf.cfnew seems to have be=
en
> >> corrupted in transit (sizes 1304 and 0), aborting!
> >> cf3 Was not able to copy /srv/cf-served/inputs/library.cf to
> >> /var/cfengine/inputs/library.cf
> >> cf3 I: Report relates to a promise with handle ""
> >> cf3 I: Made in version 'not specified' of
> >> '/var/cfengine/inputs/update.cf' near line 37
> >> cf3 -> Destination file /var/cfengine/inputs/update.cf already exists
> >> cf3 !! Image file /var/cfengine/inputs/update.cf has a wrong MD5
> >> checksum (should be copy of /srv/cf-served/inputs/update.cf)
> >> cf3 -> Updated /var/cfengine/inputs/update.cf from source
> >> /srv/cf-served/inputs/update.cf on 192.168.56.101
> >> cf3 -> Copy of regular file succeeded /srv/cf-served/inputs/update.cf =
to
> >> /var/cfengine/inputs/update.cf.cfnew
> >> cf3 ?? Final verification of transmission ...
> >> cf3 -> New file /var/cfengine/inputs/update.cf.cfnew transmitted
> >> correctly - verified
> >> cf3 -> Group of /var/cfengine/inputs/update.cf was 513, setting to 0
> >> cf3 -> Object /var/cfengine/inputs/update.cf had permission 600, chang=
ed
> >> it to 644
> >> cf3 -> Destination file /var/cfengine/inputs/failsafe.cf already exist=
s
> >> cf3 !! Image file /var/cfengine/inputs/failsafe.cf has a wrong MD5
> >> checksum (should be copy of /srv/cf-served/inputs/failsafe.cf)
> >> cf3 -> Updated /var/cfengine/inputs/failsafe.cf from source
> >> /srv/cf-served/inputs/failsafe.cf on 192.168.56.101
> >> cf3 Was not able to copy /srv/cf-served/inputs/failsafe.cf to
> >> /var/cfengine/inputs/failsafe.cf
> >> cf3 I: Report relates to a promise with handle ""
> >> cf3 I: Made in version 'not specified' of
> >> '/var/cfengine/inputs/update.cf' near line 37
> >> cf3 Transmission refused or failed statting
> >> /srv/cf-served/inputs/cf-served.cf
> >> Got: CFD_TRUE
> >> cf3 !! (Can't stat /srv/cf-served/inputs/cf-served.cf)
> >> cf3 !!! System error for cf_stat: "Operation not permitted"
> >> cf3 -> Destination file /var/cfengine/inputs/yum.cf already exists
> >> cf3 -> File permissions on /var/cfengine/inputs/yum.cf as promised
> >> cf3 -> File /var/cfengine/inputs/yum.cf is an up to date copy of sourc=
e
> >> cf3 Transmission refused or failed statting
> >> /srv/cf-served/inputs/virtual-machines.cf
> >> Got: =C5=92F=C3=9A=C3=B0QCa=C2=95
> >> cf3 !! (Can't stat /srv/cf-served/inputs/virtual-machines.cf)
> >> cf3 !!! System error for cf_stat: "Operation not permitted"
> >> cf3 -> Destination file /var/cfengine/inputs/exim4.cf already exists
> >> cf3 !! Image file /var/cfengine/inputs/exim4.cf has a wrong MD5 checks=
um
> >> (should be copy of /srv/cf-served/inputs/exim4.cf)
> >> cf3 -> Updated /var/cfengine/inputs/exim4.cf from source
> >> /srv/cf-served/inputs/exim4.cf on 192.168.56.101
> >> cf3 Was not able to copy /srv/cf-served/inputs/exim4.cf to
> >> /var/cfengine/inputs/exim4.cf
> >> cf3 I: Report relates to a promise with handle ""
> >> cf3 I: Made in version 'not specified' of
> >> '/var/cfengine/inputs/update.cf' near line 37
> >> cf3 !! Purging /var/cfengine/inputs/exim4.cf.cfnew in copy dest direct=
ory
> >> cf3 !! Purging /var/cfengine/inputs/failsafe.cf.cfnew in copy dest dir=
ectory
> >> cf3 !! Purging /var/cfengine/inputs/library.cf.cfnew in copy dest dire=
ctory
> >> cf3 !! Purging /var/cfengine/inputs/promises.cf.cfnew in copy dest dir=
ectory
> >> cf3 !! Purging /var/cfengine/inputs/update.cf.cfsaved in copy dest dir=
ectory
> >> cf3 Performance(Copy(192.168.56.101:/srv/cf-served/inputs >
> >> /var/cfengine/inputs)): time=3D2.0000 secs, av=3D2.6912 +/- 0.8668
> >> cf3 Existing connection just became free...
> >>
> >> Then files content are messed up (ending with content from one file in
> >> another one)
> >>
> >> Both client and server are the 3.0.2 release
> >>
> >> Regards,
> >> Nicolas
>
>
--0016e65c8c02d39ace0479ae1348
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hello,<br><br>I am replying to this old thread (two monthes old only, actua=
lly) that I found via Googling. I also have this problem and it is 100% rep=
roducible in my case.<br><br>I am using Gentoo on both the server and the c=
lient, with version 3.0.2. The version of OpenSSL is identical in both case=
s, 0.9.8l (note that it also failed using 0.9.8l on the server and 0.9.8k o=
n the client).<br>
<br>This is my <a href=3D"http://promises.cf">promises.cf</a>:<br><br>bundl=
e agent setupPhase<br>{<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 files=
:<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 "/srv/demo-phpbb/" copy_from =3D> fastCo=
pyFromRemote("${global.OVERMIND_HOST}", "${global.UNISON_REP=
OSITORY_PATH}demo-phpbb/"), depth_search =3D> recurse, perms =3D>=
; apache;<br>
}<br><br>body copy_from fastCopyFromRemote(server, path)<br>{<br>=C2=A0=C2=
=A0=C2=A0 servers =3D> {"${server}"};<br>=C2=A0=C2=A0=C2=A0 en=
crypt =3D> "true";<br>=C2=A0=C2=A0=C2=A0 trustkey =3D> &quo=
t;true";<br>=C2=A0=C2=A0=C2=A0 source =3D> "${path}";<br>
=C2=A0=C2=A0=C2=A0 compare =3D> "digest";<br>=C2=A0=C2=A0=C2=
=A0 preserve =3D> "false";<br>=C2=A0=C2=A0=C2=A0 purge =3D>=
"true";<br>=C2=A0=C2=A0=C2=A0 copy_backup =3D> "false&qu=
ot;;<br>}<br><br>body depth_search recurse<br>{<br>=C2=A0=C2=A0=C2=A0 depth=
=3D> "inf";<br>
}<br><br>I am linking the demo-phpbb/ directory for you to reproduce the bu=
g, as I think it is somehow important (on other directories I am not hit by=
this problem, so it is something strange in this directory that is causing=
the bug, although I checked and everything seems normal...). It is availab=
le at<br>
<br><a href=3D"http://test.elvanor.net/bugs/demo-phpbb.zip">http://test.elv=
anor.net/bugs/demo-phpbb.zip</a><br><br>I hope you can debug and fix this p=
roblem as it is quite critical IMHO (not only it does not copy correctly th=
e directory, it completely hangs the cf-agent process while encountering ga=
rbage).<br>
<br>Jean-Noel<br><br><blockquote style=3D"border-left: 1px solid rgb(204, 2=
04, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quo=
te"><pre>Mark,<br><br>On the Ubuntu server I have OpenSSL 0.9.8g<br>On the =
Cygwin client I have OpenSSL 0.9.8k<br>
And on the Fedora client, I have OpenSSL 0.9.8k-fips<br><br>So yes, it'=
s more than likely that it is a OpenSSL issue since both <br>clients fails =
the same way,<br><br>Regards,<br>Nicolas<br><br>Mark Burgess a =C3=A9crit :=
<br>
> Nicholas,<br>><br>> I have been trying hard to reproduce this er=
ror but I have not been able to.<br>> The problem is that encryption fai=
ls in the final transmission causing file <br>> data<br>> to be appar=
ent garbage.<br>
><br>> I will try a few more things before giving up. May I ask what =
kind of systems<br>> are running this? Do they have the same versions of=
OpenSSL?<br>><br>> M<br>><br>><br>> Nicolas Charles wrote:<=
br>
> <br>>> Hi,<br>>><br>>> I'm having a nasty beha=
vior with the updating of promises when having a <br>>> subfolder.<br=
>>> Here is my <a href=3D"http://update.cf">update.cf</a> :<br>>&g=
t;<br>
>><br>>> #<br>>> # Define what an agent has to do when it=
updates<br>>> # its promises<br>>> #<br>>><br>>> #=
simple copy method<br>>> body copy_from remote(server, path) {<br>
>><br>>> servers =3D> {<br>>> "${server}"<br=
>>> };<br>>> encrypt =3D> "true";<br>>> trus=
tkey =3D> "true";<br>>> source =3D> "${path}&quo=
t;;<br>
>> compare =3D> "digest";<br>>> preserve =3D> &=
quot;false"; #preserver permissions<br>>> verify =3D> "t=
rue";<br>>> purge =3D> "true";<br>>> owners =
=3D> {"slave"};<br>
>> }<br>>><br>>> #simple recurse method<br>>><br>&g=
t;><br>>> bundle agent update {<br>>> vars:<br>>> any:=
:<br>>> "cfserved" string =3D> "192.168.56.101"=
;; #server IP<br>
>> "policy_files" string =3D> "/srv/cf-served"=
; #directory where to look for <br>>> promises in the server for that=
client<br>>> "server_inputs" string =3D> "${policy=
_files}/inputs"; #actual directory <br>
>> with promises, just to show the use of variables<br>>> "=
;client_inputs" string =3D> "${sys.workdir}/inputs"; #whe=
re to put the <br>>> files on the client when downloaded<br>>><=
br>
>> files:<br>>> any::<br>>> "${client_inputs}" =
#that's a loop on each files in client_inputs<br>>> copy_from =3D=
> remote("${cfserved}","${server_inputs}"),<br>>&=
gt; depth_search =3D> recurse_visible("inf");<br>
>> }<br>>><br>>><br>>><br>>> On my server, I =
have<br>>> /srv/cf-served/inputs : the promises<br>>> /srv/cf-s=
erved/inputs/resources : variables, resources, etc<br>>> If resources=
folder is empty (or better, doesn't exist), it is great<br>
>> If there is one empty file, it works great<br>>><br>>>=
But if /srv/cf-served/inputs/resources contains a file (let's call it =
<br>>> simple_its.txt) containing "foo baz" (or whatever), =
here is the update <br>
>> behavior :<br>>> cf3 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>>> cf3 f=
iles in bundle update (1)<br>>> cf3 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>>>=
cf3<br>
>> cf3 Verifying SQL table promises is only available with Cfengine N=
ova or <br>>> above<br>>> cf3<br>>> cf3 .................=
........................................<br>>> cf3 Promise handle:<br=
>
>> cf3 Promise made by: /var/cfengine/inputs<br>>> cf3 ........=
.................................................<br>>> cf3<br>>&g=
t; cf3 -> Handling file existence constraints on /var/cfengine/inputs<br=
>
>> cf3 -> Copy file /var/cfengine/inputs from /srv/cf-served/input=
s check<br>>> cf3 Found address (192.168.56.101) for host 192.168.56.=
101<br>>> cf3 Found address (192.168.56.101) for host 192.168.56.101<=
br>
>> cf3 No existing connection to 192.168.56.101 is established...<br>=
>> cf3 Set cfengine port number to 5308 =3D 5308<br>>> cf3 Conn=
ect to 192.168.56.101 =3D 192.168.56.101, port =3D (5308=3D5308)<br>>>=
; cf3 LastSaw host 192.168.56.101 now<br>
>> cf3 Found address (192.168.56.101) for host 192.168.56.101<br>>=
> cf3 Loaded /var/cfengine/ppkeys/root-192.168.56.101.pub<br>>> cf=
3 .....................[.h.a.i.l.].................................<br>
>> cf3 Strong authentication of server=3D192.168.56.101 connection co=
nfirmed<br>>> cf3 Found address (192.168.56.101) for host 192.168.56.=
101<br>>> cf3 !! (Destination purging enabled)<br>>> cf3 ->&=
gt; Entering /srv/cf-served/inputs<br>
>> (snip)<br>>> cf3 -> Destination file /var/cfengine/inputs=
/<a href=3D"http://site.cf">site.cf</a> already exists<br>>> cf3 ->=
; File permissions on /var/cfengine/inputs/<a href=3D"http://site.cf">site.=
cf</a> as promised<br>
>> cf3 -> File /var/cfengine/inputs/<a href=3D"http://site.cf">sit=
e.cf</a> is an up to date copy of source<br>>> cf3 -> /var/cfengin=
e/inputs/<a href=3D"http://update.cf">update.cf</a>~ wasn't at destinat=
ion (copying)<br>
>> cf3 -> Copying from 192.168.56.101:/srv/cf-served/inputs/<a hre=
f=3D"http://update.cf">update.cf</a>~<br>>> cf3 -> Copy of regular=
file succeeded /srv/cf-served/inputs/<a href=3D"http://update.cf">update.c=
f</a>~ <br>
>> to /var/cfengine/inputs/<a href=3D"http://update.cf">update.cf</a>=
~.cfnew<br>>> cf3 ?? Final verification of transmission ...<br>>&g=
t; cf3 -> New file /var/cfengine/inputs/<a href=3D"http://update.cf">upd=
ate.cf</a>~.cfnew transmitted <br>
>> correctly - verified<br>>> cf3 -> Group of /var/cfengine/=
inputs/<a href=3D"http://update.cf">update.cf</a>~ was 513, setting to 0<br=
>>> cf3 -> File permissions on /var/cfengine/inputs/<a href=3D"htt=
p://update.cf">update.cf</a>~ as promised<br>
>> cf3 -> Updated file from 192.168.56.101:/srv/cf-served/inputs/<=
a href=3D"http://update.cf">update.cf</a>~<br>>> cf3 ->> Enteri=
ng /var/cfengine/inputs/resources<br>>> cf3 -> File permissions on=
/var/cfengine/inputs/resources as promised<br>
>> cf3 -> Destination file /var/cfengine/inputs/resources/simple_i=
ps.txt~ <br>>> already exists<br>>> cf3 -> File permissions =
on <br>>> /var/cfengine/inputs/resources/simple_ips.txt~ as promised<=
br>
>> cf3 -> File /var/cfengine/inputs/resources/simple_ips.txt~ is a=
n up to <br>>> date copy of source<br>>> cf3 -> /var/cfengin=
e/inputs/resources/simple_ips.txt wasn't at <br>>> destination (c=
opying)<br>
>> cf3 -> Copying from <br>>> 192.168.56.101:/srv/cf-served/=
inputs/resources/simple_ips.txt<br>>> cf3 !! Copy from <br>>> 1=
92.168.56.101:/srv/cf-served/inputs/resources/simple_ips.txt failed<br>
>> cf3 !! Purging /var/cfengine/inputs/resources/simple_ips.txt.cfnew=
in <br>>> copy dest directory<br>>> cf3 Transmission refused o=
r failed statting <br>>> /srv/cf-served/inputs/<a href=3D"http://ocsi=
-agent.cf">ocsi-agent.cf</a><br>
>> Got: =C3=89=C3=B2=C3=9E=C2=88=C2=A1=C3=8D=C3=A4=C3=AD<br>>> =
cf3 !! (Can't stat /srv/cf-served/inputs/<a href=3D"http://ocsi-agent.c=
f">ocsi-agent.cf</a>)<br>>> cf3 !!! System error for cf_stat: "O=
peration not permitted"<br>>> cf3 -> Destination file /var/cf=
engine/inputs/<a href=3D"http://promises.cf">promises.cf</a> already exists=
<br>
>> cf3 !! Image file /var/cfengine/inputs/<a href=3D"http://promises.=
cf">promises.cf</a> has a wrong MD5 <br>>> checksum (should be copy o=
f /srv/cf-served/inputs/<a href=3D"http://promises.cf">promises.cf</a>)<br>
>> cf3 -> Updated /var/cfengine/inputs/<a href=3D"http://promises.=
cf">promises.cf</a> from source <br>>> /srv/cf-served/inputs/<a href=
=3D"http://promises.cf">promises.cf</a> on 192.168.56.101<br>>> cf3 W=
as not able to copy /srv/cf-served/inputs/<a href=3D"http://promises.cf">pr=
omises.cf</a> to <br>
>> /var/cfengine/inputs/<a href=3D"http://promises.cf">promises.cf</a=
><br>>> cf3 I: Report relates to a promise with handle ""<b=
r>>> cf3 I: Made in version 'not specified' of <br>>> &=
#39;/var/cfengine/inputs/<a href=3D"http://update.cf">update.cf</a>' ne=
ar line 37<br>
>> cf3 -> Destination file /var/cfengine/inputs/<a href=3D"http://=
library.cf">library.cf</a> already exists<br>>> cf3 !! Image file /va=
r/cfengine/inputs/<a href=3D"http://library.cf">library.cf</a> has a wrong =
MD5 <br>
>> checksum (should be copy of /srv/cf-served/inputs/<a href=3D"http:=
//library.cf">library.cf</a>)<br>>> cf3 -> Updated /var/cfengine/i=
nputs/<a href=3D"http://library.cf">library.cf</a> from source <br>>>=
/srv/cf-served/inputs/<a href=3D"http://library.cf">library.cf</a> on 192.=
168.56.101<br>
>> cf3 -> Copy of regular file succeeded /srv/cf-served/inputs/<a =
href=3D"http://library.cf">library.cf</a> <br>>> to /var/cfengine/inp=
uts/library.cf.cfnew<br>>> cf3 !! New file /var/cfengine/inputs/libra=
ry.cf.cfnew seems to have been <br>
>> corrupted in transit (sizes 1304 and 0), aborting!<br>>> cf3=
Was not able to copy /srv/cf-served/inputs/<a href=3D"http://library.cf">l=
ibrary.cf</a> to <br>>> /var/cfengine/inputs/<a href=3D"http://librar=
y.cf">library.cf</a><br>
>> cf3 I: Report relates to a promise with handle ""<br>>=
;> cf3 I: Made in version 'not specified' of <br>>> '/=
var/cfengine/inputs/<a href=3D"http://update.cf">update.cf</a>' near li=
ne 37<br>
>> cf3 -> Destination file /var/cfengine/inputs/<a href=3D"http://=
update.cf">update.cf</a> already exists<br>>> cf3 !! Image file /var/=
cfengine/inputs/<a href=3D"http://update.cf">update.cf</a> has a wrong MD5 =
<br>
>> checksum (should be copy of /srv/cf-served/inputs/<a href=3D"http:=
//update.cf">update.cf</a>)<br>>> cf3 -> Updated /var/cfengine/inp=
uts/<a href=3D"http://update.cf">update.cf</a> from source <br>>> /sr=
v/cf-served/inputs/<a href=3D"http://update.cf">update.cf</a> on 192.168.56=
.101<br>
>> cf3 -> Copy of regular file succeeded /srv/cf-served/inputs/<a =
href=3D"http://update.cf">update.cf</a> to <br>>> /var/cfengine/input=
s/update.cf.cfnew<br>>> cf3 ?? Final verification of transmission ...=
<br>
>> cf3 -> New file /var/cfengine/inputs/update.cf.cfnew transmitte=
d <br>>> correctly - verified<br>>> cf3 -> Group of /var/cfe=
ngine/inputs/<a href=3D"http://update.cf">update.cf</a> was 513, setting to=
0<br>
>> cf3 -> Object /var/cfengine/inputs/<a href=3D"http://update.cf"=
>update.cf</a> had permission 600, changed <br>>> it to 644<br>>&g=
t; cf3 -> Destination file /var/cfengine/inputs/<a href=3D"http://failsa=
fe.cf">failsafe.cf</a> already exists<br>
>> cf3 !! Image file /var/cfengine/inputs/<a href=3D"http://failsafe.=
cf">failsafe.cf</a> has a wrong MD5 <br>>> checksum (should be copy o=
f /srv/cf-served/inputs/<a href=3D"http://failsafe.cf">failsafe.cf</a>)<br>
>> cf3 -> Updated /var/cfengine/inputs/<a href=3D"http://failsafe.=
cf">failsafe.cf</a> from source <br>>> /srv/cf-served/inputs/<a href=
=3D"http://failsafe.cf">failsafe.cf</a> on 192.168.56.101<br>>> cf3 W=
as not able to copy /srv/cf-served/inputs/<a href=3D"http://failsafe.cf">fa=
ilsafe.cf</a> to <br>
>> /var/cfengine/inputs/<a href=3D"http://failsafe.cf">failsafe.cf</a=
><br>>> cf3 I: Report relates to a promise with handle ""<b=
r>>> cf3 I: Made in version 'not specified' of <br>>> &=
#39;/var/cfengine/inputs/<a href=3D"http://update.cf">update.cf</a>' ne=
ar line 37<br>
>> cf3 Transmission refused or failed statting <br>>> /srv/cf-s=
erved/inputs/<a href=3D"http://cf-served.cf">cf-served.cf</a><br>>> G=
ot: CFD_TRUE<br>>> cf3 !! (Can't stat /srv/cf-served/inputs/<a hr=
ef=3D"http://cf-served.cf">cf-served.cf</a>)<br>
>> cf3 !!! System error for cf_stat: "Operation not permitted&qu=
ot;<br>>> cf3 -> Destination file /var/cfengine/inputs/<a href=3D"=
http://yum.cf">yum.cf</a> already exists<br>>> cf3 -> File permiss=
ions on /var/cfengine/inputs/<a href=3D"http://yum.cf">yum.cf</a> as promis=
ed<br>
>> cf3 -> File /var/cfengine/inputs/<a href=3D"http://yum.cf">yum.=
cf</a> is an up to date copy of source<br>>> cf3 Transmission refused=
or failed statting <br>>> /srv/cf-served/inputs/<a href=3D"http://vi=
rtual-machines.cf">virtual-machines.cf</a><br>
>> Got: =C5=92F=C3=9A=C3=B0QCa=C2=95<br>>> cf3 !! (Can't st=
at /srv/cf-served/inputs/<a href=3D"http://virtual-machines.cf">virtual-mac=
hines.cf</a>)<br>>> cf3 !!! System error for cf_stat: "Operation=
not permitted"<br>
>> cf3 -> Destination file /var/cfengine/inputs/<a href=3D"http://=
exim4.cf">exim4.cf</a> already exists<br>>> cf3 !! Image file /var/cf=
engine/inputs/<a href=3D"http://exim4.cf">exim4.cf</a> has a wrong MD5 chec=
ksum <br>
>> (should be copy of /srv/cf-served/inputs/<a href=3D"http://exim4.c=
f">exim4.cf</a>)<br>>> cf3 -> Updated /var/cfengine/inputs/<a href=
=3D"http://exim4.cf">exim4.cf</a> from source <br>>> /srv/cf-served/i=
nputs/<a href=3D"http://exim4.cf">exim4.cf</a> on 192.168.56.101<br>
>> cf3 Was not able to copy /srv/cf-served/inputs/<a href=3D"http://e=
xim4.cf">exim4.cf</a> to <br>>> /var/cfengine/inputs/<a href=3D"http:=
//exim4.cf">exim4.cf</a><br>>> cf3 I: Report relates to a promise wit=
h handle ""<br>
>> cf3 I: Made in version 'not specified' of <br>>> =
9;/var/cfengine/inputs/<a href=3D"http://update.cf">update.cf</a>' near=
line 37<br>>> cf3 !! Purging /var/cfengine/inputs/exim4.cf.cfnew in =
copy dest directory<br>
>> cf3 !! Purging /var/cfengine/inputs/failsafe.cf.cfnew in copy dest=
directory<br>>> cf3 !! Purging /var/cfengine/inputs/library.cf.cfnew=
in copy dest directory<br>>> cf3 !! Purging /var/cfengine/inputs/pro=
mises.cf.cfnew in copy dest directory<br>
>> cf3 !! Purging /var/cfengine/inputs/update.cf.cfsaved in copy dest=
directory<br>>> cf3 Performance(Copy(192.168.56.101:/srv/cf-served/i=
nputs > <br>>> /var/cfengine/inputs)): time=3D2.0000 secs, av=3D2.=
6912 +/- 0.8668<br>
>> cf3 Existing connection just became free...<br>>><br>>>=
; Then files content are messed up (ending with content from one file in <b=
r>>> another one)<br>>><br>>> Both client and server are =
the 3.0.2 release<br>
>><br>>> Regards,<br>>> Nicolas<br></pre></blockquote><br=
>
--0016e65c8c02d39ace0479ae1348--
--===============0347765968==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine
--===============0347765968==--