rpms/dhcp/devel dhcp.spec, 1.282, 1.283 dhcpd6.init, 1.1, 1.2 dhcrelay.init, 1.13, 1.14

Jiří Popelka jpopelka at fedoraproject.org
Mon Jan 18 09:13:38 UTC 2010


Author: jpopelka

Update of /cvs/pkgs/rpms/dhcp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24662

Modified Files:
	dhcp.spec dhcpd6.init dhcrelay.init 
Log Message:
* Mon Jan 18 2010 Jiri Popelka <jpopelka at redhat.com> - 12:4.1.0p1-18
- Hide startup info when starting dhcpd6 service.
- Remove -TERM from calling killproc when stopping dhcrelay (#555672)



Index: dhcp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dhcp/devel/dhcp.spec,v
retrieving revision 1.282
retrieving revision 1.283
diff -u -p -r1.282 -r1.283
--- dhcp.spec	15 Jan 2010 12:52:27 -0000	1.282
+++ dhcp.spec	18 Jan 2010 09:13:37 -0000	1.283
@@ -13,7 +13,7 @@
 Summary:  Dynamic host configuration protocol software
 Name:     dhcp
 Version:  %{basever}p1
-Release:  17%{?dist}
+Release:  18%{?dist}
 # NEVER CHANGE THE EPOCH on this package.  The previous maintainer (prior to
 # dcantrell maintaining the package) made incorrect use of the epoch and
 # that's why it is at 12 now.  It should have never been used, but it was.
@@ -517,6 +517,10 @@ fi
 %attr(0644,root,root) %{_mandir}/man3/omapi.3.gz
 
 %changelog
+* Mon Jan 18 2010 Jiri Popelka <jpopelka at redhat.com> - 12:4.1.0p1-18
+- Hide startup info when starting dhcpd6 service.
+- Remove -TERM from calling killproc when stopping dhcrelay (#555672)
+
 * Fri Jan 15 2010 Jiri Popelka <jpopelka at redhat.com> - 12:4.1.0p1-17
 - Added init script to also start dhcpd for IPv6 (#552453)
 - Added dhcpd6.conf.sample


Index: dhcpd6.init
===================================================================
RCS file: /cvs/pkgs/rpms/dhcp/devel/dhcpd6.init,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- dhcpd6.init	15 Jan 2010 12:52:28 -0000	1.1
+++ dhcpd6.init	18 Jan 2010 09:13:37 -0000	1.2
@@ -90,7 +90,7 @@ start() {
     [ "${config}" = "${default_config}" ] && DHCPDARGS="$DHCPDARGS -cf $default_config"
 
     echo -n $"Starting $prog (DHCPv6): "
-    daemon --pidfile=$pidfile $exec -6 $DHCPDARGS
+    daemon --pidfile=$pidfile $exec -6 $DHCPDARGS 2>/dev/null
     RETVAL=$?
     echo
     [ $RETVAL -eq 0 ] && touch $lockfile


Index: dhcrelay.init
===================================================================
RCS file: /cvs/pkgs/rpms/dhcp/devel/dhcrelay.init,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- dhcrelay.init	15 Jan 2010 12:52:28 -0000	1.13
+++ dhcrelay.init	18 Jan 2010 09:13:37 -0000	1.14
@@ -71,13 +71,11 @@ stop() {
     rh_status_q || return 0
 
     echo -n $"Shutting down $prog: "
-    killproc $prog -TERM
+    killproc $prog
     RETVAL=$?
 
     echo
     [ $RETVAL -eq 0 ] && rm -f $lockfile
-    # killproc -TERM doesn't remove pidfile, remove it manually
-    [ $RETVAL -eq 0 ] && rm -f $pidfile
     return $RETVAL
 }
 



More information about the scm-commits mailing list