Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357935 - net-misc/dhcp-4.2.1 typo in dhcrelay init.d script (IFACES instead of IFACE)
Summary: net-misc/dhcp-4.2.1 typo in dhcrelay init.d script (IFACES instead of IFACE)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-08 15:23 UTC by Milan Dadok
Modified: 2011-03-08 20:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 $?
 }