Description of problem: In /etc/fstab: tmpfs /var/spool/exim/input tmpfs uid=exim,gid=exim,context=system_u:object_r:var_spool_t,size=20M,mode=0750 0 0 tmpfs /var/spool/spamikaze tmpfs uid=exim,gid=exim,context=system_u:object_r:var_spool_t,size=20M,mode=0750 0 0 Trying to mount these filesystems fails with: # mount /var/spool/spamikaze/ SELinux: security_context_to_sid(system_u:object_r:var_spool_t) failed for (dev tmpfs, type tmpfs) errno=-22 Version-Release number of selected component (if applicable): 2.6.18-53.1.6.el5xen Expected results: The security context is valid, since other directories are labeled that way. I have no idea why security_context_to_sid would fail for an already known context. It would be nice if the tmpfs mount worked...
Never mind - the security context now needs an :s0 appended for this to work.