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

setroubleshoot-0.43-1.src.rpm
This commit is contained in:
Daniel J Walsh 2006-09-15 20:52:45 +00:00
parent e56f10fca8
commit e514218c8a
4 changed files with 16 additions and 13 deletions

View File

@ -1 +1 @@
setroubleshoot-0.42.tar.gz setroubleshoot-0.43.tar.gz

View File

@ -42,7 +42,7 @@ start(){
RETVAL=$? RETVAL=$?
echo echo
if test $RETVAL = 0 ; then if test $RETVAL = 0 ; then
touch /var/lock/subsys/setroubleshoot touch /var/lock/subsys/$prog
fi fi
return $RETVAL return $RETVAL
} }
@ -52,7 +52,7 @@ stop(){
killproc $prog killproc $prog
RETVAL=$? RETVAL=$?
echo echo
rm -f /var/lock/subsys/setroubleshoot rm -f /var/lock/subsys/$prog
return $RETVAL return $RETVAL
} }
@ -70,13 +70,13 @@ restart(){
} }
condrestart(){ condrestart(){
[ -e /var/lock/subsys/setroubleshoot ] && restart [ -e /var/lock/subsys/$prog ] && restart
return 0 return 0
} }
cleardb(){ cleardb(){
running=0 running=0
[ -e /var/lock/subsys/setroubleshoot ] && running=1 [ -e /var/lock/subsys/$prog ] && running=1
[ $running == 1 ] && stop [ $running == 1 ] && stop
echo $"Clearing database" echo $"Clearing database"
rm -f /var/lib/setroubleshoot/database.xml rm -f /var/lib/setroubleshoot/database.xml

View File

@ -1,7 +1,7 @@
Summary: Helps troubleshoot SELinux problems Summary: Helps troubleshoot SELinux problems
Name: setroubleshoot Name: setroubleshoot
Version: 0.42 Version: 0.43
Release: 2 Release: 1
License: GPL License: GPL
Group: Applications/System Group: Applications/System
URL: http://www.redhat.com/ URL: http://www.redhat.com/
@ -64,9 +64,6 @@ touch %{buildroot}%{pkgvardatadir}/database.xml
%find_lang %{name} %find_lang %{name}
%post %post
if [ -f /var/lock/subsys/setroubleshootd ]; then
mv /var/lock/subsys/setroubleshootd /var/lock/subsys/setroubleshoot
fi
[ -f %{pkgvardatadir}/database.xml ] && chmod 644 %{pkgvardatadir}/database.xml [ -f %{pkgvardatadir}/database.xml ] && chmod 644 %{pkgvardatadir}/database.xml
/usr/bin/update-desktop-database %{_datadir}/applications /usr/bin/update-desktop-database %{_datadir}/applications
/sbin/chkconfig --add %{name} /sbin/chkconfig --add %{name}
@ -111,8 +108,14 @@ rm -rf %{buildroot}
%{_datadir}/dbus-1/services/sealert.service %{_datadir}/dbus-1/services/sealert.service
%changelog %changelog
* Wed Sep 13 2006 Peter Jones <pjones@redhat.com> - 0.42-2 * Fri Sep 15 2006 Dan Walsh <dwalsh@redhat.com> - 0.43-1
- Fix subsystem locking in init script - Fix mail handling
* fix bugs related to recording per user per signature filtering
- John Dennis <jdennis@redhat.com>
* fix bugs related to recording per user per signature filtering
- Karl MacMillan <kmacmill@redhat.com>
* Add signal handling to client and server.
* Fix minor plugin bugs.
* Thu Sep 7 2006 Dan Walsh <dwalsh@redhat.com> - 0.42-1 * Thu Sep 7 2006 Dan Walsh <dwalsh@redhat.com> - 0.42-1
- Karl MacMillan - Karl MacMillan

View File

@ -1 +1 @@
b285f1a739d4b33671ebc13d4cca0e25 setroubleshoot-0.42.tar.gz 0f843f5e39c2637e6280727d14a7b3ca setroubleshoot-0.43.tar.gz