public inbox for gentoo-hardened@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-hardened] SELinux and no-multilib
@ 2011-03-18  6:12 Sven Vermeulen
  2011-03-18 11:41 ` Anthony G. Basile
  0 siblings, 1 reply; 6+ messages in thread
From: Sven Vermeulen @ 2011-03-18  6:12 UTC (permalink / raw
  To: gentoo-hardened

Hi all,

I had no issues turing a no-multilib (hardened/linux/amd64/no-multilib)
system into a SELinux enabled one. I did not however change profiles, as the
feedback I've received earlier indicates that the profiles might have
some... weird things happening ;-)

So I just made local overrides in /etc/portage/profile:

- make.defaults
  	USE="selinux -acl"
	FEATURES="selinux sesandbox sfperms"
	PORTAGE_T="portage_t"
	PORTAGE_FETCH_T="portage_fetch_t"
	PORTAGE_SANDBOX_T="portage_sandbox_t"
- package.mask
  	* Unmask sec-policy/*
	* Mask sec-policy/selinux-*-3 and higher (to force the use of the
	  2.20101213 ones)
	* Unmask setools, sepolgen, checkpolicy, libselinux, libsemanage,
	  policycoreutils
- package.use.force
  	sys-apps/portage python2
- package.use.mask
  	sys-apps/portage python3
- profile.bashrc
  	SANDBOX_WRITE="${SANDBOXWRITE}:/selinux/"
	SANDBOX_WRITE="${SANDBOXWRITE}:/proc/self/"
- use.force
  	selinux
- use.mask
  	-hardened
	-selinux
	emul-linux-x86
	multilib
	x264
	tcc

Runs in enforcing mode (strict policy), gcc -v shows "--disable-multilib".

Wkr,
	Sven Vermeulen



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

end of thread, other threads:[~2011-03-27 20:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-18  6:12 [gentoo-hardened] SELinux and no-multilib Sven Vermeulen
2011-03-18 11:41 ` Anthony G. Basile
2011-03-18 15:43   ` Sven Vermeulen
2011-03-18 22:55     ` Anthony G. Basile
2011-03-27 19:42       ` Sven Vermeulen
2011-03-27 20:28         ` Anthony G. Basile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox