help-cfengine
[Top][All Lists]
Advanced

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

Links done on every run, even if not needed


From: David Cress
Subject: Links done on every run, even if not needed
Date: Tue, 09 Mar 2004 10:25:17 -0500
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.6) Gecko/20040116

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

--
David Cress
Lead Engineer
CNN Internet Technologies
http://www.cnn.com
--------------------
(404) 878-1921

What exists, exists; what is, is.




reply via email to

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