All of lore.kernel.org
 help / color / mirror / Atom feed
* As we move to systemd, we are loosing some functionality from init scripts.
@ 2011-07-12 21:12 Daniel J Walsh
  2011-07-13 13:33 ` Christopher J. PeBenito
  2011-07-13 17:20 ` Matthew Ife
  0 siblings, 2 replies; 9+ messages in thread
From: Daniel J Walsh @ 2011-07-12 21:12 UTC (permalink / raw)
  To: SELinux

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

Currently we can setup certain domains to be allowed to execute labeled
init scripts.  If we go away from init scripts we will need a mechanism
for init to look at the calling program label to figure out if it is
allowed to start/stop certain domains.

Can webadm_t start/stop mysqld_t?  Can webadm_t start/stop httpd_t?

# id -Z
staff_u:webadm_r:webadm_t:s0-s0:c0.c1023
# systemctl start httpd.service
# systemctl stop httpd.service

Another option would be just whether label
/lib/systemd/system/mysqld.service something that webadm_t is not
allowed to read.

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

iEYEARECAAYFAk4cuKUACgkQrlYvE4MpobMOygCg5fegKSSt82AuW6DtrS6GphDH
OPwAn0S6Y0+q4XFyqSBs2hIyrfgWlZ8o
=InWv
-----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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-07-15 17:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-12 21:12 As we move to systemd, we are loosing some functionality from init scripts Daniel J Walsh
2011-07-13 13:33 ` Christopher J. PeBenito
2011-07-13 13:38   ` Daniel J Walsh
2011-07-13 17:20 ` Matthew Ife
2011-07-13 17:45   ` Daniel J Walsh
2011-07-14 12:51     ` Stephen Smalley
2011-07-14 13:23       ` Russell Coker
2011-07-14 13:41         ` Stephen Smalley
2011-07-15 17:10       ` Daniel J Walsh

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.