1 |
Magnus Granberg a écrit : |
2 |
> On Saturday 05 September 2009 12.17.00 François Valenduc wrote: |
3 |
> |
4 |
>> Hello everybody, |
5 |
>> |
6 |
>> I have recently swicth my SElinux install from ext3 to ext4 and after |
7 |
>> having changed the rlpkq script to also relabel ext4 filesystems, I get |
8 |
>> the following errors: |
9 |
>> /usr/sbin/setfiles set context |
10 |
>> /usr/sbin/setfilecon->system_u:object_r:bin_t failed:'Operation not |
11 |
>> supported' |
12 |
>> However, I have enabled Ext4 Security labels in the kernel configuration. |
13 |
>> |
14 |
>> Does anybody know a solution to this problem ? |
15 |
>> Thanks in advance for your help. |
16 |
>> |
17 |
>> François Valenduc |
18 |
>> |
19 |
> You need to update to policycoreutils-2.0.69 to get ext4 support. |
20 |
> See bug #275369 http://bugs.gentoo.org/show_bug.cgi?id=275369 |
21 |
> ------ |
22 |
> Hardened-Development Overlay |
23 |
> Magnus Granberg (Zorry) <zorry@×××.nu> |
24 |
> |
25 |
> |
26 |
> |
27 |
I have tried to upgrade policycoreutils to this version but it fails to |
28 |
compile with this error: |
29 |
|
30 |
cc -Wl,-O1 semodule.o -lsepol -lselinux -lsemanage -L/usr/lib -o |
31 |
semodulesemodule.o: In function `main': |
32 |
semodule.c:(.text+0x803): undefined reference to |
33 |
`semanage_module_upgrade_file' |
34 |
semodule.c:(.text+0x84a): undefined reference to |
35 |
`semanage_module_install_file' |
36 |
semodule.c:(.text+0x8ae): undefined reference to |
37 |
`semanage_module_install_base_file' |
38 |
collect2: ld a retourné 1 code d'état d'exécution |
39 |
make[1]: *** [semodule] Erreur 1 |
40 |
make[1]: quittant le répertoire « |
41 |
/var/tmp/portage/sys-apps/policycoreutils-2.0.69/work/policycoreutils-2.0.69/semodule |
42 |
» |
43 |
make: *** [all] Erreur 1 |
44 |
make: quittant le répertoire « |
45 |
/var/tmp/portage/sys-apps/policycoreutils-2.0.69/work/policycoreutils-2.0.69 |
46 |
» |
47 |
|
48 |
|
49 |
I have looked in gentoo bugzilla and I didn't find anything which seems |
50 |
similar to this error. |
51 |
|
52 |
François Valenduc |