rpms/dhcdbd/devel dhcdbd-2.7-initscript.patch, 1.2, 1.3 dhcdbd.spec, 1.44, 1.45

David Cantrell (dcantrel) fedora-extras-commits at redhat.com
Thu May 3 19:52:30 UTC 2007


Author: dcantrel

Update of /cvs/pkgs/rpms/dhcdbd/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14536

Modified Files:
	dhcdbd-2.7-initscript.patch dhcdbd.spec 
Log Message:
* Thu May 05 2007 David Cantrell <dcantrell at redhat.com> - 2.7-4
- Make sure lockfile is removed when service is stopped (#238713)


dhcdbd-2.7-initscript.patch:

Index: dhcdbd-2.7-initscript.patch
===================================================================
RCS file: /cvs/pkgs/rpms/dhcdbd/devel/dhcdbd-2.7-initscript.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- dhcdbd-2.7-initscript.patch	26 Apr 2007 18:12:40 -0000	1.2
+++ dhcdbd-2.7-initscript.patch	3 May 2007 19:51:52 -0000	1.3
@@ -1,5 +1,5 @@
 --- dhcdbd-2.7/dhcdbd.init.initscript	2007-02-02 11:20:43.000000000 -0500
-+++ dhcdbd-2.7/dhcdbd.init	2007-04-26 14:09:53.000000000 -0400
++++ dhcdbd-2.7/dhcdbd.init	2007-05-03 15:45:50.000000000 -0400
 @@ -1,32 +1,34 @@
  #!/bin/bash
  #
@@ -52,7 +52,7 @@
          /bin/dbus-send --system \
                          --dest=com.redhat.dhcp \
                          --type=method_call \
-@@ -35,74 +37,50 @@
+@@ -35,74 +37,51 @@ stop () {
                          /com/redhat/dhcp \
                          com.redhat.dhcp.quit >/dev/null 2>&1
          RETVAL=$?
@@ -104,6 +104,7 @@
 -        fi;
 -    fi;
 -    return $RETVAL;
++    rm -f $lockfile
 +    return $RETVAL
  }
  


Index: dhcdbd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dhcdbd/devel/dhcdbd.spec,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- dhcdbd.spec	26 Apr 2007 18:13:09 -0000	1.44
+++ dhcdbd.spec	3 May 2007 19:51:52 -0000	1.45
@@ -5,7 +5,7 @@
 Summary:   DHCP D-BUS daemon (dhcdbd) controls dhclient sessions with D-BUS
 Name:      dhcdbd
 Version:   2.7
-Release:   3%{?dist}
+Release:   4%{?dist}
 License:   GPL
 Group:     System Environment/Daemons
 URL:       http://people.redhat.com/dcantrel/%{name}/
@@ -67,6 +67,9 @@
 %attr(755,root,root) %{_initrddir}/dhcdbd
 
 %changelog
+* Thu May 05 2007 David Cantrell <dcantrell at redhat.com> - 2.7-4
+- Make sure lockfile is removed when service is stopped (#238713)
+
 * Thu Apr 26 2007 David Cantrell <dcantrell at redhat.com> - 2.7-3
 - More init script fixes (#237977)
 




More information about the fedora-extras-commits mailing list