Bug 1041344

Summary: SELinux is preventing /usr/libexec/goa-daemon from 'read' accesses on the key .
Product: [Fedora] Fedora Reporter: Amit Shah <amit.shah>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: amit.shah, dominick.grift, dwalsh, lvrabec, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:d56d5f07c6cf146e1b1240a0983af97553341df2e593a94a7c890d139b1f5e32
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-12 16:15:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Amit Shah 2013-12-12 15:21:29 UTC
Description of problem:
SELinux is preventing /usr/libexec/goa-daemon from 'read' accesses on the key .

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

If you believe that goa-daemon should be allowed read access on the  key 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 goa-daemon /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:sandbox_web_client_t:s0:
                              c266,c705
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                 [ key ]
Source                        goa-daemon
Source Path                   /usr/libexec/goa-daemon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gnome-online-accounts-3.10.2-1.fc20.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-106.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.11.10-301.fc20.x86_64 #1 SMP Thu
                              Dec 5 14:01:17 UTC 2013 x86_64 x86_64
Alert Count                   977
First Seen                    2013-12-12 19:28:12 IST
Last Seen                     2013-12-12 20:42:51 IST
Local ID                      03298ddb-9bed-4487-b442-98395504bd94

Raw Audit Messages
type=AVC msg=audit(1386861171.565:45530): avc:  denied  { read } for  pid=30281 comm="pool" scontext=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c266,c705 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=key


type=SYSCALL msg=audit(1386861171.565:45530): arch=x86_64 syscall=keyctl success=yes exit=EACCES a0=b a1=345ac242 a2=0 a3=0 items=0 ppid=1 pid=30281 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=(none) comm=pool exe=/usr/libexec/goa-daemon subj=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c266,c705 key=(null)

Hash: goa-daemon,sandbox_web_client_t,unconfined_t,key,read

Additional info:
reporter:       libreport-2.1.9
hashmarkername: setroubleshoot
kernel:         3.11.10-301.fc20.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-12-12 16:15:06 UTC

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