Skip to contentSkip to conversation

I would like to propose dropping the disable_trans boolean.

DISCUSSION Daniel J Walsh 2 participants 2 messages Mar 8, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

Several reasons for this.

1. We have gotten the policy to such a state where most stuff just works.
2. Problems are easily worked around using audit2allow and loadable policy modules grep badtype /var/log/audit/audit.log | audit2allow -m myfix
3. Disabling trans often causes more problems then it is worth, because of screwed up file context.
4. You can get the same behavior by changing the file context of a file to bin_t.

Thoughts?

--
This message was distributed to subscribers of the selinux mailing 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 11 lines · Daniel J Walsh

Several reasons for this.

1. We have gotten the policy to such a state where most stuff just works.
2. Problems are easily worked around using audit2allow and loadable policy modules
grep badtype /var/log/audit/audit.log | audit2allow -m myfix
3. Disabling trans often causes more problems then it is worth, because of screwed up file context.
4. You can get the same behavior by changing the file context of a file to bin_t.

Quoted 1 line

Thoughts?

I agree with this. When we get tunables support, a better way can be added (make the domain unconfined), and then the #3 problem will go away. We can't do the unconfining trick with booleans, since the unconfining requires attributes, which won't work in conditionals. I know some people who will be happy to see the removal of m4 hacks I had to add to make disable trans to work. Does anyone have reasons too keep these booleans?

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.