1 |
When I emerge a package it fails to run setfiles. It says "permission |
2 |
denied". Avc messages appear in the logs. I am doing a "newrole -r |
3 |
portage_r" prior to running emerge. When I confirmed that I cannot execute |
4 |
/usr/sbin/setfiles from the root:portate_r:portage_t context. I also |
5 |
confirmed that the rule "allow portage_t setfiles_exec_t:file {read getattr |
6 |
lock execute ioctl }" is in the /etc/security/selinux/src/policy.conf file. |
7 |
I also manually ran checkpolicy and compiled policy.conf to a tmp file and |
8 |
diffed it with /etc/security/selinux/policy.15. They are the same. |
9 |
|
10 |
I am using selinux-base-policy-20031010-r1. |
11 |
|
12 |
So, what am I missing. I read the rules pertaining to portage_t, setfiles_t |
13 |
and setfiles_exec_t and it seems to indicate that portage_t should be able |
14 |
to run setfiles. I'm still learning the policy so it's possible I missed |
15 |
something. |
16 |
|
17 |
-Tad |
18 |
|
19 |
|
20 |
-- |
21 |
gentoo-hardened@g.o mailing list |