Parent Directory | Revision Log | Revision Graph
Initial import
1 | brianr | 1.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 |