[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RecursiveEditFiles not working
From: |
Adrian Phillips |
Subject: |
RecursiveEditFiles not working |
Date: |
08 Feb 2002 14:49:04 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
RecursiveEditFiles seems to have stopped working in 2.0.a16. The
following debug trace shows what happens for this part of the
configuration :-
# Edit all occurrences of dusk to dawn in csyncd configuration
{ /home/metop/etc/csyncd
ReplaceAll "dusk" With "dawn"
}
Log, note that after the first file is checked everything afterwards
is "too soon". I wonder whether this whole timestamp checking is
working out (see previous email about module variables not being
defined because of "too soon").
RecursiveEditFiles(/home/metop/etc/csyncd)
Filename /home/metop/etc/csyncd/. is classified as ignorable
Filename /home/metop/etc/csyncd/.. is classified as ignorable
IgnoreFile(running_syncs)
FileObjectFilter(/home/metop/etc/csyncd/running_syncs)
WrapDoEditFile(/home/metop/etc/csyncd,/home/metop/etc/csyncd/running_syncs)
FileObjectFilter(/home/metop/etc/csyncd/running_syncs)
DoEditFile(/home/metop/etc/csyncd/running_syncs)
IgnoredOrExcluded(/home/metop/etc/csyncd/running_syncs)
GetLock(editfile,_home_metop_etc_csyncd,time=1013175703), ExpireAfter=120,
IfElapsed=1
GetLastLock()
CheckOldLock(lock.cfagent_conf.dawn.editfile._home_metop_etc_csyncd)
Unable to find lock data lock.cfagent_conf.dawn.editfile._home_metop_etc_csyncd
SetLock(lock.cfagent_conf.dawn.editfile._home_metop_etc_csyncd)
PutLock(lock.cfagent_conf.dawn.editfile._home_metop_etc_csyncd)
Unable to delete lock [lock.cfagent_conf.dawn.editfile._home_metop_etc_csyncd]:
DB_NOTFOUND: No matching key/dat\
a pair found
(Setting umask to 77)
Appending [sync_id,started,sync_pid]
cfengine:dawn: Begin editing /home/metop/etc/csyncd/running_syncs
Edit action: ReplaceAll
Edit action: With
Checking for replace/dusk/dawn
cfengine:dawn: End editing /home/metop/etc/csyncd/running_syncs
.....................................................................
CompareToFile(/home/metop/etc/csyncd/running_syncs)
ReleaseCurrentLock(lock.cfagent_conf.dawn.editfile._home_metop_etc_csyncd)
PutLock(last.cfagent_conf.100.dawn.editfile._home_metop_etc_csyncd)
LockLog(Lock removed normally )
IgnoreFile(roots)
FileObjectFilter(/home/metop/etc/csyncd/roots)
WrapDoEditFile(/home/metop/etc/csyncd,/home/metop/etc/csyncd/roots)
FileObjectFilter(/home/metop/etc/csyncd/roots)
DoEditFile(/home/metop/etc/csyncd/roots)
IgnoredOrExcluded(/home/metop/etc/csyncd/roots)
GetLock(editfile,_home_metop_etc_csyncd,time=1013175703), ExpireAfter=120,
IfElapsed=1
GetLastLock()
cfengine:dawn: Too soon for editfile._home_metop_etc_csyncd (0/1 minutes
elapsed)
IgnoreFile(syncs)
FileObjectFilter(/home/metop/etc/csyncd/syncs)
WrapDoEditFile(/home/metop/etc/csyncd,/home/metop/etc/csyncd/syncs)
FileObjectFilter(/home/metop/etc/csyncd/syncs)
DoEditFile(/home/metop/etc/csyncd/syncs)
Sincerely,
Adrian Phillips
--
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now? [OK]
- RecursiveEditFiles not working,
Adrian Phillips <=