Gentoo Archives: gentoo-hardened

From: Bill McCarty <bmccarty@××××××.net>
To: source <source@××××××.org>, gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] snort policy problems
Date: Tue, 03 Feb 2004 16:35:55
Message-Id: 50719380.1075795194@[192.168.0.2]
In Reply to: [gentoo-hardened] snort policy problems by source
1 Hi Source,
2
3 I see no problem with the line that's flagged as in error. Probably, a
4 preceding line is responsible for the problem. I suggest that you open the
5 file /etc/security/selinux/src/policy/policy.conf in a text editor, and
6 post to this list several lines preceding the line mentioned in the error
7 message. Most likely, we'll then be able to see the problem.
8
9 Cheers,
10
11 --On Tuesday, February 03, 2004 4:30 PM +0100 source <source@××××××.org>
12 wrote:
13
14 > Hello everybody,
15 >
16 > on my machine is installed: gentoo-selinux, snort and the
17 > selinux-snort-rules
18 > when i want to load or relabel in /etc/security/selinux/src/policy
19 > everytime this messages appear:
20 >
21 > mkdir -p /etc/security/selinux
22 > /usr/bin/checkpolicy -o /etc/security/selinux/policy.15
23 > /etc/security/selinux/src/policy.conf
24 > /usr/bin/checkpolicy: loading policy configuration from
25 > /etc/security/selinux/src/policy.conf
26 > ERROR 'syntax error' at token 'allow' on line 33928:
27 > allow snort_t snort_etc_t:dir { read getattr lock search ioctl };
28 ># line 6697
29 > /usr/bin/checkpolicy: error(s) encountered while parsing configuration
30 > make: *** [/etc/security/selinux/policy.15] Error 1
31
32 ---------------------------------------------------
33 Bill McCarty
34
35 --
36 gentoo-hardened@g.o mailing list