Re: [Vserver] bug when starting without daemons

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Wed 29 Mar 2006 - 17:53:15 BST
Message-ID: <442ABB7B.4080208@hozac.com>

Oliver Welter wrote:
> Hi Boris,
>
> this is more or less expected behaviour...
> vServer does not really run an own "linux" inside the compartments but
> only does process separation.
> What init-type are you running - I guess that if you use fakeinit, at
> least the init-process will reside in the namespace.
>
> To circumvent the problem I wrote a litte helper that simply sleeps
> infinitely inside the server.

With recent patches, i.e. 2.0.2-rc11+ or 2.1.0+, you can also set the
persistent flag to keep the context around even after all processes die.
For util-vserver, this means adding ^38 to the flags file.

-- 
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Mar 29 17:53:45 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 29 Mar 2006 - 17:53:52 BST by hypermail 2.1.8