rpms/dhcp/F-11 dhclient-script, 1.9, 1.10 dhcp.spec, 1.251, 1.252 dhcpd.init, 1.29, 1.30 dhcrelay.init, 1.10, 1.11

David Cantrell dcantrel at fedoraproject.org
Fri Apr 17 21:33:17 UTC 2009


Author: dcantrel

Update of /cvs/pkgs/rpms/dhcp/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17718

Modified Files:
	dhclient-script dhcp.spec dhcpd.init dhcrelay.init 
Log Message:
* Thu Apr 16 2009 David Cantrell <dcantrell at redhat.com> - 12:4.1.0-17
- Fix setting default route when client IP address changes (#486512, #473658)
- 'reload' and 'try-restart' on dhcpd and dhcrelay init scripts
  will display usage information and return code 3



Index: dhclient-script
===================================================================
RCS file: /cvs/pkgs/rpms/dhcp/F-11/dhclient-script,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- dhclient-script	13 Apr 2009 21:56:00 -0000	1.9
+++ dhclient-script	17 Apr 2009 21:32:47 -0000	1.10
@@ -233,6 +233,7 @@
        [ ! "${old_routers}" = "${new_routers}" ] ||
        [ ! "${old_interface_mtu}" = "${new_interface_mtu}" ]; then
         ip -family inet addr add ${new_ip_address}/${new_prefix} broadcast ${new_broadcast_address} dev ${interface}
+        ip -family inet link set dev ${interface} up
 
         if [ -n "${new_interface_mtu}" ]; then
             ip link set ${interface} mtu ${new_interface_mtu}


Index: dhcp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dhcp/F-11/dhcp.spec,v
retrieving revision 1.251
retrieving revision 1.252
diff -u -r1.251 -r1.252
--- dhcp.spec	13 Apr 2009 22:22:38 -0000	1.251
+++ dhcp.spec	17 Apr 2009 21:32:47 -0000	1.252
@@ -10,7 +10,7 @@
 Summary:  Dynamic host configuration protocol software
 Name:     dhcp
 Version:  4.1.0
-Release:  16%{?dist}
+Release:  17%{?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.
@@ -419,6 +419,11 @@
 %attr(0644,root,root) %{_mandir}/man3/omapi.3.gz
 
 %changelog
+* Thu Apr 16 2009 David Cantrell <dcantrell at redhat.com> - 12:4.1.0-17
+- Fix setting default route when client IP address changes (#486512, #473658)
+- 'reload' and 'try-restart' on dhcpd and dhcrelay init scripts
+  will display usage information and return code 3
+
 * Mon Apr 13 2009 David Cantrell <dcantrell at redhat.com> - 12:4.1.0-16
 - Correct %%post problems in dhclient package (#495361)
 - Read hooks scripts from /etc/dhcp (#495361)


Index: dhcpd.init
===================================================================
RCS file: /cvs/pkgs/rpms/dhcp/F-11/dhcpd.init,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- dhcpd.init	13 Jan 2009 14:45:32 -0000	1.29
+++ dhcpd.init	17 Apr 2009 21:32:47 -0000	1.30
@@ -120,9 +120,6 @@
         stop ; start
         RETVAL=$?
         ;;
-    try-restart|reload)
-        RETVAL=3
-        ;;
     condrestart)
         if [ -f $lockfile ]; then
             stop ; start


Index: dhcrelay.init
===================================================================
RCS file: /cvs/pkgs/rpms/dhcp/F-11/dhcrelay.init,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- dhcrelay.init	18 Dec 2008 22:47:13 -0000	1.10
+++ dhcrelay.init	17 Apr 2009 21:32:47 -0000	1.11
@@ -98,9 +98,6 @@
         stop && start
         RETVAL=$?
         ;;
-    try-restart|reload)
-        RETVAL=3
-        ;;
     condrestart)
         if [ -f $lockfile ]; then
             stop && start




More information about the fedora-extras-commits mailing list