Bug 693972

Summary: No Shell: Permission denied on Login with SELinux enabled
Product: [Fedora] Fedora Reporter: Julian <devlists>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: gansalmon, itamar, ivan.mironov, jonathan, kernel-maint, madhu.chinakonda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-13 23:35:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Julian 2011-04-06 06:25:13 UTC
Description of problem:
As of today I cannot login with selinux enabled. System boots up normally, but login is denied with 
"No Shell: Permission denied"

Version-Release number of selected component (if applicable):
i'm on kernel-2.6.38.2-9.fc15.x86_64

Steps to Reproduce:
1. boot up
2. try to login
  
Actual results:
Error on login attempt: "No Shell: Permission denied"

Expected results:
successful login

Comment 1 Ivan Mironov 2011-04-07 07:32:06 UTC
(In reply to comment #0)
> Description of problem:
> As of today I cannot login with selinux enabled. System boots up normally, but
> login is denied with 
> "No Shell: Permission denied"
> 

Try following:
1. Install all fresh updates
2. Boot in rescue mode (append systemd.unit=rescue to kernel parameters string)
3. Run restorecon -Rv /

Comment 2 Julian 2011-04-13 06:54:05 UTC
Problem solved! Thanks a lot.