View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013020 | CentOS-6 | initscripts | public | 2017-03-26 13:40 | 2017-05-31 04:21 |
Reporter | sles | Assigned To | |||
Priority | high | Severity | block | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x86 | ||||
Product Version | 6.8 | ||||
Summary | 0013020: initscripts 9.03.58-1.el6.centos breaks gre interfaces | ||||
Description | Hello! 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 Reproduce | Create more then one gre interface is system, reboot. | ||||
Additional Information | replacing new script networks with old one solved problem. | ||||
Tags | No tags attached. | ||||
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 |
|
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 |
|
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 |
|
Fix release initscripts-9.03.58-1.el6_9.1 hope to have it in centos soon.. Thank you! |
|