From: Tom <tom@lemuria.org>
To: selinux@tycho.nsa.gov
Subject: Re: policy version
Date: Tue, 1 Oct 2002 14:28:32 +0200 [thread overview]
Message-ID: <20021001142832.C23651@lemuria.org> (raw)
In-Reply-To: <Pine.GSO.4.33.0210010742590.1579-100000@raven>; from sds@tislabs.com on Tue, Oct 01, 2002 at 07:46:43AM -0400
On Tue, Oct 01, 2002 at 07:46:43AM -0400, Stephen Smalley wrote:
> > I have a totally unusable SELinux system right now, because of policy
> > version conflicts. For reasons I don't understand, checkpolicy creates
> > a binary representation version 12, which load_policy refuses to load
> > because it's version 11.
>
> This implies that you are still running a kernel with policy version 11,
> but your checkpolicy program has been rebuilt for policy version 12.
> Maybe you need to boot your new kernel (hopefully, you did obtain a new
> kernel, right?)?
I built a fresh kernel from 2.4.19-lsm1 sources today, so the kernel
should actually be newer than the checkpolicy program (actually,
they're both from the August release).
I guess I will take the machine apart in order to mount the harddrive
somewhere else and take a deep look at the kernel sources to verify
this.
I'm not sure what to think about the actual behaviour of the system,
though. I believe it is misbehaving and not failing safely - even
though it can't load the policy, it boots up and lets me log in (into
an unlabeled context). However, even though I'm running in permissive
mode, I get "permission denied" on most file access attempts (including
something as simple as "ls"). IMHO, when it can't load the policy, it
should either panic (enforcing mode) or start up with a "allow all"
default (permissive mode). Feel free to correct me on this, it's just
what I would have expected.
--
PGP/GPG key: http://web.lemuria.org/pubkey.html
pub 1024D/2D7A04F5 2002-05-16 Tom Vogt <tom@lemuria.org>
Key fingerprint = C731 64D1 4BCF 4C20 48A4 29B2 BF01 9FA1 2D7A 04F5
--
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.
next prev parent reply other threads:[~2002-10-01 12:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-01 11:15 policy version Tom
2002-10-01 11:46 ` Stephen Smalley
2002-10-01 12:28 ` Tom [this message]
2002-10-01 12:50 ` Stephen Smalley
2002-10-01 13:30 ` Tom
2002-10-01 13:51 ` Stephen Smalley
2002-10-01 14:00 ` Tom
2002-10-01 14:04 ` Russell Coker
2002-10-01 14:11 ` Tom
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=20021001142832.C23651@lemuria.org \
--to=tom@lemuria.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.