[Top][All Lists]

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

symlinks with copy

From: Greg Gallagher
Subject: symlinks with copy
Date: Thu, 12 Jul 2001 12:30:19 -0500
User-agent: Mutt/1.2.5i

I seem to be running into a strange error with cfengine, at least one
that I didn't expect and don't know how to fix.

We're using cfd and a centralized software repository on a server
"" which allows access to /opt/dist for pulling.

Running one of the clients, I noticed this problem when it was copying
a particular piece of software:

cfengine:loyalty: (Can't stat /opt/dist/rogue/

cfengine:loyalty: Server returned error:  unable to stat file 

cfengine:loyalty: (Can't stat /opt/dist/rogue/

If I login to cfengine I can see this on

balder:/etc/cfengine# ls -l /opt/dist/
lrwxrwxrwx   1 root     other         78 Jul  2 16:09 
/opt/dist/rogue/ ->

Of course, on the server that /opt/rogue/ doesn't exist, just the
one under /opt/dist for copying.  What I thought would happen is that
when the client copies /opt/dist/rogue that the symlink would be cool,
because /opt/rogue/libs would exist.  Instead, there is no symlink on
the client.  Here is the relevant copy policy:


      /opt/dist/rogue dest=/opt/rogue recurse=inf type=ctime

Any help would be appreciated.  I thought that symlinks would be
created automagically with copy even if you don't specify "linktype="
but maybe I'm wrong or missed something?  I even tried allowing /opt
with cfd on and that didn't seem to help.  I just
want the copy of symlinks to work the same way tar with the "-p" does.

Much thanks,

Greg Gallagher
Sr. UNIX Systems Administrator
First Options Chicago .... (312) 362-3643

reply via email to

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