I did migration 10.3 -> 11.0 today. It seems ezjail(7) is not supported any more. I know the old syntax was not supported for some time and warning was shown in 10.x.
Did anyone encountered the same problem, and even better, have a workaround for that ? Moving it all manually to /etc/jail.conf is my plan C.
jails are on ZFS, basejail synced with new userland, error shown in logs are related to missing /bin/* files:
I verified FS is mounted and ok. It seems it ignores now the /usr/local/etc/ezjail/webserver config completely.
EDIT: Ok, the error is due to the fact that ezjail fails to mount the basejail FS per jail (nullfs mount). But the problem is the same -- it seems ezjail configuration files are ignored.
Did anyone encountered the same problem, and even better, have a workaround for that ? Moving it all manually to /etc/jail.conf is my plan C.
jails are on ZFS, basejail synced with new userland, error shown in logs are related to missing /bin/* files:
Code:
jail: mail: exec /bin/sh: No such file or directory
# sh -x /usr/local/etc/rc.d/ezjail start webserver
..
..
Starting jails: cannot start jail "webserver":
5
jail: webserver: sleep 2: failed
.
/etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf.
EDIT: Ok, the error is due to the fact that ezjail fails to mount the basejail FS per jail (nullfs mount). But the problem is the same -- it seems ezjail configuration files are ignored.