You need to rebuild jls(8) and to use the new features jail(8), jexec(8) and cpuset(1) with a new kernel

Wow, that message is shown when I check UPDATING after latest csup to STABLE.

20090207:
Multi-IPv4/v6/no-IP jail support was merged to STABLE.
You need to rebuild jls(8) and to use the new features
jail(8), jexec(8) and cpuset(1) with a new kernel.
__FreeBSD_version was bumped to 701103.

Try to do that :

# cd /usr/src/usr.sbin/jls/

# make clean && make depend && make && make install
rm -f jls jls.o jls.8.gz jls.8.cat.gz
rm -f .depend
mkdep -f .depend -a    -DSUPPORT_OLD_XPRISON /usr/src/usr.sbin/jls/jls.c
echo jls: /usr/lib/libc.a  >> .depend
cc -O2 -fno-strict-aliasing -pipe  -DSUPPORT_OLD_XPRISON -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /usr/src/usr.sbin/jls/jls.c
/usr/src/usr.sbin/jls/jls.c: In function ‘print_xprison_v1’:
/usr/src/usr.sbin/jls/jls.c:56: error: invalid application of ‘sizeof’ to incomplete type ‘struct xprison_v1’
/usr/src/usr.sbin/jls/jls.c:62: error: dereferencing pointer to incomplete type
/usr/src/usr.sbin/jls/jls.c:62: error: dereferencing pointer to incomplete type
/usr/src/usr.sbin/jls/jls.c:62: error: dereferencing pointer to incomplete type
/usr/src/usr.sbin/jls/jls.c:66: error: dereferencing pointer to incomplete type
/usr/src/usr.sbin/jls/jls.c:70: error: dereferencing pointer to incomplete type
/usr/src/usr.sbin/jls/jls.c:70: error: dereferencing pointer to incomplete type
/usr/src/usr.sbin/jls/jls.c:70: error: dereferencing pointer to incomplete type
/usr/src/usr.sbin/jls/jls.c:73: error: invalid use of undefined type ‘struct xprison_v1’
/usr/src/usr.sbin/jls/jls.c: In function ‘print_xprison_v3’:
/usr/src/usr.sbin/jls/jls.c:92: error: ‘struct xprison’ has no member named ‘pr_state’
/usr/src/usr.sbin/jls/jls.c:92: error: ‘struct xprison’ has no member named ‘pr_state’
/usr/src/usr.sbin/jls/jls.c:93: error: ‘prison_states’ undeclared (first use in this function)
/usr/src/usr.sbin/jls/jls.c:93: error: (Each undeclared identifier is reported only once
/usr/src/usr.sbin/jls/jls.c:93: error: for each function it appears in.)
/usr/src/usr.sbin/jls/jls.c:93: error: invalid application of ‘sizeof’ to incomplete type ‘struct prison_state’
/usr/src/usr.sbin/jls/jls.c:96: error: ‘struct xprison’ has no member named ‘pr_state’
/usr/src/usr.sbin/jls/jls.c:101: error: ‘struct xprison’ has no member named ‘pr_ip4s’
/usr/src/usr.sbin/jls/jls.c:104: error: ‘struct xprison’ has no member named ‘pr_ip6s’
/usr/src/usr.sbin/jls/jls.c:117: error: ‘struct xprison’ has no member named ‘pr_name’
/usr/src/usr.sbin/jls/jls.c:117: error: ‘struct xprison’ has no member named ‘pr_name’
/usr/src/usr.sbin/jls/jls.c:122: error: ‘struct xprison’ has no member named ‘pr_cpusetid’
/usr/src/usr.sbin/jls/jls.c:127: error: ‘struct xprison’ has no member named ‘pr_ip4s’
/usr/src/usr.sbin/jls/jls.c:131: error: ‘struct xprison’ has no member named ‘pr_ip4s’
/usr/src/usr.sbin/jls/jls.c:139: error: ‘struct xprison’ has no member named ‘pr_ip6s’
/usr/src/usr.sbin/jls/jls.c:142: error: ‘struct xprison’ has no member named ‘pr_ip6s’
*** Error code 1

Whoaa….

Checking Version

# uname -v
FreeBSD 7.1-STABLE #0: Wed Feb  4 10:20:35 WIT 2009

I see, I’ll need new kernel 🙂

Tags: