From: Stephen Smalley <sds@tycho.nsa.gov>
To: Sven Vermeulen <sven.vermeulen@siphos.be>,
selinux@tycho.nsa.gov, Daniel J Walsh <dwalsh@redhat.com>
Subject: Re: MLS required even when MLS is disabled?
Date: Mon, 25 Nov 2013 15:21:55 -0500 [thread overview]
Message-ID: <5293B163.9080307@tycho.nsa.gov> (raw)
In-Reply-To: <20131125201239.GA24780@siphos.be>
[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]
On 11/25/2013 03:12 PM, Sven Vermeulen wrote:
> Hi all
>
> I have a report that mentions that the new userspace release does not like
> non-MLS policies:
>
> # semanage fcontext -a -t swapfile_t "/swapfile"
> libsepol.context_from_record: MLS is disabled, but MLS context "s0" found (No such file or directory).
> libsepol.context_from_record: could not create context structure (Invalid argument).
> libsemanage.validate_handler: invalid context system_u:object_r:swapfile_t:s0 specified for /swapfile [all files] (Invalid argument).
> libsemanage.dbase_llist_iterate: could not iterate over records (Invalid argument).
> OSError: Invalid argument
>
> # semanage login -a -s staff_u amade
> libsemanage.validate_handler: MLS is disabled, but MLS range s0 was found for Unix user amade (No such file or directory).
> libsemanage.validate_handler: seuser mapping [amade -> (staff_u, s0)] is invalid (No such file or directory).
> libsemanage.dbase_llist_iterate: could not iterate over records (No such file or directory).
> OSError: No such file or directory
>
> Any idea what could be the cause of this?
Probably this one.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-If-users-of-seobject-set-serange-or-seuser-to-we-nee.patch --]
[-- Type: text/x-patch; name="0001-If-users-of-seobject-set-serange-or-seuser-to-we-nee.patch", Size: 0 bytes --]
next prev parent reply other threads:[~2013-11-25 20:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-25 20:12 MLS required even when MLS is disabled? Sven Vermeulen
2013-11-25 20:21 ` Stephen Smalley [this message]
2013-11-26 19:08 ` Stephen Smalley
2013-12-08 13:22 ` Sven Vermeulen
2013-12-09 13:51 ` Daniel J Walsh
2013-12-09 14:09 ` Stephen Smalley
2013-11-25 21:18 ` Daniel J Walsh
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=5293B163.9080307@tycho.nsa.gov \
--to=sds@tycho.nsa.gov \
--cc=dwalsh@redhat.com \
--cc=selinux@tycho.nsa.gov \
--cc=sven.vermeulen@siphos.be \
/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.