Bug 162799
Summary: | hotplug does not recognize that the usb-storage device /dev/sda1 exists | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Luis A. Florit <cacho96> | ||||||
Component: | hal | Assignee: | John (J5) Palmieri <johnp> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4 | CC: | jkeck | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-12-12 04:24:07 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Luis A. Florit
2005-07-08 18:40:52 UTC
I suspect it's racing with udev which is creating the device nodes. HAL already exists and has hooks for mounting removable storage; assigning there. I think it is not because a 'race'. The mount error appears after the device was created. In addition, just in case, I added a "sleep 30 seconds" right before the mount command to be sure the device was created. Same results. L. Are Fedora bugs being processed? I mean: is Fedora alive? L. Hotplug doesn't handle key mounting anymore. That is done with HAL in FC4 (and in FC5 hotplug will be removed). Did you upgrade or do a fresh install? Please attach the output of the lshal command and the contents of /etc/fstab with the key plugged in. Thanks. Created attachment 122115 [details]
lshal output
Created attachment 122116 [details]
/etc/fstab
I never do upgrades to versions of Fedora, only to packages. So, FC4 was a fresh install. I have had tons of problems with HAL. So hotplug doesn't work here most likely because the script is being run before the node is created by udev. Not really a bug since hotplug shouldn't be used for this. Your solutions are to let HAL and gnome-volume-manager to handle it (gnome-volume-manager is what does the mounting) or you can write a HAL callout to do it or just run the autofs or automounter daemon (amd) which will mount drives in fstab when you try to access them. BTW hardcoding /dev/sda1 /dev/sdb1 etc. could run you into some problems as you never know which device will get which node name from kernel to kernel. To see how HAL does things check out the fdi files in /usr/share/hal/fdi. You should see a storage-policy fdi file in there that adds the fstab-sync callout. Beyond that go to the hal website at http://freedesktop.org/wiki/Software/hal |