Forum: CFEngine Help
Subject: Re: Bad transfers and Fatal Cfengine errors
Author: uguru
Link to topic: https://cfengine.com/forum/read.php?3,26402,26543#msg-26543

I hit with the same bug today and it has caused big havoc....CFEngine copied 
shadow file over to a completely irrelevant directory /opt and backedup /opt to 
/opt_1342710154_Thu_Jul_19_11_04_15_2012_.

cf-server is highly loaded at that time from multiple clients pulling stuff but 
that doesn't explain this dangerous copy operation. Noticed below messages on 
the server at that time:

Jul 19 11:03:31 policy-serv1 cf-serverd[10403]:  read failed in GetFile
Jul 19 11:03:31 policy-serv1 cf-serverd[10403]:   !!! System error for read: 
"Is a directory"
Jul 19 11:03:31 policy-serv1 cf-serverd[10403]:  read failed in GetFile
Jul 19 11:03:31 policy-serv1 cf-serverd[10403]:   !!! System error for read: 
"Is a directory"
Jul 19 11:03:32 policy-serv1 cf-serverd[10403]:  read failed in GetFile
Jul 19 11:03:32 policy-serv1 cf-serverd[10403]:   !!! System error for read: 
"Is a directory"
Jul 19 11:03:32 policy-serv1 cf-serverd[10403]:  read failed in GetFile
Jul 19 11:03:32 policy-serv1 cf-serverd[10403]:   !!! System error for read: 
"Is a directory"
Jul 19 11:03:37 policy-serv1 cf-serverd[10403]:  read failed in GetFile
Jul 19 11:03:37 policy-serv1 cf-serverd[10403]:   !!! System error for read: 
"Is a directory"

following errors were reported by the client:

Failed send
 !!! System reports error for recv: "Resource temporarily unavailable"
I: Made in version 'not specified' of '/var/cfengine/inputs/update.cf' near 
line 37  !! Transmission refused or failed statting 
/var/cfengine/masterfiles/lxclient/etc/motd
Got: CFD_FALSE
Unable to make directory for /var/cfengine/masterfiles/lxclient/opt/dummy in 
file-copy /var/cfengine/masterfiles/lxclient to (null)
I: Made in version 'not specified' of '/var/cfengine/inputs/update.cf' near 
line 37
Warning: depth_search (recursion) is promised for a base object /opt that is 
not a directory

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to