1 |
I have done so, and ran an etc-update and switched all the /etc/security/... files with the new ones. |
2 |
Unfortunately when I run make relabel in/etc/security/selinux/src/policy, this is what happens. |
3 |
And I also get the same error when I try to emerge any other ebuild, after it's compiled and tries to install it. |
4 |
Is it me, or is it a bug? Please help me. :( |
5 |
|
6 |
dao policy # make relabel |
7 |
/usr/sbin/setfiles file_contexts/file_contexts `mount | awk '/(ext[23]| xfs).*rw/{print $3}'` |
8 |
/usr/sbin/setfiles: read 559 specifications |
9 |
/usr/sbin/setfiles: invalid context system_u:object_r:default_t on line number 39 |
10 |
/usr/sbin/setfiles: invalid context system_u:object_r:urandom_device_t on line number 120 |
11 |
/usr/sbin/setfiles: invalid context system_u:object_r:fonts_t on line number 377 |
12 |
/usr/sbin/setfiles: invalid context system_u:object_r:fonts_t on line number 378 |
13 |
/usr/sbin/setfiles: invalid context system_u:object_r:krb5_conf_t on line number 445 |
14 |
/usr/sbin/setfiles: invalid context system_u:object_r:system_cron_spool_t on line number 478 |
15 |
/usr/sbin/setfiles: invalid context system_u:object_r:system_cron_spool_t on line number 479 |
16 |
/usr/sbin/setfiles: invalid context system_u:object_r:system_cron_spool_t on line number 492 |
17 |
/usr/sbin/setfiles: invalid context system_u:object_r:system_cron_spool_t on line number 493 |
18 |
/usr/sbin/setfiles: invalid context system_u:object_r:system_cron_spool_t on line number 494 |
19 |
Exiting after 10 errors. |
20 |
make: *** [relabel] Error 1 |
21 |
|
22 |
Thanks in advance, |
23 |
Dadi |
24 |
|
25 |
|
26 |
On Wednesday 14 April 2004 20:19, Chris PeBenito wrote: |
27 |
> I'm looking for testers of the new 2004.1 stuff. Its not a major |
28 |
> change, just some package updates that need to happen at the same time, |
29 |
> in addition to the use of the new stacked profiles. The new libselinux |
30 |
> requires a different init patch, so baselayout needs to be remerged |
31 |
> after updating libselinux. Before updating, ensure you have |
32 |
> >=portage-2.0.50-r2 installed. |
33 |
> |
34 |
> procedure: |
35 |
> # emerge sync |
36 |
> # rm /etc/make.profile |
37 |
> # ln -s /usr/portage/profiles/selinux/2004.1/x86/ /etc/make.profile |
38 |
> # emerge -u libselinux checkpolicy policycoreutils selinux-base-policy |
39 |
> # emerge baselayout |
40 |
> |
41 |
> |
42 |
> -- |
43 |
> Chris PeBenito |
44 |
> <pebenito@g.o> |
45 |
> Developer, |
46 |
> Hardened Gentoo Linux |
47 |
> Embedded Gentoo Linux |
48 |
> |
49 |
> Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE6AF9243 |
50 |
> Key fingerprint = B0E6 877A 883F A57A 8E6A CB00 BC8E E42D E6AF 9243 |
51 |
> |
52 |
|
53 |
-- |
54 |
gentoo-hardened@g.o mailing list |