[dhcp] 56dhclient: ifcfg file was not sourced (#742482)

Jiří Popelka jpopelka at fedoraproject.org
Fri Sep 30 14:00:25 UTC 2011


commit 00db97365e9a069210d0122d7804ff10366dc931
Author: Jiri Popelka <jpopelka at redhat.com>
Date:   Fri Sep 30 15:55:56 2011 +0200

    56dhclient: ifcfg file was not sourced (#742482)

 56dhclient |    2 +-
 dhcp.spec  |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/56dhclient b/56dhclient
index 25d14db..7f185f1 100644
--- a/56dhclient
+++ b/56dhclient
@@ -21,7 +21,7 @@ suspend_dhclient() {
         NM_CONTROLLED=
         BOOTPROTO=
 
-        . ./${ifcfg}
+        . ./"${ifcfg}"
 
         if [ "${NM_CONTROLLED}" = "no" ] || [ "${NM_CONTROLLED}" = "n" ] || [ "${NM_CONTROLLED}" = "false" ]; then
             if [ "${BOOTPROTO}" = "bootp" ] || [ "${BOOTPROTO}" = "dhcp" ] || [ -z "${BOOTPROTO}" ]; then
diff --git a/dhcp.spec b/dhcp.spec
index e9b810b..b4fb335 100644
--- a/dhcp.spec
+++ b/dhcp.spec
@@ -19,7 +19,7 @@
 Summary:  Dynamic host configuration protocol software
 Name:     dhcp
 Version:  4.2.2
-Release:  10%{?dist}
+Release:  11%{?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.
@@ -657,6 +657,9 @@ fi
 %{_initddir}/dhcrelay
 
 %changelog
+* Fri Sep 30 2011 Jiri Popelka <jpopelka at redhat.com> - 12:4.2.2-11
+- 56dhclient: ifcfg file was not sourced (#742482)
+
 * Thu Sep 29 2011 Jiri Popelka <jpopelka at redhat.com> - 12:4.2.2-10
 - dhclient-script: address alias handling fixes from Scott Shambarger (#741786)
 


More information about the scm-commits mailing list