View Single Post
  #5   (View Single Post)  
Old 10th February 2009
terryd terryd is offline
Port Guard
 
Join Date: Nov 2008
Posts: 22
Default

Quote:
Originally Posted by anomie View Post
Good one, terryd. I didn't know it was possible. (Hopefully OP checks this thread again eventually.)

Out of curiosity, what do your jail-related rc.conf directives look like on the host?

I was given this link off some one on another mailing list
http://markmail.org/message/3dtdyok4hxtb7hou

Because I use ezjail the settings are not in rc.conf but in the ezjail configs

Code:
cf# more /usr/local/etc/ezjail/thttpd
# To specify the start up order of your ezjails, use these lines to
# create a Jail dependency tree. See rcorder(8) for more details.
#
# PROVIDE: standard_ezjail
# REQUIRE:
# BEFORE:
#

export jail_thttpd_hostname="thttpd"
export jail_thttpd_ip="192.168.1.207"
export jail_thttpd_rootdir="/storage/ezjail/thttpd"
export jail_thttpd_exec="/bin/sh /etc/rc"
export jail_thttpd_mount_enable="YES"
export jail_thttpd_devfs_enable="YES"
export jail_thttpd_devfs_ruleset="devfsrules_jail_dhcp"
export jail_thttpd_procfs_enable="YES"
export jail_thttpd_fdescfs_enable="YES"
export jail_thttpd_image=""
export jail_thttpd_imagetype=""
export jail_thttpd_attachparams=""
export jail_thttpd_attachblocking=""
export jail_thttpd_forceblocking=""
Code:
cf# more /etc/devfs.rules
[devfsrules_jail_dhcp=5]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
add path 'bpf*' unhide
add path net unhide
add path 'net/*' unhide
Reply With Quote