#9144 NORM Not Tri: Browse activity cannot open mountpoints after suspend/sleep

Zarro Boogs per Child bugtracker at laptop.org
Wed Dec 24 18:38:04 EST 2008


#9144: Browse activity cannot open mountpoints after suspend/sleep
--------------------------+-------------------------------------------------
 Reporter:  mildred       |                 Owner:               
     Type:  defect        |                Status:  new          
 Priority:  normal        |             Milestone:  Not Triaged  
Component:  not assigned  |               Version:  not specified
 Keywords:                |           Next_action:  never set    
 Verified:  0             |   Deployment_affected:               
Blockedby:                |              Blocking:               
--------------------------+-------------------------------------------------
 This occurs when automatic power management is enabled (perhaps also when
 not enabled and when the laptop is put to sleep either by closing the lid
 or pushing the power button while an usb key is mounted). Build 767, Sugar
 0.82.1 and firmware Q2E18.

 When an USB key is mounted and if the laptop go to sleep (I guess that
 happens after few seconds of inactivity), the mountpoint of the USB key
 becomes inaccessible to the Browse activity. The only solution is to
 restart *completely* the laptop.

 For example, I was using Browse to listen some music on my USB key, and
 after few seconds of inactivity (cause I was listening), the computer went
 to sleep (except for the display). I could tell because the music stopped
 and moving the finger on the trackpad didn't immediately moved the mouse
 cursor.

 After that, the music wouldn't want to play any more (except for the bits
 still in cache). If I havigate to file:///media, I could see two mount
 points: C492-367B (previous mountpoint, now an empty directory) and
 C492-367B_1 (where the usb key was now mounted).

 Browse could go to the first, but it was empty. It refused to enter the
 second mountpoint. Just as if the mouse button has no effect on this link.
 If I typed the complete path of the second mountpoint, the ENTER key
 seemed not to do anything.

 At that point, if I try to plug in another USB key, Browse, similarly
 cannot open its mountpoint. I guess the sleep made the system mount usb
 keys differently, so Browse cannot access them.

 But ... it seems the mountpoints are accessible for everyone. ls -l says
 they belong to user olpc (group root). Their permissions are rwxrwxrwx.
 The same for all files contained in the usb key (they are FAT32
 formatted).

 So ... I don't understand. Perhaps this has something to do with SELinux,
 I know Fedora has it, and I always found it difficult to understand.

 If you need more information, let me know.

-- 
Ticket URL: <http://dev.laptop.org/ticket/9144>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list