Bug 1046437 - SELinux is preventing /usr/bin/gnome-keyring-daemon from 'create' accesses on the sock_file control.
Summary: SELinux is preventing /usr/bin/gnome-keyring-daemon from 'create' accesses on...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:561d304071cb63edecd2e9facaf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-25 09:51 UTC by Mikhail
Modified: 2014-01-16 07:11 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.12.1-116.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-16 07:11:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mikhail 2013-12-25 09:51:57 UTC
Description of problem:
SELinux is preventing /usr/bin/gnome-keyring-daemon from 'create' accesses on the sock_file control.

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

If you believe that gnome-keyring-daemon should be allowed create access on the control sock_file 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                unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:cache_home_t:s0
Target Objects                control [ sock_file ]
Source                        gnome-keyring-d
Source Path                   /usr/bin/gnome-keyring-daemon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gnome-keyring-3.10.1-1.fc20.i686
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.12.6-300.fc20.i686+PAE #1 SMP
                              Mon Dec 23 17:02:24 UTC 2013 i686 i686
Alert Count                   1
First Seen                    2013-12-25 15:49:33 YEKT
Last Seen                     2013-12-25 15:49:33 YEKT
Local ID                      6d80683d-6f13-4078-aa90-41a55a11c8b7

Raw Audit Messages
type=AVC msg=audit(1387964973.407:672): avc:  denied  { create } for  pid=18076 comm="gnome-keyring-d" name="control" scontext=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:cache_home_t:s0 tclass=sock_file


type=SYSCALL msg=audit(1387964973.407:672): arch=i386 syscall=socketcall success=no exit=EACCES a0=2 a1=bf8e0980 a2=8135000 a3=5 items=0 ppid=18063 pid=18076 auid=1001 uid=1001 gid=1001 euid=1001 suid=1001 fsuid=1001 egid=1001 sgid=1001 fsgid=1001 ses=5 tty=pts13 comm=gnome-keyring-d exe=/usr/bin/gnome-keyring-daemon subj=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 key=(null)

Hash: gnome-keyring-d,passwd_t,cache_home_t,sock_file,create

Additional info:
reporter:       libreport-2.1.10
hashmarkername: setroubleshoot
kernel:         3.12.6-300.fc20.i686+PAE
type:           libreport

Potential duplicate: bug 1031930

Comment 1 Daniel Walsh 2014-01-03 20:48:50 UTC
68c7b1f53c42a38591fac700ddf298705cbcdd40 fixes this in git.

Comment 2 Lukas Vrabec 2014-01-03 23:56:38 UTC
back ported.

Comment 3 Fedora Update System 2014-01-13 22:56:37 UTC
selinux-policy-3.12.1-116.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-116.fc20

Comment 4 Fedora Update System 2014-01-15 05:58:13 UTC
Package selinux-policy-3.12.1-116.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-116.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-0806/selinux-policy-3.12.1-116.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-01-16 07:11:00 UTC
selinux-policy-3.12.1-116.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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