Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17340 - linux-wlan-ng does not install Gentoo-style init script
Summary: linux-wlan-ng does not install Gentoo-style init script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Johanson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-11 23:03 UTC by Samuel Tesla
Modified: 2003-12-09 12:31 UTC (History)
1 user (show)

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 Samuel Tesla 2003-03-11 23:03:47 UTC
I emerged linux-wlan-ng 0.1.16_pre6 and the init script it installs at
/etc/init.d/wlan is the RedHat style init script that comes with the
linux-wlan-ng source.  This means that it won't play well with the Gentoo rc
system and makes it so my net.wlan0 script won't load properly at boot.

Reproducible: Always
Steps to Reproduce:
1. emerge linux-wlan-ng
2. make a proper net.wlan0 and add it to the default runlevel
3. add wlan to the default runlevel as well
4. reboot
Actual Results:  
/etc/init.d/wlan was executed after all other init scripts including net.wlan0
which would have depended on it.

Expected Results:  
/etc/init.d/wlan should be a Gentoo-style init script that has a depends()
function and that scripts such as net.wlan0 can NEED in their own depends()
function.

All of the other packages I've installed do this, I was truly surprised that
linux-wlan-ng didn't.

I've already made a Gentoo-style init script (just ported the one that was
there), and you can see it on the forums at:

http://forums.gentoo.org/viewtopic.php?t=40531
Comment 1 Martin Gramatke 2003-04-02 18:08:03 UTC
I ran into the same trouble with linux-wlan-ng 0.1.16_pre6. Samuel's script was very helpful. I 
would really appreciate if someone can fix this. 
Comment 2 Peter Johanson (RETIRED) gentoo-dev 2003-04-09 17:44:45 UTC
done. please test linux-wlan-ng-0.2.0-r2 or 0.2.1_pre1. Will hopefully use linux-wlan-ng-0.2.0-r2 for 1.4 final release
Comment 3 Martin Gramatke 2003-04-16 05:42:11 UTC
I update to linux-wlan-ng-0.2.0-r2 today. I replaced my old scripts with the new ones by 
etc-update. Everything went smooth. This issue seems fixed to me, thanks. 
Comment 4 Peter Johanson (RETIRED) gentoo-dev 2003-12-09 12:31:31 UTC
No further comments in ages. marking resolved.