auto-import setroubleshoot-0.27-1 on branch devel from

setroubleshoot-0.27-1.src.rpm
This commit is contained in:
John Dennis 2006-08-21 19:44:14 +00:00
parent db2425ca6c
commit 2bf0835eea
4 changed files with 54 additions and 9 deletions

View File

@ -1 +1 @@
setroubleshoot-0.25.tar.gz
setroubleshoot-0.27.tar.gz

View File

@ -74,6 +74,16 @@ condrestart(){
return 0
}
cleardb(){
running=0
[ -e /var/lock/subsys/$prog ] && running=1
[ $running == 1 ] && stop
echo $"Clearing database"
rm -f /var/lib/setroubleshoot/database.xml
[ $running == 1 ] && start
return 0
}
# See how we were called.
case "$1" in
@ -95,8 +105,11 @@ case "$1" in
condrestart)
condrestart
;;
cleardb)
cleardb
;;
*)
echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}"
echo $"Usage: $0 {start|stop|status|restart|condrestart|reload|cleardb}"
RETVAL=3
esac

View File

@ -1,6 +1,6 @@
Summary: Helps troubleshoot SELinux problems
Name: setroubleshoot
Version: 0.25
Version: 0.27
Release: 1
License: GPL
Group: Applications/System
@ -72,9 +72,8 @@ if [ $1 = 0 ]; then
/sbin/chkconfig --del %{name}
fi
%triggerpostun -- setroubleshoot <= 0.9-1
/sbin/chkconfig --del %{name}
/sbin/chkconfig --add %{name}
%triggerpostun -- setroubleshoot <= 0.25-1
/sbin/service %{name} cleardb
%postun
/usr/bin/update-desktop-database %{_datadir}/applications
@ -89,8 +88,12 @@ rm -rf %{buildroot}
%{_sbindir}/*
%{pkgpythondir}
%{pkgdatadir}
%config(noreplace) %{pkgconfigdir}/%{name}.cfg
%dir %attr(0777,root,root) %{pkglogdir}
# Note: it is explicitly known the config file is not noreplace,
# this is because the config file during active development changes
# so much it's worse to be incompatible than lose a user modified value
# We'll set it back to noreplace when things stablize
%config %{pkgconfigdir}/%{name}.cfg
%dir %{pkglogdir}
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%dir %{pkgrundir}
%dir %{pkgvardatadir}
@ -102,6 +105,35 @@ rm -rf %{buildroot}
%{_datadir}/pixmaps/*png
%changelog
* Mon Aug 21 2006 John Dennis <jdennis@redhat.com> - 0.27-1
* load_plugins() now catches exceptions when a plugin won't load,
reports the traceback in the log file, and continues with the next
plugin. Previously a bad plugin caused the entire plugin loading
to abort and no plugins were loaded.
* Add "daemon_name" to automake variables, change pid file to match
* turn off "noreplace" on config file till things settle down a bit
* browser.py now validates data, also test for missing column data in the
cell_data function to avoid exceptions.
* add stub for analyzie_logfile() rpc call
* turn off balloon notifications by default in config file,
libnotify is just plain busted at this point :-(
* only the setroubleshootd daemon creates it's log file
under /var/log now, the user app's do it in /tmp, change file
permissions on /var/log/setroubleshoot back to 0644.
* sealert now looks up the username rather than hardcoding it to "foo"
* CamelCase to lowercase_underscore clean up
* Mon Aug 21 2006 Dan Walsh <dwalsh@redhat.com> - 0.26-1
- Zero out datbase.xml for updated browser
* Mon Aug 21 2006 Dan Walsh <dwalsh@redhat.com> - 0.25-1
- Fix 64 bit issue that caused runaway problem

View File

@ -1 +1 @@
adfbe964a43e47c7afbcf7102f01f6d8 setroubleshoot-0.25.tar.gz
6ebf7e9cb8bbc91c3634b3452b79c2a5 setroubleshoot-0.27.tar.gz