All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] Install Directory for Reference Policy?
@ 2017-01-17  4:24 Naftuli Kay
  2017-01-17  5:05 ` Thomas
  2017-01-30 20:55 ` Guido Trentalancia
  0 siblings, 2 replies; 15+ messages in thread
From: Naftuli Kay @ 2017-01-17  4:24 UTC (permalink / raw)
  To: refpolicy

I'm on Ubuntu 16.04 and I've just compiled the reference policy via:

git clone https://github.com/TresysTechnology/refpolicy.git
cd refpolicy
git submodule init
git submodule update
git checkout RELEASE_2_20161023
( cd policy/modules/contrib && git checkout RELEASE_2_20161023 )
make conf
make install

My build.conf looks like this:

TYPE = standard
NAME = refpolicy
DISTRO = debian
UNK_PERMS = deny
DIRECT_INITRC = n
SYSTEMD = y
MONOLITHIC = n
UBAC = y
CUSTOM_BUILDOPT =
MLS_SENS = 16
MLS_CATS = 1024
MCS_CATS = 1024
QUIET = n

Pretty normal stuff.

Unfortunately, though it properly loads at the time of "make install,"
it isn't installed into the expected directory by my distro.
Apparently, Ubuntu wants the binary files to be located at
/etc/selinux/$NAME. The upstream "selinux-policy-default" package
installs its dependencies to /etc/selinux/default and its contents can
be viewed here: http://pastebin.com/8fXvdFUA

Is there a variable I need to set to have the reference policy install
itself/copy its files following this pattern to
/etc/selinux/refpolicy?

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

end of thread, other threads:[~2017-02-22  5:35 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-17  4:24 [refpolicy] Install Directory for Reference Policy? Naftuli Kay
2017-01-17  5:05 ` Thomas
2017-01-17 18:09   ` Naftuli Kay
2017-01-17 18:21     ` Naftuli Kay
2017-01-17 23:11       ` Guido Trentalancia
2017-01-29 19:14         ` Naftuli Kay
2017-01-29 20:29           ` Guido Trentalancia
2017-01-29 20:59             ` Guido Trentalancia
2017-01-29 22:43           ` Guido Trentalancia
2017-01-30 18:45             ` Naftuli Kay
2017-01-30 20:55 ` Guido Trentalancia
2017-01-31 14:19   ` Guido Trentalancia
2017-02-06  3:53     ` Naftuli Kay
2017-02-07 22:52       ` Guido Trentalancia
2017-02-22  5:35         ` Naftuli Kay

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.