Cfengine Help: Re: regex help

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: regex help Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,21705,21762#msg-21762 neilhwatson Wrote: --- > I removed :? from the expression but still no > matches. Sorry - I wasn't paying atten

Cfengine Help: Error during NetCopy

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Error during NetCopy Author: steffenf Link to topic: https://cfengine.com/forum/read.php?3,21761,21761#msg-21761 Hi all! We have had cfengine running for a while now in three different environments. Today one of our machines in one of the environments stopped worki

Re: Cfengine Help: Bug found while installing package with multiple architectures (patch submitted in bug tracker)

2011-05-03 Thread Frans Lawaetz
> Bug 584 has been submitted for this. > > If given a promise to install a package with multiple architectures, If the > first architecture already exists then the second does not get properly > marked for installation. > Huh... This was reported already and marked resolved. https://cfengine.com

Cfengine Help: Re: copy_from 'preserve' does not respect file_select

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: copy_from 'preserve' does not respect file_select Author: labels.la Link to topic: https://cfengine.com/forum/read.php?3,21690,21759#msg-21759 Thanks for the good things. ___ Help-cfengine mailing list Help-cfengine@cfe

Re: Cfengine Help: Re: [CF2] Saving backup copies of tidied files?

2011-05-03 Thread Paul Krizak
That's the whole problem. If you can't rename across filesystems then you can't use that feature to create backups. Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems EngineerAustin, TX 78735 Advanced Micro Devices Desk: (512) 602-8775 L

Cfengine Help: Re: [CF2] Saving backup copies of tidied files?

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: [CF2] Saving backup copies of tidied files? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,21734,21757#msg-21757 There is a rename feature!! But you still can't rename across filesystems ___ Help-cfe

Cfengine Help: Bug found while installing package with multiple architectures (patch submitted in bug tracker)

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Bug found while installing package with multiple architectures (patch submitted in bug tracker) Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,21755,21755#msg-21755 Bug 584 has been submitted for this. If given a promise to install a package

Re: Cfengine Help: Re: [CF2] Saving backup copies of tidied files?

2011-05-03 Thread Paul Krizak
Yeah if implemented, it shouldn't be enabled by default, but there are lots of cases where tidy is used to clean up unnecessary config files; it would be fantastic if those targeted deletions could be flagged to use the repository so that a timestamped backup copy of the deleted files are saved

Cfengine Help: Re: [CF2] Saving backup copies of tidied files?

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: [CF2] Saving backup copies of tidied files? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21734,21754#msg-21754 A move feature might be a nice addition. If others express interest I'll open a feature request. _

Re: Cfengine Help: Re: [CF2] Saving backup copies of tidied files?

2011-05-03 Thread Paul Krizak
Yeah, that's kind of what I was hoping to avoid. I presume CF3 is extensible enough that this functionality can be achieved with it? Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems EngineerAustin, TX 78735 Advanced Micro Devices Desk:

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21752#msg-21752 Relevant parts of make file if it helps. UNAME=$(shell uname) ARCHITECTURE=$(shell uname -m) PCRE="pcre-8.10" DB="db-4.8

Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread Mikhail Gusarov
On 05/03/2011 03:32 PM, no-re...@cfengine.com wrote: > $ pwd > /usr/local/groundwork/nwatson/src/cfengine-3.1.5/src > > $ file ./cf-promises > ./cf-promises: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), > statically linked, not stripped > > $ gdb ./cf-promises > GNU gdb Red Hat L

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21750#msg-21750 $ pwd /usr/local/groundwork/nwatson/src/cfengine-3.1.5/src $ file ./cf-promises ./cf-promises: ELF 32-bit LSB executable

Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread Mikhail Gusarov
On 05/03/2011 03:15 PM, no-re...@cfengine.com wrote: > Symbols still seem to be missing. > > Program received signal SIGSEGV, Segmentation fault. > 0x00d20fd0 in ?? () > (gdb) back > #0 0x00d20fd0 in ?? () > #1 0x00f22f24 in ?? () > #2 0xbfffe3e4 in ?? () > #3 0xbfffe47c in ?? () > #4 0x00d1

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21747#msg-21747 Symbols still seem to be missing. Program received signal SIGSEGV, Segmentation fault. 0x00d20fd0 in ?? () (gdb) back #0

Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread Mikhail Gusarov
On 05/03/2011 03:12 PM, no-re...@cfengine.com wrote: > I did see this during the make. > cc1: warning: -Wuninitialized is not supported without -O This warning is harmless. ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/m

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21745#msg-21745 I did see this during the make. cc1: warning: -Wuninitialized is not supported without -O ___

Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread Mikhail Gusarov
On 05/03/2011 03:08 PM, no-re...@cfengine.com wrote: > I used the make option. I don't see any more output than I did before. Is > there a specific test you wish me to try? It still segfaults, good (some bugs hide if you enable the debugging symbols). Now please run it under gdb as described o

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21744#msg-21744 I used the make option. I don't see any more output than I did before. Is there a specific test you wish me to try? __

Re: Cfengine Help: Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread Mikhail Gusarov
On 05/03/2011 02:16 PM, no-re...@cfengine.com wrote: > I did not see anything on that page about how to build with debug symbols. > Did I miss it? Hm, really. I should probably update this page. It boils down to compilation with 'make CFLAGS="-O0 -g"'. _

Cfengine Help: Re: Distributing cf3 binaries to clients

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Distributing cf3 binaries to clients Author: ariconstancio Link to topic: https://cfengine.com/forum/read.php?3,21739,21742#msg-21742 Touché :) (policy host) # uname -r 2.6.26-2-xen-amd64 (client) # uname -r 2.6.26-2-686-bigmem Thank you, Ari Constancio __

Cfengine Help: Re: Distributing cf3 binaries to clients

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Distributing cf3 binaries to clients Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21739,21741#msg-21741 What is the architecture of the two systems? ___ Help-cfengine mailing list Help-cfengi

Cfengine Help: Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21740#msg-21740 Mikhail Gusarov Wrote: --- > Could you try to build

Distributing cf3 binaries to clients

2011-05-03 Thread Ari Constancio
Hello, I'm looking for advice on the best way to distribute compiled cf3 binaries to clients (Debian). I can compile successfully static binaries on the policy host, but I'm not sure about library support (if any) on the clients. (on policy host) # cd cfengine-3.1.5 # LDFLAGS='--static' ./config

Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread Mikhail Gusarov
On 05/03/2011 01:47 PM, no-re...@cfengine.com wrote: > $ pwd > /usr/local/groundwork/nwatson/src/cfengine-3.1.5/tests > $ ../src/cf-promises -f ./MAIN.cf > Segmentation fault > > $ ../src/cf-promises -f ./default.cf > Segmentation fault Could you try to build with debugging symbols? See the ht

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21737#msg-21737 $ pwd /usr/local/groundwork/nwatson/src/cfengine-3.1.5/tests $ ../src/cf-promises -f ./MAIN.cf Segmentation fault $ ../

Cfengine Help: Re: [CF2] Saving backup copies of tidied files?

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: [CF2] Saving backup copies of tidied files? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21734,21736#msg-21736 I don't think that tidy has a backup feature. You could achieve the desired results using two promises. The first would co