On 11/09/2010 05:46 AM, Seva Gluschenko wrote:
> No, definitely. A file isn't installed in place of older one until
> it's copied succefully.
>    

Seva, that's what has me so alarmed.  Like you and Neil pointed out, I 
can take steps to minimize the odds of cf-serverd getting terminated 
while engaged with clients but I see that as risk reduction to what is 
otherwise a very severe bug.  It does nothing to account for user error, 
network glitches, or master host failures (assuming, again, that 
cf-agent was thrown by the sudden termination of cf-serverd).

*somehow* cf-agent modified my limits.conf file, ran into a problem (as 
reported), and gave up, leaving me with a bricked system.  I agree that 
with copy-on-write, hashes, etc, this should be an impossibility but I 
can only go by the sequence of events I initially posted.

I will try to reproduce in lab although I think this will be very hard 
to do.  cf-serverd (3.0.5) used to segfault on me regularly and while it 
made clients complain it never resulted in actual damage.

Cheers,
Frans

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

Reply via email to