I installed a clean F16 system on disk with standalone home. I used manual partitioning since I didn't want to lose my data. After installation I changed ownership of /home/user properly. The issue is that selinux doesn't recognize /home partition as a home partition and prevents the system from using in properly. Eg. when I was trying to log in KDE, it printed out an error saying that logging failed when using home=/. I suppose that this is caused by misconfigured selinux-policy which is not precisely a bug, but I'd expect some option to relabel existing files when installing Fedora. I've tried to run restorecon manually, but it didn't help at all. I'd also like to add, that this applies also to newly created users, with home dir copied from skel. After umounting /home and creating new user, login was possible. Interesting is also that F14 system was present on the computer before F16. But I didn't do an upgrade, but reinstall. Version-Release number of selected component (if applicable): Fedora 16 installed from multiboot live DVD (KDE was running; x86_64) How reproducible: I think that always after described circumstances, but didn't tested Steps to Reproduce: above Actual results: Users can't log in after install Expected results: logging into the newly installed system Additional info: above
I would like to see some AVC msgs related to this issue from permissive mode.
Created attachment 544624 [details] audit.log from first denial to the end
setsebool -P use_nfs_home_dirs 1 You seem to have /home mounted on NFS?
(In reply to comment #3) > setsebool -P use_nfs_home_dirs 1 > > You seem to have /home mounted on NFS? No, /home is local partition on that system.
Your AVC's show xdm_t (kdm) trying to write to a directory, bragoslav, which is labeled nfs_t?
This bug is still present installing Fedora 20 (64 bit, xfce spin). After installation it is not possible to login correctly using the old home partition from a previous install (with the partition on the same hard drive as /). A simple work around is to execute $ restorecon -R /home after installation, but anaconda should do it automatically since a separate home partition is a common setup, also suggested in fedora documentation.
Andrea this bug relates to nfs? If you have a new bug pleas open a new bugzilla.
Sorry, I missed the focus on NFS. I filed a new bug 1087736.