libsemanage issue with bzip-blocksize=0 and compressed modules in store

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I took the current release of libsemanage and added the patch to add a
bzip blocksize option[1].  The modules in my store were already
compressed with the stock release.  I put bzip-blocksize=0 in my
semanage.conf and I do semodule -B and get:

libsepol.module_package_read_offsets: wrong magic number for module
package:  expected 0xf97cff8f, got 0x39685a42 (No such file or
directory).
libsemanage.semanage_load_module: Error while reading from module
file /etc/selinux/strict/modules/tmp/modules/apm.pp. (No such file or
directory).
semodule:  Failed!

If I do semodule -l, it will also get the magic number error.  If I
remove the blocksize option, it works again.  I was able to reinsert all
of the modules to get it working again with the blocksize 0 option.

[1] http://userspace.selinuxproject.org/trac/changeset/ee9827000137fed2d3300124115fc1572acafe2f

-- 
Chris PeBenito
<pebenito@xxxxxxxxxx>
Developer,
Hardened Gentoo Linux
 
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE6AF9243
Key fingerprint = B0E6 877A 883F A57A 8E6A  CB00 BC8E E42D E6AF 9243


--
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.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux