[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tidy - hitting too many directories
From: |
Mark Burgess |
Subject: |
Re: tidy - hitting too many directories |
Date: |
Thu, 24 Feb 2005 22:07:35 +0100 |
User-agent: |
Internet Messaging Program (IMP) 3.2.2 |
The checking of /usr happens in cfagent.conf, not in update.conf,
so the problem is in your main config.
M
Quoting linolil <linolil@equoria.net>:
> Thank you for your quick response.
>
> I didn't want to start out by posting all of the configuration files.
> Here is update.conf -- you will notice that it is pretty much the
> default file. (hostname/domainname changed to example.com)
>
> What other information would be helpful?
>
>
-------------------------------------------------------------------------------------------------
> #######
> #
> # BEGIN cf.update
> #
> # This script distributes the configuration, a simple file so that,
> # if there are syntax errors in the main config, we can still
> # distribute a correct configuration to the machines afterwards, even
> # though the main config won't parse. It is read and run just before
> the
> # main configuration is parsed.
> #
> #######
>
> control:
>
> actionsequence = ( copy processes tidy ) # Keep this simple and
> constant
> domain = ( example.com ) # Needed for remote copy
>
> #
> # Which host/dir is the master for configuration roll-outs?
> #
>
> policyhost = ( policyhost.example.com )
> master_cfinput = ( /var/cfengine/inputs )
>
> AddInstallable = ( new_cfenvd new_cfservd )
>
> #
> # Some convenient variables
> #
>
> workdir = ( /var/cfengine )
>
> solaris::
>
> cf_install_dir = ( /usr/local/sbin )
>
> linux::
>
> cf_install_dir = ( /usr/local/sbin )
>
> ###################################################################
> #
> # Spread the load, make sure the servers get done first though
> #
> ###################################################################
>
> SplayTime = ( 1 )
>
> #####################################################################
> #
> # Make sure there is a local copy of the configuration and
> # the most important binaries in case we have no connectivity
> # e.g. for mobile stations or during DOS attacks
> #
>
> copy:
>
> !policyhost::
>
> $(master_cfinput) dest=$(workdir)/inputs
> r=inf
> mode=644
> type=binary
> exclude=*.lst
> exclude=*~
> exclude=#*
> server=$(policyhost)
> trustkey=true
>
>
> $(cf_install_dir)/cfagent dest=$(workdir)/bin/cfagent
> mode=755
> backup=false
> type=checksum
>
> $(cf_install_dir)/cfservd dest=$(workdir)/bin/cfservd
> mode=755
> backup=false
> type=checksum
> define=new_cfservd
>
> $(cf_install_dir)/cfexecd dest=$(workdir)/bin/cfexecd
> mode=755
> backup=false
> type=checksum
>
> $(cf_install_dir)/cfenvd dest=$(workdir)/bin/cfenvd
> mode=755
> backup=false
> type=checksum
> define=new_cfenvd
>
> #####################################################################
>
> tidy:
>
> #
> # Cfexecd stores output in this directory.
> # Make sure we don't build up files and choke on our own words!
> #
>
> $(workdir)/outputs pattern=* age=7
>
> #####################################################################
>
> processes:
>
> new_cfservd::
>
> "cfservd" signal=term restart /var/cfengine/bin/cfservd
>
> new_cfenvd::
>
> "cfenvd" signal=kill restart "/var/cfengine/bin/cfenvd -H"
>
>
> ###
> #
> # END cf.update
> #
> ###
>
-------------------------------------------------------------------------------------------------
>
> Here is what I see when I run /var/cfengine/bin/cfagent -v -q
> on the test client host. Both master (solaris 7) and client (FDC2)
> were built from source using defaults.
>
> Notice that tidy still runs on spool and home directories. Until I
> know how those directories are defined, I cannot move this from
> the test systems.
>
>
-------------------------------------------------------------------------------------------------
> Setting cfengine new port to 5308
> Setting cfengine old port to 5308
> Reference time set to Thu Feb 24 12:31:46 2005
>
> GNU Configuration Engine -
> 2.1.13
> Free Software Foundation 1994-
> Donated by Mark Burgess, Faculty of Engineering,
> Oslo University College, 0254 Oslo, Norway
>
> ------------------------------------------------------------------------
>
> Host name is: client.example.com
> Operating System Type is linux
> Operating System Release is 2.6.5-1.358
> Architecture = i686
>
>
> Using internal soft-class linux for host linux
>
> The time is now Thu Feb 24 12:31:46 2005
>
>
> ------------------------------------------------------------------------
>
> Additional hard class defined as: 32_bit
> Additional hard class defined as: linux_2_6_5_1_358
> Additional hard class defined as: linux_i686
> Additional hard class defined as: linux_i686_2_6_5_1_358
> Additional hard class defined as:
> linux_i686_2_6_5_1_358__1_Sat_May_8_09_04_50_EDT_2004
>
> GNU autoconf class from compile time: compiled_on_linux_gnu
>
> Address given by nameserver: 10.20.30.33
> Interface 1: lo
> Interface 2: eth0
> Trying to locate my IPv6 address
> Found IPv6 address addr:
> Found IPv6 address fe80::20d:60ff:fed2:8df8
> Found IPv6 address addr:
> Looking for environment from cfenvd...
>
> Unable to detect environment from cfenvd
>
> cfengine:: No preconfiguration file
>
> $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
> * (Changing context state to: update) *
> $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
>
> Looking for an input file /var/cfengine/inputs/update.conf
> Finished with update.conf
>
> ---------------------------------------------------------------------
> Looking for remote method collaborations
> ---------------------------------------------------------------------
>
>
> Finished with RPC
>
> LogDirectory = /var/cfengine
> Loaded /var/cfengine/ppkeys/localhost.priv
> Loaded /var/cfengine/ppkeys/localhost.pub
> Checksum database is /var/cfengine/checksum.db
>
> *********************************************************************
> Update Sched: copy pass 1 @ Thu Feb 24 12:31:46 2005
> *********************************************************************
>
> Checking copy from policyhost.example.com:/var/cfengine/inputs to
> /var/cfengine/inputs
> Connect to policyhost.example.com = 10.20.30.22 on port cfengine
> Updating last-seen time for policyhost.example.com
> Loaded /var/cfengine/ppkeys/root-10.20.30.22.pub
>
> ...............................................................
> cfengine:: Strong authentication of server=policyhost.exampe.com
> connection confirmed
> Checking copy from localhost:/usr/local/sbin/cfagent to
> /var/cfengine/bin/cfagent
> Checking copy from localhost:/usr/local/sbin/cfservd to
> /var/cfengine/bin/cfservd
> Checking copy from localhost:/usr/local/sbin/cfexecd to
> /var/cfengine/bin/cfexecd
> Checking copy from localhost:/usr/local/sbin/cfenvd to
> /var/cfengine/bin/cfenvdSaving the setuid log in
> /var/cfengine/cfagent.palpc14.pal.us.bosch.com.log
>
> *********************************************************************
> Update Sched: processes pass 1 @ Thu Feb 24 12:31:47 2005
> *********************************************************************
>
> cfengine:: Running process command /bin/ps auxw
>
> *********************************************************************
> Update Sched: tidy pass 1 @ Thu Feb 24 12:31:47 2005
> *********************************************************************
>
> ---------------------------------------------------------------------
> Tidying Spool Directories
> ---------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> Tidying by directory
> ---------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> Tidying home directories
> ---------------------------------------------------------------------
>
> No home patterns to search
> Purging private classes from context update
>
> $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
> * (Changing context state to: main) *
> $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
>
> ---------------------------------------------------------------------
> Loading persistent classes
> ---------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> Loaded persistent memory
> ---------------------------------------------------------------------
>
> Looking for environment from cfenvd...
>
> Unable to detect environment from cfenvd
>
> Looking for an input file /var/cfengine/inputs/cfagent.conf
> Finished with cfagent.conf
>
> Accepted domain name: example.com
>
>
> Defined Classes = ( 10_20_30 10_20_30_33 32_bit Day24 February Hr12
> Hr12_Q3 Min30_35 Min31 Q3 Thursday Yr2005 addr_ any cfengine_2
> cfengine_2_1 cfengine_2_1_13 compiled_on_linux_gnu
> fe80__20d_60ff_fed2_8df8 fedora fedora_2 i686 ipv4_10 ipv4_10_20
> ipv4_10_20_30 ipv4_10_20_30_33 linux linux_2_6_5_1_358 linux_i686
> linux_i686_2_6_5_1_358
> linux_i686_2_6_5_1_358__1_Sat_May_8_09_04_50_EDT_2004 net_iface_eth0
> net_iface_lo example_com clienthost policyhost_example_com redhat )
>
> Negated Classes = ( )
>
> Installable classes = ( new_cfenvd new_cfservd )
>
> Global expiry time for locks: 120 minutes
>
> Global anti-spam elapse time: 1 minutes
>
> Extensions which should not be directories = ( )
> Suspicious filenames to be warned about = ( )
> LogDirectory = /var/cfengine
> Loaded /var/cfengine/ppkeys/localhost.priv
> Loaded /var/cfengine/ppkeys/localhost.pub
> Checksum database is /var/cfengine/checksum.db
> Reference time set to Thu Feb 24 12:31:47 2005
>
>
> *********************************************************************
> Main Tree Sched: checktimezone pass 1 @ Thu Feb 24 12:31:47 2005
> *********************************************************************
>
>
> *********************************************************************
> Main Tree Sched: files pass 1 @ Thu Feb 24 12:31:47 2005
> *********************************************************************
>
> Checking file(s) in /etc/passwd
> Checking file(s) in /etc/shadow
> Checking file(s) in /usr
> ^C (tired of waiting)
>
-------------------------------------------------------------------------------------------------
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.