Cfengine Help: Re: Very high memory consumption of cf-execd

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Very high memory consumption of cf-execd Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17337,17513#msg-17513 We have not observed any leaking in cf-monitord. cf-execd was the main culprit in our testing. But do look at the latest and let us kn

Cfengine Help: Re: Very high memory consumption of cf-execd

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Very high memory consumption of cf-execd Author: matter Link to topic: https://cfengine.com/forum/read.php?3,17337,17514#msg-17514 Interesting indeed. cf-monitord and cf-execd do not seem to be leaking for me. In fact, they seem pretty tight as far as memory usag

Cfengine Help: Re: Very high memory consumption of cf-execd

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Very high memory consumption of cf-execd Author: matter Link to topic: https://cfengine.com/forum/read.php?3,17337,17515#msg-17515 There is a facility for debugging malloc on AIX. I enabled the malloc debugging on cf-serverd (non-threaded) on the policy host and

Cfengine Help: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: lero Link to topic: https://cfengine.com/forum/read.php?3,17516,17516#msg-17516 Hi, We have some servers that has more than 100 IP's on one interface (via iproute2). Fo

Cfengine Help: Re: Very high memory consumption of cf-execd

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Very high memory consumption of cf-execd Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17337,17517#msg-17517 Trust me, debugging memory leaks is the hardest thing ever. As you correctly point out, most of what you see "leaked" is competely leg

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17516,17518#msg-17518 This is a tricky problem. When we skip stuff, it break some peoples' configs. When we

Cfengine Help: Re: /var/cfengine/bin

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: /var/cfengine/bin Author: AS5C0TT Link to topic: https://cfengine.com/forum/read.php?3,17499,17519#msg-17519 I think the purge setting is a mistake. It's pretty dangerous to set purge => true. About the binaries. I understand it as an effort to bootstrap Cfengin

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17516,17520#msg-17520 I've never seen a host with so many IP's. Interesting. What about a way to s

Cfengine Help: Re: Setting perms on home directory files

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Setting perms on home directory files Author: AS5C0TT Link to topic: https://cfengine.com/forum/read.php?3,17127,17521#msg-17521 Don't forget that you can use files_select instead of all those ugly shell commands http://www.cfengine.org/manuals/cf3-reference.htm

Cfengine Help: Re: Quoting netiquette

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Quoting netiquette Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17309,17522#msg-17522 Matt(er), you are right. We diagnosed the reason for mail/forum cross postings going wrong today. I think they are back now. Vive la quotation. ___

Cfengine Help: Re: Configuration Management Summit

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Configuration Management Summit Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17438,17523#msg-17523 Only a few days now to the summit, so I support Dan's call to arms and legs. It would be nice to meet folks in Boston and hear your experiences

Cfengine Help: Re: Configuration Management Summit

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Configuration Management Summit Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17438,17524#msg-17524 Some of us will be in our bunkers avoiding the Toronto downtown and both airports that are about to become purgatory, at best, thanks to

Cfengine Help: Re: Duplicate variable definition in bundle

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Duplicate variable definition in bundle Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17525,17527#msg-17527 I'm not sure what you are getting at. Bundles typically run three times in a run. If a promise has already been kept then it i

Cfengine Help: Re: Very high memory consumption of cf-execd

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Very high memory consumption of cf-execd Author: matter Link to topic: https://cfengine.com/forum/read.php?3,17337,17528#msg-17528 It is curious that there are 3 different opinions, which leads me to believe it is an OS thing. I don't mind restarting cf-serverd e

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: lero Link to topic: https://cfengine.com/forum/read.php?3,17516,17529#msg-17529 Mark, There's a faster way to get these information about network interfaces? When yo

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: lero Link to topic: https://cfengine.com/forum/read.php?3,17516,17530#msg-17530 Neil, The reason to have many IP's is that it's a firewall for our VM's doing NAT 1:1

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: matter Link to topic: https://cfengine.com/forum/read.php?3,17516,17531#msg-17531 Would bindtointerface help here? ___ He

Cfengine Help: Re: Setting perms on home directory files

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Setting perms on home directory files Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,17127,17532#msg-17532 I'm not sure what files you're suggesting using file_select for but my solution above doesn't use any shell commands. I did have to chan

Cfengine Help: Re: /var/cfengine/bin

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: /var/cfengine/bin Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,17499,17533#msg-17533 I don't know why purge would be dangerous unless something is broken. It never caused a problem until I started using rpms from cfengine.com that install th

Cfengine Help: Re: build cf3.0.5 with openssl 1.0.0a

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: build cf3.0.5 with openssl 1.0.0a Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17444,17534#msg-17534 This problem has returned. Consider this build script: PREFIX=/home/nwatson/cfengine make distclean LD_LIBRARY_PATH=$PREFIX/lib64:$PRE

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17516,17535#msg-17535 Ufortunately, Cfengine has to run on all OSes, not just Linux, so /proc is no help.

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-17 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17516,17538#msg-17538 Why not just adding an option not to resolve IPs upon scanning'em? I guess,

Cfengine Help: Cfengine package update on CentOS5

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Cfengine package update on CentOS5 Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17539,17539#msg-17539 Hello folks, Trying to perform the package update for Cfengine by cfengine itself, I wrote the following specification: bundle age

Cfengine Help: Re: Instructions for building static cfengine 3 binaries on Linux?

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Instructions for building static cfengine 3 binaries on Linux? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17133,17541#msg-17541 Hi John, Did you make any progress on this? ___ Help-cfengin

Cfengine Help: Re: Cfengine package update on CentOS5

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine package update on CentOS5 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17539,17542#msg-17542 Perhaps: "name" string => "$(id)3"; ___ Help-cfengine mailing list Help-cfen

Cfengine Help: Re: Static cf3 binaries on Solaris & Linux

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Static cf3 binaries on Solaris & Linux Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17198,17543#msg-17543 Ryan, I gave this a try on RHEL5, 64bit but no success. CFPCRE="Regex engine is the Perl Compatible Regular Expression library" P

Cfengine Help: Re: Static cf3 binaries on Solaris & Linux

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Static cf3 binaries on Solaris & Linux Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,17198,17544#msg-17544 I did a shot for Linux based on a howto from Jarle Bjorgeengen and I managed to create a cfengine 3 static binary successfully. Her

Cfengine Help: Re: Cfengine package update on CentOS5

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine package update on CentOS5 Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17539,17545#msg-17545 Neil, of course, I know I have such a variable. But I don't refer to it in package promise in any way. Is there any implicit usa

Cfengine Help: Re: Cfengine package update on CentOS5

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine package update on CentOS5 Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17539,17546#msg-17546 Predictably, I've renamed that variable to somewhat neutral "cf3" and that changed nothing.

Cfengine Help: Re: Static cf3 binaries on Solaris & Linux

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Static cf3 binaries on Solaris & Linux Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17198,17548#msg-17548 For further verification did you try running cf-promises -x? I did and it segfaulted. $ ~/cfengine/bin/cf-promises -V This compr

Cfengine Help: Re: Static cf3 binaries on Solaris & Linux

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Static cf3 binaries on Solaris & Linux Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17198,17549#msg-17549 For completeness here is the gdb back trace of the seg fault. Program received signal SIGSEGV, Segmentation fault. 0x2b03e

Cfengine Help: question on creating symlinks

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: question on creating symlinks Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,17550,17550#msg-17550 Howdy I’m running cfengine 3.0.4 and am trying to create a symlink from /root/.profile to /.profile and cant seem to get the syntax

Cfengine Help: Re: question on creating symlinks

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: question on creating symlinks Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17550,17551#msg-17551 Should this link => ln_s("/.profile"); be this link_from => ln_s("/.profile");? It has to match the body you are calling from your librar

Cfengine Help: Re: question on creating symlinks

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: question on creating symlinks Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,17550,17552#msg-17552 Excellent. That worked.Thanks for the info. It makes sense now why it wasn't working before.

Cfengine Help: Re: Static cf3 binaries on Solaris & Linux

2010-06-19 Thread no-reply
Forum: Cfengine Help Subject: Re: Static cf3 binaries on Solaris & Linux Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,17198,17555#msg-17555 For further verification did you try running cf-promises -x? I did and it segfaulted. I think mine is in good condition. /usr/l

Cfengine Help: Iteration in insert_lines still produces warning in 3.0.5

2010-06-20 Thread no-reply
Forum: Cfengine Help Subject: Iteration in insert_lines still produces warning in 3.0.5 Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17556,17556#msg-17556 Hello folks, Today I've upgraded Cfengine to 3.0.5 on a server, but insert_lines still produce the same warni

Cfengine Help: Re: Iteration in insert_lines still produces warning in 3.0.5

2010-06-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Iteration in insert_lines still produces warning in 3.0.5 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17556,17557#msg-17557 I suggest you reopen the ticket and add more data. Provide the smallest config that reproduces the message _

Cfengine Help: Re: Iteration in insert_lines still produces warning in 3.0.5

2010-06-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Iteration in insert_lines still produces warning in 3.0.5 Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17556,17558#msg-17558 Okay, done. Thank you in advance. ___ Help-cfengine mailing li

Cfengine Help: Cfengine update using yum problems

2010-06-21 Thread no-reply
Forum: Cfengine Help Subject: Cfengine update using yum problems Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17563,17563#msg-17563 Hello folks, Today I've been testing the update process for the cfengine itself on CentOS. Here is what I've got. First, I've tried

Cfengine Help: package downgrade doesn't work with yum

2010-06-21 Thread no-reply
Forum: Cfengine Help Subject: package downgrade doesn't work with yum Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17564,17564#msg-17564 I'm trying to build a promise which allows me to downgrade a package on demand. I wrote the following method: bundle force_pac

Cfengine Help: Re: release candidate suggestion

2010-06-21 Thread no-reply
Forum: Cfengine Help Subject: Re: release candidate suggestion Author: Authority Link to topic: https://cfengine.com/forum/read.php?3,17496,17565#msg-17565 I, for one, would appreciate seeing more official releases of intermediary/patch releases. I can't seem to find the magic incantation to bu

Cfengine Help: Re: release candidate suggestion

2010-06-21 Thread no-reply
Forum: Cfengine Help Subject: Re: release candidate suggestion Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17496,17566#msg-17566 There will be a patch release 3.0.5p1 on 1st July ___ Help-cfengine mailing list Help-cfengine@cfengin

Cfengine Help: Re: Cfengine Help: Re: release candidate suggestion

2010-06-21 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: release candidate suggestion Author: matter Link to topic: https://cfengine.com/forum/read.php?3,17567,17569#msg-17569 My magic bullet aclocal automake --gnu -W none autoconf ./configure .. _

Cfengine Help: Re: Cfengine Help: package downgrade doesn't work with yum

2010-06-21 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: package downgrade doesn't work with yum Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17570,17571#msg-17571 That's not quite true, since "yum remove" only removes a package, not its dependencies. It's getting worse if

Cfengine Help: Re: Instructions for building static cfengine 3 binaries on Linux?

2010-06-22 Thread no-reply
Forum: Cfengine Help Subject: Re: Instructions for building static cfengine 3 binaries on Linux? Author: jcoleman Link to topic: https://cfengine.com/forum/read.php?3,17133,17575#msg-17575 We decided to use the cfengine.com provided binaries for Linux _

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-22 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: mthibaut Link to topic: https://cfengine.com/forum/read.php?3,17516,17576#msg-17576 One way to reduce the latency for name resolution is to run a nscd (name service

Cfengine Help: Package architecture specification being ignored by cf3

2010-06-22 Thread no-reply
Forum: Cfengine Help Subject: Package architecture specification being ignored by cf3 Author: arawak2 Link to topic: https://cfengine.com/forum/read.php?3,17577,17577#msg-17577 Hi- I'm running cfengine3-community-3.0.4 on CentOS5.4 x86_64. I'm trying to install some i386 versions of packages a

Cfengine Help: Cfengine 3.0.5 segmentation fault with a bundle

2010-06-22 Thread no-reply
Forum: Cfengine Help Subject: Cfengine 3.0.5 segmentation fault with a bundle Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17578,17578#msg-17578 Hello folks, tryin' to enforce certain package version for CentOS, I wrote a method to achieve that, but unfortunately

Cfengine Help: Re: Cfengine Help: Re: release candidate suggestion

2010-06-22 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: release candidate suggestion Author: Authority Link to topic: https://cfengine.com/forum/read.php?3,17567,17579#msg-17579 Thank you gentlemen, those both work wonderfully. I would have sworn I'd tried those same things based on other postings

Cfengine Help: Re: Cfengine 3.0.5 segmentation fault with a bundle

2010-06-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.0.5 segmentation fault with a bundle Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17578,17580#msg-17580 for those interested, I've tracked down this fault to its roots and wrote the patch which fixes it: --- src/args.c.

Cfengine Help: Re: Cfengine 3.0.5 segmentation fault with a bundle

2010-06-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.0.5 segmentation fault with a bundle Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17578,17581#msg-17581 Last but not least, the segmentation fault happens most probably because of the following string: classes =

Cfengine Help: Re: Cfengine 3.0.5 segmentation fault with a bundle

2010-06-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.0.5 segmentation fault with a bundle Author: christian Link to topic: https://cfengine.com/forum/read.php?3,17578,17582#msg-17582 hi there i've an almost similar problem on my upgraded host, but sometimes is runs normally and somtimes it fails. Is th

Cfengine Help: Re: Cfengine 3.0.5 segmentation fault with a bundle

2010-06-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.0.5 segmentation fault with a bundle Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17578,17583#msg-17583 Well, the patch I've supplied obviously just eliminates segfault, nothing more. As far as I understand the code, th

Cfengine Help: Re: Instructions for building static cfengine 3 binaries on Linux?

2010-06-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Instructions for building static cfengine 3 binaries on Linux? Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,17133,17584#msg-17584 This works on Linux. export LDFLAGS='--static' tar xvfz db-5.0.21.tar.gz && cd db-5.0.21/build_unix ../dist

Cfengine Help: List expansion in access rules

2010-06-23 Thread no-reply
Forum: Cfengine Help Subject: List expansion in access rules Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,17585,17585#msg-17585 Hello, consider the following cf-serverd access rules. bundle server access_rules() { vars: "file_repos" slist => { "stage/inputs", "stage/mo

Cfengine Help: Re: List expansion in access rules

2010-06-23 Thread no-reply
Forum: Cfengine Help Subject: Re: List expansion in access rules Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,17585,17586#msg-17586 The culprits would possibly be these three global listvariables. $(var.master_files_prod) $(var.master_files_test) $(var.master_files_dev)

Cfengine Help: Re: When will locks be removed?

2010-06-23 Thread no-reply
Forum: Cfengine Help Subject: Re: When will locks be removed? Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,17562,17587#msg-17587 Either cf-agent -K to ignore the lock, or use cf-runagent from another host with the cfruncommand => "$(sys.workdir)/bin/cf-agent -K"; Does tha

Cfengine Help: Re: When will locks be removed?

2010-06-23 Thread no-reply
Forum: Cfengine Help Subject: Re: When will locks be removed? Author: Authority Link to topic: https://cfengine.com/forum/read.php?3,17562,17588#msg-17588 If I'm remembering my training correctly, making any change to the body of the promise changes the value of the promise hash, which as far as

Cfengine Help: Re: List expansion in access rules

2010-06-24 Thread no-reply
Forum: Cfengine Help Subject: Re: List expansion in access rules Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,17585,17591#msg-17591 Thanks Nakarin, but it did not improve the situation . I did like this "file_repos" slist => { "stage/inputs", "stage/modules", "repo"

Cfengine Help: Re: List expansion in access rules

2010-06-24 Thread no-reply
Forum: Cfengine Help Subject: Re: List expansion in access rules Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17585,17592#msg-17592 How is your bundle var defined? It should be bundle common var. ___ Help-cfengine mailing

Cfengine Help: Bug? Locking ignores action => immediate

2010-06-24 Thread no-reply
Forum: Cfengine Help Subject: Bug? Locking ignores action => immediate Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17593,17593#msg-17593 Hello folks, I've set ifelapsed to 15 minutes in body agent control to reduce load on the policy server. The executor runs its

Cfengine Help: Re: List expansion in access rules

2010-06-24 Thread no-reply
Forum: Cfengine Help Subject: Re: List expansion in access rules Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,17585,17594#msg-17594 Yep, it is bundle common var ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfe

Cfengine Help: Re: List expansion in access rules

2010-06-24 Thread no-reply
Forum: Cfengine Help Subject: Re: List expansion in access rules Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,17585,17595#msg-17595 Could you give us more details about the errors? I'm interested in the case and so I did a bit work around. Surprisingly, It went smoothly

Cfengine Help: Re: List expansion in access rules

2010-06-24 Thread no-reply
Forum: Cfengine Help Subject: Re: List expansion in access rules Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,17585,17596#msg-17596 3 differences from our setup. [*] the var bundle is in a different file. [*] the client_networks slist contains more than 1 entry [*] the co

Cfengine Help: Bug in copy_from's check_root?

2010-06-24 Thread no-reply
Forum: Cfengine Help Subject: Bug in copy_from's check_root? Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,17597,17597#msg-17597 I've been doing some testing with v. 3.0.5 using copy promises that pull files from my local machine. I noticed that, when check_root is enabled

Cfengine Help: Re: Static cf3 binaries on Solaris & Linux

2010-06-24 Thread no-reply
Forum: Cfengine Help Subject: Re: Static cf3 binaries on Solaris & Linux Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17198,17598#msg-17598 The Linux segfault seems to be related to RHEL5.5. Other Linux installs seem to work. Solaris SPARC is also working although it

Cfengine Help: use variable in compound classes

2010-06-24 Thread no-reply
Forum: Cfengine Help Subject: use variable in compound classes Author: rpaulmier Link to topic: https://cfengine.com/forum/read.php?3,17599,17599#msg-17599 Hi, I'm trying to use variable in compound classes, like this: control: actionsequence = ( copy ) policyhost = ( myhost ) copy:

Cfengine Help: Re: use variable in compound classes

2010-06-24 Thread no-reply
Forum: Cfengine Help Subject: Re: use variable in compound classes Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17599,17600#msg-17600 I don't believe that Cfengine 2 allows variable class names. Cfengine 3 does not either but, is does have something called ifvarclass.

Cfengine Help: Re: List expansion in access rules

2010-06-25 Thread no-reply
Forum: Cfengine Help Subject: Re: List expansion in access rules Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,17585,17601#msg-17601 Well, I did dedicate one machine to run cf-serverd and another one to run cf-agent and the files were copied successfully. I'm curious ab

Cfengine Help: Re: List expansion in access rules

2010-06-25 Thread no-reply
Forum: Cfengine Help Subject: Re: List expansion in access rules Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,17585,17602#msg-17602 My friend, the symlink was the problem all along. It now works perfectly also with iteration over the foreign slist variables. I owe you a

Cfengine Help: Customizing hosts

2010-06-25 Thread no-reply
Forum: Cfengine Help Subject: Customizing hosts Author: erikf154 Link to topic: https://cfengine.com/forum/read.php?3,17603,17603#msg-17603 Hi, I'm a former user of Puppet and I've recently decided to migrate to cfengine. I'm however having a bit trouble getting used to it. In Puppet I'm used to

Cfengine Help: Re: Customizing hosts

2010-06-25 Thread no-reply
Forum: Cfengine Help Subject: Re: Customizing hosts Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17603,17604#msg-17604 Well, in Cfengine syntax terms it would be smth like body common control { web001|web002:: bundlesequence => { "apache" }; db001|db0

Cfengine Help: Re: Customizing hosts

2010-06-25 Thread no-reply
Forum: Cfengine Help Subject: Re: Customizing hosts Author: erikf154 Link to topic: https://cfengine.com/forum/read.php?3,17603,17605#msg-17605 Ah, it's that easy :) Thanks, awesome! ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfe

Cfengine Help: Problems using the cfengine_stdlib

2010-06-25 Thread no-reply
Forum: Cfengine Help Subject: Problems using the cfengine_stdlib Author: erikf154 Link to topic: https://cfengine.com/forum/read.php?3,17606,17606#msg-17606 When I include the cfengine_stdlib.cf I get a lot of errors: cf3:/var/cfengine/inputs/cfengine_stdlib.cf:374,1: Redefinition of body start

Cfengine Help: Cfengine in crontab

2010-06-25 Thread no-reply
Forum: Cfengine Help Subject: Cfengine in crontab Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,17608,17608#msg-17608 I want my crontab to check if cf-execd is still running, and if it is not, I want it to be executed. I run into a couple of problems; forking cf-execd thro

Cfengine Help: Re: Cfengine in crontab

2010-06-25 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine in crontab Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17608,17609#msg-17609 I have cf-execd run in memory. I also have cron run cf-execd, non-forked, regularly. This ensures that one way or another cf-execd is running.

Cfengine Help: Re: Bug in copy_from's check_root?

2010-06-25 Thread no-reply
Forum: Cfengine Help Subject: Re: Bug in copy_from's check_root? Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,17597,17610#msg-17610 Sorry, all - realized the bug tracker is a more appropriate medium for this kind of report. Filed (with more concise steps for reproducing) h

Cfengine Help: Re: Cfengine in crontab

2010-06-26 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine in crontab Author: matter Link to topic: https://cfengine.com/forum/read.php?3,17608,17611#msg-17611 I like to use cf-execd from crontab only to check if cf-execd is running in memory. I have a bundle which already does this check, but I define a class t

Cfengine Help: 3.0.5p1

2010-06-29 Thread no-reply
Forum: Cfengine Help Subject: 3.0.5p1 Author: lero Link to topic: https://cfengine.com/forum/read.php?3,17617,17617#msg-17617 Hi, 3.0.5p1 will be tagged shortly? Thanks. ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/ma

Cfengine Help: Re: 3.0.5p1

2010-06-29 Thread no-reply
Forum: Cfengine Help Subject: Re: 3.0.5p1 Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,17617,17618#msg-17618 Yes, expect it by tomorrow. -- Regards, Eystein ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfeng

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-06-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: lero Link to topic: https://cfengine.com/forum/read.php?3,17516,17620#msg-17620 Hi, I just changed nsswitch.conf from this: hosts: files mdns4_minimal dns

Cfengine Help: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution?

2010-07-01 Thread no-reply
Forum: Cfengine Help Subject: Re: Unix_GetInterfaceInfo() too slow to read > 100 ip's on one interface, possible solution? Author: lero Link to topic: https://cfengine.com/forum/read.php?3,17516,17625#msg-17625 Hi, Doing a deep look, the problem is not with nsswitch.conf entries. The server was

Cfengine Help: Looking for suggestions on ordering

2010-07-01 Thread no-reply
Forum: Cfengine Help Subject: Looking for suggestions on ordering Author: Authority Link to topic: https://cfengine.com/forum/read.php?3,17628,17628#msg-17628 Normal ordering for edit_line bundles puts insert_lines before replace_patterns. For my current problem, I'm trying to reverse them. Giv

Cfengine Help: Re: cfengine 3.0.5p1 released

2010-07-05 Thread no-reply
Forum: Cfengine Help Subject: Re: cfengine 3.0.5p1 released Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17634,17635#msg-17635 Successfully built and deployed on a Debian test host. So far zero problems. Thanks Mark. ___ H

Cfengine Help: cf-runagent strange behaviour with -s option

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: cf-runagent strange behaviour with -s option Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17638,17638#msg-17638 Hello folks, I'm invoking cf-runagent as follows: /var/cfengine/bin/cf-runagent -s urgent -H test.host.local The result i

Cfengine Help: cf-runagent ignores max_children parameter

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: cf-runagent ignores max_children parameter Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17639,17639#msg-17639 Tryin' to parallelize cf-runagent invocation for relatively big cluster (200+ items), I've figured out that any numbers in ma

Cfengine Help: Re: cf-runagent ignores max_children parameter

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-runagent ignores max_children parameter Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17639,17640#msg-17640 Very little work has gone into cf-runagent because it is mainly used for testing. The bottom line is that if you have 200 machines,

Cfengine Help: Re: Simple File Edits

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Simple File Edits Author: AS5C0TT Link to topic: https://cfengine.com/forum/read.php?3,17636,17641#msg-17641 Definitely think the COPBL has the stuff you need. Take a look at http://www.cfengine.org/manuals/cf3-solutions.html#Add-users-to-passwd-and-group It w

Cfengine Help: Re: cf-runagent ignores max_children parameter

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-runagent ignores max_children parameter Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17639,17642#msg-17642 Well, so that I suggest you the following patch which is proven to be working in my environment: --- src/runagent.c.orig

Cfengine Help: Re: cf-runagent strange behaviour with -s option

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-runagent strange behaviour with -s option Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17638,17643#msg-17643 For those who might be interested, it seems like the arguments parser goes wrong somehow. Reordering command line fixes

Cfengine Help: Re: cf-runagent strange behaviour with -s option

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-runagent strange behaviour with -s option Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17638,17644#msg-17644 I seem to recall that in cf2 options that were to go to the remote agent were on the right of the hostname. IIRC then this

Cfengine Help: Re: cf-runagent strange behaviour with -s option

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-runagent strange behaviour with -s option Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17638,17645#msg-17645 Neil, the -s option defines classes for local usage, not to be sent remotely. Anyway, it seems to follow the same prin

Cfengine Help: Re: cf-runagent ignores max_children parameter

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-runagent ignores max_children parameter Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17639,17646#msg-17646 Excellent Seva, thanks for pointing out this omission. I've patched the code. ___ Help-c

Cfengine Help: purge empties directory when unable to connect

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: purge empties directory when unable to connect Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,17647,17647#msg-17647 It seems that enabling the purge => true option in a copy_from promise results in cfengine emptying the complete directory if the

Cfengine Help: Re: purge empties directory when unable to connect

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: purge empties directory when unable to connect Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17647,17648#msg-17648 I know specifically of code to prevent this from happening. Purging is not allowed if a connection is not made. If you think it

Cfengine Help: cf-execd doesn't start

2010-07-08 Thread no-reply
Forum: Cfengine Help Subject: cf-execd doesn't start Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17649,17649#msg-17649 Hello folks, the cf-execd is refusing to start on one of my servers. Trying in verbose mode responds as follows: cf3 Couldn't obtain lock for

Cfengine Help: Re: cf-execd doesn't start

2010-07-08 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-execd doesn't start Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17649,17650#msg-17650 For those interested, I've been able to start cf-execd after removing /var/cfengine/state/cf_lock.db. It is not solution, though, just a work

Cfengine Help: Ensuring apt-package installed and latest available

2010-07-08 Thread no-reply
Forum: Cfengine Help Subject: Ensuring apt-package installed and latest available Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,17651,17651#msg-17651 Hi, have anyone managed to tell Cfengine to make sure that latest available package (from apt repository) is installed ? D

Cfengine Help: Re: how to find key mis-match?

2010-07-08 Thread no-reply
Forum: Cfengine Help Subject: Re: how to find key mis-match? Author: JarleB Link to topic: https://cfengine.com/forum/read.php?3,17626,17652#msg-17652 By running cf-agent through cf-execd and having an e-mail address in body executor control { mailto => "your.monitored.l...@your.site"; } _

Cfengine Help: Re: Ensuring apt-package installed and latest available

2010-07-08 Thread no-reply
Forum: Cfengine Help Subject: Re: Ensuring apt-package installed and latest available Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17651,17653#msg-17653 Jarle, in theory, the package_method => update could have been handling that, at least for apt and yum which ar

  1   2   3   4   5   6   7   8   9   10   >