Bug 742797 - SELinux is preventing /usr/bin/gnome-keyring-daemon from using the 'setcap' accesses on a process.
Summary: SELinux is preventing /usr/bin/gnome-keyring-daemon from using the 'setcap' a...
Keywords:
Status: CLOSED DUPLICATE of bug 742785
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:b39045a4e44...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-02 20:35 UTC by Elias Oliveira de Jesus
Modified: 2011-10-03 08:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-03 08:40:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Elias Oliveira de Jesus 2011-10-02 20:35:01 UTC
SELinux is preventing /usr/bin/gnome-keyring-daemon from using the 'setcap' accesses on a process.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that gnome-keyring-daemon should be allowed setcap access on processes labeled xdm_dbusd_t by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep gnome-keyring-d /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023
Target Context                system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023
Target Objects                Unknown [ process ]
Source                        gnome-keyring-d
Source Path                   /usr/bin/gnome-keyring-daemon
Port                          <Desconhecido>
Host                          (removed)
Source RPM Packages           gnome-keyring-3.0.3-1.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-38.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.40.4-5.fc15.x86_64 #1 SMP Tue Aug
                              30 14:38:32 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Dom 18 Set 2011 02:53:40 BRT
Last Seen                     Dom 18 Set 2011 02:53:40 BRT
Local ID                      3770e234-ad3a-4a69-b7f8-00bb905429e4

Raw Audit Messages
type=AVC msg=audit(1316325220.307:80): avc:  denied  { setcap } for  pid=2020 comm="gnome-keyring-d" scontext=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 tclass=process


type=SYSCALL msg=audit(1316325220.307:80): arch=x86_64 syscall=capset success=yes exit=0 a0=7fd6429827d4 a1=7fd6429827dc a2=1 a3=0 items=0 ppid=2019 pid=2020 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 tty=(none) ses=4294967295 comm=gnome-keyring-d exe=/usr/bin/gnome-keyring-daemon subj=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 key=(null)

Hash: gnome-keyring-d,xdm_dbusd_t,xdm_dbusd_t,process,setcap

audit2allow

#============= xdm_dbusd_t ==============
allow xdm_dbusd_t self:process setcap;

audit2allow -R

#============= xdm_dbusd_t ==============
allow xdm_dbusd_t self:process setcap;

Comment 1 Miroslav Grepl 2011-10-03 08:40:22 UTC

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


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