Research Menu

.
Skip Search Box

SELinux Mailing List

make relabel: invalid context

From: Koen Vervloesem <koen.vervloesem_at_student.kuleuven.ac.be>
Date: Fri, 26 Mar 2004 18:34:28 +0100


Hi,

I have installed the SELinux tools on Debian with the Linux 2.6.4 kernel with SELinux support. The package selinux-policy-default doens't get installed, and gives very strange errors, so I decided to get the NSA policy example (www.nsa.gov/selinux/code/download5.shtml). I did get through make policy and make install, but when I execute make relabel I get a bunch of errors:

root@carnivore:/etc/selinux# make relabel
/usr/sbin/setfiles file_contexts/file_contexts `mount | awk

'/ext[23]/{print $3}'`

/usr/sbin/setfiles: read 643 specifications
/usr/sbin/setfiles: invalid context system_u:object_r:file_t on line
number 39
/usr/sbin/setfiles: invalid context system_u:object_r:root_t on line
number 44
/usr/sbin/setfiles: invalid context system_u:object_r:var_t on line
number 49
/usr/sbin/setfiles: invalid context system_u:object_r:catman_t on line
number 50
/usr/sbin/setfiles: invalid context system_u:object_r:catman_t on line
number 51
/usr/sbin/setfiles: invalid context system_u:object_r:var_yp_t on line
number 52
/usr/sbin/setfiles: invalid context system_u:object_r:var_lib_t on
line number 53
/usr/sbin/setfiles: invalid context system_u:object_r:var_lib_nfs_t on
line number 54
/usr/sbin/setfiles: invalid context system_u:object_r:tetex_data_t on
line number 55
/usr/sbin/setfiles: invalid context system_u:object_r:tetex_data_t on
line number 56
Exiting after 10 errors.
make: *** [relabel] Fout 1
root@carnivore:/etc/selinux#

I can't find an error in the configuration files. Does anyone know what's wrong here?

Thanks in advance,

Koen

--
"You do not truly know someone until you fight them. "  (Seraph , "The 
Matrix Reloaded")


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Fri 26 Mar 2004 - 12:34:39 EST
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service