Re: [lxc-devel] please open lxc-cgroup for unprivileged monitoring

2016-11-26 Thread Serge E. Hallyn
On Tue, Nov 08, 2016 at 06:43:17AM +0100, Harald Dunkel wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Hi Serge, > > On 10/21/16 16:56, Serge E. Hallyn wrote: > > Quoting Harald Dunkel (harald.dun...@aixigo.de): > >> On 10/20/2016 03:39 PM, Serge E. Hallyn wrote: > >>> On Wed, Oct

Re: [lxc-devel] please open lxc-cgroup for unprivileged monitoring

2016-11-07 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Serge, On 10/21/16 16:56, Serge E. Hallyn wrote: > Quoting Harald Dunkel (harald.dun...@aixigo.de): >> On 10/20/2016 03:39 PM, Serge E. Hallyn wrote: >>> On Wed, Oct 19, 2016 at 02:10:59PM +0200, Harald Dunkel wrote: Following the api

Re: [lxc-devel] please open lxc-cgroup for unprivileged monitoring

2016-10-24 Thread Harald Dunkel
Hi Serge, On 10/21/2016 04:56 PM, Serge E. Hallyn wrote: > > lxc-cgroup talks to the container to find out the cgroup it is running > in. There could for instance be several containers called 'c1' (in > different lxcpaths), which could be running in cgroups c1, c1.0, and c1.1. > And for each con

Re: [lxc-devel] please open lxc-cgroup for unprivileged monitoring

2016-10-21 Thread Serge E. Hallyn
Quoting Harald Dunkel (harald.dun...@aixigo.de): > On 10/20/2016 03:39 PM, Serge E. Hallyn wrote: > > On Wed, Oct 19, 2016 at 02:10:59PM +0200, Harald Dunkel wrote: > >> > >> Following the api I am forced to use root permission or some > >> hard-to-configure sudo constructs for monitoring. This is

Re: [lxc-devel] please open lxc-cgroup for unprivileged monitoring

2016-10-21 Thread Harald Dunkel
On 10/20/2016 03:39 PM, Serge E. Hallyn wrote: > On Wed, Oct 19, 2016 at 02:10:59PM +0200, Harald Dunkel wrote: >> >> Following the api I am forced to use root permission or some >> hard-to-configure sudo constructs for monitoring. This is >> pretty painful. >> >> Do you think this could be improve

Re: [lxc-devel] please open lxc-cgroup for unprivileged monitoring

2016-10-20 Thread Serge E. Hallyn
On Wed, Oct 19, 2016 at 02:10:59PM +0200, Harald Dunkel wrote: > Hi folks, > > using an unprivileged account for monitoring lxc-cgroup > returns a "permission denied" messages for something that > is world readable in the /cgroup directory. Sample: > > % lxc-cgroup -P /data1/lxc -n jerry1 memory.

[lxc-devel] please open lxc-cgroup for unprivileged monitoring

2016-10-19 Thread Harald Dunkel
Hi folks, using an unprivileged account for monitoring lxc-cgroup returns a "permission denied" messages for something that is world readable in the /cgroup directory. Sample: % lxc-cgroup -P /data1/lxc -n jerry1 memory.usage_in_bytes lxc-cgroup: tools/lxc_cgroup.c: main: 104 Insufficent privileg