custom SELinux?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I need to upgrade a server running an old Fedora version. The new OS will be CentOS 5 64bit.

I want to put /var/lib/cyrus and /var/spool/cyrus (all the variable files for the Cyrus IMAP server) on the same partition like /home - this way, all the "user-related stuff", home pages and email, stays on one partition.

The problem is SELinux. On Fedora, I had to customize the SELinux attributes so that SELinux would grant the Cyrus processes access to the Cyrus stuff in /home But, after doing a relabel of the whole disk, the custom attributes were wiped out.
I want to avoid that on CentOS 5.

So, I need to tell SELinux "hey, this stuff under /home/foobar/spool/cyrus is just like /var/spool/cyrus, don't relabel it to something else". How do I achieve that?

--
Florin Andrei

http://florin.myip.org/
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux