Gentoo Archives: gentoo-hardened

From: Sven Vermeulen <swift@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Setting filesystem labels for SELinux fails
Date: Sun, 18 Mar 2012 08:56:30
Message-Id: 20120318085547.GB19791@gentoo.org
In Reply to: [gentoo-hardened] Setting filesystem labels for SELinux fails by Tom Petri
1 On Sat, Mar 17, 2012 at 10:28:59PM +0100, Tom Petri wrote:
2 > After compiling the policy modules and re-compiling my core packages
3 > (Gentoo 32bit) I wanted to relabel the filesystem (via rlpkg -a -r)
4 > but I get these error messages:
5 >
6 > > Relabeling filesystem types: btrfs ext2 ext3 ext4 jfs xfs /usr/sbin/setfiles set context /->system_u:object_r:root_t failed:'Operation not supported'
7 > > /usr/sbin/setfiles set context /boot->system_u:object_r:boot_t failed:'Operation not supported'
8 > > /usr/sbin/setfiles set context /home->system_u:object_r:home_root_t failed:'Operation not supported'
9 > > /usr/sbin/setfiles set context /srv->system_u:object_r:var_t failed:'Operation not supported'
10 > > /usr/sbin/setfiles set context /tmp->system_u:object_r:tmp_t failed:'Operation not supported' /usr/sbin/setfiles set context /usr->system_u:object_r:usr_t failed:'Operation not supported'
11 > > /usr/sbin/setfiles set context /var->system_u:object_r:var_t failed:'Operation not supported'
12 > > Scanning for shared libraries with text relocations...
13 > > 0 libraries with text relocations, 0 not relabeled. Scanning for PIE binaries with text relocations...
14 > > 0 binaries with text relocations detected.
15 >
16 > partitions are /boot, /home, /srv, /tmp, /usr and /var - stored on
17 > /dev/md1-7, which are formatted using ext4.
18
19 Do you have build in support for extended attributes in the kernel (for
20 these file systems)?
21
22 Wkr,
23 Sven Vermeulen

Replies

Subject Author
Re: [gentoo-hardened] Setting filesystem labels for SELinux fails Tom Petri <tom.petri@××××××××××.com>