OpenVZ Forum


Home » Mailing lists » Users » init output
AW: init output [message #24833 is a reply to message #24828] Tue, 11 December 2007 09:08 Go to previous messageGo to previous message
Dietmar Maurer is currently offline  Dietmar Maurer
Messages: 52
Registered: March 2007
Member
But I cant do that with current vzctl, instead I need to modify the
source?

env.c 301: char *envp[] = {"HOME=/", "TERM=linux",
"CONSOLE=/var/log/init.log", NULL}; 

Is that the way to do it?

- Dietmar

> you can run VE /sbin/init with environment variable CONSOLE 
> set to some file.
> in this case it's output will get into file.
> # man init
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OpenVZ specific patchset
Next Topic: Kernel 2.6.18-openvz-13-39.1d1-amd64 oops
Goto Forum:
  


Current Time: Sat Jul 20 09:24:06 GMT 2024

Total time taken to generate the page: 0.02326 seconds