Hello,
After a successful upgrade FreeBSD 9.0 RELEASE to 9.1 RELEASE:
I got problems with my jails which I control with ezjail-admin. I did upgrade the jails with:
and tried to start them after a reboot of the host system. But the result looks like this:
I also tried to start them with
The ezjail configuration file for this jail seems to be ok and filled with a hostname:
I also tried
but don't think that this was the problem.
I am very thankful for any suggestions.
After a successful upgrade FreeBSD 9.0 RELEASE to 9.1 RELEASE:
Code:
FreeBSD my.domain 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
I got problems with my jails which I control with ezjail-admin. I did upgrade the jails with:
Code:
ezjail-admin update -b
ezjail-admin update -p -i
and tried to start them after a reboot of the host system. But the result looks like this:
Code:
sudo ezjail-admin start www
Configuring jails:.
Starting jails:eval: 1: Syntax error: redirection unexpected
Error: Could not start www.
You need to start it by hand.
I also tried to start them with
Code:
sudo /etc/rc.d/jail onestart www
Configuring jails:.
Starting jails:/etc/rc.d/jail: ERROR: jail: No hostname has been defined for www
The ezjail configuration file for this jail seems to be ok and filled with a hostname:
Code:
vi /usr/local/etc/ezjail/www
export jail_www_hostname="www"
export jail_www_ip="10.0.0.2"
export jail_www_rootdir="/usr/jails/www"
export jail_www_exec_start="/bin/sh /etc/rc"
export jail_www_exec_stop=""
export jail_www_mount_enable="YES"
export jail_www_devfs_enable="YES"
export jail_www_devfs_ruleset="devfsrules_jail"
export jail_www_procfs_enable="YES"
export jail_www_fdescfs_enable="YES"
export jail_www_image=""
export jail_www_imagetype=""
export jail_www_attachparams=""
export jail_www_attachblocking=""
export jail_www_forceblocking=""
export jail_www_zfs_datasets=""
export jail_www_cpuset=""
export jail_www_fib=""
I also tried
Code:
sysctl security.jail.mount_allowed="1"
but don't think that this was the problem.
I am very thankful for any suggestions.