Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 357935

Summary: net-misc/dhcp-4.2.1 typo in dhcrelay init.d script (IFACES instead of IFACE)
Product: Gentoo Linux Reporter: Milan Dadok <dadok>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Milan Dadok 2011-03-08 15:23:29 UTC
dhcp-4.2.1 ebuild introduces inconsistency between dhcrelay cond.d and init.d
Reproducible: Always

Where is IFACE variable in all versions of conf.d/dhcrelay 

But new version of init.d/dhcrelay - dhcrelay.init2 - is expecting IFACES variable.

Next patch correct init.d script

--- dhcrelay.init2.org  2011-03-08 16:16:58.000000000 +0100
+++ dhcrelay.init2      2011-03-08 16:17:08.000000000 +0100
@@ -18,7 +18,7 @@

        ebegin "Starting dhcrelay"
        start-stop-daemon --start --exec /usr/sbin/dhcrelay \
-               -- -q $(printf -- '-i %s ' ${IFACES}) ${DHCRELAY_OPTS} ${DHCRELAY_SERVERS}
+               -- -q $(printf -- '-i %s ' ${IFACE}) ${DHCRELAY_OPTS} ${DHCRELAY_SERVERS}
        eend $?
 }