http://qa.mandrakesoft.com/show_bug.cgi?id=6112





------- Additional Comments From [EMAIL PROTECTED]  2003-09-10 16:51 -------
The second solution would be better, since it would also solve the problem where
PCMCIA devices (which are now correctly not started at boot, so they are started
by PCMCIA instead, avoiding the error message before PCMCIA is started) are not
restarted by 'service network restart'.

When restarting the network, one expects all devices that were running before to
be running after ...

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: UNCONFIRMED
creation_date: 
description: 
description: 
========= 
"service network restart" shut down net interfaces that do not have ON_BOOT=yes in /
etc/sysconfig/network-scripts/icfg-<INTF> but does not restart them due to the 
ON_BOOT filter: 
 
if LANGUAGE=C LC_ALL=C egrep -q -L "^ONBOOT=['\"]?[Nn][Oo]['\"]?" ifcfg-$i; then 
        # this loads the module, to preserve ordering 
        is_available $i 
        continue 
fi 
 
 
suggestion: 
========= 
make start() and stop() out of case/esac code and make restart state call 
"start();stop();;" 
then: 
 
- either add a parameter to start() that tell it we're not at boot and really want all 
interfaces to come up 
 
- or get the list of active interfaces before stoping them and pass it again to start()

Reply via email to