On Mon, May 23, 2011 at 2:13 PM, Marin Atanasov Nikolov <dna...@gmail.com> wrote: >> Forum: Cfengine Help >> Subject: Re: Hostname based classes and virtual machines in Cfengine 3 >> Author: dnaeon >> Link to topic: https://cfengine.com/forum/read.php?3,22131,22147#msg-22147 > > Hello guys, > > In regards to the topic below, I now have a patch for FreeBSD, which > excludes virtual interfaces that belong to FreeBSD jails, and thus do > not create a hard class on the host, which are taken by the FreeBSD > jails. > > - https://cfengine.com/forum/read.php?3,22162 > > This fixes issues on a host system with FreeBSD jails, where hard > classes are created on the host, which actually belong to jails. > > The patch can be found here and applies to FreeBSD versions 8.0 or > later, since jail_get() was introduced in FreeBSD 8.0 > > - http://unix-heaven.org/FreeBSD/patches/cfengine-3.1.5-freebsd-jails.patch > > @Cfengine devs > > Could you please review the patch and if possible to include it in the > official Cfengine3 code? >
Forgot to put the output of cf-promises(8) after patching, which shows that virtual interfaces for jails are properly skipped: - http://unix-heaven.org/FreeBSD/cfengine-freebsd/cf-promises-run-after-patched.out > Regards, > Marin > > -- > Marin Atanasov Nikolov > > dnaeon AT gmail DOT com > daemon AT unix-heaven DOT org > http://www.unix-heaven.org/ > -- Marin Atanasov Nikolov dnaeon AT gmail DOT com daemon AT unix-heaven DOT org http://www.unix-heaven.org/ _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine