/[smecontribs]/rpms/mailman/contribs10/mailman-update-cfg
ViewVC logotype

Contents of /rpms/mailman/contribs10/mailman-update-cfg

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Feb 22 15:34:03 2021 UTC (3 years, 8 months ago) by brianr
Branch: MAIN
CVS Tags: HEAD
Initial import

1 #!/usr/bin/python
2
3 # This script is needed, when SELinux is enabled:
4 # mailman_mail_t context cannot write to the directory
5 # @mmdir@/Mailman so when you change mm_cfg.py,
6 # mailman cannot create the .pyc
7 #
8 # This script is called in the init script, which is run in unconfined_t
9 # so the .pyc is created and the AVC denial is avoided. (bz#481446)
10
11 import py_compile
12
13 py_compile.compile("@mmdir@/Mailman/mm_cfg.py")

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed