hi everyone,

I saw a lot of messages about this so here is it - i just patched it (took
me a day but okay :)

i just downloaded the latest src using this sup file - cvsup:
http://www.royalshells.com/download/freebsd/stable-supfile

# cvsup stable-supfile


i applied the following patch (which i changed to get to work with the
current src):
http://www.royalshells.com/download/freebsd/bz_jail7-20080727-11-at146062-Fixed_By_Sody_1.10.08.diff

to patch do:
# cd /usr/src
# patch -p6 < bz_jail7-20080727-11-at146062-Fixed_By_Sody_1.10.08.diff

after done re-compile the kernel:
# cp /usr/src/sys/netinet/in_pcb.h /usr/include/netinet/
# cp /usr/src/sys/sys/jail.h /usr/include/sys/

clean obj dir:
-------------------
# rm -Rf /usr/obj/*

compile jail and jls:
----------------------------
# cd /usr/src/usr.sbin/jail/
# make clean && make depend && make install
# cd /usr/src/usr.sbin/jls/
# make clean && make depend && make install

compile the kernel:
-----------------------------
# cd /usr/src
# make buildworld
# make buildkernel KERNCONF=GENERIC
# make installworld
# make installkernel KERNCONF=GENERIC
# mergemaster -U

after reboot:
# uname -a
FreeBSD server.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Sep 30
20:03:00 UTC 2008     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
i386
#

check the patch:
# jail
usage: jail [-hi] [-n jailname] [-J jid_file] [-s securelevel] [-l -u
username | -U username] path hostname [ip[,..]] command ...
#

Enjoy.

Sami
_______________________________________________
freebsd-jail@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to