RHBA-2015:0985

Type: Bug fix
Severity: None
Published: 2015-05-12
Red Hat Enterprise Linux 7

The selinux-policy package contains the rules that govern how confined processes run on the system. This update fixes the following bugs: * When using the SELinux Multi-Level Security (MLS) policy, an attempt to use SSH to log in to the system with a non-default security level failed. With this update, the SELinux context for the OpenSSH server has been modified to allow the user log in to the system successfully in the described situation. (BZ#1204778) * When starting the IPsec service, the automatically called "ip" command modifies the inherited file descriptor, which was previously prohibited by SELinux and thus generated an error message. With this update, a "dontaudit" access vector (AV) rule has been introduced that ensures that the error message is no longer displayed. (BZ#1205580) * Prior to this update, when using SELinux in enforcing mode, certain commands in the mongo shell failed due to an incomplete MongoDB policy. This update adjusts the MongoDB policy to address this problem, and the impacted commands now work in the mongo shell as expected. (BZ#1212970) * Prior to this update, the mongos binary and the mongos SysV init scripts did not have the SELinux context defined. This update fixes the bug by adding the respective SELinux context. (BZ#1214194) * The /etc/my.cnf.d/ directory previously had only the default etc_t SELinux context defined, which was not sufficient. A more specific context for the /etc/my.cnf.d/*cnf configuration files has been added to the mysql SELinux policy, thus fixing this bug. (BZ#1214235) * When a MariaDB plug-in was added to the server.cnf or my.cnf files and the user was created to authenticate using Pluggable Authentication Module (PAM) in the mysqld service, the plug-in could not be loaded. To fix this bug, SELinux policy rules have been updated, and the plug-in is now loaded successfully. (BZ#1214236) * A number of daemons contained in Red Hat Software Collections, including daemons for the MariaDB, MongoDB, and MySQL databases, were previously executed with incorrect SELinux contexts. This update corrects the related SELinux policy, and the affected daemons now run with the appropriate contexts. (BZ#1217187) In addition, this update adds the following enhancement: * The support for the /usr/libexec/mongodb-scl-helper script for Red Hat Software Collections has been added to the selinux-policy package. This script ensures that the proper SELinux domain is used for daemons in the MongoDB database contained in the Red Hat Software Collections. (BZ#1214755) Users of selinux-policy are advised to upgrade to this updated package, which fixes these bugs and adds this enhancement.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:33:29.885Z UTC

Official vendor advisory

Red Hat Enterprise Linux 7

View source
Observed 2026-11-27T23:33:29.885Z UTC. Last updated 2026-10-07T09:13:35.557Z UTC.

Upstream Advisory

Affected Packages

  • selinux-policy 3.13.1-23.el7_1.7

  • selinux-policy-devel 3.13.1-23.el7_1.7

  • selinux-policy-doc 3.13.1-23.el7_1.7

  • selinux-policy-minimum 3.13.1-23.el7_1.7

  • selinux-policy-mls 3.13.1-23.el7_1.7

  • selinux-policy-sandbox 3.13.1-23.el7_1.7

  • selinux-policy-targeted 3.13.1-23.el7_1.7

Interested in being alerted when there are new versions of selinux-policy and the other packages? Set up an alert.
RHBA-2015:0985: selinux-policy bug fix and enhancement update | Package Alert