On 3/10/11 9:13 PM, Subbsd wrote:
Hi.

i have a server with FreeBSD-current (9) kernel and core system that
runs a dozen JAIL-s - some of them is FreeBSD 8x environment , and
part is surrounded on FreeBSD 7x.
My question - despite on COMPAT_FREEBSD{4-7} in the kernel, utilities
do not use those structures in the nucleus, which belong to their
release. For example, the utility in
jail shows:

sockstat: struct xtcpcb size mismatch
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS

The COMPAT_FREEBSD is not transparent for utilites? is it possible to
have the newer kernel with the minimum of the system, but have JAIL
with earlier versions of FreeBSD environments, where it will work
sockstat (and perhaps some others)? Thanks
_______________________________________________
freebsd-hack...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

yes there is a small set of system utilities for which this is true.
the answer is generally to compile up some staticly linked versions of those tools
and supply them in the jail as replacements for the standard ones.

a very quick way to do this is to use the ones in /rescue.
(note they are all the same binary, don't make multiple copies..)
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to