Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2011 20:04:16 -0400
From:      Glen Barber <glen.j.barber@gmail.com>
To:        Subbsd <subbsd@gmail.com>
Cc:        freebsd-jail <freebsd-jail@freebsd.org>
Subject:   Re: ip settings not work for jail 'service' type
Message-ID:  <4E276D00.1060708@gmail.com>
In-Reply-To: <CAFt_eMpx3mk2ZQ=sKRFC8kEke%2BnDQqdrs8RaGFORkLuHcmdLfA@mail.gmail.com>
References:  <CAFt_eMpx3mk2ZQ=sKRFC8kEke%2BnDQqdrs8RaGFORkLuHcmdLfA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/20/11 6:03 PM, Subbsd wrote:
> Hi
> 
> Jail configuration with "complete” works perfectly with IP4, IP6 and
> their secondary.
> But if try jailed 'service' - it does not work. For example:
> 
> 1) have uncomment:
> ftp     stream  tcp     nowait  root    /usr/libexec/ftpd       ftpd -l
> 
> 2) have jail cfg like:
> jail_enable="YES"
> jail_list="example"             # Space separated list of names of jails
> jail_example_rootdir="/"

You are pointing the jail's root directory to the host's root directory.

Please see the following Handbook chapter:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-build.html

Regards,

-- 
Glen Barber



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