Answer the question
In order to leave comments, you need to log in
Understand how ezjail works?
I just can not figure out how to "correctly" mount the ports.
so, I install on FreeBSD 9 (version, however, is not important) ezjail
1. cd `whereis ezjail` && make install
2. ezjail-admin install
3. ezjail-create jailname jailip
A jail is created based on basejail, while /usr is a symlink on /basejail/usr
and basejail itself is mounted using nullfs in a read-only
task so that ports from the host system are mounted in jail in /usr/ports.
Solutions that did not help me:
1. ln -s /usr/ports /usr/jails/basejail/usr/
2. mount -t nullfs /usr/ports /usr/jails/basejail/usr/ports
Alternatively, disable the setting basejail (By the way, how? but I suspect on ezjail.conf :) )
Actually the question is how do you set up your jails and how do you deal with ports?
Answer the question
In order to leave comments, you need to log in
> Actually the question is how do you set up your jails and how do you deal with ports?
hands. Working with jails on FreeBSD is not that difficult. Ports are mounted via nullfs without problems.
Thank you!
I just don't understand what to do in the case of a standard setup with Basejail :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question