Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53155 - net-wireless/waproamd-0.6 should not use ifup/ifdown
Summary: net-wireless/waproamd-0.6 should not use ifup/ifdown
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-06-06 12:45 UTC by Henrik Brix Andersen
Modified: 2004-10-09 09:21 UTC (History)
2 users (show)

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


Attachments
Patch to use /etc/init.d/net.* (waproamd.patch,701 bytes, patch)
2004-06-06 12:47 UTC, Henrik Brix Andersen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Brix Andersen 2004-06-06 12:45:49 UTC
The current ebuild for net-wireless/waproamd-0.6 relies on /sbin/ifup and /sbin/ifdown to function correctly.

I will attach a patch which changes the default behaviour to using /etc/init.d/net.* {start,stop} instead.
Comment 1 Henrik Brix Andersen 2004-06-06 12:47:17 UTC
Created attachment 32793 [details, diff]
Patch to use /etc/init.d/net.*
Comment 2 Henrik Brix Andersen 2004-06-06 13:46:16 UTC
Another thing:

I had to add the following dependencies to /etc/init.d/waproamd:

depend() {
        use hotplug pcmcia
}

Seems logical since /etc/init.d/net.* has the same dependencies.
Comment 3 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2004-07-28 15:44:19 UTC
If the interface is configured to use dhcp, it does not start dhcpcd.
I think this is because the pcmcia deamon starts /etc/init.d/net.eth1 (in my case), so waproamd is told it already is running.
Please change severity to major, since it is blocking it from working correctly.
Comment 4 Henrik Brix Andersen 2004-10-09 09:21:28 UTC
Fixed in net-wireless/waproamd-0.6-r1. Closing this bug as FIXED.