Gentoo Archives: gentoo-hardened

From: Jan V <jvulhunder@×××××.de>
To: gentoo-hardened@l.g.o
Subject: Ant: Re: [gentoo-hardened] make policy fails
Date: Fri, 23 Sep 2005 01:43:16
Message-Id: 20050923013935.9530.qmail@web26001.mail.ukl.yahoo.com
In Reply to: Ant: Re: [gentoo-hardened] make policy fails by Jan V
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 Still no idea?
29
30 Regards,
31 Jan V
32
33
34
35
36 ___________________________________________________________
37 Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
38 --
39 gentoo-hardened@g.o mailing list