Summary SELinux prevented /bin/mount from mounting on the file or directory "/usr/local/test/temp/_ramdisk_" (type "swapfile_t"). Detailed DescriptionSELinux prevented /bin/mount from mounting a filesystem on the file or directory "/usr/local/test/temp/_ramdisk_" of type "swapfile_t". By default SELinux limits the mounting of filesystems to only some files or directories (those with types that have the mountpoint attribute). The type "swapfile_t" does not have this attribute. You can either relabel the file or directory or set the boolean "allow_mount_anyfile" to true to allow mounting on any file or directory.Allowing AccessChanging the "allow_mount_anyfile" boolean to true will allow this access: "setsebool -P allow_mount_anyfile=1."The following command will allow this access:setsebool -P allow_mount_anyfile=1Additional InformationSource Context: system_u:system_r:mount_tTarget Context: system_u:object_r:swapfile_tTarget Objects: /usr/local/test/temp/_ramdisk_ [ file ]Affected RPM Packages: util-linux-2.13-0.45.el5 [application]Policy RPM: selinux-policy-2.4.6-80.el5Selinux Enabled: TruePolicy Type: targetedMLS Enabled: TrueEnforcing Mode: EnforcingPlugin Name: plugins.allow_mount_anyfileHost Name: localhost.localdomainPlatform: Linux localhost.localdomain 2.6.18-36.el5 #1 SMP Fri Jul 20 14:26:11 EDT 2007 i686 i686Alert Count: 5Line Numbers: Raw Audit Messages :avc: denied { getattr } for comm="mount" dev=dm-0 egid=0 euid=0 exe="/bin/mount" exit=-13 fsgid=0 fsuid=0 gid=0 items=0 path="/usr/local/test/temp/_ramdisk_" pid=3012 scontext=system_u:system_r:mount_t:s0 sgid=0 subj=system_u:system_r:mount_t:s0 suid=0 tclass=file tcontext=system_u:object_r:swapfile_t:s0 tty=(none) uid=0