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

Re: [ezjail] misplaced links in jail??



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

cito AT cm.utexas DOT edu wrote:
> Hello. I am trying to get ezjail 2.0.1 going on a FreeBSD 6.2 prerelease
> system (all sources and ports updated) but I get the following error
> when starting a jail:
> 
> # /usr/local/etc/rc.d/ezjail.sh start
>  ezjailConfiguring jails:.
> Starting jails: cannot start jail "testjail":
> jail: execv: /bin/sh: No such file or directory
> .
> 
> Here are the steps I followed:
> 
> 1. # cd /usr/ports/sysutils/ezjail; make && make install && make distclean
> 2. # cd /usr/jails
> 3. # ezjail-admin update -i
> 4. # ifconfig bce0 10.0.0.1 netmask 255.255.255.255 broadcast 10.0.0.1 alias
> 5. # ezjail-admin create testjail 10.0.0.1
> 6. # /usr/local/etc/rc.d/ezjail.sh start

[...]

> Same thing applies to /usr/sbin, /usr/bin, and so on. Is there a
> step I am missing? TIA for any suggestions.

Looks rather strange to me. You are calling update -i. You did build a
world before? What is the second step for? ezjail gets its root from
etc/ezjail.conf.

Did you notice anything strange during the create command? Did anything
else fail?

Thanks for reporting

  erdgeist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFFrOc7ImmQdUyYEgkRAtPXAJ4okK1yFWtvG6OSHZQF+WZTR3+V5wCfVyCT
IHeOXDVmvMbzN9USZwahXTg=
=TvNn
-----END PGP SIGNATURE-----