All of lore.kernel.org
 help / color / mirror / Atom feed
* policycoreutils, sepolgen (sepolgen-ifgen) issues on Debian
@ 2009-08-14 14:59 Manoj Srivastava
  2009-08-14 16:50 ` Manoj Srivastava
  0 siblings, 1 reply; 18+ messages in thread
From: Manoj Srivastava @ 2009-08-14 14:59 UTC (permalink / raw)
  To: selinux

Hi,

        I am running into an issue with sepolgen on Debian. Debian ships
 more than one  version of the refpolicy, a default one, and a
 MLS enabled one. So, the include files live in either
 /usr/share/selinux/{default,mls}/include

        sepolgen (in src/sepolgen/defaults.py) sets refpolicy_devel() to
 a single location -- and thus, only one version of the security policy
 may be supported. So, sepolgen-ifgen from policycoreutils can only work
 with one policy, which may not be the one installed on the target
 machine. Could this be made configurable, somehow? As far as I can
 see, sepolgen's python library does not offer any way to set the value.

        It would be nice if the location of the include directory could
 be looked for from a PATH like variable setting, to make it easier for
 distributions to ship more than one policy, or for end users to
 experiment with other policies without have to overwrite the single
 default. 

        manoj
-- 
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

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

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

end of thread, other threads:[~2010-05-13 19:53 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-14 14:59 policycoreutils, sepolgen (sepolgen-ifgen) issues on Debian Manoj Srivastava
2009-08-14 16:50 ` Manoj Srivastava
2009-08-16 14:52   ` Manoj Srivastava
2009-08-17 12:36   ` Christopher J. PeBenito
2009-08-17 15:40   ` Manoj Srivastava
2009-09-16 15:01     ` Joshua Brindle
2009-09-16 16:44       ` Manoj Srivastava
2009-09-16 20:56         ` Joshua Brindle
2009-09-18 21:56           ` Manoj Srivastava
2009-09-16 17:10       ` Daniel J Walsh
2009-09-16 17:14         ` Joshua Brindle
2009-09-16 17:29           ` Daniel J Walsh
2009-09-16 19:52             ` Joshua Brindle
2009-09-16 20:23               ` Daniel J Walsh
2010-05-13 19:11         ` Stephen Smalley
2010-05-13 19:15           ` Daniel J Walsh
2010-05-13 19:28             ` Stephen Smalley
2010-05-13 19:53               ` Daniel J Walsh

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.