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