Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Aug 2013 15:45:12 +0100
From:      Karl Pielorz <kpielorz_lst@tdx.co.uk>
To:        Arthur Chance <freebsd@qeng-ho.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Static Jail ID's (JID's) for use with IPFW?
Message-ID:  <AC2D44E17D02C0FD86B19BB0@Mail-PC.tdx.co.uk>
In-Reply-To: <52022E40.8050007@qeng-ho.org>
References:  <6AEEAD32A5BF3013464C98A1@Mail-PC.tdx.co.uk> <52022E40.8050007@qeng-ho.org>

next in thread | previous in thread | raw e-mail | index | archive | help


--On 07 August 2013 12:23 +0100 Arthur Chance <freebsd@qeng-ho.org> wrote:

> I don't think the old /etc/rc.conf way of handling jails lets you do it,
> but the latest version of jail(8) introduced /etc/jail.conf and you
> should be able to add "jid = <N>;" parameters in there.

Thanks - I'll check that out...

> I've no idea what will happen if your choice conflicts with an
> automatically generated jid, so you'll either have to make sure all jails
> have fixed jids, or choose a suitably high range for fixed ones and hope
> you never generate too many unfixed jids.

I'll be making them all static - just to avoid that problem ;)

Cheers,

-Karl



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