Linux Container Development
 help / color / mirror / Atom feed
From: "Serge E. Hallyn" <serge-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>
To: ccmail111 <ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: cgroup tasks file error
Date: Tue, 14 Dec 2010 17:13:09 +0000	[thread overview]
Message-ID: <20101214171309.GA7133@mail.hallyn.com> (raw)
In-Reply-To: <903526.98695.qm-I5qWG7eNxUOvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.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

  parent reply	other threads:[~2010-12-14 17:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-14  1:27 cgroup tasks file error ccmail111
     [not found] ` <478892.90636.qm-m6GApcO8MwWvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2010-12-14  1:34   ` Li Zefan
     [not found]     ` <4D06C996.9010101-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2010-12-14  2:50       ` ccmail111
     [not found]         ` <903526.98695.qm-I5qWG7eNxUOvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2010-12-14 17:13           ` Serge E. Hallyn [this message]
2010-12-14  9:31       ` Greg Kurz
     [not found]         ` <4D07398D.9050002-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2010-12-14 17:17           ` ccmail111
  -- strict thread matches above, loose matches on Subject: below --
2010-12-13 22:25 ccmail111
     [not found] ` <149701.57773.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2010-12-13 23:16   ` Serge E. Hallyn
     [not found]     ` <20101213231628.GA8624-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>
2010-12-14  1:02       ` Matt Helsley
     [not found]         ` <20101214010243.GC26523-52DBMbEzqgQ/wnmkkaCWp/UQ3DHhIser@public.gmane.org>
2010-12-14  7:28           ` ccmail111
     [not found]             ` <464217.68381.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2010-12-14  9:39               ` Jue Hong
     [not found]                 ` <AANLkTi=tpq0Jo9WAd5eu=fP2bLaSG6iLpHtAVR1xe=Ub-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-14 17:33                   ` ccmail111
     [not found]                     ` <166364.22607.qm-VjZBGxy5l2evuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2010-12-14 17:40                       ` Serge Hallyn
2010-12-14 19:23                         ` ccmail111
2010-12-14 17:41                       ` Balbir Singh
     [not found]                         ` <AANLkTi=gR2JVXf0uidRMZo7s88th1wu-4+AbC0ZwRUJk-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-14 18:22                           ` ccmail111
     [not found]                             ` <478906.58374.qm-NvXQCeNhX6ivuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2010-12-15 17:51                               ` Balbir Singh
     [not found]                                 ` <20101215175158.GB9587-SINUvgVNF2CyUtPGxGje5AC/G2K4zDHf@public.gmane.org>
2010-12-15 22:08                                   ` ccmail111
2010-12-14  1:23       ` ccmail111

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101214171309.GA7133@mail.hallyn.com \
    --to=serge-a9i7lubdfnhqt0dzr+alfa@public.gmane.org \
    --cc=ccmail111-/E1597aS9LQAvxtiuMwx3w@public.gmane.org \
    --cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox