selinux January 2010 archive
Main Archive Page > Month Archives  > selinux archives
selinux: bzip support in libsemanage and out of memory (userspac

bzip support in libsemanage and out of memory (userspace ticket 7)

From: Guido Trentalancia <guido_at_nospam>
Date: Sun Jan 24 2010 - 20:29:28 GMT

Hi !

Has anybody had any time to look at this ticket: ?

I have experienced the same issue and verified that the problem is actually triggered by the bzip support (as pointed out by Stephen Smalley back in August). In fact, if I use bzip-blocksize=0 in semanage.conf then the problem disappears...

Otherwise with a default semanage.conf and bzip enabled, I get:

libsepol.module_package_read_offsets: offset greater than file size (at 4, offset 200478 -> 8192 (No such file or directory). libsemanage.semanage_load_module: Error while reading from module file /etc/selinux/refpolicy/modules/tmp/base.pp. (No such file or directory). semodule: Failed!

I am using libsepol-2.0.41 and libsemanage-2.0.42.

Guido   -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to with the words "unsubscribe selinux" without quotes as the message.