Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 972

Summary: pcmcia bug in ebuild and init.d script
Product: Gentoo Linux Reporter: Christian Loitsch <gentoo-bug>
Component: [OLD] Core systemAssignee: Daniel Robbins (RETIRED) <drobbins>
Severity: major CC: chadh, chouser, gentoo-bug
Priority: Normal    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---

Description Christian Loitsch 2002-03-05 06:14:48 UTC
1 bug:  in the ebuild-script newins is called with only 1 parameter
/etc/pcmcia.conf and (don't ask me why) /etc/init.d/pcmcia are not
installed.  As the pcmcia-cs package provides its /etc/init.d/pcmcia
script this produces "strange" results:
no /mnt/.init.d/started link
dependencies don't work...
it took me quite some time to realize that it was the wrong script.

2 bug:  add the -f flag to the cardmgr in the /etc/init.d/pcmcia
script.  Otherwise you introduce a race condition, where even though
cardmgr is started, e.g. eth0 is not created and /etc/init.d/net.eth0
needs it already.  The -f flag lets cardmgr stay in foreground until
having "treated" all cards inserted.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-03-05 06:54:57 UTC
The "newins ${FILESDIR}/pcmcia.conf" should be "doins ${FILESDIR}/pcmcia.conf"
im guessing.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-03-05 06:55:46 UTC
Sorry for adding so many emails, cant remember who fixed pcmcia the last time.
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-03-05 13:19:48 UTC
fixed on cvs.  Thanks! :)