Skip to contentSkip to conversation

mta=module not working, make 3.81-rc2 issues

DISCUSSION Erich Schubert 2 participants 2 messages Mar 25, 2006 – Mar 27, 2006 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hi,
first of all, mta=module does currently not work. A couple of modules (e.g. cron) call mta_something interfaces without an optional_policy() wrap around it.
Maybe we should put that optional_policy statement _into_ the interface def?

Secondly, make 3.81-rc2 still doesn't build refpolicy correctly. I'm seeing some odd behaviour again, namely when building tmp/all_te_files.conf,
it's missing corenetwork.te from the $^ variable _despite_ being in $(BASE_TE_FILES); again a downgrade to make 3.80 resolved these issues.

best regards,
Erich Schubert

Signature · 13 lines
   erich@(vitavonni.de|debian.org)    --    GPG Key ID: 4B3A135C    (o_
     We can debug relationships, but it's always good policy to     //\
     consider the people themselves to be features. People get      V_/_
         annoyed when you try to debug them. -- Larry Wall
               Für jedes Problem gibt es eine Lösung,
                 die einfach, klar und falsch ist.



--
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 3 lines · Erich Schubert

first of all, mta=module does currently not work. A couple of modules (e.g. cron) call mta_something interfaces without an optional_policy() wrap around it.

This sounds like expected behavior to me. We can't make everything optional; cron emails output from the cron jobs to the user. If you feel some of these can be made optional, please let me know.

Quoted 2 lines

Maybe we should put that optional_policy statement _into_ the interface def?

In general, putting optionals in interfaces should be avoided (there are a few interfaces that do have optionals). When users have an interface call outside of an optional, the expected behavior is unconditional dependency, but making an interface completely optional in the interface definition would break this expectation. The few interfaces currently in refpolicy that do have optionals still have unconditional parts.

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.