Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fresh install with SELinux config = failure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mzntr
n00b
n00b


Joined: 03 Dec 2015
Posts: 1

PostPosted: Thu Dec 03, 2015 11:52 pm    Post subject: Fresh install with SELinux config = failure Reply with quote

I am trying to install a fresh hardened system with SELinux.

i followed instructions from that pages

https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation
https://wiki.gentoo.org/wiki/SELinux/Installation

after completing all steps it says SELinux is disabled which does not make any sense.

When following a tutorial there is one error during: #emerge --ask -1 checkpolicy policycoreutils

can not stat /etc/selinux/strict/contexts/files/file_contexts: No such file or directory
* The selinux_gentoo init script has been removed in this version as it is not required after OpenRC 0.13.
* Rebuilding store strict (without re-loading).
* Messages for package sys-libs/libselinux-2.4:
* FAILED postinst: 1
* ERROR: sys-libs/libselinux-2.4::gentoo failed (postinst phase):
* Failed to recompile contexts
*
* Call stack:
* ebuild.sh, line 93: Called pkg_postinst
* environment, line 2548: Called die
* The specific snippet of code:
* sefcontext_compile /etc/selinux/${POLTYPE}/contexts/files/${EXPRFILE} || die "Failed to recompile contexts";
*
* If you need support, post the output of `emerge --info '=sys-libs/libselinux-2.4::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-libs/libselinux-2.4::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-libs/libselinux-2.4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/libselinux-2.4/temp/environment'.
* Working directory: '/usr/lib64/python2.7/site-packages'
* S: '/var/tmp/portage/sys-libs/libselinux-2.4/work/libselinux-2.4'

what shall i do to make it work??
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum