OpenVZ Forum


Home » Mailing lists » Users » problems with vzctl init logging patch
Re: AW: AW: problems with vzctl init logging patch [message #28259 is a reply to message #28253] Wed, 12 March 2008 16:23 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Dietmar Maurer wrote:
>> This looks good. Can you
>> (1) make it optional, i.e. retain the old behavior by default 
>> and provide a way to turn init logging on (command-line 
>> switch, or VE config
>> parameter)
>>     
>
> Ok
>
>   
>> (2) make init-logger so it would not depend on perl being 
>> available inside the container; i guess it can be rewritten 
>> in shell as /bin/sh should be there
>>     
>
> Will try. But cant we depend on perl? Perl should be available on most
> platforms. I can even add a test if perl is available, and do not start
> the logger if there is no perl?
>   

Adding a check makes sense. But first -- why do you need perl at all? Is 
there something that can't be done in shell?
>   
>> (3) add the comment to init-logger saying that this file was 
>> copied from the host system to this container and so any 
>> changes made to it inside a container will be lost during the 
>> next container start
>> (4) document it all
>> (5) add init-logger to the vzctl.spec file
>>     
>
> Ok, will send a new patch when ready.
>
> - Dietmar
>
>
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: usage of swap on host server
Next Topic: State of 2.6.24
Goto Forum:
  


Current Time: Wed Aug 20 19:32:37 GMT 2025

Total time taken to generate the page: 0.08737 seconds