Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 119406

Summary: GDMsetup asks root passwd, then doesn't launch
Product: [Fedora] Fedora Reporter: Benjamin Thompson <bt3819>
Component: gdmAssignee: Havoc Pennington <hp>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: eloli
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:02:14 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 Benjamin Thompson 2004-03-30 06:34:28 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312

Description of problem:
I have tried launching "Login Screen," or gdmsetup, from the menus via
GNOME as well as KDE and through Konsole. The prompt for the root
password appears every time, I put the password in every time, and the
prompt disappears and the app never launches--every time.

When I try launching via konsole, the following is shown in the
konsole after inputting the root password in the aforementioned query
window:
Could not set exec context to user_u:sysadm_r:sysadm_t.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Boot FC2/t2 into KDE or GNOME with non-root user.
2. Launch gdmsetup through {main menu->system settings->login screen}
or via an xterm
3. Provide root password, hit OK.
    

Actual Results:  gdmsetup simply will not launch. If launched from
konsole, the error: "Could not set exec context to
user_u:sysadm_r:sysadm_t." is produced.

Expected Results:  gdmsetup ought to have launched normally. There
were no strange settings in my install that should have produced this.

Comment 1 Eugenia Loli-Queru 2004-03-30 07:26:51 UTC
I concur. This happens here too. I can't load "Services" or "User and 
Groups" or *anything else* that requires authentication. It gives me 
the same stuff Ben said:
Could not set exec context to user_u:sysadm_r:sysadm_t.

When logged in as "root" it works fine, but when logged in 
as "eugenia" it just bails out.

Please note that this is an "Everything" installation, I installed 
all packages. I thought I will say this here just in case it has 
something to do with the problem (however my gut feeling says that it 
has something to do with SELinux).

Comment 2 Eugenia Loli-Queru 2004-03-30 07:54:05 UTC
Please note that this is *not* a GDMSetup bug, it happens on ALL pref 
panels that require authentication. See bug #117499 too.

Comment 3 schiebe 2004-03-30 13:07:05 UTC
The same here:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=119414
I think thats a problem with SELinux?! 

Comment 4 Bill Nottingham 2004-03-30 16:42:24 UTC

*** This bug has been marked as a duplicate of 117499 ***

Comment 5 Walter Buehler 2004-08-12 08:15:17 UTC
I had this problem on a linux-ppc. I changed the su and gdmsetup 
files in /etc/pam.d/ and it worked at least for su. I'm still 
muddling with the gdmsetup entries there, but I suppose the problem 
is pam, not selinux. 

Comment 6 Red Hat Bugzilla 2006-02-21 19:02:14 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.