IPv4 addresses for tun0 not showing?

2012-06-29 Thread Marco Marongiu
Hi I was writing a policy to do some fixups on my laptop when I'm on the VPN, but weird things were happening. After narrowing down the problem with a test policy, it seems that cfengine doesn't read the IPv4 address of the tun0 device. Maybe a bug? If I list the ip addresses on the machine, I ge

Re: feature proposal for cfengine.el

2012-06-29 Thread Marco Marongiu
On 26/06/12 15:14, Ted Zlatanov wrote: > Yup, that's exactly what skeleton.el does. Could you give me some > templates you'd use and tell me what portions should be parameterized? > I'll do the rest. Here. As simple as they are, and the only parameter would be the bundle name. I'd probably use ag

CFEngine Help: Re: CFEngine Help: memory exhausted error

2012-06-29 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: memory exhausted error Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26355,26360#msg-26360 Yes, I've been using regline for long list class matching. As you say the performance difference is huge. Still, I worry that som

CFEngine Help: Re: CFEngine Help: memory exhausted error

2012-06-29 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: memory exhausted error Author: mark Link to topic: https://cfengine.com/forum/read.php?3,26355,26359#msg-26359 Unfortunately the alternative to bison is yacc, which is much worse. I don't really understand why bison runs out of memory on long lists

CFEngine Help: Re: CFEngine Help: memory exhausted error

2012-06-29 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: memory exhausted error Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26355,26358#msg-26358 I belive I've heard that Bison is generally to blame for poor list processing performance in Cfengine. If that is true, is there

Re: CFEngine Help: memory exhausted error

2012-06-29 Thread Mark Burgess
I saw this error before from bison. Not sure how to get around it. M On 06/29/2012 12:40 PM, Nicolas Charles wrote: > On 28/06/2012 15:34, no-re...@cfengine.com wrote: >> Forum: CFEngine Help >> Subject: memory exhausted error >> Author: neilhwatson >> Link to topic: https://cfengine.com/forum/r

Re: CFEngine Help: memory exhausted error

2012-06-29 Thread Nicolas Charles
On 28/06/2012 15:34, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: memory exhausted error > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,26349,26349#msg-26349 > > I was trying to process a slist with 8000 items this morning. I got this > error. >