1 |
rogk wrote: |
2 |
|
3 |
> Hello, |
4 |
> I'm trying to install Gentoo SELinux. I have used |
5 |
> "hardened-x86-2005.1.iso". I do everything what has said in "Intalling |
6 |
> Gentoo SELinux"-guide. In the beginning everything goes well, but when |
7 |
> I do "emerge hardened-sources", it's end like this: |
8 |
> |
9 |
> >>> Source unpacked. |
10 |
> >>> Test phase [not enabled]: sys-kernel/hardened-sources-2.6.14-r5 |
11 |
> |
12 |
> >>> Install hardened-sources-2.6.14-r5 into |
13 |
> /var/tmp/portage/hardened-sources-2.6.14-r5/image/ category sys-kernel |
14 |
> >>> Copying sources ... |
15 |
> man: |
16 |
> prepallstrip: |
17 |
> strip: i686-pc-linux-gnu-strip --strip-unneeded |
18 |
> strip: i686-pc-linux-gnu-strip --strip-unneeded |
19 |
> >>> Completed installing hardened-sources-2.6.14-r5 into |
20 |
> /var/tmp/portage/hardened-sources-2.6.14-r5/image/ |
21 |
> |
22 |
> >>> Merging sys-kernel/hardened-sources-2.6.14-r5 to / |
23 |
> >>> Setting SELinux security labels |
24 |
> make: Entering directory `/etc/security/selinux/src/policy' |
25 |
> * Building file_contexts |
26 |
> Error opening /etc/security/selinux/policy.19: No such file or directory |
27 |
> make: *** |
28 |
> [/var/tmp/portage/hardened-sources-2.6.14-r5/temp/file_contexts] Error 1 |
29 |
> make: Leaving directory `/etc/security/selinux/src/policy' |
30 |
> /var/tmp/portage/hardened-sources-2.6.14-r5/temp/file_contexts: line |
31 |
> 126 has invalid context system_u:object_r:xconsole_device_t |
32 |
> /var/tmp/portage/hardened-sources-2.6.14-r5/temp/file_contexts: line |
33 |
> 133 has invalid context system_u:object_r:printer_device_t |
34 |
> /var/tmp/portage/hardened-sources-2.6.14-r5/temp/file_contexts: line |
35 |
> 137 has invalid context system_u:object_r:bsdpty_device_t |
36 |
> /var/tmp/portage/hardened-sources-2.6.14-r5/temp/file_contexts: line |
37 |
> 147 has invalid context system_u:object_r:printer_device_t |
38 |
> /var/tmp/portage/hardened-sources-2.6.14-r5/temp/file_contexts: line |
39 |
> 148 has invalid context system_u:object_r:printer_device_t |
40 |
> /var/tmp/portage/hardened-sources-2.6.14-r5/temp/file_contexts: line |
41 |
> 149 has invalid context system_u:object_r:printer_device_t |
42 |
> /var/tmp/portage/hardened-sources-2.6.14-r5/temp/file_contexts: line |
43 |
> 150 has invalid context system_u:object_r:printer_device_t |
44 |
> /var/tmp/portage/hardened-sources-2.6.14-r5/temp/file_contexts: line |
45 |
> 210 has invalid context system_u:object_r:power_device_t |
46 |
> /var/tmp/portage/hardened-sources-2.6.14-r5/temp/file_contexts: line |
47 |
> 307 has invalid context system_u:object_r:selinux_config_t |
48 |
> Exiting after 10 errors. |
49 |
> |
50 |
> !!! ERROR: sys-kernel/hardened-sources-2.6.14-r5 failed. |
51 |
> !!! Function dyn_preinst, Line 1231, Exitcode 1 |
52 |
> !!! Failed to set SELinux security labels. |
53 |
> !!! If you need support, post the topmost build error, NOT this status |
54 |
> message. |
55 |
> |
56 |
> !!! FAILED preinst: 1 |
57 |
> |
58 |
> I have used stage3 (stage3-x86-selinux-20050726.tar.bz2) and I have |
59 |
> checked the md5sum. I hope that somebody could help me with this. |
60 |
> |
61 |
There is something wrong with your policy. Dit you set POLICYCOMPAT = -c |
62 |
# to the correct kernel policy version in your policy Makefile? |
63 |
Did the policy build correct? |
64 |
|
65 |
|
66 |
-- |
67 |
gentoo-hardened@g.o mailing list |