When VE is stopped all processes should be finished. Userspace processes can be killed, but kernel threads cannot be stopped by this way.
You should have some guarantee that your kernel therads will be stopped by some way when VE is stopped. Otherwise you will have at least memory leakage.
On Wed, 2008-01-09 at 10:27 +0300, vaverin wrote:
>
> When VE is stopped all processes should be finished. Userspace processes can be killed, but kernel threads cannot be stopped by this way.
Okay.
> You should have some guarantee that your kernel therads will be stopped by some way when VE is stopped. Otherwise you will have at least memory leakage.
>
My kernel threads is from the Lustre filesystem which I mount ind the VE
after the VE has started. Unmounting this should stop the thread so I
should be in the clear.
Thanks
/Jakob
dev Messages: 1693 Registered: September 2005 Location: Moscow
Senior Member
From: openvz.org
Jakob Goldbach wrote:
> Hi,
>
> What securiy risks do I impose on myself when enabling kernel threads
> inside the VE ?
1. if kernel thread doesn't terminate on VE stop - VE stop will be blocked.
2. security implications can be that kernel threads usually can do things
which user space applications can't. So security implications depend
on what thread in question does.
3. if your system is quite trusted (2) is not an issue at all.
only (1) must be concerned.
Kirill