help-cfengine
[Top][All Lists]
Advanced

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

Links problem with 2.1.19


From: Jim Wight
Subject: Links problem with 2.1.19
Date: Wed, 01 Mar 2006 10:11:54 +0000

I mailed the following to bug-cfengine over 24 hours ago but I don't
know what has happened to it: I didn't see it sent back to me, it wasn't
rejected and it hasn't turned up in the archive.

                             ------

Something has gone wrong with links between 2.1.15, which I've been
using, and 2.1.19, which I've installed in order to try out. 

All my links actions, which succeed when using 2.1.15, are failing at
2.1.19 with messages of the form:

  Links didn't find any file to match /path/to/foo -> /path/to/bar

For the action:

links:
        /tmp/somelink   ->      /var

-d2 output for 2.1.15 contains

Actionsequence item links
ExpandVarstring(/tmp/somelink)
ExpandVarstring(/var)
ExpandVarbinserv /var, (Binserver is myhost)
Linkfiles(/tmp/somelink,/var)
IgnoredOrExcluded(somelink)
Trying to link /tmp/somelink -> /var (/var)
cfengine:myhost: Link (/tmp/somelink->/var) exists.
KillOldLink(/tmp/somelink)
CompressPath(/tmp/somelink./var,/var)
Job start time set to Tue Feb 28 08:18:34 2006

whereas 2.1.19 has

Actionsequence item links
ExpandVarstring(/tmp/somelink)
ExpandVarstring(/var)
cfengine:myhost: Links didn't find any file to match /tmp/somelink -> /var
Job start time set to Tue Feb 28 08:19:07 2006

IsWildItem(link*,links)
Job start time set to Tue Feb 28 08:19:07 2006

IsWildItem(link*,links)


The problem in 2.1.19 is that VBINSERVERS in do.c is null, so the loop
where the work is done is not executed. What is supposed to be in
VBINSERVERS? Is it in any way related to the binservers action? I don't
use binservers.

Jim








reply via email to

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