All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ivan Gyurdiev <ivg2@cornell.edu>
To: Joshua Brindle <method@gentoo.org>
Cc: Chris PeBenito <pebenito@gentoo.org>,
	SELinux Mail List <selinux@tycho.nsa.gov>
Subject: Re: semanage non MLS breakage
Date: Fri, 17 Feb 2006 10:39:30 -0500	[thread overview]
Message-ID: <43F5EE32.5080101@cornell.edu> (raw)
In-Reply-To: <43F5EB83.30402@gentoo.org>


>
> # cat /etc/selinux/test-nomcs/modules/active/seusers.final
> root:root:
> __default__:user_u:
>
Ok, let's see... that semicolon shouldn't be there at the end.
It causes the parser to look for an mls range.
This is parsed as:
user = root, seuser = root, mls_range = "__default__:user_u:"

That explains the output out of semanage, which doesn't make any sense 
otherwise.
Not sure why the end colon of the range is removed, but it seems 
plausible during translation and all that.
======================
So, your seuser has an mls range, which causes a crash, because 
libsemanage doesn't handle that case very well.
I will patch the library to prevent that crash, but for the moment I 
suggest you get rid of the end colon.
=======================
As far as "s0" is concerned - I have no idea where that's coming from - 
did you possibly give me a trace that doesn't match those files (you 
said you'd seen it before, not sure if you pasted old or new trace).











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

  reply	other threads:[~2006-02-17 15:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-17  4:24 semanage non MLS breakage Chris PeBenito
2006-02-17  5:41 ` Ivan Gyurdiev
2006-02-17 14:23   ` Joshua Brindle
2006-02-17 15:04     ` Ivan Gyurdiev
2006-02-17 15:10       ` Joshua Brindle
2006-02-17 15:19         ` Ivan Gyurdiev
2006-02-17 15:28           ` Joshua Brindle
2006-02-17 15:39             ` Ivan Gyurdiev [this message]
2006-02-17 21:30               ` Ivan Gyurdiev
2006-02-18 18:44                 ` Chris PeBenito
2006-02-18 20:06                   ` Ivan Gyurdiev
2006-02-19 12:10                     ` Ivan Gyurdiev
2006-02-19 16:54                       ` Joshua Brindle
2006-02-19 17:17                         ` Ivan Gyurdiev
2006-02-22 15:49                           ` Stephen Smalley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43F5EE32.5080101@cornell.edu \
    --to=ivg2@cornell.edu \
    --cc=method@gentoo.org \
    --cc=pebenito@gentoo.org \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.