On Wed, 2010-03-03 at 10:18 +1100, Russell Coker wrote: > I'm running a 2.6.32 system under KVM and it keeps OOMing when I try to run > semodule. > > # free > total used free shared buffers cached > Mem: 507532 475320 32212 0 4168 11148 > -/+ buffers/cache: 460004 47528 > Swap: 524280 19848 504432 > > The policy.24 file is just under 900K in size, the output of free is above, it > doesn't seem particularly short of RAM. The dmesg output is below. Any > suggestions for what I should investigate? > > I could just give the VM a gig of RAM, but I run lots of real systems with > less than 512M so I would like this to work. - make sure CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX is not set, - what are the versions of libsepol, libsemanage, and glibc -- Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.