#12503 NORM Future : Add localhost IPv6 alias
Zarro Boogs per Child
bugtracker at laptop.org
Fri Jun 5 13:22:51 EDT 2015
#12503: Add localhost IPv6 alias
-------------------------------+--------------------------------
Reporter: dsd | Owner: dsd
Type: defect | Status: new
Priority: normal | Milestone: Future Release
Component: distro | Version: not specified
Resolution: | Keywords:
Blocked By: | Blocking:
Deployments affected: | Action Needed: never set
Verified: 0 |
-------------------------------+--------------------------------
Comment (by tchx84):
This bug is still present in Ubuntu 14.04 LTS (Trusty) and affects web
activities such as Gears [1], FindWords [2] and possibly all others.
As it was described in a previous ticket [3] for Wikipedia activity, the
bug can be reproduced with Manuq's libsoup test case [4] by running the
script when no active network is set.
Steps:
1. Install our Ubuntu image with 0.105.2.
2. Connect to an access point (AP).
3. Go to the terminal activity and run libsoup test case [4], and it
should pass, stating that it resolves "localhost" but it can't connect (of
course it won't there is no real server to connect to)
4. Now, disconnect from the AP and repeat step 3. The error will be that
is not possible to resolve "localhost".
Another way to reproduce is to replace step 3 by opening web activities.
When there is no active network, the activities won't be able to connect
to the sugar websocket and will not load user colors, previous data and it
won't be closed by clicking on the close button.
As stated for Wikipedia activity case, there are only 2 workaround:
A) Modify all web activities to use 0.0.0.0 instead of localhost, or
B) Insert a "::1 localhost" entry in /etc/hosts
Refs:
1. https://github.com/manuq/gears-activity
2. https://github.com/godiard/find-words-activity
3. http://dev.laptop.org/ticket/12479
4. http://dev.laptop.org/attachment/ticket/12479/testsoup.py
--
Ticket URL: <http://dev.laptop.org/ticket/12503#comment:1>
One Laptop per Child <http://one.laptop.org/>
One Laptop per Child bug tracking system
More information about the Bugs
mailing list