jail_list not working

claudiu vasadi claudiu.vasadi at gmail.com
Sat Feb 6 19:26:24 UTC 2010


Hello folks,

I need you help about this issue. If I write more than 1 jail inside the
"jail_list" in rc.conf, neither of the jails are started.

my system is a vmware workstation machine, with guest os freebsd
8.0-release. nothing is changed in the OS.

here is the rc.conf:

hostname="freebsd2"
ifconfig_em0="DHCP"
ifconfig_em0_alias="192.168.0.21"
#ifconfig_em0="inet 192.168.0.11 netmask 255.255.255.0 broadcast
192.168.0.255"
#defaultrouter="192.168.0.1"
moused_enable="YES"
sshd_enable="YES"
hald_enable="YES"
dbus_enable="YES"
zfs_enable="YES"
#ifconfig_vxn0="dhcp"

#pf_enable=YES
#apache22_enable="YES" # Apache is running in jail


############################# Jails
############################################

jail_enable="YES"    # Set to NO to disable starting of any jails
jail_list="apache georgi"     # Space separated list of names of jails

# Apache Jail settings
jail_apache_rootdir="/jails/apache"     # jail's root directory
jail_apache_hostname="apache.da1.ro"  # jail's hostname
jail_apache_interface="em0"
jail_apache_ip="192.168.0.21"           # jail's IP address
jail_apache_devfs_enable="YES"          # mount devfs in the jail
#jail_apache_devfs_ruleset="apache_ruleset" # devfs ruleset to apply to jail

# Georgi Jail settings
jail_georgi_rootdir="/jails/georgi"     # jail's root directory
jail_georgi_hostname="georgi.da1.ro"  # jail's hostname
jail_georgi_interface="em0"
jail_georgi_ip="192.168.0.22"           # jail's IP address
jail_georgi_devfs_enable="YES"          # mount devfs in the jail
#jail_georgi_devfs_ruleset="georgi_ruleset" # devfs ruleset to apply to jail



If I write only 1 jail, it starts without any problems. but if I put more
than 1, either none of them start, either the first one starts (always the
first one).

No errors in /var/log/messages and no errors in stdout while os load.


googleing since this morning. any ideea ?


More information about the freebsd-questions mailing list