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 1693176 - SELinux is preventing matchpathcon from 'check_context' accesses on the security labeled security_t.
Summary: SELinux is preventing matchpathcon from 'check_context' accesses on the secur...
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: snapd
Version: 30
Hardware: x86_64
OS: Unspecified
Target Milestone: ---
Assignee: Zygmunt Krynicki
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:fd722d228770617adc78680f3e2...
Depends On:
TreeView+ depends on / blocked
Reported: 2019-03-27 09:47 UTC by Mai Ling
Modified: 2019-03-27 11:45 UTC (History)
8 users (show)

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

Attachments (Terms of Use)

Description Mai Ling 2019-03-27 09:47:53 UTC
Description of problem:
appears by itself whe I login
SELinux is preventing matchpathcon from 'check_context' accesses on the security labeled security_t.

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

If you believe that matchpathcon should be allowed check_context access on security labeled security_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 'matchpathcon' --raw | audit2allow -M my-matchpathcon
# semodule -X 300 -i my-matchpathcon.pp

Additional Information:
Source Context                system_u:system_r:snappy_t:s0
Target Context                system_u:object_r:security_t:s0
Target Objects                Unknown [ security ]
Source                        matchpathcon
Source Path                   matchpathcon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.3-23.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.0.3-300.fc30.x86_64 #1 SMP Tue
                              Mar 19 15:47:01 UTC 2019 x86_64 x86_64
Alert Count                   1
First Seen                    2019-03-27 12:45:23 EAT
Last Seen                     2019-03-27 12:45:23 EAT
Local ID                      cb524b3d-1c80-4372-a64f-1e3808d660e9

Raw Audit Messages
type=AVC msg=audit(1553679923.809:137): avc:  denied  { check_context } for  pid=2455 comm="matchpathcon" scontext=system_u:system_r:snappy_t:s0 tcontext=system_u:object_r:security_t:s0 tclass=security permissive=1

Hash: matchpathcon,snappy_t,security_t,security,check_context

Version-Release number of selected component:

Additional info:
component:      selinux-policy
reporter:       libreport-2.10.0
hashmarkername: setroubleshoot
kernel:         5.0.3-300.fc30.x86_64
type:           libreport

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