All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dale Amon <amon@vnl.com>
To: Russell Coker <russell@coker.com.au>
Cc: Dale Amon <amon@vnl.com>, SELinux Mail List <selinux@tycho.nsa.gov>
Subject: Re: Trivial debian bootscript for selinuxfs on 2.6
Date: Wed, 17 Sep 2003 12:10:27 +0100	[thread overview]
Message-ID: <20030917111027.GA8988@vnl.com> (raw)
In-Reply-To: <200309172036.48566.russell@coker.com.au>

On Wed, Sep 17, 2003 at 08:36:48PM +1000, Russell Coker wrote:
> I suggest also reloading the policy in the same script (see my previous 
> message about initrd policy).

No problem. I actually had it there but decided it was
redundant and removed it. I'll add it back since I 
really had not strong feelings about it.

If the policy version changes from policy.15, presumably 
there is a package update anyway, so that doesn't seem
a problem.
 
> It has occurred to me that if you were to use a NBD or similar device for a 
> root fs then you might want to do a pivot_root in the shutdown to umount root 
> properly, and therefore umounting any file systems under / will be helpful.

But how would you know whether you needed to re-pivot 
or not? What if you have booted your maintenance kernel
or some other that doesn't pivot? The boot script would
have to recognize that. I haven't got the test machine
booted at the moment so I can't check it the initrd mount
has a unique feature that you can find in /proc/mounts.


--
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:[~2003-09-17 11:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-16 15:54 Trivial debian bootscript for selinuxfs on 2.6 Dale Amon
2003-09-16 19:10 ` Dale Amon
2003-09-17 10:36 ` Russell Coker
2003-09-17 11:10   ` Dale Amon [this message]
2003-09-17 12:15     ` Dale Amon
2003-09-17 12:43     ` Russell Coker
2003-09-17 12:54       ` Dale Amon
2003-09-17 16:56       ` Dale Amon

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=20030917111027.GA8988@vnl.com \
    --to=amon@vnl.com \
    --cc=russell@coker.com.au \
    --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.