Sophie

Sophie

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

setroubleshoot-server-2.0.5-7.el5_11.noarch.rpm

PREUN

/bin/sh
if [ $1 = 0 ]; then
    /sbin/service setroubleshoot stop >/dev/null 2>&1
    /sbin/chkconfig --del setroubleshoot || :
fi

POSTIN

/bin/sh
if [ -f /var/lib/setroubleshoot/audit_listener_database.xml ]; then
    chown root:root /var/lib/setroubleshoot/audit_listener_database.xml >/dev/null 2>&1
    chmod 600 /var/lib/setroubleshoot/audit_listener_database.xml >/dev/null 2>&1
fi
/sbin/chkconfig --add setroubleshoot
/sbin/chkconfig setroubleshoot resetpriorities
/sbin/service setroubleshoot condrestart >/dev/null 2>&1 || :