Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419151 - net-misc/iodine-0.6.0_rc1: Wrong path for ifconfig. Uses old /sbin instead of new /bin
Summary: net-misc/iodine-0.6.0_rc1: Wrong path for ifconfig. Uses old /sbin instead of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: Víctor Ostorga (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-01 20:13 UTC by Jason A. Donenfeld
Modified: 2012-06-07 19:55 UTC (History)
1 user (show)

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


Attachments
changes the path from /sbin/ifconfig to /bin/ifconfig (iodine-0.6.0_rc1-ifconfig-path.patch,605 bytes, patch)
2012-06-01 20:13 UTC, Jason A. Donenfeld
Details | Diff
The updated email that applies the patch. (iodine-0.6.0_rc1-r1.ebuild,1.05 KB, text/plain)
2012-06-01 20:13 UTC, Jason A. Donenfeld
Details
A iodined.init that doesn't crash (iodined.init,1.50 KB, text/plain)
2012-06-02 01:49 UTC, Jason A. Donenfeld
Details
Allows ifconfig to be found in /bin or /sbin. (iodine-0.6.0_rc1-ifconfig-path.patch,627 bytes, text/plain)
2012-06-02 02:35 UTC, Jason A. Donenfeld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason A. Donenfeld gentoo-dev 2012-06-01 20:13:05 UTC
Iodine hardcodes /sbin/ifconfig. Since gentoo now uses /bin/ifconfig, we need to patch this. Patch and ebuild attached.

Reproducible: Always
Comment 1 Jason A. Donenfeld gentoo-dev 2012-06-01 20:13:38 UTC
Created attachment 313861 [details, diff]
changes the path from /sbin/ifconfig to /bin/ifconfig
Comment 2 Jason A. Donenfeld gentoo-dev 2012-06-01 20:13:57 UTC
Created attachment 313863 [details]
The updated email that applies the patch.
Comment 3 Jason A. Donenfeld gentoo-dev 2012-06-02 01:49:01 UTC
Created attachment 313903 [details]
A iodined.init that doesn't crash

This file additionally solves bug #348109.
Comment 4 Mike Gilbert gentoo-dev 2012-06-02 02:29:18 UTC
ifconfig still lives in /sbin on my system, so that patch needs some fallback code.
Comment 5 Jason A. Donenfeld gentoo-dev 2012-06-02 02:35:25 UTC
Created attachment 313905 [details]
Allows ifconfig to be found in /bin or /sbin.

This should do the job on both types of systems.
Comment 6 Mike Gilbert gentoo-dev 2012-06-07 19:55:10 UTC
+*iodine-0.6.0_rc1-r1 (07 Jun 2012)
+
+  07 Jun 2012; Mike Gilbert <floppym@gentoo.org>
+  +files/iodine-0.6.0_rc1-ifconfig-path.patch, +iodine-0.6.0_rc1-r1.ebuild,
+  files/iodined.init:
+  Look for ifconfig in /bin and /sbin, bug 419151. Use pidfile in init script,
+  bug 348109. Patches by Jason Donenfeld.
+