linux.sh processes empty/missing subinterface file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gogoc (Debian) |
Fix Released
|
Unknown
|
|||
gogoc (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug 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/
echo "$subif" | while read sub int ; do
It needs to first test that $subif is not empty.
When the subinterfaces file (/etc/gogoc/
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.
Changed in gogoc (Debian): | |
status: | Unknown → New |
Changed in gogoc (Debian): | |
status: | New → Fix Released |
The attachment "gogoc-bug.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]