Gentoo Archives: gentoo-hardened

From: Nico Baggus <gentoo@×××××××××××.nl>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] Eaccelerator... amavis... (file context)
Date: Thu, 03 Nov 2011 01:03:31
Message-Id: 201111030146.34348.gentoo@noci.xs4all.nl
1 Here definitely is a bug in the file contexts.
2
3 The eaccelerator stuff in the default implementation is referencing /var/cache/php-eaccelerator...
4
5 /var/cache/eaccelerator-php5(/.*)? system_u:object_r:httpd_cache_t
6
7
8 The same more or less goes for amavis, the default implementation uses the name /etc/amavis.conf
9 which in reality is /etc/amavisd.conf (there is a d added to the name).
10
11 Question is how to activate such a change.?
12
13 Add a file to the contexts/files directory or add some lines to the existing context files.