jid's not refreshing after jail shutdown

Jacob Whatley jwhatley at rhyton.com
Mon Jun 14 14:02:43 UTC 2010

Hello group!


On 8.0 Release, our system is setup so that we specify the jid when a jail
is built, which we make numerical (ie, 1001, 1002, etc..). This works great
for consistency and for setup scripts. However, we are running into a
problem that after shutting down a jail (or group of jails) using 'jail -r
<jid>', when we attempt to start the jail(s) anew, we get the error:


jail: jail <jid indicated> already exists


Running jls shows no active jail for that jid. Is there something that we
can do to flush whatever buffer is holding the old jid data, so that we may
restart a dead jail with the same jid? Incidentally, this happens more often
than not, but occasionally and after a few minutes we can run 'jail -c
.....' and it will not bomb.




Jake Whatley, Developer

Rhyton Corporation

jwhatley at rhyton.com




More information about the freebsd-jail mailing list