Re: F8: Cannot log in with home directory on LUKS partition

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

 



On Saturday 10 November 2007 05:08:43 Nothus Infelix wrote:
> I used F7 with my home directory on an encrypted LUKS partition for
> some time. Today, I blew away my root partition and installed F8 on it.
> Now, I can't log in with my user account. Whether logging in graphically
> or on the console, the system complains that /home/user can't be found.
> The console will log me in with / as my home directory, and kdm offers
> to do the same but cancels the login if I say no.
>
> Odder still, once I'm logged in, bash has no problem finding my home
> directory. If I do cd ~ (as user) or cd ~user (as root), I'm put right
> in to my home directory.
>
> Here's the relevant partitions:
>
> crypttab:
> home_crypt /dev/sda5 none
>
> fstab:
> /dev/mapper/home_crypt /home/user ext3 rw,noatime 0 0
>
> And here's the ls -l of /home:
> drwx------ 45 user user 4096 2007-11-09 13:59 user
>
> Like I said above, the partition is mounted correctly at boot time and
> the files are accessible to my user, and even bash resolves ~ correctly.
> It looks like the problem is just in login. Any thoughts?
>
> --
> NI

That problem happened to me too.
It's a SELinux issue:
Try 
"setenforce 0"
before logging in
then you can do
"setenforce 1"
I have an external encrypted home directory too.
Hmm probably the home is mislabeled.
 
-- 

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux