On Fri, 17 Jan 2014 14:44:26 -0800 (PST)
csdi...@gmail.com wrote:
I don't think you'll lose the bootstrap, sorry if I was unclear. You'll
lose the other things like promise locks.
c> I've seen the pull Bas issued but I don't recall seeing a way to achieve
c> everything I require with the current compile time options; I might have
c> missed something though.
It covers some but not all. Please request the things not covered;
setting the WORKDIR should be sufficient in general.
c> In a nutshell the following need to always be stored somewhere in tmpfs
c> (/tmp and /var on openwrt)... I'll figure out a way to rotate/trash so as
c> not to fill up ram:
c> *.log, *.lock, ./state/ and any embedded dbs, ./outputs/, ./reports/, and
c> anything that gets written frequently.
c> The rest you'd normally expect to find in /var/cfengine/ will be in
c> /etc/cfengine/.
That's really vague, but I think you mean the bindir, inputdir, and
masterdir? Or something else?
c> The aim is to provide a CFEngine experience without the end-user having
c> worry about tearing down their flash... eg out-of-box binaries should cause
c> all writes to be committed only to ram (within what's possible).
Yeah, of course. But could you use links (symbolic or not)?
I think this direction is particularly appropriate for CFEngine, the
code is ideal for constrained environments. I have a Raspberry Pi
sitting on my desk waiting for some love :)
c> I'll be up to the user to completely ignore the supplied warnings and
c> proceed to write and run some absurd policy to kill their device :)
Heh. CFEngine is not very supportive of that :)
Ted