All of lore.kernel.org
 help / color / mirror / Atom feed
* A question about selinux userspace tools
@ 2009-08-04  3:11 TaurusHarry
       [not found] ` <A0FAB46BC43C4D8ABE2581D6EF3E2713@CIMSLAB.NL>
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: TaurusHarry @ 2009-08-04  3:11 UTC (permalink / raw)
  To: selinux-mailing-list

[-- Attachment #1: Type: text/plain, Size: 1722 bytes --]


Hi all,

I am a newcomer to SELinux and have a question about the latest SELinux userspace tools.

Before I try to install the latest refpolicy-20090730 from tresys website on Ubuntu 8.10 on Dell 6101 laptop(x86_32), I have installed the below latest SELinux userspace tools on the laptop:

libsepol-2.0.37
libselinux-2.0.85
libsemanage-2.0.33
policycoreutils-2.0.69
checkpolicy-2.0.19
sepolgen-1.0.17

If I specify MONOLITHIC=n in build.conf and compile refpolicy-20090730 by the latest SELinux userspace tools and then do "make load", I would run into following error message in the end:

libsepol.sepol_module_package_read: out of memory
libsemanage.semanage_load_module: Error while reading from module file /etc/selinux/refpolicy-20090730/modules/tmp/base.pp.
/usr/sbin/semodule:  Failed!
make: *** [load] Error 1

The same error would crop up when I try out following second-to-the-latest SELinux userspace tools(also from tresys website):

libsepol-2.0.36
libselinux-2.0.79
libsemanage-2.0.31
policycoreutils-2.0.62
checkpolicy-2.0.19
sepolgen-1.0.16

Only if I degrade libsemanage from 2.0.31 to 2.0.27, and policycoreutils from 2.0.62 to 2.0.55, would the "make load" finish uneventfully, then I could do "semanage login/user -l" and "semodule -l" successfully.

So far I have very shallow experience on SELinux userspace tools implementation and couldn't find out the reason  why the latest stable version would have above error message on my laptop, has anyone run into the same problem before? Any suggestions are greatly appreciated!

Thanks!

Harry
_________________________________________________________________
张三挖到了元宝,小美又掉进陷阱了,快来MClub与好友齐乐乐!立刻访问!
http://club.msn.cn/?from=3

[-- Attachment #2: Type: text/html, Size: 1977 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2009-08-10  7:00 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-04  3:11 A question about selinux userspace tools TaurusHarry
     [not found] ` <A0FAB46BC43C4D8ABE2581D6EF3E2713@CIMSLAB.NL>
2009-08-04  8:57   ` TaurusHarry
2009-08-04 12:13 ` Stephen Smalley
2009-08-04 12:40   ` Stephen Smalley
2009-08-04 13:25     ` Stephen Smalley
2009-08-04 14:08       ` [PATCH v2] libsemanage: Enable configuration of bzip behavior Stephen Smalley
2009-08-04 14:11         ` Joshua Brindle
2009-08-04 14:22           ` Stephen Smalley
2009-08-04 14:40             ` Stephen Smalley
2009-08-04 14:38         ` [PATCH v3] " Stephen Smalley
2009-08-04 15:23           ` Daniel J Walsh
2009-08-04 15:37             ` Mike Edenfield
2009-08-04 16:07             ` Stephen Smalley
     [not found] ` <1249397076.9193.101.camel@moss-pluto.epoch.ncsc.mil>
2009-08-05  3:03   ` A question about selinux userspace tools TaurusHarry
2009-08-05 12:09     ` Stephen Smalley
2009-08-06  1:33       ` TaurusHarry
2009-08-06 12:10         ` Stephen Smalley
2009-08-07  2:04           ` TaurusHarry
2009-08-07 12:54             ` Stephen Smalley
2009-08-10  7:00               ` TaurusHarry

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.