help-cfengine
[Top][All Lists]
Advanced

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

RE: tidy (still?) broken


From: Wheeler, John
Subject: RE: tidy (still?) broken
Date: Tue, 13 Jul 2004 12:57:01 -0500

sadly, links=tidy doesn't work either. My acrimonious relationship
continues....

> -----Original Message-----
> From: help-cfengine-bounces+jwheeler=eb.com@gnu.org
[mailto:help-cfengine-
> bounces+jwheeler=eb.com@gnu.org] On Behalf Of Jeff Sheltren
> Sent: Tuesday, July 13, 2004 11:56 AM
> To: help-cfengine@gnu.org
> Subject: Re: tidy (still?) broken
> 
> 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
> 
> 
> 
> 
> _______________________________________________
> 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]