help-cfengine
[Top][All Lists]
Advanced

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

Re: Links done on every run, even if not needed


From: Mark . Burgess
Subject: Re: Links done on every run, even if not needed
Date: Fri, 12 Mar 2004 08:23:43 +0100 (MET)

I am not sure why you are hard linking them - that is the problem.
Hard links cannot be verified easily so they are aways removed and
reimplemneted. If you soft link the problem will go away and it
might actually be clearer for people to understand your file
structure, since hardlinks are pretty much invisible.

On  9 Mar, David Cress wrote:
> I'm trying to make sure that some of my system start scripts are properly 
> linked.  I copy files to /etc/init.d, then hard link them to various rcX.d 
> scripts.  The first time cfagent runs it works fine, copies across the files 
> I 
> need, links them up, but every time it runs I still get the link messages.  I 
> thought that if the links existed, it was not supposed to do anything.
> 
> OS: Solaris 7 - 9
> CFengine: v2.1.1
> 
> Subscriberref2 is part of the mqm and subscriber groups.
> 
> This appears in the outputs file on every run:
> 
> cfengine:subscriberref2: Hardlinking files /rc3.d/S96si -> /etc/init.d/si
> cfengine:subscriberref2: Hardlinking files /rc0.d/K01si -> /etc/init.d/si
> cfengine:subscriberref2: Hardlinking files /rc3.d/S60mqm -> /etc/init.d/mqm
> cfengine:subscriberref2: Hardlinking files /rc0.d/K10mqm -> /etc/init.d/mqm
> cfengine:subscriberref2: Hardlinking files /rc3.d/S75webserver01 -> 
> /etc/init.d/webserver01
> 
> 
> cf.links file:
> links:
>          mqm::
>                  /rc3.d/S96si -> /etc/init.d/si type=hard inform=true
>                  /rc0.d/K01si -> /etc/init.d/si type=hard inform=true
>                  /rc3.d/S60mqm -> /etc/init.d/mqm type=hard inform=true
>                  /rc0.d/K10mqm -> /etc/init.d/mqm type=hard inform=true
> 
>          subscriber::
>                  /rc3.d/S75webserver01 -> /etc/init.d/webserver01 type=hard 
> inform=true
>                  /rc0.d/K05webserver01 -> /etc/init.d/webserver01 type=hard 
> inform=true
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]