Sophie

Sophie

distrib > Scientific%20Linux > 5x > i386 > by-pkgid > d5ed6ef6ff56932dfbcd4da96f8e9f48 > scriptlet

mysql55-runtime-1-12.el5.i386.rpm

POSTIN

/bin/sh
# Unfortunately, semanage does not have -e option in RHEL-5, so we have to
# have its own policy for collection
semanage fcontext -a -t mysqld_etc_t "/opt/rh/mysql55/root/etc/my.cnf" >/dev/null 2>&1 || :
semanage fcontext -a -t mysqld_etc_t "/opt/rh/mysql55/root/etc/mysql(/.*)?" >/dev/null 2>&1 || :
semanage fcontext -a -t mysqld_exec_t "/opt/rh/mysql55/root/usr/bin/mysqld_safe" >/dev/null 2>&1 || :
semanage fcontext -a -t mysqld_exec_t "/opt/rh/mysql55/root/usr/libexec/mysqld" >/dev/null 2>&1 || :
semanage fcontext -a -t mysqld_db_t "/opt/rh/mysql55/root/var/lib/mysql(/.*)?" >/dev/null 2>&1 || :
semanage fcontext -a -t mysqld_log_t "/var/log/mysql55-mysqld.log" >/dev/null 2>&1 || :
semanage fcontext -a -t mysqld_var_run_t "/opt/rh/mysql55/root/var/run/mysqld(/.*)?" >/dev/null 2>&1 || :
restorecon -R /opt/rh/mysql55/root >/dev/null 2>&1 || :
restorecon /etc/rc.d/init.d/mysql55-mysqld >/dev/null 2>&1 || :