Need information on building embedded systems.

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

 



 We are building an embedded system where the customer requires SELinux. It is our own hardware so we build our own kernel and drivers and use the ext2, jfs and tempfs file systems. This is not new for us, but incorporating SELinux is.

Does anyone know of a good knowledge resource for building embedded systems with SELinux?

We are currently plowing through a frustrating step ahead/step back process. We are either unable to build a policy, or a minimal policy we build often causes the development system to fail to boot. Any policy we get onto the embedded system appears to fail to load properly. We think that some pieces may be missing but we are unable to debug due to lack of knowledge.

I suspect that our boot process with SELinux is incomplete and that we are missing some libraries, for example:

root@generic-powerpc:~#semanage
Traceback (most recent call last):
 File "/usr/sbin/semanage", line 24, in <module>
 import seobject
 File "/usr/lib/python2.7/site-packages/seobject.py", line 24,in <module>
 import pwd, grp, string, selinux, tempfile, os, re, sys,stat
ImportError: No module named selinux

Also, the selinux fs is not mounted and policies are not loaded during boot.  We can do this with init scripts but isn't it too late by then?

Any help would be welcome.

 Don Hoefer


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