Re: [lxc-users] library start() API from process name having spaces

2018-07-05 Thread Chaetoo3
> You mean it wouldn't change from "my binary --with --args" to "[lxc monitor]? Yes, exactly like that. It seems to me that proc stat file is for machine parsing, but is not so convenient for machine parsing. I do not know if there is an official technique. There are some ways, but they all se

Re: [lxc-users] library start() API from process name having spaces

2018-07-05 Thread Tycho Andersen
On Thu, Jul 05, 2018 at 03:42:55PM +0200, Christian Brauner wrote: > On Wed, Jul 04, 2018 at 03:23:19PM -0400, Chaetoo3 wrote: > > Hi! > > > > I try to use the liblxc start() API from my process and it worked, but > > I notice it would not set the process name for the container process > > as it w

[lxc-users] Convert system bridge to lxc managed network

2018-07-05 Thread Andriy Tovstik
Hi, all! Could anyone explain me, what is the best way to convert unmanaged lxc network built over system defined bridge to the same bridge but managed by lxc network framework? -- WBR, Andrey Tovstik ___ lxc-users mailing list lxc-users@lists.linuxcont

Re: [lxc-users] library start() API from process name having spaces

2018-07-05 Thread Christian Brauner
On Wed, Jul 04, 2018 at 03:23:19PM -0400, Chaetoo3 wrote: > Hi! > > I try to use the liblxc start() API from my process and it worked, but > I notice it would not set the process name for the container process > as it would do from the lxc-start command line. Instead the container > process staye