|
From: | Tittel, Stephen |
Subject: | Tidy problem |
Date: | Tue, 3 Jul 2001 09:56:13 +0200 |
Hi,
I'm a newbie about cfengine. I'm using cfengine version 1.6.3 in an Linux network environment.
I've setup the following cfengine.conf file:
#!/usr/local/sbin/cfengine -f
#############################################################
#
# Filename : /usr/local/sbin/cfengine.conf
# Date : 27-06-2001
# Author : S.A. Tittel
#############################################################
#Section = control
control:
hostname = ( linuxsrv2 )
domain = ( samsom.nl )
netmask = ( 255.255.192.0 )
access = ( tittels root )
LogDirectory = ( /var/log )
sysadm = ( s.tittel@samsom.nl )
EditfileSize = ( 0 )
actionsequence = ( tidy editfiles )
tidy:
linux::
/tmp pattern=* age=7 recurse=inf
/ pattern=core age=0 recurse=inf
home pattern=*~ age=7 recurse=inf
home pattern=core age=0 recurse=inf
editfiles:
linux::
{ /etc/services
AppendIfNoSuchLine "stephen 5308/tcp"
}
I expect that this configuration file will search for all the core files on my file system starting from the root and descending to all subdirectories. But it won't!
I touched a core file in /usr/local/sbin but it won't be removed. Also I touched a core file in one of the home directories.
After running cfengine -v everything is staying untouched.
What could be the problem?
Stephen Tittel
[Prev in Thread] | Current Thread | [Next in Thread] |