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 privileges to control 
/data1/lxc:jerry1
% cat /cgroup/lxc/jerry1/memory.usage_in_bytes
286883840

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 improved?


lxc is version 2.0.5.

Thanx in advance
Harri
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to