unable to login

rich turner rich at storix.com
Mon Jun 27 18:42:14 UTC 2005

i touched the file /.autorelabel, rebooted and saw a message that
"SELinux relabel is required ...". Once it finished and booted to init
level 5 i was still unable to login through the graphical login. i wish
i would have written down the error message but i did not.

at this point i rebooted the system to single user mode and switch the
default init level to 3. now after rebooting again it is hung up on
"Initializing hardware ...". This has to be a selinux issue because if i
issue selinux=0 to the kernel then i do not have any problems.

anyone have any ideas?

On Fri, 2005-06-24 at 22:35 -0500, Christofer C. Bell wrote:
> On 6/24/05, rich turner <rich at storix.com> wrote:
> > i am attempting to login as a normal user (fedora core 4) but am
> > receiving the following error message:
> > 
> > su[1697]:Warning! Could not relabel /dev/console with
> > user_u:object_r:console_su:/bin/bash:Permission denied
> > 
> > this does not happen when i login as root or when i "setenforce 0".
> > 
> > anyone have any ideas?
> I admit that I don't know what the issue is, but I would suggest the
> following:  get root access on the machine (wether you need to disable
> SELinux for that or not for a root login, I don't know), touch
> /.autorelabel, and reboot.
> This will ensure that every file on your system is labeled with the
> correct SELinux security context.  It will be easier to move forward
> from there with troubleshooting if your environment is in a known
> state.

More information about the fedora-selinux-list mailing list