FreeBSD Jails: Difference between revisions

From DWIKI
No edit summary
No edit summary
Line 23: Line 23:
==jls shows stopped jail==
==jls shows stopped jail==
  something is still in use.
  something is still in use.
=Notes=
sysinstall _ftpPath=ftp://ftp.FreeBSD.org/pub/FreeBSD/ nonInteractive=yes mediaSetFTP
              releaseName=7.1-RELEASE dists=base distSetCustom installRoot=<JAILDIR> installCommit

Revision as of 07:30, 2 March 2009

Documentation

FAQ

ln: /dev/log: Operation not permitted

How to see which jails are active?

jls


(dis) allow icmp

sysctl security.jail.allow_raw_sockets

enter a jail

Get the JID of the jail to enter

jls

Then enter jail 2 with your shell of choice

jexec 2 csh

jls shows stopped jail

something is still in use.

Notes

sysinstall _ftpPath=ftp://ftp.FreeBSD.org/pub/FreeBSD/ nonInteractive=yes mediaSetFTP

             releaseName=7.1-RELEASE dists=base distSetCustom installRoot=<JAILDIR> installCommit