Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33419 - ifplugd cannot start /etc/init.d/net.eth0, saying: 'Could not get dependency info for "net.eth0"!'
Summary: ifplugd cannot start /etc/init.d/net.eth0, saying: 'Could not get dependency ...
Status: RESOLVED DUPLICATE of bug 33418
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-13 13:12 UTC by Pavel Vondricka
Modified: 2005-10-15 09:52 UTC (History)
0 users

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 Pavel Vondricka 2003-11-13 13:12:44 UTC
ifplugd sometimes (mostly) cannot start /etc/init.d/net.eth0, even when the
net-cable is already plugged in during the boot. In syslog there are repeated
messages (5x):

> lis 13 11:59:59 [rc-scripts] Could not get dependency info for "net.eth0"!
> lis 13 11:59:59 [rc-scripts] Please run:
> lis 13 11:59:59 [rc-scripts] # /sbin/depscan.sh
> lis 13 11:59:59 [rc-scripts] to fix this.

It doesn't help to run /sbin/depscan.sh.
ifplugd uses a script /usr/sbin/ifplugd.action which calls /etc/init.d/net.eth0
start/stop according to the situation (cabel plugged/unplugged).
Starting and stopping net.eth0 manually works of course. If I try to run this
script (/usr/sbin/ifplugd.action) manually from the shell in the same way as
ifplugd does, everything works as expected as well, without any messages in
syslog. It also works when ifplugd is new-emerged on the system and restarted
manually.
Although I always get these messages, sometimes the eth0 iface is configured
correctly, but mostly it isn't.

Additional notes:
- I tried reemerging the baselayout package as well. No change.
- I tried both the stable ifplugd-0.13-r1 and 0.15.
- Plugging and unplugging the network cable during run has the same effect, of
course.
- I use the latest stable sys-apps/baselayout: 1.8.6.10-r1


Reproducible: Always
Steps to Reproduce:
1.emerge ifplugd
2. rc-update add ifplugd default
3. rc-update del net.eth0 default
4. reboot

Actual Results:  
eth0 not configured (mostly, sometimes it IS OK!).
/var/log/everything/current (metalog) says (ALWAYS!):

Nov 13 20:19:42 [rc-scripts] Could not get dependency info for "net.eth0"!
Nov 13 20:19:42 [rc-scripts] Please run:
Nov 13 20:19:42 [rc-scripts] # /sbin/depscan.sh
Nov 13 20:19:42 [rc-scripts] to fix this.
Nov 13 20:19:42 [rc-scripts] Could not get dependency info for "net.eth0"!
Nov 13 20:19:42 [rc-scripts] Please run:
Nov 13 20:19:42 [rc-scripts] # /sbin/depscan.sh
Nov 13 20:19:42 [rc-scripts] to fix this.
Nov 13 20:19:42 [rc-scripts] Could not get dependency info for "net.eth0"!
Nov 13 20:19:42 [rc-scripts] Please run:
Nov 13 20:19:42 [rc-scripts] # /sbin/depscan.sh
Nov 13 20:19:42 [rc-scripts] to fix this.
Nov 13 20:19:42 [rc-scripts] Could not get dependency info for "net.eth0"!
Nov 13 20:19:42 [rc-scripts] Please run:
Nov 13 20:19:42 [rc-scripts] # /sbin/depscan.sh
Nov 13 20:19:42 [rc-scripts] to fix this.
Nov 13 20:19:42 [rc-scripts] Could not get dependency info for "net.eth0"!
Nov 13 20:19:42 [rc-scripts] Please run:
Nov 13 20:19:42 [rc-scripts] # /sbin/depscan.sh
Nov 13 20:19:42 [rc-scripts] to fix this.


Expected Results:  
eth0 configured. no errors in system logs.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-11-14 00:33:55 UTC

*** This bug has been marked as a duplicate of 33418 ***