Invalid context?

Tom Mitchell mitch48 at sbcglobal.net
Mon May 10 11:13:47 UTC 2004


On Mon, May 10, 2004 at 03:05:51AM -0700, Tom Mitchell wrote:
> On Sun, May 09, 2004 at 01:06:25AM -0700, Tom Mitchell wrote:
> > On Wed, May 05, 2004 at 04:47:04PM -0400, Wayne Steenburg wrote:
> > > On Tue, 2004-05-04 at 23:16, Joshua Adam Ginsberg wrote:
....
> > > > time I try to install a package, I get about a hundred lines of
> > > > "/etc/security/selinux/file_contexts:  invalid context foo on line
....

> > > Setting SELINUX=disabled in /etc/sysconfig/selinux is the "new and
> > > improved" way :)
> > 
> > How...
> > 
> >    # rpm -q --whatprovides /etc/sysconfig/selinux
> >    file /etc/sysconfig/selinux is not owned by any package
> > 
> > does this file get built I see no obvious clue running 2.6.5-1.356?
> 
> After a clean install the file /etc/sysconfig/selinux exists.
....
> Now to look at the CDROMs and discover how it is generated.

This file is apparently generated by /usr/sbin/lokkit which is run as
a normal part of the install process.  This explains why rpm does not
know about it.

Now to look into /usr/sbin/lokkit...


-- 
	T o m  M i t c h e l l 
	/dev/null the ultimate in secure storage.





More information about the test mailing list