Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2011 17:16:41 +0200
From:      Moritz Wilhelmy <moritz@wzff.de>
To:        freebsd-questions@freebsd.org
Subject:   Passing additional options to jail(8) via rc.conf
Message-ID:  <20110919151641.GI22957@barfooze.de>

next in thread | raw e-mail | index | archive | help
Hello,

let's say I want to pass additional options like ip4=inherit to my jails
configured via /etc/rc.conf. How do I get this to work?
Apparently, setting jail_www_flags="-l -U root ip4=inherit" is the wrong
order, because these parameters are expected after -c, which is
apparently inserted by the rc-script *after* the flags passed via the
variable.

Has anyone else had this problem, and is there a way to solve it rather
than setting the jail up things by hand in rc.local? I'd prefer using
the sugar rc.conf offers me. Maybe there is another, undocumented
variable for this kind of options? Am I overlooking something?


Thanks in advance,

Moritz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110919151641.GI22957>