thejail {
path = "/usr/jails/thejail";
....
mount.fstab="/etc/fstab.thejail";
}
/usr/home/myself/Downloads /usr/jails/thejail/usr/home/myself/Downloads nullfs rw,late 0 0
/tank/srv /usr/jails/back1/mnt/srv nullfs rw,late 0 0
cat /var/run/jail.*.conf >> /etc/jail.conf
Starting jails:/etc/rc.d/jail: WARNING: /var/run/jail.srv.conf is created and used for jail srv.
/etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf.
/usr/local/etc/ezjail/
then jail can't be started with not found error.What are you trying to do? Are you using the standard jail tools or ezjail or mixed them up? Are you want to convert your ezjail jails to the standard jail tools? BTW, you don't have to care about this message:I would try to use the jail conf way. But after:
Code:cat /var/run/jail.*.conf >> /etc/jail.conf
still have this warning:
Code:Starting jails:/etc/rc.d/jail: WARNING: /var/run/jail.srv.conf is created and used for jail srv. /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf.
if I remove files in/usr/local/etc/ezjail/
then jail can't be started with not found error.
/etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf.