OpenVZ Forum


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

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)
(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
(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

Dietmar Maurer wrote:
> Ok, exec solves the problem. Attached is the new patch.
>
 
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 05:52:26 GMT 2025

Total time taken to generate the page: 0.08630 seconds