Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 2004 23:41:01 +0200
From:      Harald Schmalzbauer <h@schmalzbauer.de>
To:        freebsd-questions@freebsd.org
Cc:        Gerald Holguin <gerald.holguin@nmnet.us>
Subject:   Re: Problem starting jail
Message-ID:  <200404242341.01648.h@schmalzbauer.de>
In-Reply-To: <000a01c429b3$28dc0850$250aa8c0@office>
References:  <000a01c429b3$28dc0850$250aa8c0@office>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary-02=_t7tiAVELcnB7geX
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Am Samstag, 24. April 2004 06:18 schrieb Gerald Holguin:
> Hello,
> I am running FreeBSD 4.9.
>
> I am new to Unix (great learning).
>
> I have setup the jail according to the man page with no errors and upon
> completion while trying to start the jail I get this error:
>
> bsdbox# jail -u root /home/jail/192.168.10.3/ ecj 192.168.10.3 /bin/sh
> jail: execv: /bin/sh: No such file or directory
>
> I have also tried to start the box with the following invocation:
> bsdbox# jail /home/jail/192.168.10.3/ ecj 192.168.10.3 /bin/sh and I get
> the same error:
> "jail: execv: /bin/sh: No such file or directory"
>
> The /bin/sh file does in fact exist under the host environment.

You need /bin/sh in the jail environment! It's the first process which gets=
=20
started in the jail.

=2DHarry


>
> Anyone have some advice?
>
> Gerald
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"

=2D-=20
Please never add my reply address to CC nor to the recipient list!
If you make "answers to all" please remove my address!!!!!!!!!!!!!
I'll complain if I see my reply address on any mailinglist!!!!!!!!

--Boundary-02=_t7tiAVELcnB7geX
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD4DBQBAit7tBylq0S4AzzwRAhVOAJ9h89+F87o3HG2a3q7woZ0j96c8tQCYr6Wt
t8rVMAWRoV8M2/BiV/gbjQ==
=99xJ
-----END PGP SIGNATURE-----

--Boundary-02=_t7tiAVELcnB7geX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404242341.01648.h>