All of lore.kernel.org
 help / color / mirror / Atom feed
* how to always add rules to a policy
@ 2009-09-14  8:40 briaeros007
  2009-09-14 11:00 ` Paul Howarth
  0 siblings, 1 reply; 3+ messages in thread
From: briaeros007 @ 2009-09-14  8:40 UTC (permalink / raw)
  To: selinux

Hello,

First of all, i'm sorry if my questions is something "dumb".

Here the context of my trouble :
I have create a server with an php website.
This php website use a postgresql db on the same server.
I use a RHEL 5.3 and selinux with the policy "targeted".

For the website to works properly, i must add the rules :
"allow httpd_t postgresql_port_t:tcp_socket name_connect;"

So now my problem is :
If i update my server and the policy is updated : Is there a way to
automatically add this (local) rule ?

What i want to do is to use the rhel policy as a base, and to add my
own local rules without the need to recompile them/add them manually
at each update.

I don't know if i'm very clear /o\


Cordially

--
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] 3+ messages in thread

end of thread, other threads:[~2009-09-14 14:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-14  8:40 how to always add rules to a policy briaeros007
2009-09-14 11:00 ` Paul Howarth
2009-09-14 14:59   ` Justin P. Mattock

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.