A "# service network stop" tries to stop already stopped or non-existent
interfaces when a 'tunnel' interface is present.
The function check_device_down will use tunnel0 as a reference interface
(when it is up) and the network script will try to stop every interface
existent in /etc/sysconfig/network-scripts/ifcfg-*, regardless if it actually
exists or is up.
This patch fixes the variable and check_device_down now checks the correct
interface and down/skip the interfaces accordingly.
Fixes: RHBZ 1315018
See attached patch.
--- Rodrigo A B Freire .--. - ..--- .-. --- -..
Show replies by date