Re: jail.conf ignoring exec.fib?

2013-08-21 Thread Karl Pielorz
--On 20 August 2013 18:02 +0100 Arthur Chance free...@qeng-ho.org wrote: And that's just made me think of something else - I have a horrible feeling that jexec will attach to the jail using whatever fib it's running under, i.e. the fib from the host environment. Do you have (or can you

Re: jail.conf ignoring exec.fib?

2013-08-21 Thread Arthur Chance
On 21/08/2013 11:35, Karl Pielorz wrote: --On 20 August 2013 18:02 +0100 Arthur Chance free...@qeng-ho.org wrote: And that's just made me think of something else - I have a horrible feeling that jexec will attach to the jail using whatever fib it's running under, i.e. the fib from the host

Re: jail.conf ignoring exec.fib?

2013-08-20 Thread Arthur Chance
On 19/08/2013 21:02, Karl Pielorz wrote: --On 17 August 2013 17:32:18 +0100 Arthur Chance free...@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 |

Re: jail.conf ignoring exec.fib?

2013-08-20 Thread Karl Pielorz
--On 20 August 2013 08:27 +0100 Arthur Chance free...@qeng-ho.org wrote: 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. I tried it just as 'exec.fib = 1;' originally, and it makes no difference :(

Re: jail.conf ignoring exec.fib?

2013-08-20 Thread Arthur Chance
On 20/08/2013 12:50, Karl Pielorz wrote: --On 20 August 2013 08:27 +0100 Arthur Chance free...@qeng-ho.org wrote: 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. I tried it just as 'exec.fib = 1;'

Re: jail.conf ignoring exec.fib?

2013-08-19 Thread Karl Pielorz
--On 17 August 2013 17:32:18 +0100 Arthur Chance free...@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@jail:/ # sysctl

Re: jail.conf ignoring exec.fib?

2013-08-17 Thread Fbsd8
Karl Pielorz wrote: --On 14 August 2013 08:58 -0400 Fbsd8 fb...@a1poweruser.com wrote: The jail(8) man page lacks details about how to use exec.fib. It requires either a new kernel (with options ROUTETABLES=2 or however many you want), or a boot-time setting with net.fibs=2 in

Re: jail.conf ignoring exec.fib?

2013-08-17 Thread Arthur Chance
On 14/08/2013 16:49, Karl Pielorz wrote: --On 14 August 2013 08:58 -0400 Fbsd8 fb...@a1poweruser.com wrote: The jail(8) man page lacks details about how to use exec.fib. It requires either a new kernel (with options ROUTETABLES=2 or however many you want), or a boot-time setting with

jail.conf ignoring exec.fib?

2013-08-14 Thread Karl Pielorz
I'm running 9.2-RC2 amd64 on a system, with a number of jails. The jails are setup using '/etc/jail.conf' - but the exec.fib in jail.conf seems to be being ignored? e.g. in /etc/jail.conf I have: testjail { jid = 100; exec.fib = 1; Set FIB 1 path =

Re: jail.conf ignoring exec.fib?

2013-08-14 Thread Fbsd8
Karl Pielorz wrote: I'm running 9.2-RC2 amd64 on a system, with a number of jails. The jails are setup using '/etc/jail.conf' - but the exec.fib in jail.conf seems to be being ignored? e.g. in /etc/jail.conf I have: testjail { jid = 100; exec.fib = 1; Set FIB 1

Re: jail.conf ignoring exec.fib?

2013-08-14 Thread Karl Pielorz
--On 14 August 2013 08:58 -0400 Fbsd8 fb...@a1poweruser.com wrote: The jail(8) man page lacks details about how to use exec.fib. It requires either a new kernel (with options ROUTETABLES=2 or however many you want), or a boot-time setting with net.fibs=2 in /boot/loader.conf (requiring a