To be applied in MASTER branch. This patch is a complement of commit 5e9dd516e2e0 ("add bonding & xDSL to the list of devices brought up afterwards (#97030,#91399)"), ensuring that GRE and IPIP tunnels are brought up after base interfaces are up, and bring down before the underlying interface goes down.
ALSO
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.
Signed-off-by: Rodrigo Freire rfreire@redhat.com --- Rodrigo A B Freire .--. - ..--- .-. --- -..
Please deprecate the previous patch. There is already a fix for the variable leak issue (see commit 4df13e9715b9) New patch, for RHEL7 and Master branches. Applies cleanly. This patch is a complement of commit 5e9dd516e2e0 ("add bonding & xDSL to the list of devices brought up afterwards (#97030,#91399)"), ensuring that GRE and IPIP tunnels are brought up after base interfaces are up, and bring down before the underlying interface goes down.
Signed-off-by: Rodrigo Freire rfreire@redhat.com --- Rodrigo A B Freire .--. - ..--- .-. --- -..
On Sunday, March 6, 2016 8:20 AM, Rodrigo A B Freire rodfreire@yahoo.com wrote:
To be applied in MASTER branch. This patch is a complement of commit 5e9dd516e2e0 ("add bonding & xDSL to the list of devices brought up afterwards (#97030,#91399)"), ensuring that GRE and IPIP tunnels are brought up after base interfaces are up, and bring down before the underlying interface goes down.
ALSO
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.
Signed-off-by: Rodrigo Freire rfreire@redhat.com --- Rodrigo A B Freire .--. - ..--- .-. --- -..
Thanks! Applied.
Lukas
Rodrigo A B Freire píše v Po 07. 03. 2016 v 16:24 +0000:
Please deprecate the previous patch. There is already a fix for the variable leak issue (see commit 4df13e9715b9)
New patch, for RHEL7 and Master branches. Applies cleanly.
This patch is a complement of commit 5e9dd516e2e0 ("add bonding & xDSL to the list of devices brought up afterwards (#97030,#91399)"), ensuring that GRE and IPIP tunnels are brought up after base interfaces are up, and bring down before the underlying interface goes down.
Signed-off-by: Rodrigo Freire rfreire@redhat.com
--- Rodrigo A B Freire .--. - ..--- .-. --- -..
On Sunday, March 6, 2016 8:20 AM, Rodrigo A B Freire < rodfreire@yahoo.com> wrote:
To be applied in MASTER branch.
This patch is a complement of commit 5e9dd516e2e0 ("add bonding & xDSL to the list of devices brought up afterwards (#97030,#91399)"), ensuring that GRE and IPIP tunnels are brought up after base interfaces are up, and bring down before the underlying interface goes down.
ALSO
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.
Signed-off-by: Rodrigo Freire rfreire@redhat.com
--- 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
initscripts-devel@lists.fedorahosted.org