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.
Hello Thomas,
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?
Newly created files will not have selinux context information. See http://people.redhat.com/kwade/fedora-docs/selinux-faq-en/ .
Leonard.
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 ???