Re: Need Help with security: ebitmap: map size 0 does not match my size 64 (high bit was 4)

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

 



Well the Actual reason due to which this problem aroused was due to less amount of memory (we are using Openmoko software stack on Neo FreeRunner), Creating the swap space and KILLALLing xinit helped. There was nothing wrong with modules...


On Wed, May 19, 2010 at 1:09 AM, Shaz <shazalive@xxxxxxxxx> wrote:
On Wed, May 19, 2010 at 12:58 AM, Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:
> On Mon, 2010-05-17 at 12:24 +0500, waqar afridi wrote:
>> Hello All
>>
>> I am trying to port trisys reference policy on my Openmoko Software
>> Stack, When ever I try to load it I get the Following error
>>
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>
>> root@om-gta02 ~/refpolicy $ make load
>> Loading configured modules.
>> /usr/sbin/semodule -s refpolicy
>> -b /usr/share/selinux/refpolicy/base.pp
> <snip>
>> security: ebitmap: map size 0 does not match my size 64 (high bit was
>> 4)
>> libsepol.sepol_module_package_read: invalid module in module package
>> (at section 0)
>> libsemanage.semanage_load_module: Error while reading from module
>> file /etc/selinux/refpolicy/modules/tmp/modules/unconfined.pp.
>> /usr/sbin/semodule:  Failed!
>>
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>
>> Reference Policy Version: 2008 04 02
>>
>> semodule from: policycoreutils-2.0.55
>>
>> Any Suggestion what could be the Problem???
>
> I haven't seen that error previously.  It implies that the unconfined.pp
> module was incorrectly compiled or somehow corrupted.
>
> Is it reproducible with a more modern selinux userspace and refpolicy?
> http://userspace.selinuxproject.org/trac/wiki/Releases
> http://oss.tresys.com/projects/refpolicy/wiki/DownloadRelease

We got it solved ... some variables were not set properly during
compilation. Tomorrow we start testing.


--
Shaz



--
Waqar Afridi

Android Developer
SERG IM|Sciences
waqarafridi.wordpress.com
http://imsciences.edu.pk/serg/?page_id=376

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

  Powered by Linux