Gentoo Archives: gentoo-hardened

From: Ed W <lists@××××××××××.com>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] How do I debug these kind of errors about missing contexts?
Date: Sun, 05 Feb 2006 00:22:23
Message-Id: 43E544D1.6030904@wildgooses.com
1 "Something" has happened to machine that was previously OK. Now when I
2 try and emerge anything I get the following errors (for example trying
3 to emerge the possibly problem package):
4
5 How do I debug this kind of thing? How do I fix it? Running "make
6 relabel" just raises the same errors..?
7
8 Cheers
9
10 Ed W
11
12
13 ./usr/share/doc/logrotate-3.7.1-r2/
14 ./usr/share/doc/logrotate-3.7.1-r2/logrotate-default.gz
15 ./usr/share/doc/logrotate-3.7.1-r2/logrotate.cron.gz
16 ./etc/
17 ./etc/cron.daily/
18 ./etc/cron.daily/logrotate.cron
19 ./etc/logrotate.conf
20 ./etc/logrotate.d/
21 ./etc/logrotate.d/.keep
22 >>> Done.
23 >>> extracting info
24 >>> extracting logrotate-3.7.1-r2
25 >>> Merging app-admin/logrotate-3.7.1-r2 to /
26 >>> Setting SELinux security labels
27 /var/tmp/portage/logrotate-3.7.1-r2/temp/file_contexts: line 730 has
28 invalid context system_u:object_r:logrotate_exec_t
29 /var/tmp/portage/logrotate-3.7.1-r2/temp/file_contexts: line 731 has
30 invalid context system_u:object_r:logrotate_exec_t
31 /var/tmp/portage/logrotate-3.7.1-r2/temp/file_contexts: line 733 has
32 invalid context system_u:object_r:logrotate_var_lib_t
33 /var/tmp/portage/logrotate-3.7.1-r2/temp/file_contexts: line 735 has
34 invalid context system_u:object_r:logrotate_exec_t
35 /var/tmp/portage/logrotate-3.7.1-r2/temp/file_contexts: line 736 has
36 invalid context system_u:object_r:logrotate_var_lib_t
37 /var/tmp/portage/logrotate-3.7.1-r2/temp/file_contexts: line 738 has
38 invalid context system_u:object_r:logrotate_tmp_t
39 /var/tmp/portage/logrotate-3.7.1-r2/temp/file_contexts: line 740 has
40 invalid context system_u:object_r:logrotate_exec_t
41 /var/tmp/portage/logrotate-3.7.1-r2/temp/file_contexts: line 870 has
42 invalid context system_u:object_r:screen_exec_t
43 /var/tmp/portage/logrotate-3.7.1-r2/temp/file_contexts: line 871 has
44 invalid context system_u:object_r:user_screen_ro_t
45 Exiting after 10 errors.
46
47 !!! ERROR: app-admin/logrotate-3.7.1-r2 failed.
48 !!! Function dyn_preinst, Line 1314, Exitcode 1
49 !!! Failed to set SELinux security labels.
50 !!! If you need support, post the topmost build error, NOT this status
51 message.
52
53 !!! FAILED preinst: 1
54
55 --
56 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] How do I debug these kind of errors about missing contexts? Ed W <lists@××××××××××.com>