[Mailman-Users] mm_cfg.py in /usr : SELinux problem

Mark Sapiro mark at msapiro.net
Fri Apr 3 20:21:34 CEST 2009


Daniel Novotny wrote:
>
>The solution I created is to create a new script called
>"mailman-update-cfg"'which contains the following:
>
>#!/usr/bin/python
>import py_compile
>
>py_compile.compile("/usr/lib/mailman/Mailman/mm_cfg.py")
>
>in the mm_cfg.py there's a note, that if you use SELinux,
>you have to run this script as root after you change
>the configuration
>
>what do you think about this? it's more of a work-around,
>but it can be a part of the mailman init script in /etc/init.d


Since the RedHat package already installs its own /etc/init.d/mailman,
I think this is a good solution for the RedHat package. For the rest
of us, we're pretty far from FHS compliance and presumably good
security policy manager compliance anyway.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list