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 1367145 - SELinux is preventing polkitd from 'execmod' accesses on the file /usr/lib/
Summary: SELinux is preventing polkitd from 'execmod' accesses on the file /usr/lib/li...
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 26
Hardware: i686
OS: Unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:343e17ec81c08defa906dc28e3d...
Depends On:
TreeView+ depends on / blocked
Reported: 2016-08-15 17:16 UTC by Emerson Santos
Modified: 2018-05-29 11:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-05-29 11:48:41 UTC

Attachments (Terms of Use)

Description Emerson Santos 2016-08-15 17:16:03 UTC
Description of problem:
SELinux is preventing polkitd from 'execmod' accesses on the file /usr/lib/

*****  Plugin allow_execmod (91.4 confidence) suggests   *********************

If you want to allow polkitd to have execmod access on the file
Then you need to change the label on '/usr/lib/'
# semanage fcontext -a -t textrel_shlib_t '/usr/lib/'
# restorecon -v '/usr/lib/'

*****  Plugin catchall (9.59 confidence) suggests   **************************

If você acredita que o polkitd deva ser permitido acesso de execmod em file  por default.
Then você deve informar que este é um erro.
Você pode gerar um módulo de política local para permitir este acesso.
allow this access for now by executing:
# ausearch -c 'polkitd' --raw | audit2allow -M my-polkitd
# semodule -X 300 -i my-polkitd.pp

Additional Information:
Source Context                system_u:system_r:policykit_t:s0
Target Context                system_u:object_r:lib_t:s0
Target Objects                /usr/lib/ [ file ]
Source                        polkitd
Source Path                   polkitd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           gnutls-3.5.2-1.fc25.i686
Policy RPM                    selinux-policy-3.13.1-207.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.0-0.rc0.git3.1.fc25.i686+PAE
                              #1 SMP Fri Jul 29 15:10:01 UTC 2016 i686 i686
Alert Count                   2
First Seen                    2016-08-15 13:39:01 BRT
Last Seen                     2016-08-15 14:09:21 BRT
Local ID                      5d0a08f1-f3ca-41d0-a37f-3476f7db4fd1

Raw Audit Messages
type=AVC msg=audit(1471280961.330:395): avc:  denied  { execmod } for  pid=2948 comm="pkla-admin-iden" path="/usr/lib/" dev="dm-0" ino=4696 scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:object_r:lib_t:s0 tclass=file permissive=0

Hash: polkitd,policykit_t,lib_t,file,execmod

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.8.0-0.rc0.git3.1.fc25.i686+PAE
type:           libreport

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

Comment 2 Fedora End Of Life 2017-02-28 10:06:44 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 3 Fedora End Of Life 2018-05-03 08:35:30 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2018-05-29 11:48:41 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

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