Date: Tue, 20 Aug 2013 08:27:17 +0100 From: Arthur Chance <freebsd@qeng-ho.org> To: Karl Pielorz <kpielorz_lst@tdx.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: jail.conf ignoring exec.fib? Message-ID: <52131A55.2040400@qeng-ho.org> In-Reply-To: <CC37CC84B8445F8B72E58E1F@study64.tdx.co.uk> References: <98486B2D79D00F0898B7C9E6@Mail-PC.tdx.co.uk> <520B7F0F.7020006@a1poweruser.com> <1960A5B02323B4982B4C0320@Mail-PC.tdx.co.uk> <520FA592.7010305@qeng-ho.org> <CC37CC84B8445F8B72E58E1F@study64.tdx.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 19/08/2013 21:02, Karl Pielorz wrote: > > > --On 17 August 2013 17:32:18 +0100 Arthur Chance <freebsd@qeng-ho.org> > wrote: > >> What do you get in the jail from >> >> sysctl net.fibs >> sysctl net.my_fibnum >> >> ? > > I didn't know those sysctl's existed :) I only stumbled on them by doing sysctl -a | grep fib It's often surprising what you find that way. > If I fire up the jail, and jexec > to it, and run the above - I get: > > " > root@jail:/ # sysctl net.fibs > net.fibs: 4 > root@jail:/ # sysctl net.my_fibnum > net.my_fibnum: 0 > " > > (I have 'ROUTETABLES=4' in the Kernel, so the 4 above is correct). > > > That's for a jail which has: > > " > jail { > jid = 100; > exec.fib = "1"; > ... > " > > In /etc/jail.conf > > So, on the surface it looks like 'exec.fib' is being ignored :( I tried > it without quotes as well, to no avail. In the source the exec.fib parameter is given as an integer, so the quotes probably shouldn't be there, but I'm not sure whether it matters. There's definitely a setfib call in the source that's done if exec.fib exists. All I can think of right now is that you try firing up the jail using the -v verbose flag. This should show everything the jail command does as the jail is created. -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52131A55.2040400>