[Bugs] #1720 UNSP: logging cleanup failure prevents session start

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Feb 10 21:39:22 EST 2010


#1720: logging cleanup failure prevents session start
------------------------------------------+---------------------------------
    Reporter:  quozl                      |          Owner:  tomeu                      
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Git as of bugdate          
    Severity:  Minor                      |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 Logging cleanup creates a directory and moves previous logs into it.  This
 requires available disk space.

 When disk space is insufficient, or disk is read-only, or some other I/O
 error occurs, the ''sugar-session'' terminates.  On systems that only
 exist to run ''sugar-session'', the X server is repeatedly restarted.
 Here is an example from Sugar 0.84 with a full disk:

 {{{
 Traceback (most recent call last):
   File "/usr/bin/sugar-session", line 185, in <module>
     main()
   File "/usr/bin/sugar-session", line 141, in main
     cleanup_logs()
   File "/usr/bin/sugar-session", line 80, in cleanup_logs
     os.mkdir(backup_dir)
 OSError: [Errno 28] No queda espacio en el dispositivo:
 '/home/olpc/.sugar/default/logs/1265854382'
 }}}

 (This example from [http://dev.laptop.org/ticket/9623 dev.laptop.org
 #9623])

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


More information about the Bugs mailing list