Bug 1358746 - SELinux is preventing pkla-check-auth from 'associate' accesses on the shared memory Unknown.
Summary: SELinux is preventing pkla-check-auth from 'associate' accesses on the shared...
Keywords:
Status: CLOSED DUPLICATE of bug 1400648
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:0147a198f45dde047df50532021...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-21 12:06 UTC by Arthur
Modified: 2016-12-08 12:16 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-12-08 12:16:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Arthur 2016-07-21 12:06:25 UTC
Description of problem:
SELinux is preventing pkla-check-auth from 'associate' accesses on the shared memory Unknown.

*****  Plugin associate (99.5 confidence) suggests   *************************

If вы хотите изменить метку для Unknown на policykit_auth_t, но вам этого сделать нельзя, так как тип файла неправильный.
Then необходимо выбрать действительную метку файла.
Do
select a valid file type.  List valid file labels by executing: 
# seinfo -afile_type -x

*****  Plugin catchall (1.49 confidence) suggests   **************************

If вы считаете, что pkla-check-auth следует разрешить доступ associate к Unknown shm по умолчанию.
Then рекомендуется создать отчет об ошибке.
Чтобы разрешить доступ, можно создать локальный модуль политики.
Do
allow this access for now by executing:
# ausearch -c 'pkla-check-auth' --raw | audit2allow -M my-pklacheckauth
# semodule -X 300 -i my-pklacheckauth.pp

Additional Information:
Source Context                system_u:system_r:policykit_auth_t:s0
Target Context                system_u:system_r:unconfined_service_t:s0
Target Objects                Unknown [ shm ]
Source                        pkla-check-auth
Source Path                   pkla-check-auth
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-191.5.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.6.4-301.fc24.x86_64 #1 SMP Tue
                              Jul 12 11:50:00 UTC 2016 x86_64 x86_64
Alert Count                   193
First Seen                    2016-07-21 13:08:00 YEKT
Last Seen                     2016-07-21 17:01:36 YEKT
Local ID                      6cb4f4b5-cae8-4804-9906-707e742ae42d

Raw Audit Messages
type=AVC msg=audit(1469102496.283:1394): avc:  denied  { associate } for  pid=2749 comm="pkla-check-auth" key=838865747  scontext=system_u:system_r:policykit_auth_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=shm permissive=0


Hash: pkla-check-auth,policykit_auth_t,unconfined_service_t,shm,associate

Version-Release number of selected component:
selinux-policy-3.13.1-191.5.fc24.noarch

Additional info:
reporter:       libreport-2.7.1
hashmarkername: setroubleshoot
kernel:         4.6.4-301.fc24.x86_64
reproducible:   Not sure how to reproduce the problem
type:           libreport

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

Comment 2 Lukas Vrabec 2016-12-08 12:16:44 UTC

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


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