----- "Mark Sapiro" <m...@msapiro.net> wrote: > I understand your issue with mm_cfg. All I can suggest is symlinks > might help. I thought the current RedHat package currently has a > symlink /etc/mm_cfg.py -> /usr/lib/mailman/Mailman/mm_cfg.py (or vice > versa). Does this help? yes, the symlink is there, but nevertheless when mailman starts, python tries to compile the file to /usr/lib/mailman/Mailman because this is where the entire package is
> > If the problem is strictly with mm_cfg.pyc, you may be able to make > /usr/lib/mailman/Mailman/mm_cfg.pyc an empty file with mode 0000 (or > (0400) so python won't try to write it. python will try to write it and fail and this triggers the SELinux AVC denial nevertheless > > If John Dennis is still at RedHat, he may be able to help as I think > he's probably thought about this more than anyone. thanks for the contact, I will look if he's still here 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 regards, Daniel Novotny > > -- > Mark Sapiro <m...@msapiro.net> The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9