Yiannis wrote:
Hello,
I am running hardened gentoo with the toolchain provided by the
xake-toolchain overlay. I am looking for a way to use virtualization
with my current config. I am aware of linux-vserver project which has
grsecurity integration, but as far as I remember does not play well
with rbac. Anyone that has a similar working config?
I use hardened host (2.6.29) with vserver. Under this I run hardened
guests. All of these are old style hardened (gcc 3.4.6, not the new
gcc4 stuff. (As an aside, even uclibc+patches now seems to work ok on
gcc4.4.1 + hardened, so I think it's about time we had a push to try and
get the hardened profile to shuffle along a bit...)
I am not currently using the RBAC features of grsec, but I don't
immediately see a reason why they wouldn't work.... I guess it's
possible they would need to be implemented in the host rather than the
guest (which would feel a bit wierd), but it should still work I guess...
All other hardenings seem to work as advertised and generally speaking
vserver is a nice lightweight, pseudo virtualisation which is often good
enough for your needs... It's really just a slightly more fancy chroot
system with some scripts around it and some additional hardening (and
all the associated limitations). Xen, etc are the way you want to go if
you need full isolation. However, vserver allows you to more neatly
overcommit machine resources and has a number of other advantages
Good luck
Ed W