Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1692696 - SELinux is preventing /usr/bin/evince-thumbnailer from using the nnp_transition, nosuid_transition access on a process.
Summary: SELinux is preventing /usr/bin/evince-thumbnailer from using the nnp_transiti...
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: evince
Version: 7.6
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Marek Kašík
QA Contact: Desktop QE
Depends On:
TreeView+ depends on / blocked
Reported: 2019-03-26 09:21 UTC by Oliver Haessler
Modified: 2019-03-26 09:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

Description Oliver Haessler 2019-03-26 09:21:00 UTC
Description of problem:
When opening a PDF or a folder with PDFs, the below selinux error pops up.

Version-Release number of selected component (if applicable):

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

If you believe that evince-thumbnailer should be allowed nnp_transition
nosuid_transition access on processes labeled thumb_t by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# ausearch -c 'evince-thumbnai' --raw | audit2allow -M my-evincethumbnai
# semodule -i my-evincethumbnai.pp

Additional Information:
Source Context
Target Context
Target Objects                Unknown [ process2 ]
Source                        evince-thumbnai
Source Path                   /usr/bin/evince-thumbnailer
Port                          <Unknown>
Host                          xxxx
Source RPM Packages           evince-3.28.2-5.el7.x86_64
Target RPM Packages
Policy RPM                    selinux-policy-3.13.1-229.el7_6.9.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     xxxx
Platform                      Linux xxxx
                              3.10.0-957.5.1.el7.x86_64 #1 SMP Wed Dec 19
                              10:46:58 EST 2018 x86_64 x86_64
Alert Count                   2
First Seen                    2019-03-22 11:55:18 CET
Last Seen                     2019-03-26 09:49:05 CET
Local ID                      24e44864-4311-434b-9f0d-112df78f76b0

Raw Audit Messages
type=AVC msg=audit(1553590145.609:2467): avc:  denied  { nnp_transition
nosuid_transition } for  pid=8364 comm="flatpak-bwrap"
tclass=process2 permissive=0

type=SYSCALL msg=audit(1553590145.609:2467): arch=x86_64 syscall=execve
success=yes exit=0 a0=7ffd1847402b a1=7ffd18476660 a2=13a0160
a3=7ffd18473b20 items=0 ppid=8359 pid=8364 auid=16201 uid=16201
gid=16201 euid=16201 suid=16201 fsuid=16201 egid=16201 sgid=16201
fsgid=16201 tty=(none) ses=35 comm=evince-thumbnai
subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)


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