2018-01-23 17:22 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0013020CentOS-6initscriptspublic2017-05-31 04:21
Reportersles 
PriorityhighSeverityblockReproducibilityalways
StatusnewResolutionopen 
Platformx86OSOS Version
Product Version6.8 
Target VersionFixed in Version 
Summary0013020: initscripts 9.03.58-1.el6.centos breaks gre interfaces
DescriptionHello!

I have 2 gre interfaces in system.
After upgrade to initscripts 9.03.58-1.el6.centos second interface does not comes up during boot.

There are differences in init scripts:

diff -ur network-cr network
--- network-cr 2017-03-26 17:17:31.307909773 +0400
+++ network 2016-04-12 13:14:00.000000000 +0400
@@ -98,11 +98,6 @@
continue
fi

- if [ "$TYPE" = "IPSEC" ] || [ "$TYPE" = "IPIP" ] || [ "$TYPE" = "GRE" ]; then
- vpninterfaces="$vpninterfaces $i"
- continue
- fi
-
if [ "${DEVICE%%.*}" != "$DEVICE" -o "${DEVICE##vlan}" != "$DEVICE" ] ; then
vlaninterfaces="$vlaninterfaces $i"
continue
@@ -192,11 +187,6 @@

if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi

- if [ "$TYPE" = "IPSEC" ] || [ "$TYPE" = "IPIP" ] || [ "$TYPE" = "GRE" ]; then
- vpninterfaces="$vpninterfaces $i"
- continue
- fi
-
if [ "$TYPE" = "Bridge" ]; then
bridgeinterfaces="$bridgeinterfaces $i"
continue
Steps To ReproduceCreate more then one gre interface is system,
reboot.

Additional Informationreplacing new script networks with old one solved problem.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0029237

giz (reporter)

i found the same error on my server, my proposal:

--- /etc/rc.d/init.d/network.orig 2017-05-05 16:42:12.280930856 +0200
+++ /etc/rc.d/init.d/network 2017-05-05 16:42:51.620123964 +0200
@@ -213,7 +213,7 @@
                remaining="$remaining $i"
        done
 
- for i in $xdslinterfaces $bridgeinterfaces $vlaninterfaces $remaining; do
+ for i in $xdslinterfaces $bridgeinterfaces $vlaninterfaces $vpninterfaces $remaining; do
                (. ./ifcfg-$i
                if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi

~0029238

giz (reporter)

i missed one line, corrected version:

$ diff -ur /etc/rc.d/init.d/network.orig /etc/rc.d/init.d/network
--- /etc/rc.d/init.d/network.orig 2017-05-05 16:42:12.280930856 +0200
+++ /etc/rc.d/init.d/network 2017-05-05 16:50:58.751512470 +0200
@@ -123,7 +123,7 @@
        done
 
        # Bring up xDSL and VPN interfaces
- for i in $vlaninterfaces $bridgeinterfaces $xdslinterfaces ; do
+ for i in $vlaninterfaces $bridgeinterfaces $xdslinterfaces $vpninterfaces ; do
             if ! LANG=C egrep -L "^ONBOOT=['\"]?[Nn][Oo]['\"]?" ifcfg-$i >/dev/null 2>&1 ; then
                # If we're in confirmation mode, get user confirmation.
                if [ -f /var/run/confirm ]; then
@@ -213,7 +213,7 @@
                remaining="$remaining $i"
        done
 
- for i in $xdslinterfaces $bridgeinterfaces $vlaninterfaces $remaining; do
+ for i in $xdslinterfaces $bridgeinterfaces $vlaninterfaces $vpninterfaces $remaining; do
                (. ./ifcfg-$i
                if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi

~0029240

sles (reporter)

here my is bug report
https://bugzilla.redhat.com/show_bug.cgi?id=1436061

it has link to fix-
https://github.com/fedora-sysv/initscripts/pull/86/commits/e5cab609767e19da06757ae587bafb89b8037ccb

What is strange here- fix is still no released , more then month passed.
Enterprise linux... :-D

~0029367

sles (reporter)

Fix release
initscripts-9.03.58-1.el6_9.1
hope to have it in centos soon..
Thank you!
+Notes

-Issue History
Date Modified Username Field Change
2017-03-26 13:40 sles New Issue
2017-05-05 14:44 giz Note Added: 0029237
2017-05-05 14:51 giz Note Added: 0029238
2017-05-06 12:38 sles Note Added: 0029240
2017-05-31 04:21 sles Note Added: 0029367
+Issue History