Bug 1340332 - SELinux is preventing boinc_client from 'getattr' accesses on the chr_file /dev/input/event14.
Summary: SELinux is preventing boinc_client from 'getattr' accesses on the chr_file /d...
Keywords:
Status: CLOSED DUPLICATE of bug 1337607
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2a7400c5fdf951f722d2cfa6b58...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-27 04:36 UTC by Jia Yuan Lo
Modified: 2016-06-02 10:11 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-02 10:11:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jia Yuan Lo 2016-05-27 04:36:52 UTC
Description of problem:
I dont know what caused the problem...
But On this chr_file: string can zoom from /dev/input/event0 to /dev/input/event14 and back again...
Reporting it is like catching mosquito by hand...
SELinux is preventing boinc_client from 'getattr' accesses on the chr_file /dev/input/event14.

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

If you believe that boinc_client should be allowed getattr access on the event14 chr_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:
# ausearch -c 'boinc_client' --raw | audit2allow -M my-boincclient
# semodule -X 300 -i my-boincclient.pp

Additional Information:
Source Context                system_u:system_r:boinc_t:s0
Target Context                system_u:object_r:event_device_t:s0
Target Objects                /dev/input/event14 [ chr_file ]
Source                        boinc_client
Source Path                   boinc_client
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-158.15.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.4.9-300.fc23.x86_64 #1 SMP Wed
                              May 4 23:56:27 UTC 2016 x86_64 x86_64
Alert Count                   435
First Seen                    2016-05-27 12:31:52 MYT
Last Seen                     2016-05-27 12:32:19 MYT
Local ID                      b816cad1-762a-4bfa-a9ea-e634e7f33901

Raw Audit Messages
type=AVC msg=audit(1464323539.386:704): avc:  denied  { getattr } for  pid=1291 comm="boinc_client" path="/dev/input/event14" dev="devtmpfs" ino=19569 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:event_device_t:s0 tclass=chr_file permissive=0


Hash: boinc_client,boinc_t,event_device_t,chr_file,getattr

Version-Release number of selected component:
selinux-policy-3.13.1-158.15.fc23.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.4.9-300.fc23.x86_64
type:           libreport

Potential duplicate: bug 1337607

Comment 1 Marco Motta 2016-05-27 13:42:26 UTC
Description of problem:
After a dnf update:

# dnf history info last
ID transazione : 1365
Ora inizio     : Fri May 27 15:33:00 2016
rpmdb iniziale : 5543:bd6f4fe845ea51dd8d2054fb7a79b7f1b9e926b6
Ora termine    :            15:33:54 2016 (54 secondi)
rpmdb finale   : 5543:d88d9980350b08dc584bd32da787c4d0f054be32
Utente         : marco <marco>
Codice di uscita    : Completato
Linea di comando   : -y upgrade --enablerepo=rpmfusion*testing
Transazione eseguita con:
    Installati            dnf-1.1.9-1.fc23.noarch         @updates
    Installati            rpm-4.13.0-0.rc1.13.fc23.x86_64 @updates
Pacchetti modificati:
    Aggiornati R-3.2.3-2.fc23.x86_64                              @updates
    Aggiornati   3.3.0-3.fc23.x86_64                              @updates
    Aggiornati R-core-3.2.3-2.fc23.x86_64                         @updates
    Aggiornati        3.3.0-3.fc23.x86_64                         @updates
    Aggiornati R-core-devel-3.2.3-2.fc23.x86_64                   @updates
    Aggiornati              3.3.0-3.fc23.x86_64                   @updates
    Aggiornati R-devel-3.2.3-2.fc23.x86_64                        @updates
    Aggiornati         3.3.0-3.fc23.x86_64                        @updates
    Aggiornati R-java-3.2.3-2.fc23.x86_64                         @updates
    Aggiornati        3.3.0-3.fc23.x86_64                         @updates
    Aggiornati R-java-devel-3.2.3-2.fc23.x86_64                   @updates
    Aggiornati              3.3.0-3.fc23.x86_64                   @updates
    Aggiornati boinc-client-7.2.42-8.gitdd0d630.fc23.x86_64       @updates
    Aggiornati              7.6.22-4.fc23.x86_64                  @updates
    Aggiornati boinc-client-devel-7.2.42-8.gitdd0d630.fc23.x86_64 @updates
    Aggiornati                    7.6.22-4.fc23.x86_64            @updates
    Aggiornati boinc-manager-7.2.42-8.gitdd0d630.fc23.x86_64      @updates
    Aggiornati               7.6.22-4.fc23.x86_64                 @updates
    Aggiornati duplicity-0.7.07-1.fc23.x86_64                     @updates
    Aggiornati           0.7.07.1-1.fc23.x86_64                   @updates
    Aggiornati libRmath-3.2.3-2.fc23.x86_64                       @updates
    Aggiornati          3.3.0-3.fc23.x86_64                       @updates
    Aggiornati libRmath-devel-3.2.3-2.fc23.x86_64                 @updates
    Aggiornati                3.3.0-3.fc23.x86_64                 @updates
    Aggiornati libbluray-0.9.2-1.fc23.x86_64                      @updates
    Aggiornati           0.9.3-1.fc23.x86_64                      @updates
    Aggiornati libbluray-devel-0.9.2-1.fc23.x86_64                @updates
    Aggiornati                 0.9.3-1.fc23.x86_64                @updates
    Aggiornati libinput-1.2.4-3.fc23.x86_64                       @updates
    Aggiornati          1.2.4-4.fc23.x86_64                       @updates
    Aggiornati libinput-devel-1.2.4-3.fc23.x86_64                 @updates
    Aggiornati                1.2.4-4.fc23.x86_64                 @updates
    Aggiornati libnice-0.1.13-2.fc23.x86_64                       @@commandline
    Aggiornati         0.1.13-4.fc23.x86_64                       @updates
    Aggiornati libnice-gstreamer1-0.1.13-2.fc23.x86_64            @@commandline
    Aggiornati                    0.1.13-4.fc23.x86_64            @updates
    Aggiornati libteam-1.24-1.fc23.x86_64                         @updates
    Aggiornati         1.25-1.fc23.x86_64                         @updates
    Aggiornati perl-DB_File-1.835-347.fc23.x86_64                 @@commandline
    Aggiornati              1.838-1.fc23.x86_64                   @updates
    Aggiornati perl-Thread-Queue-3.09-1.fc23.noarch               @updates
    Aggiornati                   3.11-1.fc23.noarch               @updates
    Aggiornati php-patchwork-utf8-1.2.5-1.fc23.noarch             @updates
    Aggiornati                    1.2.6-1.fc23.noarch             @updates
    Aggiornati setroubleshoot-3.3.6-1.fc23.x86_64                 @updates
    Aggiornati                3.3.7-1.fc23.x86_64                 @updates
    Aggiornati setroubleshoot-server-3.3.6-1.fc23.x86_64          @updates
    Aggiornati                       3.3.7-1.fc23.x86_64          @updates
    Aggiornati teamd-1.24-1.fc23.x86_64                           @updates
    Aggiornati       1.25-1.fc23.x86_64                           @updates
    Aggiornati ceph-1:0.94.6-1.fc23.x86_64                        @updates
    Aggiornati      1:0.94.7-2.fc23.x86_64                        @updates
    Aggiornati ceph-common-1:0.94.6-1.fc23.x86_64                 @updates
    Aggiornati             1:0.94.7-2.fc23.x86_64                 @updates
    Aggiornati ceph-libs-compat-1:0.94.6-1.fc23.x86_64            @updates
    Aggiornati                  1:0.94.7-2.fc23.x86_64            @updates
    Aggiornati libcephfs1-1:0.94.6-1.fc23.x86_64                  @updates
    Aggiornati            1:0.94.7-2.fc23.x86_64                  @updates
    Aggiornati librados2-1:0.94.6-1.fc23.x86_64                   @updates
    Aggiornati           1:0.94.7-2.fc23.x86_64                   @updates
    Aggiornati libradosstriper1-1:0.94.6-1.fc23.x86_64            @updates
    Aggiornati                  1:0.94.7-2.fc23.x86_64            @updates
    Aggiornati librbd1-1:0.94.6-1.fc23.x86_64                     @updates
    Aggiornati         1:0.94.7-2.fc23.x86_64                     @updates
    Aggiornati python-ceph-compat-1:0.94.6-1.fc23.x86_64          @updates
    Aggiornati                    1:0.94.7-2.fc23.x86_64          @updates
    Aggiornati python-cephfs-1:0.94.6-1.fc23.x86_64               @updates
    Aggiornati               1:0.94.7-2.fc23.x86_64               @updates
    Aggiornati python-rados-1:0.94.6-1.fc23.x86_64                @updates
    Aggiornati              1:0.94.7-2.fc23.x86_64                @updates
    Aggiornati python-rbd-1:0.94.6-1.fc23.x86_64                  @updates
    Aggiornati            1:0.94.7-2.fc23.x86_64                  @updates
Output della scriptlet:
   1 warning: /usr/lib64/R/etc/Makeconf saved as /usr/lib64/R/etc/Makeconf.rpmsave
   2 warning: /usr/lib64/R/etc/ldpaths created as /usr/lib64/R/etc/ldpaths.rpmnew


Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.4.9-300.fc23.x86_64
type:           libreport

Comment 2 Stefan Joosten 2016-05-27 18:15:16 UTC
Description of problem:
Upgrade of boinc-client raises SELinux hell.
A flood of messages concerning /dev/input/event# devices and nvidia_uvm device.
Previous version had no such issue.


Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.4.9-300.fc23.x86_64
type:           libreport

Comment 3 OoZooL 2016-06-02 00:27:47 UTC
Description of problem:
Once again another AVC denial or other SELinux error regarding the BOINC (Berkeley Online Infrastructure for Networking Computing) client...

Version-Release number of selected component:
selinux-policy-3.13.1-158.15.fc23.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.4.9-300.fc23.x86_64+debug
type:           libreport

Comment 4 Lukas Vrabec 2016-06-02 10:11:47 UTC

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


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