Summary: | net.eth0 net.lo files swapped | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | armin |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | genfool |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
armin
2005-06-11 04:17:19 UTC
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. *** |