From: Thomas W. <t....@sc...> - 2003-09-23 07:59:32
|
Jamie Cameron wrote: > On Mon, 2003-09-22 at 18:54, Thomas Weiss wrote: > >>Hello, >> >>I think there is a little bug in the network module for redhat? >> >>Redhat 9: >>To activate or deactivate virtual interfaces at boot time, RH uses the >>variable ONPARENT and not on ONBOOT (ONBOOT is used only for "real" >>interfaces). >> >>Redhat <9: >>"Virtual interfaces such as ifcfg-eth0:1 didn't honor ONBOOT=no, they >>were always brought up with parent interface." (www.gurulabs.com) >> >>Have a look at /etc/sysconfig/network-scripts/ifup-aliases and >>http://www.gurulabs.com/RedHatLinux9-review.html. >> >>I tried to fix it for RH-9. (For RH < 9 can_edit has also to be fixed?) >>Perhaps the patch is useful for others too. > > > Thanks for that patch - I will fix webmin in the next release to set > ONPARENT for redhat versions 9 and above. Do you know if any other > recent distributions (like Mandrake 9.1) have also incorporated the same > change? > > - Jamie Mandrake 9.1 seems also to use ONPARENT. I just downloaded the initscripts-7.06-11mdk.i586.rpm and looked at ./etc/sysconfig/network-scripts/ifup-aliases: $>grep ONPARENT ./etc/sysconfig/network-scripts/ifup-aliases [ "$ONPARENT" != "no" -a "$ONPARENT" != "NO" ] && new_interface; [ "$ONPARENT" != "no" -a "$ONPARENT" != "NO" ] && new_interface; Unfortunately we have no Mandrake box in the office, so I can not make a real test. theo > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel |