help-cfengine
[Top][All Lists]
Advanced

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

Re: Can't "tidy" sybolic links


From: Mark . Burgess
Subject: Re: Can't "tidy" sybolic links
Date: Mon, 19 Jul 2004 10:10:59 +0200 (MEST)

Fixed in 2.1.8

M

On 20 May, Wheeler, John wrote:
> Solaris 2.8 cfengine 2.0.6
> 
> I've tried the following:
> 
> control:
>         actionsequence  = (
>                         tidy.doonce
>                         )
> 
> tidy:
>         doonce::
>                 /var/cfengine/ppkeys
>                         pattern=root-10.210.132.20.pub
>                         links=tidy
>                         age=0
>                         inform=true
> 
> # ls -l /var/cfengine/ppkeys/root-10.210.132.20.pub
> lrwxrwxrwx   1 root     other         20 Dec 31 02:00
> /var/cfengine/ppkeys/root-10.210.132.20.pub -> ./root-10.5.1.44.pub
> 
> But it never removes the link. here's debug
> 
> WildMatch(root-10.210.132.20.pub,root-10.5.1.191.pub)
> Pattern did not match (first filter)
> /var/cfengine/ppkeys/root-10.5.1.191.pub
> IgnoreFile(root-10.7.1.75.pub)
> TidyParticularFile(/var/cfengine/ppkeys/root-10.7.1.75.pub,root-10.7.1.7
> 5.pub)
> WildMatch(root-10.210.132.20.pub,root-10.7.1.75.pub)
> Pattern did not match (first filter)
> /var/cfengine/ppkeys/root-10.7.1.75.pub
> 
> IgnoreFile(root-10.210.132.20.pub)<-seems odd, must be the next file to
> check
> 
> TidyParticularFile(/var/cfengine/ppkeys/root-10.210.132.20.pub,root-10.2
> 10.132.2
> 0.pub)
> Checking for dead links
> KillOldLink(/var/cfengine/ppkeys/root-10.210.132.20.pub)
> CompressPath(/var/cfengine/ppkeys/root-10.210.132.20.pub,/var/cfengine/p
> pkeys/./
> root-10.5.1.44.pub)<------------------is this why?
> 
> 
> IgnoreFile(root-10.210.132.103.pub)
> TidyParticularFile(/var/cfengine/ppkeys/root-10.210.132.103.pub,root-10.
> 210.132.
> 103.pub)
> WildMatch(root-10.210.132.20.pub,root-10.210.132.103.pub)
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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