On 11/08/2017 04:34 PM, François Patte wrote:
Bonjour,

I have just upgraded an f23 to f26, keeping the home partition.

selinux blocks the user log-in: when I try to log in, lightdm shows my
login name, but when I enter my password, the process aborts and I go
back to the lightdm login screen....

Been there, seen that dozens of times.

If I disable selinux, I can login.

What to do: permanentely disable selinux?

Try to initiate relabeling.

The probably easiest way to do so is:
1. Reboot
2. Wait for the grub menu to appear, select the kernel you want to boot and press "e" (edit). 3. Scroll down to the line beginning with linux* (e.g. linux16 or linuxefi) and append "selinux=0" (without the '"') to it.
4. Press Ctrl-x (boot)

Now the machine should boot with selinux being disabled.

When the machine is up, reboot again.

SELinux now should be reenabled and the filesystem be automatically relabeled.

In the cases I encountered this had helped.

Ralf





_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to