Re: Questions about Jail
Fbsd8 fb...@a1poweruser.com wrote: In most cases your jail environment will function ok as long as its the same base release level. Example, host=8.0 jail1=8.1 and jail2=8.2 IIUC, a better example would be host=8.2, jail1=8.1 and jail2=8.0. A point release is not supposed to make any incompatible changes to the kernel ABI, but it might add new interfaces not present in the older kernel. But host=8.2 and jail1=9.0 will have unknown reliability. I would say it is only an accident if (jail major kernel major) works, because the KABI will likely have changed between N.x and (N+1).x. However, host=9.0, jail1=8.x should work if the host kernel includes the COMPAT_FREEBSD8 option. Technically there is no checks stopping someone from doing this and from the outside all will look correct, but it will fail and you may lose both the host and jail. You may indeed lose the jail, but if _anything_ done in the jail is able to corrupt the host there is by definition a bug in the host's jail support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Questions about Jail
Hi I think Jail on FreeBSD 8.2 can generate 2 jailed machine using the same version of FreeBSD, for example, on a 8.2 AMD64 Jailer, I can create 2 or more FreeBSD 8.2 amd64 Jailed machine. My question is: can I install other version of FreeBSD on the Jailed environment? If yes, which steps shall I do? Still using make world or other easier way? thanks James Y Chen IT Engineering Juniper Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Questions about Jail
2012-04-03 08:20, James Y Chen skrev: Hi Hello My question is: can I install other version of FreeBSD on the Jailed environment? Since all jails use the same kernel I think you can not do that. There has been a lot of changes between versions of freebsd. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Questions about Jail
James Y Chen wrote: Hi I think Jail on FreeBSD 8.2 can generate 2 jailed machine using the same version of FreeBSD, for example, on a 8.2 AMD64 Jailer, I can create 2 or more FreeBSD 8.2 amd64 Jailed machine. My question is: can I install other version of FreeBSD on the Jailed environment? If yes, which steps shall I do? Still using make world or other easier way? In many respects a Jail is more like a super-duper chroot, as opposed to other virtualization technologies such as VMWare, Xen, or KVM hypervisor(s). The closest parallel is probably Solaris Containers, if you are familiar with Solaris. There will only be one running kernel at the heart of a jail based machine. So the bottom line short answer to your question is basically no. Possibly you may wish to read this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-intro.html -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Questions about Jail
James Y Chen wrote: Hi I think Jail on FreeBSD 8.2 can generate 2 jailed machine using the same version of FreeBSD, for example, on a 8.2 AMD64 Jailer, I can create 2 or more FreeBSD 8.2 amd64 Jailed machine. My question is: can I install other version of FreeBSD on the Jailed environment? If yes, which steps shall I do? Still using make world or other easier way? thanks James Y Chen IT Engineering Juniper Networks In most cases your jail environment will function ok as long as its the same base release level. Example, host=8.0 jail1=8.1 and jail2=8.2 But host=8.2 and jail1=9.0 will have unknown reliability. Technically there is no checks stopping someone from doing this and from the outside all will look correct, but it will fail and you may lose both the host and jail. There is a system utility called qjail that simplifies jail building. http://qjail.sourceforge.net/ Its in the ports system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org