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

           Product: initscripts
         Component: initscripts
           Summary: service network restart should not disable non
                    ON_BOOT=yes interfaces
           Product: initscripts
           Version: 7.06-32mdk
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: initscripts
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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()

-- 
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.

Reply via email to