From: Jamie C. <jca...@we...> - 2003-09-23 12:45:51
|
On Tue, 2003-09-23 at 19:33, Martin Mewes wrote: > Moin, moin, ... > > Thomas Weiss <t....@sc...> wrote: > > >>>"Virtual interfaces such as ifcfg-eth0:1 didn't honor ONBOOT=no, they > >>>were always brought up with parent interface." (www.gurulabs.com) > > >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. > > As MDK is RH-based on MDK 9.1 ONPARENT is needed as well. > Just tested it. Thanks for the info. However, I've decided to have webmin always set ONPARENT for virtual interfaces, regardless of the OS. Older versions of redhat will just ignore it, so there is no harm done.. And when it comes to detecting if a virtual interface will be brought up at boot time, webmin will use ONPARENT if it exists, or ONBOOT otherwise. Again, this should work for both old a new versions of Redhat and Mandrake. - Jamie |