Cfengine Help: Re: Best way to gracefully stop cfengine daemons?

2010-09-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Best way to gracefully stop cfengine daemons? Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,18065,18078#msg-18078 Yes, SIGTERM (15 on Linux) be caught by all Cfengine components and will clean up (close DB handles, etc). --Eystein ___

Cfengine Help: Re: Problem with network set up

2010-09-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Problem with network set up Author: gurkensalat Link to topic: https://cfengine.com/forum/read.php?3,18067,18079#msg-18079 I followed Neils tutorial. I copied all the files in the same direction like described in the tutorial except the crontabs.cf because I don'

Cfengine Help: Re: Problem with network set up

2010-09-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Problem with network set up Author: gurkensalat Link to topic: https://cfengine.com/forum/read.php?3,18067,18080#msg-18080 Hi, finally I could make it work, they are connecting each other. I wrote a script, that copies some files from the masterfiles-directory t

Cfengine Help: manage NFS share without /etc/fstab

2010-09-06 Thread no-reply
Forum: Cfengine Help Subject: manage NFS share without /etc/fstab Author: Igor Link to topic: https://cfengine.com/forum/read.php?3,18082,18082#msg-18082 Hi! How i can disable looking into /etc/fstab in "storage mount"? When i created promise like this: #

Cfengine Help: cf-agent crashes - invalid pointer

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: cf-agent crashes - invalid pointer Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18084,18084#msg-18084 The crash template:~# cf-agent -Kvvv cf3 Cfengine - autonomous configuration engine - commence self-diagnostic prelude cf3

Cfengine Help: Re: cf-serverd stops working after a day

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-serverd stops working after a day Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18083,18085#msg-18085 Is there anything interesting in the server logs? What about the agent run logs? You could try running the server is verbose mode

Cfengine Help: Re: cf-agent crashes - invalid pointer

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-agent crashes - invalid pointer Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,18084,18086#msg-18086 Yes, a stack backtrace. Run cf-agent from gdb and give the output from "back" in gdb. You should create a bug report for this instead of

Cfengine Help: cfruncommand not really working

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: cfruncommand not really working Author: gurkensalat Link to topic: https://cfengine.com/forum/read.php?3,18087,18087#msg-18087 Hi, I wanted to start the cf-agent via cf-runagent from the server. On my host I have the cf-server started. In the cfserverd.cf there is a

Cfengine Help: Re: cfruncommand not really working

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cfruncommand not really working Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18087,18088#msg-18088 Security concerns prevent things like '&&' and '||' from working. I know I wrote that and it did work at one point but now such command

Cfengine Help: Re: cfruncommand not really working

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cfruncommand not really working Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18087,18089#msg-18089 FYI https://cfengine.com/bugtracker/view.php?id=194 ___ Help-cfengine mailing list Help-cfen

Cfengine Help: Re: cfruncommand not really working

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cfruncommand not really working Author: gurkensalat Link to topic: https://cfengine.com/forum/read.php?3,18087,18090#msg-18090 Thanks for your fast reply. Is there a way to solve the problem? My cf-agent first has to update all new cf files and then execute them.

Cfengine Help: Re: cfruncommand not really working

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cfruncommand not really working Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18087,18091#msg-18091 I rose the same question few days ago. The current workaround seems to be creating the script and execute it in cfruncommand call.

Cfengine Help: Re: cfruncommand not really working

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cfruncommand not really working Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18087,18092#msg-18092 You can wait for the next run or use a wrapper script. Be careful with the wrapper script because the agent may expect arguments that a

Cfengine Help: Re: cfruncommand not really working

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cfruncommand not really working Author: gurkensalat Link to topic: https://cfengine.com/forum/read.php?3,18087,18093#msg-18093 I doesn't work this way. I updates the new cf files, but it can't execute them, because it is too quick, if I put the update and execute

Cfengine Help: Re: cfruncommand not really working

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cfruncommand not really working Author: gurkensalat Link to topic: https://cfengine.com/forum/read.php?3,18087,18094#msg-18094 Okay, I got a solution: If new cf files arrive from the repository I will first run cf-agent via cf-runagent to upgrade the new cf files

Cfengine Help: Re: cfruncommand not really working

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cfruncommand not really working Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18087,18095#msg-18095 Since you asked ;) I'm not certain that your methodology is efficient and it certainly does not seem very Cfengine like to me. Why are

Cfengine Help: Where is the source code?

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Where is the source code? Author: filbranden Link to topic: https://cfengine.com/forum/read.php?3,18096,18096#msg-18096 Hello, I have been trying to find about a bug I have on one machine running cfengine 3.0.4, I am trying to find out if it was already fixed in 3.0

Cfengine Help: Re: Where is the source code?

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: Where is the source code? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18096,18097#msg-18097 Do you mean this? http://www.cfengine.org/pages/source_code and this http://www.cfengine.org/pages/develop __

Cfengine Help: Re: cfruncommand not really working

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cfruncommand not really working Author: gurkensalat Link to topic: https://cfengine.com/forum/read.php?3,18087,18098#msg-18098 The fact is, that cfexecd only works with a time interval. But I want the cf-agent execution to be dependent of new cf files arriving fr

Cfengine Help: Re: Where is the source code?

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: Where is the source code? Author: filbranden Link to topic: https://cfengine.com/forum/read.php?3,18096,18099#msg-18099 Yes, I do mean that, thank you!!! I believe you should add links to this page: http://www.cfengine.org/pages/software I see they are available

Cfengine Help: Re: cfruncommand not really working

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cfruncommand not really working Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18087,18100#msg-18100 The executor can run at 5 minute intervals. It seems like a lot of extra work for you to gain just 3 minutes less. ___

Cfengine Help: Re: cfruncommand not really working

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cfruncommand not really working Author: gurkensalat Link to topic: https://cfengine.com/forum/read.php?3,18087,18101#msg-18101 That's right. Then I have to run two daemons. The cron checking the repository and the cf-execd. __

Cfengine Help: Re: cfruncommand not really working

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cfruncommand not really working Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18087,18102#msg-18102 Why can't Cf check the repo? The agent can run a svn up command. If there is an update then assign a class. Other promises are examin

Cfengine Help: Is transaction logging Nova only?

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Is transaction logging Nova only? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18103,18103#msg-18103 Is transaction logging a Nova only feature? The reference in unclear. ___ Help-cfengine maili

Cfengine Help: cf-monitord memory usage

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: cf-monitord memory usage Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18104,18104#msg-18104 Has anyone been looking at the memory usage of cf-monitord with C3.0.5p1? Over a few days of running I've seen it climb to 112MB resident. It app

Cfengine Help: Re: cf-monitord memory usage

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-monitord memory usage Author: Igor Link to topic: https://cfengine.com/forum/read.php?3,18104,18105#msg-18105 I have cd-monitord started about a month. Same results: 129M 49880K nanslp 1 4:42 0.00% cf-monitord 129M 125M nanslp 1 4:44 0.00% cf-monitord

Cfengine Help: Re: cfruncommand not really working

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cfruncommand not really working Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18087,18106#msg-18106 Another option would be to have a cron on the server that checks out the svn repo as frequently as you want onto the directories served by

Cfengine Help: Questions about the reference manual

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Questions about the reference manual Author: mwlarsen Link to topic: https://cfengine.com/forum/read.php?3,18107,18107#msg-18107 I'm having some difficulty with terminology used in section 1 of the reference manual. I think it would behoove me to grasp section 1 befo

Cfengine Help: Re: Questions about the reference manual

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: Questions about the reference manual Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18107,18109#msg-18109 A promise is not procedural. It is a general statement that Cfengine will try to keep. For instance 'promise that file /etc/ssh/s

Cfengine Help: Re: Cfengine Help: Re: cf-monitord memory usage

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: cf-monitord memory usage Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18108,18110#msg-18110 The process I'm watching is running on Linux Red Hat 5 64bit. Since my first post the memory has climbed to 113MB. ___

Cfengine Help: Re: Questions about the reference manual

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: Questions about the reference manual Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18107,18112#msg-18112 Hi, Promise bodies: The body of a promise is simply the details about the promise, and it consists of parameter => value pairs (also

Cfengine Help: Re: Cfengine Help: Re: Best way to gracefully stop cfengine daemons?

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Best way to gracefully stop cfengine daemons? Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,18070,18113#msg-18113 I have verify => true set in my remote_copy copy_from promise. body copy_from remote_copy(sou

Cfengine Help: Re: Cfengine Help: Re: Best way to gracefully stop cfengine daemons?

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Best way to gracefully stop cfengine daemons? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18070,18114#msg-18114 I use recursive copies and purging for inputs and I've never had problem. Can create a portable test c

Cfengine Help: Re: Cfengine Help: Re: Best way to gracefully stop cfengine daemons?

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Best way to gracefully stop cfengine daemons? Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18070,18115#msg-18115 Do you have the corresponding output from cf-serverd -v? That usually gives more insight into what problem

Cfengine Help: Re: Cfengine Help: Re: cf-monitord memory usage

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: cf-monitord memory usage Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,18108,18116#msg-18116 The best way to check whether the problem persists, as usual, is to build the latest svn trunk. If you are still having issues (

Cfengine Help: execresult will look for binaries even though bundle is not included

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: execresult will look for binaries even though bundle is not included Author: filbranden Link to topic: https://cfengine.com/forum/read.php?3,18117,18117#msg-18117 Hi, I have several bundles and some of them use "execresult" in vars: section to look up system compone

Cfengine Help: Re: execresult will look for binaries even though bundle is not included

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: execresult will look for binaries even though bundle is not included Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18117,18119#msg-18119 I can duplicate this behavior, using 3.0.5p1 community on Win7 under cygwin. I also agree that ideall

Cfengine Help: Re: cf-agent crashes - invalid pointer

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-agent crashes - invalid pointer Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18084,18121#msg-18121 Hi Eystein, I've filed a bug report as you have suggested, along with the gdb backtrace: https://cfengine.com/bugtracker/view.php?id=220 N

Cfengine Help: Re: execresult will look for binaries even though bundle is not included

2010-09-07 Thread no-reply
Forum: Cfengine Help Subject: Re: execresult will look for binaries even though bundle is not included Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18117,18124#msg-18124 Following up the Diego's explanation (which is clear enough itself), I can just suggest also l

Cfengine Help: Re: Cfengine Help: Re: Best way to gracefully stop cfengine daemons?

2010-09-08 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Best way to gracefully stop cfengine daemons? Author: Nicolas Charles Link to topic: https://cfengine.com/forum/read.php?3,18070,18125#msg-18125 Hi, Which version of Cfengine are you using ? I used to have from time to time encryption error wh

Cfengine Help: Re: cfruncommand not really working

2010-09-08 Thread no-reply
Forum: Cfengine Help Subject: Re: cfruncommand not really working Author: gurkensalat Link to topic: https://cfengine.com/forum/read.php?3,18087,18126#msg-18126 okay, thanks a lot guys! I will try your suggestions. ___ Help-cfengine mailing list Help-cf

Cfengine Help: Re: Cfengine Help: Re: cf-monitord memory usage

2010-09-08 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: cf-monitord memory usage Author: Igor Link to topic: https://cfengine.com/forum/read.php?3,18108,18127#msg-18127 one and two: freebsd 7.1-p11 i386 last two: freebsd 7.2-p7 i386 I can kill processe by kill -3. Note, that i dont use cf-monitord

Cfengine Help: Re: Questions about the reference manual

2010-09-08 Thread no-reply
Forum: Cfengine Help Subject: Re: Questions about the reference manual Author: mwlarsen Link to topic: https://cfengine.com/forum/read.php?3,18107,18129#msg-18129 neilhwatson Wrote: --- > A promise is not procedural. It is a general > statement

Cfengine Help: Re: Questions about the reference manual

2010-09-08 Thread no-reply
Forum: Cfengine Help Subject: Re: Questions about the reference manual Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18107,18132#msg-18132 The toughest thing for me about learning Cfengine was to accept that it is not a scripting or programming language. You do not con

Cfengine Help: Re: execresult will look for binaries even though bundle is not included

2010-09-08 Thread no-reply
Forum: Cfengine Help Subject: Re: execresult will look for binaries even though bundle is not included Author: filbranden Link to topic: https://cfengine.com/forum/read.php?3,18117,18133#msg-18133 Hi guys, Thanks for the explanations. Yes, evaluating the variables in bundles that are not includ

Cfengine Help: Re: Questions about the reference manual

2010-09-08 Thread no-reply
Forum: Cfengine Help Subject: Re: Questions about the reference manual Author: mwlarsen Link to topic: https://cfengine.com/forum/read.php?3,18107,18134#msg-18134 Thanks for your reply, Diego. I'm having trouble with this explanation and was hoping you could break it down a little more. zzambon

Cfengine Help: Interactive key trust no permenant

2010-09-08 Thread no-reply
Forum: Cfengine Help Subject: Interactive key trust no permenant Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18135,18135#msg-18135 # cf-runagent -iIH arcdev01 WARNING - You do not have a public key from host arcdev01 = 10.129.148.11 Do you want to accept one

Cfengine Help: Re: Questions about the reference manual

2010-09-08 Thread no-reply
Forum: Cfengine Help Subject: Re: Questions about the reference manual Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18107,18136#msg-18136 1. depth_search => urecurse("inf"); 2. 3. body depth_search urecurse(d) 4. { 5. depth => "${d}"; 6. exclude_dirs => { "\.svn", "\.

Cfengine Help: Cfengine syntax highlighting using Pygments

2010-09-08 Thread no-reply
Forum: Cfengine Help Subject: Cfengine syntax highlighting using Pygments Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18139,18139#msg-18139 Hi, I have written a cfengine lexer for Pygments, a very nice and very popular open-source syntax-highlighting program. It behaves

Cfengine Help: Re: need help with restart_class; the example from the manual does not work (3.0.5p1)

2010-09-09 Thread no-reply
Forum: Cfengine Help Subject: Re: need help with restart_class; the example from the manual does not work (3.0.5p1) Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18140,18144#msg-18144 The promise "ntpd" is very vague. I would be more specific. This is a regex. # servi

Cfengine Help: How can I install via cfengine on a remote host?

2010-09-09 Thread no-reply
Forum: Cfengine Help Subject: How can I install via cfengine on a remote host? Author: gurkensalat Link to topic: https://cfengine.com/forum/read.php?3,18145,18145#msg-18145 Hi, I'm running cygwin on Win XP. Is there a way to install software on a remote host? Is there a script for that? Or do I

Cfengine Help: Re: How can I install via cfengine on a remote host?

2010-09-09 Thread no-reply
Forum: Cfengine Help Subject: Re: How can I install via cfengine on a remote host? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18145,18146#msg-18146 Cfengine has some built in features for package management. My experience is limited to the Linux package managers Yum

Cfengine Help: Re: How can I install via cfengine on a remote host?

2010-09-09 Thread no-reply
Forum: Cfengine Help Subject: Re: How can I install via cfengine on a remote host? Author: gurkensalat Link to topic: https://cfengine.com/forum/read.php?3,18145,18147#msg-18147 Thanks for your reply. I've found two pages: http://www.debian-administration.org/articles/398 http://webcache.googleus

Cfengine Help: Re: How can I install via cfengine on a remote host?

2010-09-09 Thread no-reply
Forum: Cfengine Help Subject: Re: How can I install via cfengine on a remote host? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18145,18148#msg-18148 Be careful. Both those links a referring to Cfengine version 2. ___ Help-c

Cfengine Help: Re: How can I install via cfengine on a remote host?

2010-09-09 Thread no-reply
Forum: Cfengine Help Subject: Re: How can I install via cfengine on a remote host? Author: xeon22 Link to topic: https://cfengine.com/forum/read.php?3,18145,18149#msg-18149 I have implemented a solution for just that using cf-engine to kick off the wpkg script. Cf3 manages the configs by updatin

Cfengine Help: Re: How can I install via cfengine on a remote host?

2010-09-09 Thread no-reply
Forum: Cfengine Help Subject: Re: How can I install via cfengine on a remote host? Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,18145,18150#msg-18150 Nova comes with native package management for all Windows platforms, using .msi-files and packages-promises. -- Regards, E

Cfengine Help: disk space monitoring

2010-09-09 Thread no-reply
Forum: Cfengine Help Subject: disk space monitoring Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18152,18152#msg-18152 $ cat diskspace.cf ## body common control { bundlesequence => { "test" }; inputs => { "cfengine_stdlib.cf" }; } bundle co

Cfengine Help: Re: disk space monitoring

2010-09-09 Thread no-reply
Forum: Cfengine Help Subject: Re: disk space monitoring Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18152,18153#msg-18153 Looking at the code, this seems like a bug to me. From src/verify_storage.c, in the IsForeignFileSystem() function (line 374): if (childstat->st_dev

Cfengine Help: Re: disk space monitoring

2010-09-09 Thread no-reply
Forum: Cfengine Help Subject: Re: disk space monitoring Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18152,18154#msg-18154 Not quite sure what you are suggesting. If you use xdev, then that is the correct behaviour. I think it's a question of semantics, and the error message

Cfengine Help: Re: disk space monitoring

2010-09-09 Thread no-reply
Forum: Cfengine Help Subject: Re: disk space monitoring Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18152,18155#msg-18155 I think it all depends on your interpretation of "foreign". To me, this means "mounted from a remote system". This is also what the documentation say

Cfengine Help: Re: disk space monitoring

2010-09-09 Thread no-reply
Forum: Cfengine Help Subject: Re: disk space monitoring Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18152,18156#msg-18156 By the way, I agree that "no crossing filesystems" is the most commonly available option, and that is fine with me. However: 1. In this case the nam

Cfengine Help: Re: disk space monitoring

2010-09-09 Thread no-reply
Forum: Cfengine Help Subject: Re: disk space monitoring Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18152,18157#msg-18157 Ok, let it all out, but remember to register a bug report ;-) ___ Help-cfengine mailing list Help-cfengine@cf

Cfengine Help: Sending in Bug Reports

2010-09-09 Thread no-reply
Forum: Cfengine Help Subject: Sending in Bug Reports Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18159,18159#msg-18159 Hi, As I've been hitting quite a number of crashes in cf3, I've written a little script to aid in generating bug reports. I want to know what other inform

Cfengine Help: Re: Sending in Bug Reports

2010-09-09 Thread no-reply
Forum: Cfengine Help Subject: Re: Sending in Bug Reports Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18159,18160#msg-18160 I haven't managed to capture the output of the glibc dump unfortunately, despite redirection of the parent shell's file descriptors, a fix on that would

Cfengine Help: Re: How can I install via cfengine on a remote host?

2010-09-10 Thread no-reply
Forum: Cfengine Help Subject: Re: How can I install via cfengine on a remote host? Author: gurkensalat Link to topic: https://cfengine.com/forum/read.php?3,18145,18162#msg-18162 neilhwatson Wrote: --- > Be careful. Both those links are referring

Cfengine Help: Re: Sending in Bug Reports

2010-09-10 Thread no-reply
Forum: Cfengine Help Subject: Re: Sending in Bug Reports Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,18159,18163#msg-18163 Nice! When debugging a segfault, a (gdb) backtrace of the crash is often the most useful. Sometimes -v or -d2 output leading to the crash is nice too

Cfengine Help: Re: need help with restart_class; the example from the manual does not work (3.0.5p1)

2010-09-10 Thread no-reply
Forum: Cfengine Help Subject: Re: need help with restart_class; the example from the manual does not work (3.0.5p1) Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18140,18164#msg-18164 Aleksey, you might get a better understanding of the process table during the run if

Cfengine Help: Handles vs Classes - Scope Intersection

2010-09-11 Thread no-reply
Forum: Cfengine Help Subject: Handles vs Classes - Scope Intersection Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18170,18170#msg-18170 Are we free to do the following: bundle agent Client { files: linux:: "$(sys.workdir)/inputs/." han

Cfengine Help: cf-promises crashes

2010-09-12 Thread no-reply
Forum: Cfengine Help Subject: cf-promises crashes Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18171,18171#msg-18171 Here's my configs: cf-agent.cf cf-serverd.cf promises.cf And here''s the backtrace (in case you're interested) for running: cf-promises -v (gdb) back #0

Cfengine Help: Re: Handles vs Classes - Scope Intersection

2010-09-12 Thread no-reply
Forum: Cfengine Help Subject: Re: Handles vs Classes - Scope Intersection Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18170,18172#msg-18172 Your question is quite complex and requires certain clarifications before any advices can be given. Anyway, [*] Handles are

Cfengine Help: Re: cf-promises crashes

2010-09-12 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-promises crashes Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18171,18173#msg-18173 On the first sight, there's a lot of invalid variables expansions, like this: default_repository => "${path.cache}"; # must be $(path.ca

Cfengine Help: Re: cf-promises crashes

2010-09-12 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-promises crashes Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18171,18174#msg-18174 Hi Seva, 1. I've used ${} and $() interchangeably, and in cf2 at least, it was valid syntax, and there's nothing in the manual to say otherwise, however,

Cfengine Help: Re: Handles vs Classes - Scope Intersection

2010-09-12 Thread no-reply
Forum: Cfengine Help Subject: Re: Handles vs Classes - Scope Intersection Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18170,18175#msg-18175 Okay, to simplify, here's what I've done: failsafe.cf is now as follows: body common control { version => "1.1.0"; bundleseque

Cfengine Help: Re: cf-promises crashes

2010-09-12 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-promises crashes Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18171,18176#msg-18176 Err, here are the files again - censored of profanity this time :] lib-core.cf lib-conf.cf ___ Help-cfengine m

Cfengine Help: Re: cf-promises crashes

2010-09-12 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-promises crashes Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18171,18177#msg-18177 Well, files look okay in general (besides ${} which I'm not sure of). Since crash happens in bundle server access_rules most probably, I'd sugge

Cfengine Help: Re: Handles vs Classes - Scope Intersection

2010-09-12 Thread no-reply
Forum: Cfengine Help Subject: Re: Handles vs Classes - Scope Intersection Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18170,18178#msg-18178 >From this output, it's hard to find why failsafe.cf produces segfault, at >least nothing is shown about the segfault. I'd s

Cfengine Help: Re: Persistent classes

2010-09-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Persistent classes Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18183,18187#msg-18187 I think you want to change the class strcmp to a command action instead. Then define the class as repaired or not. http://www.cfengine.org/manuals/c

Cfengine Help: Re: managing mobile clients

2010-09-13 Thread no-reply
Forum: Cfengine Help Subject: Re: managing mobile clients Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18189,18193#msg-18193 http://www.cfengine.org/manuals/cf3-reference.html#dynamicaddresses-in-server might also help. The NAT aspect is definitely tricky. __

Cfengine Help: Re: managing mobile clients

2010-09-13 Thread no-reply
Forum: Cfengine Help Subject: Re: managing mobile clients Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18189,18195#msg-18195 You could tunnel over VPN since you would control the end point IP. ___ Help-cfengine mailing list H

Cfengine Help: lastseen db not updating

2010-09-13 Thread no-reply
Forum: Cfengine Help Subject: lastseen db not updating Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18198,18198#msg-18198 This morning my lastseen report (c3.0.5p1) showed that all clients had not checked in for a least 40 hours. The clients are running, I can run the

Cfengine Help: Re: Questions about the reference manual

2010-09-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Questions about the reference manual Author: mwlarsen Link to topic: https://cfengine.com/forum/read.php?3,18107,18199#msg-18199 neilhwatson Wrote: --- > > 1. depth_search => urecurse("inf"); > 2. > 3. body dept

Cfengine Help: Re: Questions about the reference manual

2010-09-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Questions about the reference manual Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18107,18201#msg-18201 mwlarsen Wrote: > > > 1. depth_search => urecurse("inf"); > > 2. > > 3. body depth_search urecurse(d) > > 4. { > > 5. depth => "${d

Cfengine Help: Re: Persistent classes

2010-09-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Persistent classes Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18183,18203#msg-18203 Forget all about classes and persistence for a moment. What are you trying to accomplish above that? __

Cfengine Help: Re: Persistent classes

2010-09-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Persistent classes Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18183,18206#msg-18206 Persistence for the sake of it. I can't argue that. Perhaps attempt the wget command, and upon failure set a persistent class. However, I can't se

Cfengine Help: Re: Questions about the reference manual

2010-09-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Questions about the reference manual Author: mwlarsen Link to topic: https://cfengine.com/forum/read.php?3,18107,18209#msg-18209 neilhwatson Wrote: --- > I don't see anything with a '->'. There isn't anything

Cfengine Help: Re: managing mobile clients

2010-09-13 Thread no-reply
Forum: Cfengine Help Subject: Re: managing mobile clients Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18189,18210#msg-18210 Hi Max, Indeed this seems like more of a security policy question. Any remote client that could be stolen probably should not have data stored

Cfengine Help: Re: Questions about the reference manual

2010-09-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Questions about the reference manual Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18107,18211#msg-18211 In my opinion all sysadmins should have some basic programming theory. If you are writing shell scripts and perl code without the

Cfengine Help: Re: Persistent classes

2010-09-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Persistent classes Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18183,18213#msg-18213 You can set a different ifelapsed for any promise you like. body action if_elapsed(x) { ifelapsed => "$(x)"; expireafter => "$(x)"; } http://www.cfe

Cfengine Help: Re: multiple cycles to impliment a change.

2010-09-13 Thread no-reply
Forum: Cfengine Help Subject: Re: multiple cycles to impliment a change. Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,17971,18217#msg-18217 Actually, Thanks to Mark Burgess and team's visit, We figured out this was missing from my cf-execd.cf inside "body executor control

Cfengine Help: Populating slist from an execresult

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Populating slist from an execresult Author: nbianchi Link to topic: https://cfengine.com/forum/read.php?3,18222,18222#msg-18222 We grabbed the HPC configuration example from the solutions guide and we're using it as a base for assuring that sevices that are chkconfig

Cfengine Help: Re: Populating slist from an execresult

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Populating slist from an execresult Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18222,18223#msg-18223 Nicola, the truth is, execresult returns a string. You need splitstring() call to produce an slist from a string.

Cfengine Help: Re: Populating slist from an execresult

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Populating slist from an execresult Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18222,18224#msg-18224 Nicola, I typically keep a list of services in the policy and run them against chkconfig. You can tell by the return value if the

Cfengine Help: Re: Populating slist from an execresult

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Populating slist from an execresult Author: howardk Link to topic: https://cfengine.com/forum/read.php?3,18222,18225#msg-18225 After a little head banging here is the result: Needed to changed the sed delimiters to # instead of / (don't know why), then the string

Cfengine Help: Re: Questions about the reference manual

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Questions about the reference manual Author: mwlarsen Link to topic: https://cfengine.com/forum/read.php?3,18107,18226#msg-18226 neilhwatson Wrote: --- > In my opinion all sysadmins should have some basic > progr

Cfengine Help: Re: Cfengine Help: Re: Questions about the reference manual

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Questions about the reference manual Author: mwlarsen Link to topic: https://cfengine.com/forum/read.php?3,18215,18227#msg-18227 Thanks Mike. ___ Help-cfengine mailing list Help-cfengine@cfengine.org

Cfengine Help: Re: Cfengine Help: Re: Questions about the reference manual

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Questions about the reference manual Author: mwlarsen Link to topic: https://cfengine.com/forum/read.php?3,18218,18228#msg-18228 Daniel V. Klein Wrote: --- > > There isn't anything with that s

Cfengine Help: Cfengine2 and diskless cluster

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Cfengine2 and diskless cluster Author: rpoyner Link to topic: https://cfengine.com/forum/read.php?3,18229,18229#msg-18229 I have a couple of small clusters (~20 nodes each) that I manage, that I'd like to add to my cfengine2 setup. I've hesitated because I was unsure

Cfengine Help: Re: Cfengine2 and diskless cluster

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine2 and diskless cluster Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18229,18230#msg-18230 What about managing the export at the source rather than the client? ___ Help-cfengine mailin

Cfengine Help: Logic headache

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Logic headache Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18232,18232#msg-18232 I'm having a calculus flashback. Shouldn't these two classes be equivalent? 1. !(Sunday.Morning.dev_env.phost) 2. !Sunday.!Morning.!dev_env.!phost Further

Cfengine Help: Re: Logic headache

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Logic headache Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18232,18233#msg-18233 Neil, first two expressions aren't exactly equivalent. !Sunday.!Morning.!dev_env.!phost is equal to !(Sunday|Morning|dev_env|phost). Last expressio

<    1   2   3   4   5   6   7   8   9   10   >