Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 174370

Summary: sys-apps/hal-0.5.7.1-r5 - race condition when determining mount point for new disks
Product: Gentoo Linux Reporter: Nico R. <n-roeser>
Component: [OLD] Core systemAssignee: Project Gentopia <gentopia>
Status: VERIFIED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nico R. 2007-04-13 06:54:56 UTC
When I plug in/power on an external USB hard disk with two partitions, they often both get mounted on /media/disk (the second one on top of the first one). *Sometimes* I get /media/disk and /media/disk-1 instead (that's what should always happen).

I suspect a race condition in /usr/share/hal/scripts/hal-system-storage-mount around line 175 when determining the mount point for the partition that has become available.

My system is currently using sys-apps/hal-0.5.7.1-r5.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-04-13 12:56:21 UTC
Unmask hal 0.5.9 and test.
Comment 2 Nico R. 2007-06-21 06:52:19 UTC
Seems to work with sys-apps/hal-0.5.9-r1.

Closing.