All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shaun Savage <savages@pcez.com>
To: selinux <selinux@tycho.nsa.gov>
Subject: Re: package configuration (for dpkg - rpm will have the same issues)
Date: Wed, 20 Mar 2002 04:36:09 -0800	[thread overview]
Message-ID: <3C988239.2080200@pcez.com> (raw)
In-Reply-To: 20020320102215.78752232D@lyta.coker.com.au

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Russell Coker wrote:
| On Wed, 20 Mar 2002 01:11, Shaun Savage wrote:
|
|>This is what i'm doing with rpm.
|>There is a rpm domain.
|>it takes a passwd to enter the rpm domain
|>the I have two options.
|>
disable checking
|>
play games with preinstall scripts and postinstall scripts
|>
|>I choose disable checking
|
|
| By "disable checking" do you mean using avc_toggle to turn off policy
| enforcement?
|

Yes

| If you do that to avoid hackery with the preinstall/postinstall scripts then
| how do you ensure that daemons are running in the correct domains afterwards?
| Do you require a reboot of the system after the package installation?
|
|
I should/will be in single user mode.

even though single user mode is not a reeboot,  It does bring the system off line.


| This is not something that I plan to do.  I don't have enough confidance in
| package developers doing the right thing to allow automatic .te installation
| for MY system, and don't expect anyone who uses my packages to have any more
| faith.


Most people are not as smart as you. They don't understand how a .te is written.
I am thinking about a "verify" program that would check the validity of the new
.te before it is shipped.

|
| I am not even confidant that I can write .te's that will avoid breaking
| things in some situations for some people.
|

I can't ether

| So I plan to make it mandatory for the administrator to view the .te's.  I
| would like to make /etc/selinux not writable for dpkg_t.

would you have a wrapper domain that can write it?

The problem here I think is ease of use.  Only a really sharp admin would know
what going on even on a simple package. I can't explain the http package now ;-)
I know that most people would not look at the .te unless you forced them. and
even then only a very few would know what they are looking at.

In situations that REQUIRE super verified security, then the packages them self
will be "certified" for that platform and configuration. What "certified" means,
I don't know.

Most other users want the concept of security. They will believe you when you
say it is secure. (except me, I don't beleive it when I say it:) If the average
admin is to use SELinux then it needs to be as easy as a Redhat or debian install.

Say MSWindows is 75% secure, plain linux offers 99% secure, then SELinux is
might be 99.999% secure. but if the admin is harder then MSWindows, the average
user will not use it.
I would personally, want it 99.99% and as easy as M$. to get people to use it.
It least they are USING Linux, with better security.
If 99.9999% is needed then the paper work would kill the developer.



|
| I was thinking that I will need to run setfiles before and after the
| postinstall script in case it does any file replacement.
|
good idea, the thing I have done has not needed it, but I will assume there will
be thoses that do.

|
|
| O-ZOT?
I don't swear

|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE8mII4n6I06Opz+XURAv5+AKCk+QnYSykE4Vy9sViLrW4GEyujzgCeMPQ/
7fWYeWFu1wzxKghsp5ArjRk=
=TAj+
-----END PGP SIGNATURE-----


--
You have received this message because you are subscribed to the selinux 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:[~2002-03-20 12:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-14 17:28 package configuration (for dpkg - rpm will have the same issues) Russell Coker
2002-03-15 14:00 ` Stephen Smalley
2002-03-15 23:19   ` Russell Coker
2002-03-18 21:38     ` Stephen Smalley
2002-03-20  0:11     ` Shaun Savage
2002-03-20  9:41       ` Russell Coker
2002-03-20 12:36         ` Shaun Savage [this message]
2002-03-20 13:35           ` Russell Coker
2002-03-20 14:26             ` Shaun Savage
2002-03-20 15:31               ` Russell Coker
2002-03-20 16:03                 ` Shaun Savage
2002-03-20 16:43                   ` Russell Coker
2002-03-20 16:47             ` Stephen Smalley
2002-03-20 17:12               ` Russell Coker
2002-03-20 17:48                 ` Stephen Smalley
2002-03-22 14:08                   ` Dale Amon
2002-03-22 14:44                     ` Stephen Smalley
2002-03-22 14:54                     ` Russell Coker

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=3C988239.2080200@pcez.com \
    --to=savages@pcez.com \
    --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.