help-cfengine
[Top][All Lists]
Advanced

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

Can't "tidy" sybolic links


From: Wheeler, John
Subject: Can't "tidy" sybolic links
Date: Thu, 20 May 2004 10:40:52 -0500

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)





reply via email to

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