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

Re: selinux and mounted partitions



Thomas Molina wrote:

I have my system set up for testing and easy swap between setups. I put the root partition on one ide drive (/dev/hda) and /home and /usr/local on a second ide drive (/dev/hdd). /dev/hda is in a removable caddy, allowing me to swap in a known stable setup or change between several test setups.

How possible is it that I will run into trouble when I install an selinux-enabled setup, swap out to my stable caddy, and then swap back in the selinux setup? If so, what could I do to minimize the problems?

Thanks.



You want to setup your "selinux" drive to use context mounts for your homedir.


Something like
context=system_u:object_r:user_home_t

So when it gets mounted you would have access to it.

/usr/local you would probably mount
context=system_u:object_r:usr_t
???








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