AW: [Users] init output

Kirill Korotaev dev at sw.ru
Tue Dec 11 04:26:32 EST 2007


or you can replace /sbin/init with some script adding this to env
and running original init binary.

Kirill

Dietmar Maurer wrote:
> 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
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
> 



More information about the Users mailing list