Gentoo Archives: gentoo-hardened

From: Tom Petri <tom.petri@××××××××××.com>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] Setting filesystem labels for SELinux fails
Date: Sat, 17 Mar 2012 21:29:52
Message-Id: CAJg9FaT4376VS8BVzf0XXo-scV0tU06GAfQaGst-0q=_ME2TSQ@mail.gmail.com
1 Hello,
2
3 After compiling the policy modules and re-compiling my core packages
4 (Gentoo 32bit) I wanted to relabel the filesystem (via rlpkg -a -r)
5 but I get these error messages:
6
7 > Relabeling filesystem types: btrfs ext2 ext3 ext4 jfs xfs /usr/sbin/setfiles set context /->system_u:object_r:root_t failed:'Operation not supported'
8 > /usr/sbin/setfiles set context /boot->system_u:object_r:boot_t failed:'Operation not supported'
9 > /usr/sbin/setfiles set context /home->system_u:object_r:home_root_t failed:'Operation not supported'
10 > /usr/sbin/setfiles set context /srv->system_u:object_r:var_t failed:'Operation not supported'
11 > /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'
12 > /usr/sbin/setfiles set context /var->system_u:object_r:var_t failed:'Operation not supported'
13 > Scanning for shared libraries with text relocations...
14 > 0 libraries with text relocations, 0 not relabeled. Scanning for PIE binaries with text relocations...
15 > 0 binaries with text relocations detected.
16
17 partitions are /boot, /home, /srv, /tmp, /usr and /var - stored on
18 /dev/md1-7, which are formatted using ext4.
19
20 How can I fix this?
21
22 Regards

Replies

Subject Author
Re: [gentoo-hardened] Setting filesystem labels for SELinux fails Sven Vermeulen <swift@g.o>