From: Jeff Johnson <n3npq@nc.rr.com>
To: "Fedora SELinux support list for users & developers."
<fedora-selinux-list@redhat.com>
Cc: SELinux <SELinux@tycho.nsa.gov>
Subject: Re: New design for policy on disk allowing multiple policy rpms to be simultaniously installed.
Date: Tue, 25 May 2004 15:29:58 -0400 [thread overview]
Message-ID: <40B39EB6.3060503@nc.rr.com> (raw)
In-Reply-To: <40B394AF.2000801@redhat.com>
Daniel J Walsh wrote:
>
>
> 6. If during the install /etc/sysconfig/selinux does not exist or does
> not contain an entry for the type of policy, the first one installed
> will set the context to itself.
>
> cat /etc/sysconfig/selinux
> #
> # Change the following line to enforcing, permissive or disabled.
> # On the next boot the machine will come up in one the selected mode
> #
> SELINUX=enforcing
> #
> # Select the type of policy that you are running current values are
> # strict and targeted
> #
> SELINUXTYPE=strict
>
>
> So if nothing is in the /etc/sysconfig/selinux file and you install
> strict, strict will be added
> to config file. If there is an entry then it will be left there.
> This will allow the installation of both the Strict and Targeted
> policy and the user can change the choice via this file and can then
> relabel
Ah, you want Yet Another Config File parser added to all applications
that need to determine which policy
is going to be installed. Well, that's doable, but, well, ick. Perhaps
there is a new routine in libselinux to
simplify which policy obtains. There are run-time issues as well: What
if you are upgrading from targeted
to strict, which regexes should be used during upgrade?
73 de Jeff
--
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.
prev parent reply other threads:[~2004-05-25 19:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-25 18:47 New design for policy on disk allowing multiple policy rpms to be simultaniously installed Daniel J Walsh
2004-05-25 19:18 ` Jeff Johnson
2004-05-25 19:34 ` Daniel J Walsh
2004-05-26 16:56 ` Stephen Smalley
2004-05-27 0:45 ` Jeff Johnson
2004-05-25 19:29 ` Jeff Johnson [this message]
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=40B39EB6.3060503@nc.rr.com \
--to=n3npq@nc.rr.com \
--cc=SELinux@tycho.nsa.gov \
--cc=fedora-selinux-list@redhat.com \
/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.