[Bugs] [Bug 1402661] Samba crash when mounting a distributed dispersed volume over CIFS

bugzilla at redhat.com bugzilla at redhat.com
Fri Jan 20 10:49:03 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1402661



--- Comment #34 from Xavier Hernandez <xhernandez at datalab.es> ---
I've been playing with selinux and I've been able to make it work. However to
do two mmaps with the same contents, a file needs to be created. In this case,
mmap() fails if the file is not created in an executable directory. I've tried
/tmp, /var/tmp, /var/run and /root, but all failed. If I use /sbin, it works.

The reason seems to be that files created in all those directories do not have
the selinux' bin_t type. If I manually set this type on the file, it works
whatever it's created.

Where's the best place to put that file without needing to manually set the
selinux type from code ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=LqfUj5VrDG&a=cc_unsubscribe


More information about the Bugs mailing list