Sharing partitions between FC4 and FC5

Stephen Smalley sds at
Mon Apr 3 13:01:17 UTC 2006

On Sat, 2006-04-01 at 10:42 +0100, Ron Yorston wrote:
> I've installed FC5 alongside FC4.  Initially I just gave FC5 its own
> /, /var and /usr partitions but then edited /etc/fstab to add partitions
> that I want to share between FC4 and FC5:  things like /home and /opt.
> For each OS I use a different login with separate home directories.
> This avoids problems with GNOME configurations and the like.
> Then I rebooted into FC5 and forced a relabel.  FC5 works fine but I'm
> now unable to login to the GNOME desktop in FC4 unless I set enforcing=0
> on boot.  When I do that the log rapidly fills up with lines like:
> Apr  1 10:30:24 random kernel: inode_doinit_with_dentry:  context_to_sid(user_u:object_r:user_home_t:s0) returned 22 for dev=dm-1 ino=352500
> I'll attach the log messages I get when I try to login with SELinux
> in enforcing mode.

A MLS compatibility patch went into Linux 2.6.15 and was back ported to
one of the FC4 kernel updates.  Is your FC4 kernel updated?

Stephen Smalley
National Security Agency

More information about the fedora-selinux-list mailing list