help-cfengine
[Top][All Lists]
Advanced

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

Re: tidy (still?) broken


From: Jeff Sheltren
Subject: Re: tidy (still?) broken
Date: Tue, 13 Jul 2004 09:56:21 -0700
User-agent: Microsoft-Entourage/11.0.0.040405

I remember having this same problem a while ago, and I believe I had to
patch the source code to make it work the way I thought it should (ie.
Remove symlinks).  Unfortuantly, I don't think I have the patch handy (and
it was for an older version anyway), but I was under the impression that
Mark had fixed this in newer versions...

Do you have the same results if you change your script to use 'links=tidy'?

-Jeff


On 7/13/04 9:48 AM, "Wheeler, John" <jwheeler@eb.com> wrote:

> I have a strange relationship with this directive. I can generally never
> get it to cooperate. I'm using 2.1.6 on solaris 2.8 and I have the
> following:
> 
> # ls -l /export/home/emailmgt/lib/test.properties
> lrwxrwxrwx   1 root     other         75 Jul 13 10:28
> /export/home/emailmgt/lib/test.properties ->
> /apps/drop/emailmgmt/emailmgmt_040713-1026-11.00.00-RC3/lib/test.propert
> ies
> # more removelinksdir.conf
> control:
>     actionsequence = (
>         tidy
>     )
>     IfElapsed = ( 0 ) #So I can hammer away and not worry about locks
> tidy:
>     /export/home/emailmgt/lib
>         age=0
>         include=*
>         recurse=inf
>         links=traverse
>         dirlinks=tidy
> # /usr/local/sbin/cfagent  --verbose --no-splay -f
> /var/cfengine/inputs/removelinksdir.conf
> 
> Reference time set to Tue Jul 13 11:42:04 2004
> 
> GNU Configuration Engine -
> 2.1.6
> Free Software Foundation 1994-
> Donated by Mark Burgess, Faculty of Engineering,
> Oslo University College, 0254 Oslo, Norway
> 
> ------------------------------------------------------------------------
> 
> Host name is: app006qa.eb.com
> Operating System Type is sunos
> Operating System Release is 5.8
> Architecture = sun4u
> 
> <snip>
> ....
> 
> *********************************************************************
>  Main Tree Sched: tidy pass 1 @ Tue Jul 13 11:42:04 2004
> *********************************************************************
> 
> ---------------------------------------------------------------------
> Tidying Spool Directories
> ---------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> Tidying by directory
> ---------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> Tidying home directories
> ---------------------------------------------------------------------
> 
> No home patterns to search
> ---------------------------------------------------------------------
> Alerts
> ---------------------------------------------------------------------
> 
> 
> 
> ++++++++++++++++++++++++++++++++++++++++
> Summary of objects involved
> ++++++++++++++++++++++++++++++++++++++++
> 
>     global
>     main
> 
> but it never removes the sym links. Is b/c they were created today? I
> can't work this out. I've tried numerous combinations of tidy options,
> but this seems pretty straight forward, "remove everything under the
> /export/home/emailmgt/lib dir". I've always had to cheat and just shell
> out with an rm, but I thought I give this relationship one more try.
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine






reply via email to

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