1 |
Hi, |
2 |
|
3 |
On Tue, Jul 10, 2007 at 11:35:31AM +0200, Łukasz Sochanowski - Shipmedics wrote: |
4 |
> Hi, |
5 |
> |
6 |
> I have a problem concerning SElinux on gentoo. |
7 |
> I`ve installed selinux from profile 2007.0 with managed policy, but when I |
8 |
> try to load or reload modules, a problem emerges: |
9 |
> |
10 |
> # semodule -B |
11 |
> libsemanage.semanage_link_sandbox: Could not access sandbox base file |
12 |
> /etc/selinux/strict/modules/tmp/base.pp. |
13 |
> semodule: Failed! |
14 |
> |
15 |
> # emerge selinux-base-policy |
16 |
> * Inserting base module into strict module store. |
17 |
> libsemanage.semanage_exec_prog: Child process /usr/sbin/load_policy did not |
18 |
> exit cleanly. |
19 |
> libsemanage.semanage_reload_policy: load_policy returned error code -1. |
20 |
> libsemanage.semanage_install_active: Could not copy |
21 |
> /etc/selinux/strict/modules/active/policy.kern to |
22 |
> /etc/selinux/strict/policy/policy.21. |
23 |
> semodule: Failed! |
24 |
> * Inserting base module into targeted module store. |
25 |
> libsemanage.semanage_exec_prog: Child process /sbin/setfiles did not exit |
26 |
> cleanly. |
27 |
> libsemanage.semanage_install_active: setfiles returned error code -1. |
28 |
> libsemanage.semanage_install_active: Could not copy |
29 |
> /etc/selinux/targeted/modules/active/policy.kern to |
30 |
> /etc/selinux/targeted/policy/policy.21. |
31 |
> semodule: Failed! |
32 |
|
33 |
sounds like http://bugs.gentoo.org/show_bug.cgi?id=184520 |
34 |
|
35 |
try to emerge portage-2.1.2.2 and then re-emerge your base-policy |
36 |
|
37 |
|
38 |
> I really don`t know what to do now. Can someone help me fix this ? |
39 |
> |
40 |
> Regards |
41 |
> |
42 |
> max239 |
43 |
> |
44 |
> -- |
45 |
> gentoo-hardened@g.o mailing list |
46 |
|
47 |
cheers, |
48 |
peter |
49 |
|
50 |
-- |
51 |
petre rodan |
52 |
<kaiowas@g.o> |
53 |
Developer, |
54 |
Hardened Gentoo Linux |