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
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
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
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
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
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
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
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
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
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.
___
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
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
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
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
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
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
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
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
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
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
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.
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,
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
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
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
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
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
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
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.
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
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
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
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
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.
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
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
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
_
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
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
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
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
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
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 ..
_
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
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
_
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
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
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
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
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.
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 =
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
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
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
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
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)
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
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
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"
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
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
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
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
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
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
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
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:
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.
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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";
}
_
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 - 100 of 5654 matches
Mail list logo