Research Menu

.
Skip Search Box

SELinux Mailing List

Re: make relabel: invalid context

From: Valdis.Kletnieks_at_vt.edu
Date: Fri, 26 Mar 2004 19:25:20 -0500


On Fri, 26 Mar 2004 22:27:20 +0100, Koen Vervloesem said:

> This is the first time I load the policy, I just did the SELinux
> installation, of which the last step is the make relabel. When I do
> what you suggest, I get this:

> /usr/sbin/load_policy /etc/security/selinux/policy.16
> /usr/sbin/load_policy: security_load_policy failed

Not good..

> root@carnivore:~/policy-1.8# make relabel
> /usr/sbin/setfiles file_contexts/file_contexts `mount | awk '/(ext[23]| xfs).*rw/{print $3}'`
> /usr/sbin/setfiles: read 0 specifications

And even worse.

Is it possible that you've installed the SELinux software on the box, but are still running on a non-SELinux kernel, and need a reboot?

--
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.

  • application/pgp-signature attachment: stored
Received on Fri 26 Mar 2004 - 19:25:29 EST
 

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

 
bottom

National Security Agency / Central Security Service