help-cfengine
[Top][All Lists]
Advanced

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

Re: cfengine 2.1.4, KillOldLinks()


From: Mark . Burgess
Subject: Re: cfengine 2.1.4, KillOldLinks()
Date: Fri, 30 Apr 2004 17:35:56 +0200 (MEST)

I confirm a bug in a patch that was provided in connection with the windows
version causes the path resolution to break, but you must have tidylinks
set to true in order for this to happen.

Patched filenames.c is attached and 2.1.6 will come soon.
M

On 29 Apr, Jeff Blaine wrote:
> By the way, this happens in 2.1.5 as well.  I just tested it.
> 
> Jeff Blaine wrote:
>> Any help would be greatly appreciated.
>> 
>> I have two problems.  The first is the following:  Perfectly valid
>> symlinks are being deleted.
>> 
>> Two previous people have reported this and have been met with total
>> silence (URL to their posts below).
>> 
>> I have seen this behavior with cfengine 2.1.4 under Red Hat Linux
>> 7.x and IRIX 6.5 so far.
>> 
>> -----------------------------------------------------------------------
>> # cfagent -d2 -n -f ./master.cfe                     <--- NOTE NO '-L'
>> ...
>> IgnoreFile(/etc,chkconfig)
>> TidyParticularFile(/etc/chkconfig,chkconfig)
>> KillOldLink(/etc/chkconfig)
>> VBUFF before CompressPath(): /etc/chkconfig          <--- my debugging
>> CompressPath(/etc/chkconfig,/etc/../sbin/chkconfig)
>> VBUFF after CompressPath(): sbin/chkconfig           <--- BZZZZT WRONG
>> cfengine:behemoth: /etc/chkconfig is a link which points to 
>> sbin/chkconfig, but that file doesn't seem to exist
>> cfengine:behemoth: Removing dead link /etc/chkconfig <--- NO!  WRONG!
>> ...
>> 
>> The file /etc/../sbin/chkconfig DOES EXIST.
>> 
>> Both posts are here:
>> 
>> http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=%22is+a+link+which+points+to%22&btnG=Search&meta=group%3Dgnu.cfengine.help
>>  
>> 
>> -----------------------------------------------------------------------
>> 
>> Problem two is mentioned in the 1st line of the output above.  On IRIX
>> and Red Hat Linux 7.x, 'stale link deletion' is active and I have NOT
>> specified '-L' in my command-line options.
>> 
>> 
>> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine



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





reply via email to

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