On Fri, 1 Aug 2008, Redd Vinylene wrote:
Hi,
# patch -p6 < bz_jail7-20080727-11-at146062.diff
could be that it needs to be -p7
Try with patch -C -p6/7 (with -C) first and check that it does not complain.
Yeah that's more like it ;)
On Fri, Aug 1, 2008 at 10:05 AM, Redd Vinylene <[EMAIL PROTECTED]> wrote:
Big ups to Bjoern A. Zeeb for his multiple IP patch as well as his
friendly support service ;)
I'd just like to confirm, however, if this is how it's done?
# cd /usr/src
# wget http://people.freebsd.org/~bz/bz_jail7-20080727-11-at146062.diff
preferably use "fetch" as it comes with base;-)
# patch -p6 bz_jail7-20080727-11-at146062.diff
see above
# make buildworld
# make buildkernel KERNCONF=GENERIC
# make installworld
# make installkernel KERNCONF=GENERIC
you do not need KERNCONF=GENERIC (that's the default) for both
commands.
# mergemaster -U
Now to the jail part (this is exactly how I created the jail in the first place)
# export D=/usr/jail/camel
# mkdir -p $D
# make world DESTDIR=$D
that should be make installworld DESTDIR=$D
# cd etc/
nope, no longer needed
# make distribution DESTDIR=$D
yes
# mount -t devfs devfs $D/dev
Rather not. Set jail_camel_devfs_enable="YES" in /etc/rc.conf
(assuming the `name' of the jail will be camel). See the Jails section
at the end of /etc/defaults/rc.conf for the other options.
The IP addresses will need to be given as a ',' sepcarated list like:
jail_camel_ip="192.0.2.1,192.0.2.17,192.0.2.255"
You'll need a reboot somewhen for the new kernel etc.
you can do
sh /etc/rc.d/jail stop
sh /etc/rc.d/jail start
sh /etc/rc.d/jail stop camel
sh /etc/rc.d/jail start camel
...
I hope that helps.
--
Bjoern A. Zeeb Stop bit received. Insert coin for new game.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "[EMAIL PROTECTED]"