Red Hat Bugzilla – Bug 350461
Mailman init script prevents proper SELinux domain transitions
Last modified: 2007-11-30 17:12:20 EST
+++ This bug was initially created as a clone of Bug #252185 +++
Description of problem:
The init script that launches mailman qrunners uses the form "interpreter
script" instead of "script" to launch the mailmanctl script. Because of this
proper SELinux domain transitions cannot occur and the Mailman qrunner ends up
in initrc_t domain.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start mailman with SELinux in permissive mode.
2. Execute "ps xuwa -Z | grep qrunner"
The processes run in initrc_t domain.
The processes should run in mailman_mail_t domain.
A patch against the init script is attached.
-- Additional comment from firstname.lastname@example.org on 2007-08-14
12:16 EST --
Created an attachment (id=161280)
A patch to get rid of direct interpreter invocation in mailman init script
-- Additional comment from email@example.com on 2007-10-23 03:58 EST --
I got some AVC messages after applying the patch. This means that we might need
to update also the policy and need to test this for some time. Maybe we should
start with this in Fedora first.