Bug 119769
Summary: | cannot run as user | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Scott Sloan <devscott> | ||||
Component: | usermode | Assignee: | Jindrich Novy <jnovy> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | rawhide | CC: | de_lupus, dwalsh, lsof, pknirsch, tammy.c.fox, 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-11-30 19:11:33 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: | |||||||
Attachments: |
|
Description
Scott Sloan
2004-04-02 01:27:11 UTC
Created attachment 99071 [details]
strace output
This looks like it might be a symptom of SELinux. Please disable SELinux with the setenforce 0 command as described at http://people.redhat.com/kwade/fedora-docs/selinux-faq-en/, try to run system-logviewer as a user again, and let me know what happens. With Setting: /etc/sysconfig/selinux selinux=disabled I can start system-* succssfully, so you're right Tammy in that this is a direct symptom of selinux. After further investigation, it looks like userhelper is dumping out the Could not set exec context to user_u:sysadm_r:sysadm_t error message. I am changing the component to usermode. FWIW, this works for users created with 'useradd' (i.e. with sysadm_r), but not with seuser add -R user_r (i.e. with user_r). [tim@tornado tim]$ id -Z tim:user_r:user_t [tim@tornado tim]$ gdmsetup Could not set exec context to tim:sysadm_r:sysadm_t. [foo@tornado foo]$ id -Z user_u:sysadm_r:sysadm_t [foo@tornado foo]$ gdmsetup [asks for password, then works] *** Bug 119602 has been marked as a duplicate of this bug. *** *** Bug 119858 has been marked as a duplicate of this bug. *** Current policy fixes this problem |