Ticket #3753 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

sugar-network-service fails to resolve API DNS name after becoming online

Reported by: alsroot Owned by: alsroot
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: sugar-network Version: Unspecified
Severity: Unspecified Keywords:
Cc: Distribution/OS: Fedora
Bug Status: Unconfirmed

Description

The problem is not specific to sugar-network-service. In Fedora-14 environment created by OOB, the following code being launched in offline, still can't resolve DNS names if system became online (after restarting this script in online, it works fine):

import time
import socket

while True:
    try:
        print socket.gethostbyname('sugarlabs.org')
    except Exception, error:
        print error
    time.sleep(1)

Change History

Changed 11 months ago by sascha_silbe

See #1940 for a very similar issue in Sugar.

Changed 11 months ago by alsroot

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.