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

Re: [ezjail] Problem creating/starting jails



On Fri, 2012-04-06 at 14:15 +0200, Dirk Engling wrote:
> On 05.04.12 20:20, Mike Jakubik wrote:
> 
> > jls: unknown parameter: host
> > jls: unknown parameter: host
> 
> This is strange, possibly an odd expansion occured on an not properly
> quoted .* in my regex, I fixed that in CVS, could you please retry?
> 

Hello,

I tried with the latest version from CVS, here is what happens.

# ezjail-admin update -i

...
73513 blocks
/usr/jails/basejail/usr/lib32
/usr/jails/basejail/usr/lib32/dtrace
/usr/jails/basejail/usr/lib32/i18n
0 blocks
cp: EZJAIL_PREFIX/share/examples/ezjail/example: No such file or
directory

# ezjail-admin create web 10.57.227.98

...
/usr/jails/web/./basejail
3275 blocks
/usr/local/bin/ezjail-admin: cannot create EZJAIL_PREFIX/etc/ezjail/web:
No such file or directory
jls: unknown parameter: host
jls: unknown parameter: host

# /usr/local/etc/rc.d/ezjail start
 ezjailroot AT jail DOT local:/jails# 

# ls /jails/
total 32812
drwxr-xr-x   3 root  wheel      1024 Apr  9 12:47:56 2012 ./
drwxr-xr-x  18 root  wheel       512 Apr  3 17:42:52 2012 ../
-r--------   1 root  wheel  33554432 Apr  2 09:11:11 2012 .sujournal
drwxr-xr-x   3 root  wheel       512 Apr  9 12:47:27 2012 EZJAIL_PREFIX/

Script completely ignored the conf file where i defined
"ezjail_jaildir=/jails", it installed to /usr/jails instead.

> > # /usr/local/etc/rc.d/ezjail start
> >  ezjailConfiguring jails:.
> > Starting jails: cannot start jail "web": 
> 
> Can you please paste the content of /usr/local/etc/ezjail/web ? Do you
> have other jails that might share an IP address with the web jail? Most
> commonly a "cannot start jail" happens for IP address collisions.


# ls /usr/local/etc/ezjail/web
ls: /usr/local/etc/ezjail/web: No such file or directory

There is no IP collision, this is the only extra IP on the system and
there are no other jails.