From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Paul Moore <paul.moore@hp.com>,
"selinux@tycho.nsa.gov" <selinux@tycho.nsa.gov>,
James Morris <jmorris@redhat.com>
Subject: Re: You mentioned somewhere there is a step by step guide to getting the MLS policy installed on a machine?
Date: Thu, 14 Apr 2005 23:52:07 +0100 [thread overview]
Message-ID: <20050414225207.GA9016@lkcl.net> (raw)
In-Reply-To: <1113511093.2123.74.camel@moss-spartans.epoch.ncsc.mil>
On Thu, Apr 14, 2005 at 04:38:13PM -0400, Stephen Smalley wrote:
> 3) Rather than immediately booting the MLS-enabled kernel into multi-
> user mode, you should instead boot with enforcing=0 single to fix up the
> context on /etc/mtab, which is re-created by the shutdown while you were
> still running with selinux=0. You can run /sbin/restorecon /etc/mtab
> from single-user mode, then /usr/sbin/setenforce 1 and exit the single-
> user shell to come up multi-user.
/etc/mtab is/was an issue (not in MLS) iirc with debian - it
was the cause of much grief - esp. when a program didn't exit
at shutdown, locked the partition (e.g. /usr), caused umount
to fail, cascade-caused /etc/mtab to not be updated, there's
a bug in /etc/init.d/mountvirtfs.sh where it incorrectly
detect(s/ed?) that /etc/mtab wasn't writeable, cascade-caused
mountvirtfs.sh to think that /usr was still mounted read-write
from the prior shutdown, and it went pear-shaped from there.
l.
--
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:[~2005-04-14 22:52 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-17 23:13 [patch] enhanced MLS support Darrel Goeddel
2005-01-17 23:16 ` Darrel Goeddel
2005-01-21 17:42 ` Stephen Smalley
2005-01-21 18:04 ` Stephen Smalley
2005-02-01 16:17 ` Stephen Smalley
2005-01-23 18:44 ` James Morris
2005-01-24 3:40 ` Casey Schaufler
2005-01-24 12:30 ` Stephen Smalley
2005-01-24 16:38 ` Casey Schaufler
2005-01-24 16:57 ` Stephen Smalley
2005-01-25 23:15 ` Darrel Goeddel
2005-01-26 20:35 ` Stephen Smalley
2005-03-22 21:22 ` You mentioned somewhere there is a step by step guide to getting the MLS policy installed on a machine? Daniel J Walsh
2005-03-23 9:41 ` Reloading Policy? John Buwa
2005-03-23 13:28 ` Stephen Smalley
2005-03-23 13:11 ` You mentioned somewhere there is a step by step guide to getting the MLS policy installed on a machine? Stephen Smalley
2005-03-23 13:57 ` Daniel J Walsh
2005-03-23 14:03 ` Stephen Smalley
2005-04-14 20:24 ` Paul Moore
2005-04-14 20:38 ` Stephen Smalley
2005-04-14 22:52 ` Luke Kenneth Casson Leighton [this message]
2005-04-15 0:46 ` James Morris
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=20050414225207.GA9016@lkcl.net \
--to=lkcl@lkcl.net \
--cc=jmorris@redhat.com \
--cc=paul.moore@hp.com \
--cc=sds@tycho.nsa.gov \
--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.