bug-cfengine
[Top][All Lists]
Advanced

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

simple bug


From: Lars Sodergren
Subject: simple bug
Date: Thu, 23 May 2002 14:04:59 +0200 (MET DST)

I have found a bug in version 2.0.1 on Solaris-8 that cause the protocol
between cfagent and cfservd to fail. Any copy of a file with a single line
containing a single D hangs the connection, it should be easy to verify.

I found this when we started using CVS (Concurrent Versions System)
and CVS created files with a single D in empty directorys.


Output from "cfagent -v":

> Checking copy from bangui.md.chalmers.se:/var/cfengine/conf/inputs.server to 
> /var/cfengine/inputs
> nairobi.md.chalmers.se: Update of image /var/cfengine/inputs/testfil from 
> master /var/cfengine/conf/inputs.server/testfil on bangui.md.chalmers.se
> Checking copy from bangui.md.chalmers.se:/var/cfengine/conf/bin/cfagent to 
> /var/cfengine/bin/cfagent
> nairobi.md.chalmers.se: Transmission refused or failed statting 
> /var/cfengine/conf/bin/cfagent
> Got: Z÷:aµ`
> nairobi.md.chalmers.se: Can't stat /var/cfengine/conf/bin/cfagent in copy
> Checking copy from bangui.md.chalmers.se:/var/cfengine/conf/bin/cfexecd to 
> /var/cfengine/bin/cfexecd
> nairobi.md.chalmers.se: Update of image /var/cfengine/bin/cfexecd from master 
> /var/cfengine/conf/bin/cfexecd on bangui.md.chalmers.se


The file testfil:

> bangui(165)# od -c testfil 
> 0000000   D  \n
> 0000002

The file testfil gets the connection out of sync causing the copy of cfagent to
fail and then the copy of cfexecd hangs.



-- 
|  Lars Sodergren                     |   S-412 96     Goteborg, Sweden  |
|  Unix System Manager                |   Phone:         +46 31 7721087  |
|  Department of Computing Science    |   Fax:           +46 31  165655  |
|  Chalmers University of Technology  |   Email: address@hidden  |





reply via email to

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