Gentoo Archives: gentoo-hardened

From: Petre Rodan <kaiowas@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Some problems/questions after updateing SELinux packages
Date: Fri, 04 Aug 2006 11:04:09
Message-Id: 20060804110208.GA20574@peter.bu.avira.com
In Reply to: [gentoo-hardened] Some problems/questions after updateing SELinux packages by Markus Wagner
1 Hi Markus,
2
3 On Fri, Aug 04, 2006 at 09:32:26AM +0200, Markus Wagner wrote:
4 > Hi,
5 >
6 > Are there any known problems with the latest versions of the
7 > SELinux-packages?
8
9 they are flawless.
10
11 > What does the "Mode from config file" message mean? (I think the output
12 > comes from a function in libselinux while checking some files in /etc?!)
13
14 a strace gives:
15
16 write(1, "Current mode: "..., 42Current mode: enfor
17 cing
18 ) = 42
19 open("/etc/selinux/config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or director
20 y)
21 open("/etc/sysconfig/selinux", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or direc
22 tory)
23 write(1, "Mode from config file: "..., 66Mode from config file: error
24 (No such file or directory)
25
26 where /etc/security/config will be used in the future to configure the policy type and the permissive/enforcing/disabled state at bootup.
27
28 bye,
29 peter
30
31 --
32 petre rodan
33 <kaiowas@g.o>
34 Developer,
35 Hardened Gentoo Linux