[Bugs] #3753 sugar-network UNSP: sugar-network-service fails to resolve API DNS name after becoming online

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Jul 14 04:56:24 EDT 2012


#3753: sugar-network-service fails to resolve API DNS name after becoming online
------------------------------------------+---------------------------------
    Reporter:  alsroot                    |          Owner:  alsroot                    
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar-network              |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Fedora                     |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 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)
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3753>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list