Hello,
I don't think this patch is correct. I can have for example vlan eth0.10 and in configuration in file ifcfg-myvlan, with this patch the device would not be pulled down.
Regards Lukas
Rodrigo A B Freire píše v So 05. 03. 2016 v 20:54 +0000:
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 .--. - ..--- .-. --- -.. _______________________________________________ initscripts-devel mailing list initscripts-devel@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/initscripts-devel@lists.fe dorahosted.org