[lxc-devel] Unprivilege containers do not work on kernel 3.14.8, 3.15.1

KATOH Yasufumi karma at jazz.email.ne.jp
Fri Jun 20 17:47:54 UTC 2014


>>> On Fri, 20 Jun 2014 17:15:58 +0000
    in message   "Re: [lxc-devel] Unprivilege containers do not work on kernel 3.14.8, 3.15.1"
                  Serge Hallyn-san wrote:

> Why is this an error?  Is it bc you did 'chown file' instead of
> 'chown 0 file'? :)

Oops! (^_^;) That is typo when I wrote the mail. 

I ran the same way as you:

> lxc-usernsexec -m u:0:100000:1 -m u:1000:1000:1 -m g:0:100000:1 -m g:100:100:1 -- chown 0 /dev/pts/3

then, error
  chown: changing ownership of '/dev/pts/3': Operation not permitted

The owning group of /dev/pts/* is 'tty' group. Isn't it related?

-- 
==============================================
((((    加藤泰文
○-○                karma @ jazz.email.ne.jp
==============================================
 (Web Page) http://www.ten-forward.ws/
==============================================


More information about the lxc-devel mailing list