Matlab and /var/tmp

chris albert christopher.albert at mcgill.ca
Sat Jun 5 18:56:49 UTC 2004


Hi,
Upgraded FC1->FC2, installed selinux later, running in permissive mode,
debugging 'avc:  denied' messages.
Matlab's license manager, called from an init script writes files in
/var/tmp and checks them periodically, including inside a subdirectory
/var/tmp/.flexlm, which it creates if necessary. The init script,
provided in the Matlab distro, asks you in comments to change the user
it runs under to an ordinary user, and the initrc_su_t transition works
fine for file creation in /var/tmp, as long as you dont have vestigal
files and directories there from before the selinux relabling. I noticed
also that other leftovers from rpm build processes were there, still
unlabelled after the move to selinux.

I'm wondering if I missed something, or would it be a good idea to have
'fixfiles relable' flush /var/tmp in the same way it does /tmp.

Chris



More information about the fedora-selinux-list mailing list