the content of net.eth0 net.lo files is swapped. maybe it's etc-update issue. it was on 4 machines during upgrading baselayout to: 1.11.12-r4 users with one network card may not notice :) Reproducible: Always Steps to Reproduce: 1. emerge the new baselayout 2. look at the ._config files Actual Results: network problems Expected Results: normal upgrade
What do you mean "content is swapped"? /etc/init.d/net.ethX are only symlinks to /etc/init.d/net.lo in the new baselayout versions! All configuration is done in /etc/conf.d/net * WARNING: You have older net.eth* files in ${ROOT}/etc/init.d/ * They need to be converted to symlinks to net.lo. If you haven't * made personal changes to those files, you can update with the * following command: * # /bin/ls /etc/init.d/net.eth* | xargs -n1 ln -sfvn net.lo"
> What do you mean "content is swapped"? /etc/init.d/net.ethX are only symlinks to > /etc/init.d/net.lo in the new baselayout versions! All configuration is done in > /etc/conf.d/net > > * WARNING: You have older net.eth* files in ${ROOT}/etc/init.d/ > * They need to be converted to symlinks to net.lo. If you haven't > * made personal changes to those files, you can update with the > * following command: > > * # /bin/ls /etc/init.d/net.eth* | xargs -n1 ln -sfvn net.lo" > Thanks for clarification: I of course have different files, because I need arp entries during the start of network devices. How can I execute a few lines for each eth* device with /etc/conf.d/net or at least have something like ARP_LINE="-s <IP> <MAC> -i eth1" for each network device...
I have no idea what are you trying to achieve but if you are not able to do this any more with new baselayout, then open a new bug and clarify in more detail - what are you trying to achieve - why is this not possible with current net init scripts - and what enhancements are needed to get the required result. Patches are welcome of course. Thanks.
Armin, look at /etc/conf.d/net.example. You'll want to read all the way through it because there is stuff near the bottom that will help you out. In particular, you can run commands for devices in /etc/conf.d/net using the preup/postup functions.
*** Bug 104165 has been marked as a duplicate of this bug. ***