Gentoo Archives: gentoo-hardened

From: Jan V <jvulhunder@×××××.de>
To: gentoo-hardened@l.g.o
Subject: Ant: Re: [gentoo-hardened] make policy fails
Date: Wed, 21 Sep 2005 11:03:18
Message-Id: 20050921110133.34839.qmail@web26006.mail.ukl.yahoo.com
In Reply to: Re: [gentoo-hardened] make policy fails by Chris PeBenito
1 > > audit(1127223541.487:0): avc: denied { write }
2 > for
3 > > pid=7605 exe=/usr/bin/checkpolicy name=policy.18
4 > > dev=sda4 ino=8780872 scon
5 > > text=root:sysadm_r:checkpolicy_t
6 > > tcontext=system_u:object_r:policy_src_t
7 > tclass=file
8 >
9 > Policy source files are policy_src_t, and policy
10 > binary files are
11 > policy_config_t. The denial is writing to
12 > policy_src_t, so my guess is
13 > that /etc/security/selinux/policy.18 has the wrong
14 > label.
15
16 # ll /etc/security/selinux/ -Z
17 [..]
18 -rw-r--r-- root root
19 system_u:object_r:policy_config_t policy.18
20 [..]
21
22 Curiously it has the right type. Loading the policy
23 into the running kernel is no prob, relabeling too.
24 Just writing the binary wont work. System is in
25 enforcing mode. Do you have an idea, where I should
26 take a look to? Thanks!
27
28 Regards,
29 J
30
31
32
33
34
35 ___________________________________________________________
36 Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
37 --
38 gentoo-hardened@g.o mailing list

Replies

Subject Author
Ant: Re: [gentoo-hardened] make policy fails Jan V <jvulhunder@×××××.de>