Please deprecate the previous patch. As per your comment:

> Hello,
>
> I would like not to bring unnecessary differences between the rhel6 and
> master branch. So either we should use vpninterfaces in this case or
> introduce brifgeinterface variable in the patch for master branch.

I'm resending the RHEL6 patch renamed as vpninterfaces to be coherent
with rhel7/master. Thanks for pointing that.
 
--- Rodrigo A B Freire .--. - ..--- .-. --- -..


On Saturday, March 5, 2016 5:54 PM, Rodrigo A B Freire <rodfreire@yahoo.com> wrote:


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