[Devel] Re: cgroup tasks file error

Serge E. Hallyn serge at hallyn.com
Tue Dec 14 09:13:09 PST 2010


Quoting ccmail111 (ccmail111 at yahoo.com):
> Hi Li,
> 
> uid is already root:
> 
> [host:/dev/cgroup]$ id
> uid=0(root) gid=0(root) groups=0(root)
> 
> 
> [host:/dev/cgroup]$ echo 580 > tasks
> -bash: echo: write error: Operation not permitted
> 
> [host:/dev/cgroup]$ cat hello/tasks
> 580
> 610
> 2104
> [host:/dev/cgroup]$

Could you give:
	ls -lZd /dev/cgroup /dev/cgroup/tasks
	id -Z
	ls -laFZ /dev/cgroup/
	cat /dev/cgroup/*
	mount

I'm wondering whether an lsm is stopping you.

-serge
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list