Summary: | ifplugd cannot start /etc/init.d/net.eth0, saying: 'Could not get dependency info for "net.eth0"!' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pavel Vondricka <wanthalf> |
Component: | [OLD] Core system | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
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.