Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 972 - pcmcia bug in ebuild and init.d script
Summary: pcmcia bug in ebuild and init.d script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-05 06:14 UTC by Christian Loitsch
Modified: 2003-02-04 19:42 UTC (History)
3 users (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 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! :)