Bug 669920 - F12-F14 preupgrade fails with GUI login except if login as root.
Summary: F12-F14 preupgrade fails with GUI login except if login as root.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-15 20:01 UTC by Gavin Lusby
Modified: 2011-04-03 08:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-03 08:34:32 UTC
Type: ---


Attachments (Terms of Use)

Description Gavin Lusby 2011-01-15 20:01:36 UTC
Description of problem:

Not too sure if this is preupgrade/KDM/SELinux but I cannot log in as normal.
I have blamed preupgrade as this is the last major change I have done.

Preupgrade from a freshly updated Fedora 12 (KDE) to Fedora 14 went swimmingly;
/boot was too small, warned to use eth0, all packages were installed - all good.

Login screen accepted my name and password but before final loading screen 
completes, it goes back to the log-in screen.


Version-Release number of selected component (if applicable):
 (a) (currently) preupgrade-1.1.8-1.fc14.noarch (not too sure what it was)
 (b) Revision KDE 4.5 (2010-05-13)
 (c) As per Bug 646063 - which sounds similar, I have tried updating 
     selinux-policy.noarch but yum says that 
     "selinux-policy-3.9.7-19.fc14.noarch already installed and latest 
     version".


How reproducible:
Without fail from the gui. Fail-safe method does work although it is very slow.
Loging in with root always works.


Steps to Reproduce:
1. Login from GUI always fails.
2. Once loged in with root, if I try using login to a user account via 
   <<# login username>> from a konsole, then I get the following message:
	"
	
	
	Warning: Program '/bin/bash' crashed.
	"
   followed by a complete locking-up of the konsole window.
3. I tried creating a new user account from F14 root using 
   <<# useradd -geng -s/bin/bash -pxxxx -d/home/dummy -m dummy>>
   when loging into this F14-native account there is no login loading screen,
   it just returns to the original login prompt.
  
Actual results:
Would expect normal login behaviour as per the F11->F12 upgrade but alas no.
Would expect a new user would avoid legacy configuration and thus avoid this.


Expected results:
Would like to log-on as a normal user with no system privileges.


Additional info:
I've got deprecation messages for having a modprobe.conf and modprobe.d/ due 
to an old fix for Broadcom fix in F11 that I just have been a little scared to
remove for fear of permanently ruining my wifi... How could I watch TV 
otherwise?

Comment 1 Miroslav Grepl 2011-02-14 12:42:08 UTC
I don't think this is a SELinux issue. Are you able to log in in permissive mode?

Also AFAIK upgrade from F12 to F14 is not recommended.

Comment 2 Daniel Walsh 2011-02-14 14:09:27 UTC
You might want to try a relable 

touch /.autorelabel; reboot

If this is an SELinux issue.

Comment 3 Gavin Lusby 2011-02-15 07:41:20 UTC
I think you guys are right, I tried permissive, disabled SELinux policies and relabeled as I went and still I can only login as root.

Once logged in as root I can easily login as any user with the su command (i.e. without a password).  What are the processes between the gui log in and just a su login...?

I'll try and re-tag this problem elsewhere - any ideas?  

Thanks for the suggestions.

Comment 4 Daniel Walsh 2011-02-16 22:10:34 UTC
sssd is new in F14.  Or pam

Comment 5 Gavin Lusby 2011-04-03 08:34:06 UTC
The login failure was fixed with the last update I got yesterday.

Thanks for all the suggestions.

G


Note You need to log in before you can comment on or make changes to this bug.