I'm still rasslin' with SELinux on Fedora Core 3. The latest problem was with Movabletype (I'm still using version 2.661.)
This entry is being written partially to be helpful to others and partially to test whether my hack actually works.
SElinux was not allowing Perl (the language in which MovableType is written) to follow the symlink from /usr/tmp to /var/tmp.
Rather than mucking around with the SELinux permissions I simply went into the MovableType Perl files and changed 'em to use /var/tmp rather than /usr/tmp
This was a change to file CGI.pm in the extlib directory. I changed the code (near line 25) so that it looks like the following:
# HARD-CODED LOCATION FOR FILE UPLOAD TEMPORARY FILES. # UNCOMMENT THIS ONLY IF YOU KNOW WHAT YOU'RE DOING. # $CGITempFile::TMPDIRECTORY = '/usr/tmp'; $CGITempFile::TMPDIRECTORY = '/var/tmp';
Slightly paraphrasing Shakespeare (from "As You Like It"):
a poor hack, sir, an ill-favoured thing, sir, but mine ownPosted by karl at January 20, 2005 1:07 AM