bug-cfengine
[Top][All Lists]
Advanced

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

FW: Tidy verbose output bug.


From: Larson, Ryan B
Subject: FW: Tidy verbose output bug.
Date: Mon, 22 Nov 2004 11:52:28 -0600

 
 
 

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


reply via email to

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