|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Jails - mount: /usr/home: No such file or directory
Hi Guys,
Just setup a jail using this guide. I decided to locate my jail at /home/jail/irc rather than /usr/jail/irc because i have more space there. I've got to the step where i fire it up... Code:
root# /bin/sh /etc/rc ... Configuring jails:. Starting jails:df: /usr/home/jail/irc/dev: No such file or directory mount: /usr/home: No such file or directory /etc/rc: WARNING: devfs_domount(): Unable to mount devfs on /usr/home/jail/irc/dev /etc/rc: WARNING: devfs_mount_jail: devfs was not mounted on /usr/home/jail/irc/dev cd: can't cd to /usr/home/jail/irc/dev cannot start jail "irc": Code:
root# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad4s1a 5156012 2895792 1847740 61% / devfs 1 1 0 100% /dev /dev/ad4s1b 703931506 -1119932 648736918 -0% /home procfs 4 4 0 100% /proc devfs 1 1 0 100% /var/named/dev Thanks, Chris |
|
|||
Please post the correct configs
Personally I use ezjail and have never looked back -- any particular reason you decided to use the traditional method? |
|
|||
Code:
root# cat /etc/rc.conf ... # Jails - general jail_set_hostname_allow="NO" jail_enable="YES" jail_list="irc" jail_interface="re0" jail_devfs_enable="YES" jail_procfs_enable="YES" # Jails - specific jail_irc_rootdir="/usr/home/jail/irc" jail_irc_hostname="jail0.domain.com" jail_irc_ip="x.x.250.143" #jail_irc_devfs_ruleset="jail_ruleset" jail_irc_devfs_ruleset="devfsrules_jail" |
|
|||
Dear oh dear i made such a silly error, I can't believe i took so long to realise
Code:
# Jails - specific jail_irc_rootdir="/usr/home/jail/irc" should be jail_irc_rootdir="/home/jail/irc" Thx guys lol ---Edit--- Yeah anomie i was also surprised to see /home/ existing rather than /usr/home, I don't know if that was the default for FreeBSD 7.0-Release (unlikely) or weather the data center configured it that way for some reason. Last edited by chris; 6th August 2008 at 10:31 PM. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
strange "~" directory in home directory | gosha | OpenBSD General | 5 | 23rd February 2009 06:12 PM |
FTP users sharing same home directory | phreud | FreeBSD General | 6 | 11th November 2008 10:11 PM |
jails, aliasing, router, and dmz? | neurosis | FreeBSD Security | 17 | 7th November 2008 03:47 AM |
NFS mount /usr/home? | giddyupman | FreeBSD General | 1 | 1st September 2008 07:06 PM |
Jails, ezjail, apache, very newbie question. | neurosis | FreeBSD General | 15 | 23rd August 2008 01:38 PM |