jail.conf ignoring exec.fib?

Karl Pielorz kpielorz_lst at tdx.co.uk
Mon Aug 19 20:02:28 UTC 2013



--On 17 August 2013 17:32:18 +0100 Arthur Chance <freebsd at 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 :) If I fire up the jail, and jexec to 
it, and run the above - I get:

"
root at jail:/ # sysctl net.fibs
net.fibs: 4
root at 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.

-Karl


More information about the freebsd-questions mailing list