Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50643 - nfs/nfsmount init-scripts do not depend on pcmcia
Summary: nfs/nfsmount init-scripts do not depend on pcmcia
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-10 08:51 UTC by Tom Van Doorsselaere
Modified: 2004-12-18 22:02 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 Tom Van Doorsselaere 2004-05-10 08:51:51 UTC
on laptops relying on a pcmcia network device, the nfs/nfsmount-script is run before the pcmcia script is run. As a consequence nfs-partitions are not exported/mounted.
The solution is easy: edit /etc/init.d/nfs of /etc/init.d/nfsmount and add pcmcia to the depend-place.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sven Wegener gentoo-dev 2004-05-10 09:24:31 UTC
/etc/init.d/net.eth0 does "use pcmcia" in depend()
/etc/init.d/nfs and /etc/init.d/nfsmount do "need net" in depend()

if there's no error in the dependency code of /sbin/rc & co. they should
already start in that order.
Comment 2 Sven Wegener gentoo-dev 2004-05-10 16:19:58 UTC
There's a small note in net.eth0

# For pcmcia users. note that pcmcia must be added to the same
# runlevel as the net.* script that needs it.
Comment 3 Tom Van Doorsselaere 2004-05-11 01:14:43 UTC
These two comments are true. However, in the installation doc, it is explicitly requested that the net.eth*-initscript should not be added to the default runlevel. For pcmcia users, the networking is started by the pcmcia-script and not by the net.eth*-scripts.
Comment 4 Sven Wegener gentoo-dev 2004-05-11 01:44:52 UTC
ah i see

could a base-system dev comment on this issue please? do the docs lie or
is there a missing "use pcmcia" in the nfs init scripts?
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2004-05-11 07:30:54 UTC
The fact is simply that hotplug, ifplugd, pcmcia, and the net.ethX scripts are all wound around each other and they need to be untangled.  :-(
Comment 6 SpanKY gentoo-dev 2004-12-18 22:02:45 UTC
baselayout-1.11.x should handle this properly