Mainly just wondering: why is there no real init process for each
vserver?  At first, I thought that there was one, and that it's pid is
translated to 1 inside vserver context. But then I realized that the
process arguments, '[2]', is always representing the runlevel of the
host, not the vserver.

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1 10.8  0.0  1276  488 ?        S    02:08   0:04 init [2]       

Then I also understood why /dev/initctl doesn't exist inside vserver,
simply because there is no real init process.

But how is stuff handled that init usually does, like restarting
services? And wouldn't it be nice if one could 'telinit
<another_runlevel>' inside vserver? Shutdown would probably even work
without -f flag.

Christian.

_______________________________________________
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to