help-cfengine
[Top][All Lists]
Advanced

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

Re: cfsaved file


From: Douglas Reitmeier
Subject: Re: cfsaved file
Date: Thu, 02 Oct 2003 06:42:14 -0500

To solve this we use the Repository, so that al saved files go to a
central directory instead of staying in the directory.

Another method would be to use only links in the rc[0-3].d directories
then just replace the scripts in /etc/init.d.

Doug

Douglas J. Reitmeier                                                   
   United Defense L.P.
Project Manager                                                        
    M392
douglas.reitmeier@udlp.com                                          
4800 East River Rd
Phone: 762-572-6644                                                    
Fridley, MN 55421
                                                                       
               F: 763-572-6940

>>> "Garrett, Matt M SITI-ITDIEEE" <matt.garrett@shell.com> 10/02/03
05:52AM >>>
Folks / Mark

Come across a small problem with cfengine 2.0.7p3 and copy saved
files.

One of the copies , copies files in to /etc/rc3.d on a Solaris 8
system
Now the file gets backed up to filename.cfsaved e.g S99sshd.cfsaved

The problem is that on a reboot both the original and the backup file
also get run.
e.g
/etc/rc3.d/S99sshd
/etc/rc3.d/S99sshd.cfsaved

Now I could use the copy , backup=false option
So I don't get a backed up file.

However I quite like the idea of getting a backup file just in case
something is wrong.

It is possible to append a character to the front of the file name e.g
_S99sshd.cfsaved

The only problem I could see is that it would effect all file's , not
just rc start-up files.
However I could live with this.

Any thoughts on this.

Thanks

Matt


Matthew Garrett
Unix System Support
Shell Information Technology International Limited
Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United
Kingdom





**********CONFIDENTIALITY NOTICE**********
The information contained in this e-mail may be confidential and/or 
privileged and is intended for the sole use of the individual or 
organization named above.  If you are not the intended recipient or an 
authorized representative of the intended recipient, any review, copying
or distribution of this e-mail and its attachments, if any, is prohibited.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete this message from your system.

Attachment: Douglas Reitmeier.vcf
Description: Text document


reply via email to

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