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

Serge Hallyn serge.hallyn at ubuntu.com
Fri Jun 20 18:33:40 UTC 2014


Quoting KATOH Yasufumi (karma at jazz.email.ne.jp):
> >>> 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?

Oh, yeah, then you'll need to make it

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


More information about the lxc-devel mailing list