New jail related rc.conf variable

Kirk Strauser kirk at strauser.com
Sun Mar 28 08:52:58 PST 2004


At 2004-03-26T22:57:40Z, jeremie le-hen <jeremie.le-hen at epita.fr> writes:

> Therefore, I though that the jail rc script was laking of flexibility in
> sense that there is no simple way to do some unusual configuration before
> starting the jail and I decided to add a `jail_example_pre_exec' variable
> in rc.conf which is simply a command to execute before jailing.

Alternatively, I'm still developing and using my JailAdmin scripts
(available at http://subwiki.honeypot.net/cgi-bin/view/Freebsd/JailAdmin) .
They provide functionality similar to /etc/rc.jail, but additionally provide
the ability to mount filesystems before starting a jail and unmount them
after stopping it, to manage an arbitrary number of named jails, and to get
some statistics from running jails via SNMP.

It's been a little while since the last update, but it still works correctly
on -CURRENT systems.  I'm anticipating a few changes in the near future,
possibly including packing the system as a port.
-- 
Kirk Strauser

"94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040328/6c0c3bc5/attachment.bin


More information about the freebsd-current mailing list