GNU bug report logs -
#21226
FAIL: tests/containers.scm
Previous Next
Reported by: Jochem Raat <jchmrt <at> riseup.net>
Date: Sun, 9 Aug 2015 23:12:01 UTC
Severity: normal
Done: David Thompson <dthompson2 <at> worcester.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[ Forgot to "Reply All". Re-sending to bug tracker ]
On Mon, Aug 10, 2015 at 4:23 AM, Jochem Raat <jchmrt <at> riseup.net> wrote:
> On 10-08-15 02:10, Thompson, David wrote:
>> Hello Jochem,
>>
>> Thanks for the report. I've done some work to fix these in our
>> master, but perhaps you have a situation that I haven't addressed.
>> The container functionality requires a relatively recent version (3.8,
>> I think) of Linux in order to work.
>>
>> What version of Linux are you using?
>
> I think I am running linux 3.13 ('uname -r' returns: 3.13.0-30-generic).
>
>> What is the output of 'ls -l /proc/self/ns'?
>
> 'ls -l /proc/self/ns' returns:
> total 0
> lrwxrwxrwx 1 jm jm 0 aug 10 10:12 ipc -> ipc:[4026531839]
> lrwxrwxrwx 1 jm jm 0 aug 10 10:12 mnt -> mnt:[4026531840]
> lrwxrwxrwx 1 jm jm 0 aug 10 10:12 net -> net:[4026531956]
> lrwxrwxrwx 1 jm jm 0 aug 10 10:12 pid -> pid:[4026531836]
> lrwxrwxrwx 1 jm jm 0 aug 10 10:12 user -> user:[4026531837]
> lrwxrwxrwx 1 jm jm 0 aug 10 10:12 uts -> uts:[4026531838]
>
Thanks. So, you have a new enough kernel for all 6 user namespaces to
work but the 'setgroups' interface is not present. I did some reading
in the user_namespaces(7) man page and found that using setgroups
became a requirement in Linux 3.19 and only kernels may not have it. I
took a look at an Ubuntu 14.04 machine which also runs a 3.13 kernel
and /proc/self/setgroups exists, so indeed it is an optional thing.
The fix will be to test if /proc/self/setgroups exists before writing
to it. I'll have this fixed next time I get a chance to hack.
Thanks again for reporting this issue!
- Dave
This bug report was last modified 9 years and 344 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.