2014-04-25 10:43:12 |
Russell Phillips |
bug |
|
|
added bug |
2014-04-25 10:43:12 |
Russell Phillips |
attachment added |
|
gogoc-bug.patch https://bugs.launchpad.net/bugs/1312649/+attachment/4096417/+files/gogoc-bug.patch |
|
2014-04-25 11:17:26 |
Russell Phillips |
description |
After upgrading from 12.04 to 14.04, I noticed that gogoc no longer started. I tracked it down to a logical error in the bash script to build the tunnel.
The following line appears 3 times in /usr/share/gogoc/template/linux.sh (lines 167, 279 and 312):
echo "$subif" | while read sub int ; do
It should read:
echo "$subif" || while read sub int ; do
(Note that "|" becomes "||")
When the subinterfaces file (/etc/gogoc/interfaces.conf) is empty or missing, the subif variable has an empty value. It appears that the intention of the aforementioned line in linux.sh is to test for an empty value, and only process it if it's populated. It doesn't seem to work this way.
What is happening, is that the radvd config file is populated with a second interface containing uninitialized nonsense, and radvd in turn fails to parse the config file. Radvd will then return an error status and gogoc will react by tearing down the tunnel. |
After upgrading from 12.04 to 14.04, I noticed that gogoc no longer started. I tracked it down to a logical error in the bash script to build the tunnel.
The following line appears 3 times in /usr/share/gogoc/template/linux.sh (lines 167, 279 and 312):
echo "$subif" | while read sub int ; do
It needs to first test that $subif is empty:
When the subinterfaces file (/etc/gogoc/interfaces.conf) is empty or missing, the subif variable has an empty value. It appears that the intention of the aforementioned line in linux.sh is to test for an empty value, and only process it if it's populated. It doesn't seem to work this way.
What is happening, is that the radvd config file is populated with a second interface containing uninitialized nonsense, and radvd in turn fails to parse the config file. Radvd will then return an error status and gogoc will react by tearing down the tunnel. |
|
2014-04-25 11:17:36 |
Russell Phillips |
attachment removed |
gogoc-bug.patch https://bugs.launchpad.net/ubuntu/+source/gogoc/+bug/1312649/+attachment/4096417/+files/gogoc-bug.patch |
|
|
2014-04-25 11:19:08 |
Russell Phillips |
attachment added |
|
gogoc-bug.patch https://bugs.launchpad.net/ubuntu/+source/gogoc/+bug/1312649/+attachment/4096432/+files/gogoc-bug.patch |
|
2014-04-25 11:19:41 |
Russell Phillips |
description |
After upgrading from 12.04 to 14.04, I noticed that gogoc no longer started. I tracked it down to a logical error in the bash script to build the tunnel.
The following line appears 3 times in /usr/share/gogoc/template/linux.sh (lines 167, 279 and 312):
echo "$subif" | while read sub int ; do
It needs to first test that $subif is empty:
When the subinterfaces file (/etc/gogoc/interfaces.conf) is empty or missing, the subif variable has an empty value. It appears that the intention of the aforementioned line in linux.sh is to test for an empty value, and only process it if it's populated. It doesn't seem to work this way.
What is happening, is that the radvd config file is populated with a second interface containing uninitialized nonsense, and radvd in turn fails to parse the config file. Radvd will then return an error status and gogoc will react by tearing down the tunnel. |
After upgrading from 12.04 to 14.04, I noticed that gogoc no longer started. I tracked it down to a logical error in the bash script to build the tunnel.
The following line appears 3 times in /usr/share/gogoc/template/linux.sh (lines 167, 279 and 312):
echo "$subif" | while read sub int ; do
It needs to first test that $subif is empty:
When the subinterfaces file (/etc/gogoc/interfaces.conf) is empty or missing, the subif variable has an empty value.
What is happening, is that the radvd config file is populated with a second interface containing uninitialized nonsense, and radvd in turn fails to parse the config file. Radvd will then return an error status and gogoc will react by tearing down the tunnel. |
|
2014-04-25 11:19:55 |
Russell Phillips |
description |
After upgrading from 12.04 to 14.04, I noticed that gogoc no longer started. I tracked it down to a logical error in the bash script to build the tunnel.
The following line appears 3 times in /usr/share/gogoc/template/linux.sh (lines 167, 279 and 312):
echo "$subif" | while read sub int ; do
It needs to first test that $subif is empty:
When the subinterfaces file (/etc/gogoc/interfaces.conf) is empty or missing, the subif variable has an empty value.
What is happening, is that the radvd config file is populated with a second interface containing uninitialized nonsense, and radvd in turn fails to parse the config file. Radvd will then return an error status and gogoc will react by tearing down the tunnel. |
After upgrading from 12.04 to 14.04, I noticed that gogoc no longer started. I tracked it down to a logical error in the bash script to build the tunnel.
The following line appears 3 times in /usr/share/gogoc/template/linux.sh (lines 167, 279 and 312):
echo "$subif" | while read sub int ; do
It needs to first test that $subif is empty.
When the subinterfaces file (/etc/gogoc/interfaces.conf) is empty or missing, the subif variable has an empty value.
What is happening, is that the radvd config file is populated with a second interface containing uninitialized nonsense, and radvd in turn fails to parse the config file. Radvd will then return an error status and gogoc will react by tearing down the tunnel. |
|
2014-04-25 11:20:04 |
Russell Phillips |
description |
After upgrading from 12.04 to 14.04, I noticed that gogoc no longer started. I tracked it down to a logical error in the bash script to build the tunnel.
The following line appears 3 times in /usr/share/gogoc/template/linux.sh (lines 167, 279 and 312):
echo "$subif" | while read sub int ; do
It needs to first test that $subif is empty.
When the subinterfaces file (/etc/gogoc/interfaces.conf) is empty or missing, the subif variable has an empty value.
What is happening, is that the radvd config file is populated with a second interface containing uninitialized nonsense, and radvd in turn fails to parse the config file. Radvd will then return an error status and gogoc will react by tearing down the tunnel. |
After upgrading from 12.04 to 14.04, I noticed that gogoc no longer started. I tracked it down to a logical error in the bash script to build the tunnel.
The following line appears 3 times in /usr/share/gogoc/template/linux.sh (lines 167, 279 and 312):
echo "$subif" | while read sub int ; do
It needs to first test that $subif is not empty.
When the subinterfaces file (/etc/gogoc/interfaces.conf) is empty or missing, the subif variable has an empty value.
What is happening, is that the radvd config file is populated with a second interface containing uninitialized nonsense, and radvd in turn fails to parse the config file. Radvd will then return an error status and gogoc will react by tearing down the tunnel. |
|
2014-04-25 12:27:41 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2014-04-25 12:27:49 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2014-04-28 00:07:30 |
Launchpad Janitor |
gogoc (Ubuntu): status |
New |
Confirmed |
|
2014-04-28 00:10:12 |
John S. Gruber |
bug |
|
|
added subscriber John S. Gruber |
2014-04-28 01:58:06 |
John S. Gruber |
bug watch added |
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731256 |
|
2014-04-28 01:58:06 |
John S. Gruber |
bug task added |
|
gogoc (Debian) |
|
2014-04-28 03:01:23 |
Bug Watch Updater |
gogoc (Debian): status |
Unknown |
New |
|
2016-01-19 22:05:31 |
Bug Watch Updater |
gogoc (Debian): status |
New |
Fix Released |
|