Bug 1379866 - SELinux is preventing memfd_test from 'create' accesses on the file 3.
Summary: SELinux is preventing memfd_test from 'create' accesses on the file 3.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9e89451de7fec3c261eb97a958a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-27 23:44 UTC by Nivag
Modified: 2016-09-29 12:59 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.13.1-191.16.fc24
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-29 12:59:21 UTC
Type: ---


Attachments (Terms of Use)

Description Nivag 2016-09-27 23:44:11 UTC
Description of problem:
SELinux is preventing memfd_test from 'create' accesses on the file 3.

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

If you believe that memfd_test should be allowed create access on the 3 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 'memfd_test' --raw | audit2allow -M my-memfdtest
# semodule -X 300 -i my-memfdtest.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Context                unconfined_u:object_r:unconfined_t:s0
Target Objects                3 [ file ]
Source                        memfd_test
Source Path                   memfd_test
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    <Unknown>
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.7.4-200.fc24.x86_64 #1 SMP Thu
                              Sep 15 18:42:09 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-09-20 09:51:19 NZST
Last Seen                     2016-09-20 09:51:19 NZST
Local ID                      5b469575-60a2-4e62-ad1a-ccd62887f087

Raw Audit Messages
type=AVC msg=audit(1474321879.752:1278): avc:  denied  { create } for  pid=8164 comm="memfd_test" name="3" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=file permissive=0


Hash: memfd_test,unconfined_t,unconfined_t,file,create


Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.7.4-200.fc24.x86_64
type:           libreport


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