1 |
On Tue, Nov 04, 2003 at 12:19:35PM +0000, Mike Williams wrote: |
2 |
> -----BEGIN PGP SIGNED MESSAGE----- |
3 |
> Hash: SHA1 |
4 |
> |
5 |
> Hello! |
6 |
> |
7 |
> Having a real headache with this new API lark. |
8 |
> Got into all sorts of mess, so basically started from scratch. |
9 |
> |
10 |
> Sorted a normal installation and the followed the quickstart guide word for word. |
11 |
> Worked like a charm up until just after Code listing 1.12. |
12 |
> pam, pwdb, coreutils etc emerge sucessfully. Now, in exactly the same manner as before, I am severely stuck! |
13 |
> |
14 |
> >>> Install logrotate-3.6.5-r1 into /var/tmp/portage/logrotate-3.6.5-r1/image/ category app-admin |
15 |
> man: |
16 |
> prepallstrip: |
17 |
> strip: |
18 |
> strip: |
19 |
> usr/sbin/logrotate |
20 |
> make: Entering directory `/etc/security/selinux/src/policy' |
21 |
> make: Leaving directory `/etc/security/selinux/src/policy' |
22 |
> /usr/sbin/setfiles: read 428 specifications |
23 |
> /usr/sbin/setfiles: invalid context system_u:object_r:file_t on line number 39 |
24 |
> /usr/sbin/setfiles: invalid context system_u:object_r:root_t on line number 44 |
25 |
> /usr/sbin/setfiles: invalid context system_u:object_r:var_t on line number 49 |
26 |
> /usr/sbin/setfiles: invalid context system_u:object_r:catman_t on line number 50 |
27 |
> /usr/sbin/setfiles: invalid context system_u:object_r:catman_t on line number 51 |
28 |
> /usr/sbin/setfiles: invalid context system_u:object_r:var_yp_t on line number 52 |
29 |
> /usr/sbin/setfiles: invalid context system_u:object_r:var_lib_t on line number 53 |
30 |
> /usr/sbin/setfiles: invalid context system_u:object_r:var_lib_misc_t on line number 54 |
31 |
> /usr/sbin/setfiles: invalid context system_u:object_r:var_lib_nfs_t on line number 55 |
32 |
> /usr/sbin/setfiles: invalid context system_u:object_r:tetex_data_t on line number 56 |
33 |
> Exiting after 10 errors. |
34 |
> >>> Completed installing into /var/tmp/portage/logrotate-3.6.5-r1/image/ |
35 |
|
36 |
|
37 |
this happened to me too, |
38 |
pls keep in mind that a `make relabel` should be preceded by a `make reload` if you use a selinux-enabled kernel. |
39 |
|
40 |
simply reboot in permissive mode, |
41 |
cd /etc/security/selinux/src/policy |
42 |
make reload |
43 |
make relabel |
44 |
|
45 |
|
46 |
bye, |
47 |
peter |
48 |
|
49 |
-- |
50 |
Petre Rodan |
51 |
Senior Network Engineer |
52 |
GeCAD Software - RAV Division |
53 |
|
54 |
---------------------------------------------------------------------- |
55 |
Tel/Fax: +40-21-321-7803 |
56 |
Hotline: +40-21-321-7859 |
57 |
|
58 |
This message is confidential. It may also be privileged or otherwise |
59 |
protected by work product immunity or other legal rules. It may contain |
60 |
personal views which are not the views of the GeCAD unless specifically |
61 |
stated. |
62 |
If you have received it in error, please delete it from your system. |
63 |
Do not use, copy or disclose the information in any way nor act in |
64 |
reliance on it and notify the sender immediately. |