bug-cfengine
[Top][All Lists]
Advanced

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

Re: FW: Tidy verbose output bug.


From: Mark . Burgess
Subject: Re: FW: Tidy verbose output bug.
Date: Mon, 22 Nov 2004 19:24:10 +0100 (MET)

I have tested this in 2.1.11 and it works fine. WHat version/platform
are you using?

M

On 22 Nov, Larson, Ryan B wrote:
>  
>  
>  
> 
> Ryan Larson 
> Unix Administrator 
> Office 312.362.3311 
> Cell 312.446.1773 
> FOC - A Goldman Sachs Company 
> 
> -----Original Message-----
> From: Larson, Ryan B 
> Sent: Monday, November 22, 2004 11:49 AM
> To: address@hidden
> Subject: Tidy verbose output bug.
> 
> 
> 
> There is a bug in the tidy.c that is triggered when you set the verbose
> flag. 
> 
> I setup a rule to delete anything older than 1 day in the /tmp/test
> directory.  
> 
> Here is the contents before the run as seen by ls -la 
> 
> total 1056 
> drwxr-xr-x   2 root     root         178 Nov 22 11:43 ./ 
> drwxrwxrwt  16 root     sys         6768 Nov 22 11:43 ../ 
> -r-xr-xr-x   1 root     bin       516392 Jan  5  2000 bash* 
> 
> 
> Here is the cfengine output with the -v flag. 
> 
> --------------------------------------------------------------------- 
> Tidying by directory 
> --------------------------------------------------------------------- 
> 
> cfengine:: Deleting file /tmp/test/bash 
> cfengine:: Size=0 bytes, (-age=97 days 
> 
> Now, it doesn't seem to matter what timestamp or size, any file will report
> Size=0 and {wacky character}-age=97 days. 
> 
> I don't know c well enough to track this down, but I would guess that a
> pointer is being overwritten. 
> 
> Ryan Larson 
> Unix Administrator 
> Office 312.362.3311 
> Cell 312.446.1773 
> FOC - A Goldman Sachs Company 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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