From: Daniel J Walsh <dwalsh@redhat.com>
To: Jan-Frode Myklebust <janfrode@tanso.net>
Cc: SE Linux <selinux@tycho.nsa.gov>
Subject: Re: RHEL5 initrc_t vs. unconfined_t
Date: Wed, 14 May 2008 18:41:42 -0400 [thread overview]
Message-ID: <482B6AA6.3050500@redhat.com> (raw)
In-Reply-To: <20080514223129.GA29418@lc4eb8045376502.ibm.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jan-Frode Myklebust wrote:
| On Wed, May 14, 2008 at 06:14:12PM -0400, Daniel J Walsh wrote:
|> |
|> | Yes, GPFS doesn't support the selinux extended attributes, so the
|> | filesystems has to be mounted with f.ex. "-o
|> | "fscontext=user_u:object_r:httpd_var_run_t" for static labelling.
|> |
|
|> The other ones are just leaked file descriptors and can be ignored.
|
| So what about the mount/umount and everything else GPFS might want to
| do in the lifetime of the system. I have no way of guessing all things
| it might want to do that could possibly be denied in a transitioning
| domain. Is my only option to manually start the fs from an interactive
| shell to get it running as unconfined ?
|
|
| -jf
You might be able to use the runcon command, or write a simple policy
modules for it.
Something like
...
# cat myapp.te
policy_module(myapp, 1.0)
type myapp_t;
type myapp_exec_t;
init_daemon_domain(myapp_t, myapp_exec_t)
unconfined_domains(myapp_exec_t)
#cat myapp.fc
/usr/bin/myapp gen_context("system_u:object_r:myapp_exec_t:s0)
# make -f /usr/share/selinux/devel/Makefile
# semodule -i myapp.pp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkgraqYACgkQrlYvE4MpobP68gCgoBRwcHg1+xGq++qyZCT6bhf+
YTEAn2kGm+rkgq/3uwGz9J77c8hysijo
=vF4t
-----END PGP SIGNATURE-----
--
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:[~2008-05-14 22:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-13 20:45 RHEL5 initrc_t vs. unconfined_t Jan-Frode Myklebust
2008-05-14 13:39 ` Daniel J Walsh
2008-05-14 14:42 ` Jan-Frode Myklebust
2008-05-14 14:58 ` Daniel J Walsh
2008-05-14 19:46 ` Jan-Frode Myklebust
2008-05-14 22:14 ` Daniel J Walsh
2008-05-14 22:31 ` Jan-Frode Myklebust
2008-05-14 22:41 ` Daniel J Walsh [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=482B6AA6.3050500@redhat.com \
--to=dwalsh@redhat.com \
--cc=janfrode@tanso.net \
--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.