I checked all the capabilities are up before opening shmmax file. If I seteuid to 0, the open succeeds. There seems to be a difference between having a root euid and a regular user having root capabilities in terms of writing to shmmax file.
On 7/5/2012 4:49 PM, Stéphane Graber wrote: > On 07/05/2012 04:41 PM, J. Xiao wrote: >> Thanks Stephane for your answer. >> >> However, I am running on RedHat, is there a similar file on RedHat I can >> check? > > I don't know RedHat but as far as I know Ubuntu is the only distro > currently restricting access to /proc in containers. RedHat uses SELinux > but lxc currently doesn't have any support for it, so it's unlikely to > be the problem. > > Maybe something is dropping some capabilities that are preventing you > from changing these limits? > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel