From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Serge E. Hallyn" Subject: Re: cgroup tasks file error Date: Tue, 14 Dec 2010 17:13:09 +0000 Message-ID: <20101214171309.GA7133@mail.hallyn.com> References: <4D06C996.9010101@cn.fujitsu.com> <903526.98695.qm@web34207.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <903526.98695.qm-I5qWG7eNxUOvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: ccmail111 Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: containers.vger.kernel.org Quoting ccmail111 (ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org): > 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