1 |
I tried that before. Wont work. It gives me errors. |
2 |
|
3 |
I got the se-sources, slinux-bind and selinux-ntpd. |
4 |
|
5 |
I dont understand the syntax of the policy.conf that well that i could |
6 |
fix it myself. |
7 |
|
8 |
Thx |
9 |
|
10 |
Pascal |
11 |
|
12 |
|
13 |
microbox hahn # make -C /etc/security/selinux/src/policy/ reload |
14 |
make: Entering directory `/etc/security/selinux/src/policy' |
15 |
mkdir -p /etc/security/selinux |
16 |
/usr/bin/checkpolicy -o /etc/security/selinux/policy.15 |
17 |
/etc/security/selinux/src/policy.conf |
18 |
/usr/bin/checkpolicy: loading policy configuration from |
19 |
/etc/security/selinux/src/policy.conf |
20 |
ERROR 'syntax error' at token 'allow' on line 35942: |
21 |
allow snort_t snort_etc_t:dir { read getattr lock search ioctl }; |
22 |
#line 23 |
23 |
/usr/bin/checkpolicy: error(s) encountered while parsing configuration |
24 |
make: *** [/etc/security/selinux/policy.15] Error 1 |
25 |
make: Leaving directory `/etc/security/selinux/src/policy' |
26 |
|
27 |
Am Mo, den 12.04.2004 schrieb Joshua Brindle um 11:29: |
28 |
> make -C /etc/security/selinux/src/policy/ reload |
29 |
> |
30 |
> then install, the contexts of the newly installed policy weren't in the |
31 |
> loaded kernel. |
32 |
> |
33 |
> Joshua Brindle |
34 |
> |
35 |
> Pascal Hahn wrote: |
36 |
> |
37 |
> > Hi There, |
38 |
> > |
39 |
> > Im quite new to selinux but got my install to work so far. |
40 |
> > |
41 |
> > I only got the Problem that libpcre isnt merging cause it cant apply the |
42 |
> > security labels. |
43 |
> > |
44 |
> > Here is my output of what i get: |
45 |
> > |
46 |
> > making executable: /usr/lib/libpcre.so.0.0.1 |
47 |
> > making executable: /usr/lib/libpcreposix.so.0.0.0 |
48 |
> > |
49 |
> >>>>Completed installing into /var/tmp/portage/libpcre-4.4/image/ |
50 |
> > |
51 |
> > |
52 |
> >>>>Merging dev-libs/libpcre-4.4 to / |
53 |
> > |
54 |
> > sfperms |
55 |
> > selinux |
56 |
> > |
57 |
> >>>>Setting SELinux security labels |
58 |
> > |
59 |
> > /usr/sbin/setfiles: read 545 specifications |
60 |
> > /usr/sbin/setfiles: invalid context system_u:object_r:snort_exec_t on |
61 |
> > line number 759 |
62 |
> > /usr/sbin/setfiles: invalid context system_u:object_r:snort_etc_t on |
63 |
> > line number 760 |
64 |
> > /usr/sbin/setfiles: invalid context system_u:object_r:snort_log_t on |
65 |
> > line number 761 |
66 |
> > |
67 |
> > !!! ERROR: dev-libs/libpcre-4.4 failed. |
68 |
> > !!! Function dyn_preinst, Line 909, Exitcode 1 |
69 |
> > !!! Failed to set SELinux security labels. |
70 |
> > |
71 |
> > !!! FAILED preinst: 1 |
72 |
> > |
73 |
> > |
74 |
> > I searched the forums but cant find anything. |
75 |
> > |
76 |
> > Thx |
77 |
> > |
78 |
> > Pascal |
79 |
> > |
80 |
> > |
81 |
> > -- |
82 |
> > gentoo-hardened@g.o mailing list |
83 |
> > |
84 |
> > |
85 |
> |
86 |
> |
87 |
> -- |
88 |
> gentoo-hardened@g.o mailing list |
89 |
> |
90 |
|
91 |
|
92 |
-- |
93 |
gentoo-hardened@g.o mailing list |