Bug 117499 (usermode-execcontext) - Can't set exec context in userhelper
Summary: Can't set exec context in userhelper
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: usermode-execcontext
Product: Fedora
Classification: Fedora
Component: usermode
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact:
URL:
Whiteboard:
: 119406 119414 119433 119746 120002 (view as bug list)
Depends On:
Blocks: 122683
TreeView+ depends on / blocked
 
Reported: 2004-03-04 17:53 UTC by Bill Nottingham
Modified: 2014-03-17 02:42 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-12-01 13:50:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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