]> git.proxmox.com Git - mirror_lxc.git/commit
allow lxc-init to log when rootfs not given
authorDwight Engen <dwight.engen@oracle.com>
Wed, 1 May 2013 23:07:16 +0000 (19:07 -0400)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 2 May 2013 13:19:36 +0000 (08:19 -0500)
commite0b0b533feed683ce12c94e11174019a5dac64fc
tree2c50a441e6dfb85931271d6706430b284deb9dce
parenteee3ba81c88e64b8a732694fc4843a39d5bde491
allow lxc-init to log when rootfs not given

On Mon, 29 Apr 2013 14:44:47 -0500
Serge Hallyn <serge.hallyn@ubuntu.com> wrote:

> Quoting Dwight Engen (dwight.engen@oracle.com):
> > So I did this, only to realize that lxc-init is passing "none" for
> > the file anyway, so it currently doesn't intend to log. This makes
> > me think that passing NULL for lxcpath is the right thing to do in
> > this patch. If you want me to make it so lxc-init can log, I can do
> > that but I think it should be in a different change :)
>
> That actually would be very useful, but as you say that's a different
> feature - thanks.

... and here is said change.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/execute.c
src/lxc/log.c
src/lxc/lxc_init.c