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 23:28:18 +0100 (MET)

I am not sure I know what the problem is...

M

On 22 Nov, Larson, Ryan B wrote:
> Same results on Solaris 2.6 using gcc-3.3, berkleydb 4.2.52, openssl-0.9.7d.
> 
> 
> I built the libraries and cfengine on each host.
> 
> I also rebuilt using gcc-3.3 on solaris 8 with no change in behavior. 
> 
> Any suggestions on what gcc version to use? 
> 
> Ryan Larson
> Unix Administrator
> Office 312.362.3311
> Cell 312.446.1773
> FOC - A Goldman Sachs Company
> 
> 
> -----Original Message-----
> From: address@hidden [mailto:address@hidden 
> Sent: Monday, November 22, 2004 1:46 PM
> To: Larson, Ryan B
> Cc: address@hidden; address@hidden
> Subject: Re: FW: Tidy verbose output bug.
> 
> 
> 
> Make sure that you compile on this platform and not on a compatible or
> different version. The problem might be that a compiler is picking out a
> wrong header file for an incompatilbe filesystem, e.g. 64 bit instead of 32
> or something. I think it might be a compilation problem. Can you try it on
> any other platforms?
> 
> M 
> 
> On 22 Nov, Larson, Ryan B wrote:
>> Using 2.1.11 on Solaris 8 compiled with gcc 3.4.0, berkleydb-4.2.52, 
>> and openssl-0.9.7d.
>> 
>> 
>> Ryan Larson
>> Unix Administrator
>> Office 312.362.3311
>> Cell 312.446.1773
>> FOC - A Goldman Sachs Company
>> 
>> 
>> -----Original Message-----
>> From: address@hidden [mailto:address@hidden
>> Sent: Monday, November 22, 2004 12:24 PM
>> To: Larson, Ryan B
>> Cc: address@hidden
>> Subject: Re: FW: Tidy verbose output bug.
>> 
>> 
>> 
>> 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
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> 
>> 
>> _______________________________________________
>> Bug-cfengine mailing list
>> address@hidden 
>> http://lists.gnu.org/mailman/listinfo/bug-cfengine
> 
> 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Work: +47 22453272            Email:  address@hidden
> Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> _______________________________________________
> Bug-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-cfengine



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]