All of lore.kernel.org
 help / color / mirror / Atom feed
* libsepol.context_from_record: MLS is disabled, but MLS context "s0" found
@ 2008-07-24 20:34 Vikram Ambrose
  2008-07-25  0:07 ` Chris PeBenito
  0 siblings, 1 reply; 10+ messages in thread
From: Vikram Ambrose @ 2008-07-24 20:34 UTC (permalink / raw)
  To: selinux

I keep getting this error with audit2why.

root@localhost:/root> cat msg
type=1400 audit(1216736766.147:35): avc:  denied  { read write } for  
pid=1829 comm="modprobe" name="console" dev=sda ino=344069 
scontext=system_u:system_r:insmod_t 
tcontext=unconfined_u:object_r:default_t tclass=chr_file

root@localhost:/root> audit2allow < msg
#============= insmod_t ==============
allow insmod_t default_t:chr_file { read write };

root@localhost:/root> audit2why < msg
libsepol.context_from_record: MLS is disabled, but MLS context "s0" found
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert 
system_u:system_r:insmod_t:s0 to sid
Invalid Source Context system_u:system_r:insmod_t:s0

root@localhost:/root>

Using selinux-svn2928 and refpolicy-2744 (standard)


Vikram

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-07-28 19:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-24 20:34 libsepol.context_from_record: MLS is disabled, but MLS context "s0" found Vikram Ambrose
2008-07-25  0:07 ` Chris PeBenito
     [not found]   ` <6FE441CD9F0C0C479F2D88F959B015880246B40D@exchange.columbia.tresys.com>
2008-07-25 14:55     ` libsepol.context_from_record: MLS is disabled, but MLS context"s0" found Chris PeBenito
2008-07-25 15:09       ` Chris PeBenito
2008-07-25 20:19         ` Vikram Ambrose
2008-07-26  0:34         ` Stephen Smalley
2008-07-28 15:59           ` Vikram Ambrose
2008-07-28 16:49             ` Stephen Smalley
2008-07-28 17:50               ` Vikram Ambrose
     [not found]                 ` <06A6610D4F464D4EBEAFBF2C5F86911E7FA2@exchange2.columbia.tresys.com>
2008-07-28 19:49                   ` Vikram Ambrose

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.