Gentoo Archives: gentoo-hardened

From: "François Valenduc" <francois.valenduc@××××××××××.be>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] EXT4 and selinux
Date: Sat, 05 Sep 2009 15:57:26
In Reply to: Re: [gentoo-hardened] EXT4 and selinux by Magnus Granberg
Magnus Granberg a écrit :
> On Saturday 05 September 2009 12.17.00 François Valenduc wrote: > >> Hello everybody, >> >> I have recently swicth my SElinux install from ext3 to ext4 and after >> having changed the rlpkq script to also relabel ext4 filesystems, I get >> the following errors: >> /usr/sbin/setfiles set context >> /usr/sbin/setfilecon->system_u:object_r:bin_t failed:'Operation not >> supported' >> However, I have enabled Ext4 Security labels in the kernel configuration. >> >> Does anybody know a solution to this problem ? >> Thanks in advance for your help. >> >> François Valenduc >> > You need to update to policycoreutils-2.0.69 to get ext4 support. > See bug #275369 > ------ > Hardened-Development Overlay > Magnus Granberg (Zorry) <zorry@×××.nu> > > >
I have tried to upgrade policycoreutils to this version but it fails to compile with this error: cc -Wl,-O1 semodule.o -lsepol -lselinux -lsemanage -L/usr/lib -o semodulesemodule.o: In function `main': semodule.c:(.text+0x803): undefined reference to `semanage_module_upgrade_file' semodule.c:(.text+0x84a): undefined reference to `semanage_module_install_file' semodule.c:(.text+0x8ae): undefined reference to `semanage_module_install_base_file' collect2: ld a retourné 1 code d'état d'exécution make[1]: *** [semodule] Erreur 1 make[1]: quittant le répertoire « /var/tmp/portage/sys-apps/policycoreutils-2.0.69/work/policycoreutils-2.0.69/semodule » make: *** [all] Erreur 1 make: quittant le répertoire « /var/tmp/portage/sys-apps/policycoreutils-2.0.69/work/policycoreutils-2.0.69 » I have looked in gentoo bugzilla and I didn't find anything which seems similar to this error. François Valenduc


Subject Author
Re: [gentoo-hardened] EXT4 and selinux Andrew John Hughes <gnu_andrew@××××××××××.org>