[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] Problem creating/starting jails

On Mon, 2012-04-09 at 13:00 -0400, Mike Jakubik wrote:
> On Mon, 2012-04-09 at 18:57 +0200, Dirk Engling wrote:
> > On Mon, 9 Apr 2012, Mike Jakubik wrote:
> > 
> > > I tried with the latest version from CVS, here is what happens.
> > 
> > > cp: EZJAIL_PREFIX/share/examples/ezjail/example: No such file or
> > > directory
> > 
> > Did you use "make install" from your checkout or did you just copy 
> > ezjail-admin to /usr/local/bin?
> > 
> >    erdgeist
> I just copied the script, i thought i could just replace it. I'll
> download the whole thing and run make on it.

Deleted everything, fresh checkout and make install.

update -i runs fine, here is create:

3276 blocks
jls: unknown parameter: host
jls: unknown parameter: host

root AT jail DOT local:/jails# /usr/local/etc/rc.d/ezjail start
 ezjailConfiguring jails:.
Starting jails: cannot start jail "web": 

Here is the contents web file.

# cat /usr/local/etc/ezjail/web 
# 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

export jail_web_hostname="web"
export jail_web_ip=""
export jail_web_rootdir="/jails/web"
export jail_web_exec_start="/bin/sh /etc/rc"
export jail_web_exec_stop=""
export jail_web_mount_enable="YES"
export jail_web_devfs_enable="YES"
export jail_web_devfs_ruleset="devfsrules_jail"
export jail_web_procfs_enable="YES"
export jail_web_fdescfs_enable="YES"
export jail_web_image=""
export jail_web_imagetype=""
export jail_web_attachparams=""
export jail_web_attachblocking=""
export jail_web_forceblocking=""
export jail_web_zfs_datasets=""
export jail_web_cpuset=""
export jail_web_fib=""