Bug 1499390

Summary: SELinux is preventing ibus-daemon from using the 'signull' accesses on a process.
Product: [Fedora] Fedora Reporter: Jeff Layton <jlayton>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: a0c42f44, benoit, david.graeff, dwalsh, lsm5, lvrabec, mgrepl, mttl.tushar13, mystilleef, plautrba, pmoore, sbroz
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:8d5ad0a6632d4b5c7faf9fdd99b8d69d36576e604a3382b36fc7b99a891db771;VARIANT_ID=workstation;
Fixed In Version: selinux-policy-3.13.1-283.16.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-20 16:56:49 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:

Description Jeff Layton 2017-10-07 02:12:17 UTC
Description of problem:
SELinux is preventing ibus-daemon from using the 'signull' accesses on a process.

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

If you believe that ibus-daemon should be allowed signull access on processes labeled unconfined_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:
# ausearch -c 'ibus-daemon' --raw | audit2allow -M my-ibusdaemon
# semodule -X 300 -i my-ibusdaemon.pp

Additional Information:
Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                unconfined_u:unconfined_r:unconfined_dbusd_t:s0-s0
                              :c0.c1023
Target Objects                Unknown [ process ]
Source                        ibus-daemon
Source Path                   ibus-daemon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-260.8.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.12.12-300.fc26.x86_64 #1 SMP Mon
                              Sep 11 17:18:56 UTC 2017 x86_64 x86_64
Alert Count                   2
First Seen                    2017-09-16 20:27:02 EDT
Last Seen                     2017-09-16 20:27:02 EDT
Local ID                      7dd5e1e0-aea1-40f6-b336-11f6ae18144d

Raw Audit Messages
type=AVC msg=audit(1505608022.228:211): avc:  denied  { signull } for  pid=1301 comm="gnome-shell" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_dbusd_t:s0-s0:c0.c1023 tclass=process permissive=0


Hash: ibus-daemon,xdm_t,unconfined_dbusd_t,process,signull

Version-Release number of selected component:
selinux-policy-3.13.1-260.8.fc26.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.2
hashmarkername: setroubleshoot
kernel:         4.13.4-300.fc27.x86_64
type:           libreport

Potential duplicate: bug 1400276

Comment 1 Lukas Vrabec 2017-10-09 10:20:28 UTC
*** Bug 1400276 has been marked as a duplicate of this bug. ***

Comment 2 BenoƮt ANSIEAU 2017-11-11 13:42:00 UTC
Description of problem:
On connecting Android tab with USB on MTP protocol - Lenovo tab 3 Plus (Lenovo YT-X703F) - Android 6.0.1

Version-Release number of selected component:
selinux-policy-3.13.1-191.16.fc24.noarch

Additional info:
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.13.4-200.fc26.x86_64
type:           libreport

Comment 3 a0c42f44 2017-11-15 15:47:33 UTC
*** Bug 1513567 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2017-11-16 15:12:38 UTC
selinux-policy-3.13.1-283.16.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-5178e6a393

Comment 5 Stepan Broz 2017-11-16 20:59:22 UTC
Description of problem:
Install of TopIcons GNOME shell extenstion from Firefox - I was missing my systray where SpiderOak Groups starts (minimized) by default.

Version-Release number of selected component:
selinux-policy-3.13.1-260.14.fc26.noarch

Additional info:
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.13.12-300.fc27.x86_64
type:           libreport

Comment 6 Fedora Update System 2017-11-17 18:56:30 UTC
selinux-policy-3.13.1-283.16.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5178e6a393

Comment 7 Fedora Update System 2017-11-20 16:56:49 UTC
selinux-policy-3.13.1-283.16.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.