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

Re: Cfengine 2 Solaris Package Handling with hypens

2010-09-07 Thread michoski
On 9/7/10 5:37 PM, "Geoff Davis" wrote: > It appears that Cfengine 2.2.10 does not handle Solaris SVR4 package names > with hyphens in them correctly. > > Given a statement like > packages: > solaris:: > CSWpy-numpy pkgmgr=sun action=install > > From my reading of the source code, the func

Cfengine 2 Solaris Package Handling with hypens

2010-09-07 Thread Geoff Davis
Hi all, It appears that Cfengine 2.2.10 does not handle Solaris SVR4 package names with hyphens in them correctly. Given a statement like packages: solaris:: CSWpy-numpy pkgmgr=sun action=install >From my reading of the source code, the function SUNPackageCheck() in >packages.c incorrec

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

Re: task recieves SIGINT

2010-09-07 Thread Michael Potter
Yes - it appears the signal was sent by an overlapping run of cf-agent. I tried setting a global default for "expireafter" (I set it to 5 minutes), and it appears now that the issue has gone away. On Wed, Sep 8, 2010 at 7:13 AM, Mike Hoskins wrote: > On 8/31/10 3:53 PM, "Michael Potter" wrote:

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

Re: task recieves SIGINT

2010-09-07 Thread Mike Hoskins
On 8/31/10 3:53 PM, "Michael Potter" wrote: > Using 3.0.5p1 on Solaris10/SPARC. > > I have noticed cfengine emitted these kind of messages, 2-3 time a day: > > Received signal 2 (SIGINT) while doing > [lock.rtcontrol.files.handle.comment.touch.perms.owners.._export_rt_rtsystem_v > ar_rtcontrol_c

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: 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: 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: 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: 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: 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: 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: 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

Re: Cfengine Help: Re: cfruncommand not really working

2010-09-07 Thread Mike Hoskins
On 9/7/10 9:33 AM, "no-re...@cfengine.com" wrote: > 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 cf-serverd. Then > you can have cf-execd run on the agents every 5 minutes, they will get the new > files

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

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

2010-09-07 Thread Mike Hoskins
On 9/7/10 9:29 AM, "no-re...@cfengine.com" wrote: > 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

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: 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: 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: 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: 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: 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,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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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

cf-serverd stops working after a day

2010-09-07 Thread Assarsson, Emil
Hi, I'm running cfengine-community 3.0.5-1 on ubuntu. The server stops handeling requests after a day or so and if I check with netstat all connections are either SYN_RECV or CLOSE_WAIT. After a restart of the cf-serverd clients gets reset and new connections becomes ESTABLISHED (netstat). Doe