[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cfengine 2.1.4, KillOldLinks()
From: |
Jeff Blaine |
Subject: |
cfengine 2.1.4, KillOldLinks() |
Date: |
Thu, 29 Apr 2004 08:56:50 -0400 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 |
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.
- cfengine 2.1.4, KillOldLinks(),
Jeff Blaine <=