Bug 1375404

Summary: SELinux is preventing gnome-shell from using the 'signull' accesses on a process.
Product: [Fedora] Fedora Reporter: Alex <alex.vizor>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: antonio.montagnani, arturpolak1, bugzilla, bugzilla.redhat, canyon, ckmiller88, dominick.grift, dwalsh, eugen.kieber, fr.r.mercier, Gecko8211, gerard.sauvage, giuseppe.bonomelli95, grosales, howmuchcanapandabear, hx, jfrieben, jorti, kcchouette+fedora, liam, live, lvrabec, mgrepl, modir, motoskov, nicolasome-me, novak.david, plautrba, praveen657535, quintus79, sheepdestroyer, striker.pena, warmaximus, weihaodd, xzj8b3, yroy
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:0c8f99db189740acdc7f54555c4e2b1c8ce62f19b350f818c21577f032511522;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 10:13:35 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 Alex 2016-09-13 02:58:09 UTC
Description of problem:
SELinux is preventing gnome-shell from using the 'signull' accesses on a process.

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

If you believe that gnome-shell 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 'gnome-shell' --raw | audit2allow -M my-gnomeshell
# semodule -X 300 -i my-gnomeshell.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                        gnome-shell
Source Path                   gnome-shell
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-212.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.0-0.rc6.git0.1.fc25.x86_64 #1
                              SMP Mon Sep 12 19:16:54 UTC 2016 x86_64 x86_64
Alert Count                   2
First Seen                    2016-09-12 19:56:59 PDT
Last Seen                     2016-09-12 19:56:59 PDT
Local ID                      37696c2f-c0bd-4b8f-80b9-fd780da9af48

Raw Audit Messages
type=AVC msg=audit(1473735419.833:175): avc:  denied  { signull } for  pid=1441 comm="ibus-daemon" 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: gnome-shell,xdm_t,unconfined_dbusd_t,process,signull

Version-Release number of selected component:
selinux-policy-3.13.1-212.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.0-0.rc6.git0.1.fc25.x86_64
type:           libreport

Potential duplicate: bug 1314433

Comment 1 Fedora Admin XMLRPC Client 2016-09-27 15:03:38 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Andrey Motoshkov 2017-03-06 07:18:16 UTC
*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that gnome-shell 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 'gnome-shell' --raw | audit2allow -M my-gnomeshell
# semodule -X 300 -i my-gnomeshell.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                        gnome-shell
Source Path                   gnome-shell
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-241.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed)
                              4.11.0-0.rc0.git9.1.fc26.x86_64 #1 SMP Fri Mar 3
                              16:57:16 UTC 2017 x86_64 x86_64
Alert Count                   2
First Seen                    2017-03-06 09:04:51 IST
Last Seen                     2017-03-06 09:04:51 IST
Local ID                      e01c377d-7492-4aef-84c1-96750ffda5cb

Raw Audit Messages
type=AVC msg=audit(1488783891.827:214): avc:  denied  { signull } for  pid=1526 comm="ibus-daemon" 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: gnome-shell,xdm_t,unconfined_dbusd_t,process,signull

Comment 3 liam 2017-03-15 09:33:50 UTC
*** Bug 1432380 has been marked as a duplicate of this bug. ***

Comment 4 yroy 2017-04-07 13:59:43 UTC
Description of problem:
Extensions blocked by selinux, can't reinstall it

Version-Release number of selected component:
selinux-policy-3.13.1-225.11.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.10.8-200.fc25.x86_64
type:           libreport

Comment 5 Raffael Luthiger 2017-05-01 20:00:44 UTC
Description of problem:
Since one of the last updates I sometimes get this message together with warning that the shell crashed. It happens random.


Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.10.12-200.fc25.x86_64
type:           libreport

Comment 6 Kyle Miller 2017-05-19 02:08:54 UTC
Description of problem:
You can e-mail me: <ckmiller88>

Learning how to use fedora better, want to help, but I'm not sure how this happened. 

The other bug I have been having, 
that does not appear is when shutting down there is a message that repeats.
I found a report about it here:

https://bugzilla.redhat.com/show_bug.cgi?id=1359352

Thank you!!!

Version-Release number of selected component:
selinux-policy-3.13.1-225.13.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.10.14-200.fc25.x86_64
type:           libreport

Comment 7 Jeremy 2017-07-02 16:49:53 UTC
*** Bug 1467090 has been marked as a duplicate of this bug. ***

Comment 8 Panda 2017-09-12 21:39:27 UTC
Description of problem:
Error occured at logon selecting Gnome Classiic as the display manager before typing in password. I was trying the GDM to see if Civ-V on steam would stop generating wayland-nouveau errors

Version-Release number of selected component:
selinux-policy-3.13.1-225.22.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.12.9-200.fc25.x86_64
type:           libreport

Comment 9 Fedora End Of Life 2017-11-16 19:49:05 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 10 Fedora End Of Life 2017-12-12 10:13:35 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.