Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46760 - Wrong path for ifrename in hotplug net.agent
Summary: Wrong path for ifrename in hotplug net.agent
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-04 04:18 UTC by Mario Camou
Modified: 2004-10-07 15:30 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 Mario Camou 2004-04-04 04:18:21 UTC
In hotplug-20040401, the net.agent package calls /sbin/ifrename. In wireless-tools-27_pre17, ifrename is in /usr/sbin.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-04-04 09:48:07 UTC
heh, that's funny as the ifrename author send me that patch.

Actually, now that udev handles renaming network devices, I recommend using
it instead of ifrename for 2.6.

Are you using a 2.4 or 2.6 kernel?
Comment 2 Mario Camou 2004-04-04 11:48:23 UTC
I'm running 2.6 and wasn't using ifrename *NOR* udev, since devfs by itself seemed to give me all I needed. With the proliferation of LAN cards on my system, though, I probably will have to give udev a look.
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-09-20 16:03:54 UTC
Ok, I've fixed this in the next release of the hotplug package (today or tommorrow.)
Comment 4 Jean Tourrilhes 2004-10-07 15:30:56 UTC
Greg Kroah-Hartman
> heh, that's funny as the ifrename author send me that patch.

heh, that's funny, you did not even bothered to double check with the siad author;-)

The Wireless Tools package by default install in /usr/local/sbin/
Debian by default install it in /sbin/
Slackware by default install it in /sbin/
Red-Hat/Fedora by default install it in /sbin/
Mandrake by default install it in /sbin/
SuSE by default install it in /usr/sbin/

But it does not matter anyway, as each distro is supposed to fix its hotplug scripts anyway...

> Actually, now that udev handles renaming network devices, I recommend using
> it instead of ifrename for 2.6.

I won't even go there, but there are some configurations that udev doesn't support yet.

Have fun...

The author