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 117499 (usermode-execcontext)

Summary: Can't set exec context in userhelper
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: usermodeAssignee: Jindrich Novy <jnovy>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: angben, bt3819, dwalsh, eloli, gczarcinski, gerry, lsof, pknirsch, rvokal, t7thguest, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-01 13:50:40 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:
Bug Depends On:    
Bug Blocks: 122683    

Description Bill Nottingham 2004-03-04 17:53:25 UTC
rawhide-20040304

Running some userhelper-ified tool, after entering the (correct)
password, I get:

Could not set exec context to user_u:sysadm_r:sysadm_t.

and it exits.

Comment 1 Bill Nottingham 2004-03-04 17:53:55 UTC
Running 'su ; system-config-display' works.



Comment 2 Kaj J. Niemi 2004-03-04 22:39:15 UTC
This looks like a duplicate of bug #115684 (although I was vague at
the time ;-))


Comment 3 Bill Nottingham 2004-03-04 22:40:36 UTC
Definitely maybe. There's no GUI popups in this case, though.


Comment 4 Eugenia Loli-Queru 2004-03-30 07:30:57 UTC
Here is the same bug resubmitted, please read:
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=119406

Bill, any idea why this is happening? How can we fix it?
To me it happens on ALL authentication-required system panels. It 
gives me the password box, I enter it, but the pref panel never comes 
up!!

Comment 5 Eugenia Loli-Queru 2004-03-30 07:31:44 UTC
I also found these (more people with the problem):
http://www.redhat.com/archives/fedora-test-list/2004-
March/msg00220.html
http://www.redhat.com/archives/fedora-test-list/2004-
March/msg01479.html

Comment 6 Bill Nottingham 2004-03-30 16:42:27 UTC
*** Bug 119406 has been marked as a duplicate of this bug. ***

Comment 7 Bill Nottingham 2004-03-30 16:42:38 UTC
*** Bug 119414 has been marked as a duplicate of this bug. ***

Comment 8 Bill Nottingham 2004-03-30 21:43:28 UTC
*** Bug 119433 has been marked as a duplicate of this bug. ***

Comment 9 Eugenia Loli-Queru 2004-03-31 01:55:18 UTC
When yesterday I logged in as "root" for the first time from the 
command line, it asked me about a profile as:
root:sysadm_r:sysadm_t (or something to this effect).

Now, the error message we get here on this bug when we try to load an 
authenticated application is "Could not set exec context to 
user_u:sysadm_r:sysadm_t."

My gut feeling (this is a wild guess) says that this bug is a simple 
typo. In my case it should have said "eugenia:sysadm_r:sysadm_t" but 
instead it said "user_u:sysadm_r:sysadm_t". It seems to me that the 
code somewhere prints and executes as login name the $variable name 
instead of the actual value of the $variable and that's why it's 
failing (and it also pops up to us the "uknown user" alert box as 
seen on bug #115684 when trying to reboot/shutdown the machine)

With this theory, I think a few similar bugs filed since yesterday 
(which have to do with users and authentication on particular apps) 
seem resolved. Could someone have a look for this wild guess?

Comment 10 Bill Nottingham 2004-04-05 21:48:25 UTC
*** Bug 119746 has been marked as a duplicate of this bug. ***

Comment 11 Bill Nottingham 2004-04-06 16:32:13 UTC
*** Bug 120002 has been marked as a duplicate of this bug. ***

Comment 12 Daniel Walsh 2004-12-01 13:50:40 UTC
Fixed in FC3