Skip to contentSkip to conversation

Message

DISCUSSION Justin Smith 2 participants 2 messages Dec 4, 2001 SELinux security module

lore
Share & tools
lore
#0 lore raw

I'm not sure what I did wrong with the declaration of postgres_t and ipchains_t :

I got the messages

security:  context system_u:system_r:postgres_t is invalid
security:  context system_u:system_r:ipchains_t is invalid
Signature · 16 lines
______________________________________________________________________
Time blows wildly against my door       | Justin R. Smith
Stirring discarded sorrows      	| Department of Mathematics and
Like dead leaves of summers past        |     Computer Science
Memories of forgotten lore          	| Drexel University
Making way for new tomorrows         	| Philadelphia, PA 19104
New hopes, new fears,                   |
         and new ways that last         | Office: (215) 895-1847
URL: http://vorpal.mcs.drexel.edu       | Fax:    (215) 895-1582



--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 2 lines · Justin Smith
security:  context system_u:system_r:postgres_t is invalid
security:  context system_u:system_r:ipchains_t is invalid

You need to authorize new domains for the appropriate roles via a role statement. You can either insert these domains into the central system_r role definition in policy/rbac, or you can add each domain to the role in its own .te file, e.g. adding a 'role system_r types { postgres_t };' rule to the postgres.te file.

--
Stephen D. Smalley, NAI Labs
[email protected]

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.