| Summary: | Missing dependency in net.eth0 init script | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Erasmo <ezubillaga> |
| Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | Keywords: | InVCS |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Thanks, will be in next baselayout release baselayout-1.10.2 released |
The net.eth0 script must have a dependency to the "bridge" module, or else the bridged interfaces will not be up at the time when the init scripts is trying to configure the interfaces. Reproducible: Always Steps to Reproduce: 1. Compile the kernel with the networking bridge option 2. Emerge bridge-utils 3. Configure the bridge interface in /etc/conf.d/bridge 4. Configure the IP for the bridge interface in /etc/conf.d/net (ie. br0) 5. Symlink /etc/init.d/net.eth0 -> /etc/init.d/net.br0 5. rc-update add bridge default 6. rc-update add net.eth0 default 7. reboot Actual Results: The IP address of the bridge interface is not configured because the bridge interface is not ready when the net.br0 script runs The solution is simpky as add the required dependency to the net.eth0 script: depend() { use hotplug pcmcia bridge }