[Lxc-users] Problem with pthread_create SCHED_RR - Operation not permitted

Serge Hallyn serge.hallyn at canonical.com
Fri Jun 29 13:56:34 UTC 2012


Quoting Hans Feldt (Hans.Feldt at ericsson.com):
> Hi,
> 
> As the subject says, pthread_create for SCHED_RR fails with EPERM(1) in my 
> container. Program run as root.
> 
> Same program run directly on host works. I tried disabling the apparmor stuff 
> but no luck.
> 
> host: ubuntu 12.04
> container: generated with the "ubuntu" template
> 
> Any ideas?

Hm, everything I see in the kernel source suggests that CAP_SYS_NICE should
suffice.  (I assume you didn't add that to lxc.cap_drop)  But I don't have
a solid grasp of the the autogroup code under kernel/sched.




More information about the lxc-users mailing list