Bug 350461 - Mailman init script prevents proper SELinux domain transitions
Summary: Mailman init script prevents proper SELinux domain transitions
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mailman
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Tomas Smetana
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-24 13:42 UTC by Tomas Smetana
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-26 11:12:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tomas Smetana 2007-10-24 13:42:30 UTC
+++ 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):
mailman-2.1.9-2

How reproducible:
Always

Steps to Reproduce:
1. Start mailman with SELinux in permissive mode.
2. Execute "ps xuwa -Z | grep qrunner"
  
Actual results:
The processes run in initrc_t domain.

Expected results:
The processes should run in mailman_mail_t domain.

Additional info:
A patch against the init script is attached.

-- Additional comment from aleksander.adamowski.redhat 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 tsmetana 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.


Note You need to log in before you can comment on or make changes to this bug.