Description of problem: mariadb55 daemon has bad selinux context Version-Release number of selected component (if applicable): mariadb55-mariadb-server-5.5.44-1.el7.x86_64 How reproducible: Steps to Reproduce: 1. Run /CoreOS/mariadb/Sanity/daemon-selinux-context :: [ BEGIN ] :: Running 'ps -Z 16793' LABEL PID TTY STAT TIME COMMAND system_u:system_r:unconfined_service_t:s0 16793 ? Sl 0:00 /opt/rh/mariadb55/root/usr/libexec/mysqld --basedir=/opt/rh/mariadb55/root/usr --datadir=/opt/rh/mariadb55/root/var/lib/mysql --plugin-dir=/opt/rh/mariadb55/root/usr/lib64/mysql/plugin --log-error=/var/log/mariadb55-mariadb/mariadb55-mariadb.log --pid-file=/opt/rh/mariadb55/root/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock :: [ PASS ] :: Command 'ps -Z 16793' (Expected 0, got 0) :: [ FAIL ] :: File '/var/tmp/tmp.qT0G7nAxR8' should contain '(system_u|unconfined_u):system_r:mysqld_t:s0' Actual results: system_u:system_r:unconfined_service_t:s0 Expected results: (system_u|unconfined_u):system_r:mysqld_t:s0 Additional info: http://lab-02.rhts.eng.brq.redhat.com/beaker/logs/tasks/33920+/33920521/TESTOUT.log
Fix for this is already applied for rh-mariadb100, for more information see https://bugzilla.redhat.com/show_bug.cgi?id=1172683 and https://bugzilla.redhat.com/show_bug.cgi?id=1202011 or we can try whether SELinuxContext= wouldn't be enough: http://0pointer.de/public/systemd-man/systemd.exec.html#SELinuxContext=
Red Hat does not currently plan to provide any further changes to this collection in a Red Hat Software Collections update release. This software collection is nearing the retirement date (October 2016) after which customers are encouraged either to upgrade to a later release or continue on as self-supported without official Red Hat Support. Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/
In accordance with the Red Hat Software Collections Product Life Cycle, the support period for this collection has ended. New bug fix, enhancement, and security errata updates, as well as technical support services will no longer be made available for this collection. Customers are encouraged to upgrade to a later release. Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/