sharing a partition betweed FC3 and FC5

D. Hugh Redelmeier hugh at mimosa.com
Mon Aug 7 15:15:07 UTC 2006


Thanks, Paul and Stepen, for your help.

| From: Stephen Smalley <sds at tycho.nsa.gov>

| Unfortunately, aside from patching your FC3 kernel and rebuilding it, I
| think your only option is to disable SELinux for FC3 altogether, i.e.
| boot it with selinux=0 or set SELINUX=disabled in /etc/selinux/config.  

Am I correct in my guess that after doing this, the next time FC5 is
booted, I will have to relabel /home?  What is the right way of doing
this?  (Of course I could disable SELinux in FC5 too.)

Is "fixfiles relabel /home" the best choice?


In my first message, I mentioned that I got the following messages on
the console:

    inode_doinit_with_dentry:  context_to_sid(system_u:object_r:home_root_t:s0) returned 22 for dev=hda5 ino=2
    inode_doinit_with_dentry:  context_to_sid(system_u:object_r:home_root_t:s0) returned 22 for dev=hda5 ino=2

==> What does the error message mean?
    inode 2 is the root of the filesystem.
    It appears that kernel routine inode_doinit_with_dentry is calling context_to_sid
    and context_to_sid is returning EINVAL (because the context was invalid).
    But even knowing that, I don't know what it actually means or is caused by.




More information about the fedora-selinux-list mailing list