HOME


sh-3ll 1.0
DIR:/lib/mailman/bin/
Upload File :
Current File : //lib/mailman/bin/mailman-update-cfg
#!/usr/bin/python2

# This script is needed, when SELinux is enabled:
# mailman_mail_t context cannot write to the directory
# /usr/lib/mailman/Mailman so when you change mm_cfg.py, 
# mailman cannot create the .pyc
#
# This script is called in the init script, which is run in unconfined_t
# so the .pyc is created and the AVC denial is avoided. (bz#481446)

import py_compile

py_compile.compile("/usr/lib/mailman/Mailman/mm_cfg.py")