ezjail with vimage

Miroslav Lachman 000.fbsd at quip.cz
Mon Dec 7 22:06:02 UTC 2009


Bjoern A. Zeeb wrote:
> *mumble* *tired* *again* ..
>
> Let me cite man rc.conf to not mess it up again:
>
>     jail_<jname>_exec_afterstart<N>
>             (str) Unset by default.  This is the command run as Nth com-
>              mand in a jail after jail startup, where N is 1, 2, and so on.
>
>     jail_<jname>_exec_poststart<N>
>             (str) Unset by default.  This is the command run as Nth com-
>             mand after jail startup, where N is 0, 1, and so on. It is
>             run outside the jail.

And that's it! I have my jails on 7.x (same machines as was in time of 
my first question about cpuset) and 7.2 have not exec_poststart in 
rc.conf or rc.d/jail.
exec_poststart is available only on 8.0+
I can imagine solution with exec_poststart.

Will it be merged to 7-STABLE or should I do it in my private copy?

Thank you for your clarification of this issue.

Miroslav Lachman


More information about the freebsd-jail mailing list