Bug 1331316 - Please fix SELinux context of new named binary named-pkcs11
Summary: Please fix SELinux context of new named binary named-pkcs11
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 23
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-28 09:38 UTC by Tomáš Hozza
Modified: 2016-07-14 00:24 UTC (History)
9 users (show)

Fixed In Version: selinux-policy-3.13.1-158.16.fc23 selinux-policy-3.13.1-158.21.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-14 00:24:26 UTC
Type: Bug


Attachments (Terms of Use)

Description Tomáš Hozza 2016-04-28 09:38:41 UTC
Description of problem:
In Fedora 21 we added new sub-package bind-pkcs11 which contains new bind binary called named-pkcs11. This binary has wrong context and therefore runs as an unconfined process. The context of named-pkcs11 should be the same as for named and named-sdb.

[0 root@localhost ~]# ls -lZ /usr/sbin/named{-pkcs11,-sdb,}
-rwxr-xr-x. root root system_u:object_r:named_exec_t:s0 /usr/sbin/named
-rwxr-xr-x. root root system_u:object_r:bin_t:s0       /usr/sbin/named-pkcs11
-rwxr-xr-x. root root system_u:object_r:named_exec_t:s0 /usr/sbin/named-sdb

As a result, the daemon runs as unconfined process.

Comment 1 Fedora Update System 2016-06-22 22:58:53 UTC
selinux-policy-3.13.1-158.20.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-4c9c2badcb

Comment 2 Fedora Update System 2016-07-02 20:54:52 UTC
selinux-policy-3.13.1-158.21.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-7bed6e7c72

Comment 3 Fedora Update System 2016-07-14 00:23:39 UTC
selinux-policy-3.13.1-158.21.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


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