auto-import setroubleshoot-0.27-1 on branch devel from
setroubleshoot-0.27-1.src.rpm
This commit is contained in:
parent
db2425ca6c
commit
2bf0835eea
@ -1 +1 @@
|
|||||||
setroubleshoot-0.25.tar.gz
|
setroubleshoot-0.27.tar.gz
|
||||||
|
@ -74,6 +74,16 @@ condrestart(){
|
|||||||
return 0
|
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.
|
# See how we were called.
|
||||||
case "$1" in
|
case "$1" in
|
||||||
@ -95,8 +105,11 @@ case "$1" in
|
|||||||
condrestart)
|
condrestart)
|
||||||
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
|
RETVAL=3
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Summary: Helps troubleshoot SELinux problems
|
Summary: Helps troubleshoot SELinux problems
|
||||||
Name: setroubleshoot
|
Name: setroubleshoot
|
||||||
Version: 0.25
|
Version: 0.27
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -72,9 +72,8 @@ if [ $1 = 0 ]; then
|
|||||||
/sbin/chkconfig --del %{name}
|
/sbin/chkconfig --del %{name}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%triggerpostun -- setroubleshoot <= 0.9-1
|
%triggerpostun -- setroubleshoot <= 0.25-1
|
||||||
/sbin/chkconfig --del %{name}
|
/sbin/service %{name} cleardb
|
||||||
/sbin/chkconfig --add %{name}
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/usr/bin/update-desktop-database %{_datadir}/applications
|
/usr/bin/update-desktop-database %{_datadir}/applications
|
||||||
@ -89,8 +88,12 @@ rm -rf %{buildroot}
|
|||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{pkgpythondir}
|
%{pkgpythondir}
|
||||||
%{pkgdatadir}
|
%{pkgdatadir}
|
||||||
%config(noreplace) %{pkgconfigdir}/%{name}.cfg
|
# Note: it is explicitly known the config file is not noreplace,
|
||||||
%dir %attr(0777,root,root) %{pkglogdir}
|
# 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}
|
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
||||||
%dir %{pkgrundir}
|
%dir %{pkgrundir}
|
||||||
%dir %{pkgvardatadir}
|
%dir %{pkgvardatadir}
|
||||||
@ -102,6 +105,35 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/pixmaps/*png
|
%{_datadir}/pixmaps/*png
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Aug 21 2006 Dan Walsh <dwalsh@redhat.com> - 0.25-1
|
||||||
- Fix 64 bit issue that caused runaway problem
|
- Fix 64 bit issue that caused runaway problem
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user