Red Hat Bugzilla – Bug 159820
usb-storage automount only works once
Last modified: 2007-11-30 17:11:07 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050504 Fedora/1.0.3-4 Firefox/1.0.3
Description of problem:
The first time I plug in a usb-storage device it is detected and automounts correctly. If I umount the device, unplug it and plug it back in, it will be detected but will not automount.
I see this problem with a iPod (on USB) and a USB memory stick.
This problem did not occur in Fedora Core 3 with the same devices and same PC hardware.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start from a fresh reboot and login.
2. Plug-in a USB storage device.
3. Wait for device's icon to appear.
4. Umount the device (either via the command line or through Gnome).
5. Unplug the device and plug it back in.
Actual Results: Device is not auto-mounted the second time and subsequent times. No device icon appears on the desktop but logs indicate the device is detected ok.
At this point mounting the device manually (eg. mount /dev/sda2 /mnt/ipod) does work and causes an icon to appear on the desktop. The device can then be used.
Expected Results: The usb-storage device should automount each time it is plugged in.
I've found that uninstalling the usb-storage driver (modprobe -r usb-storage) and then plugging a usb-storage device back in will result in automount working, again just for one time.
If I use the eject command to umount the device or select Unmount Volume in Gnome GUI I receive an error like: "eject: unable to open `/dev/sda2' in dialog" although the umount seems to work. If I just use umount on the command line I don't see any errors. Not sure if this is related but thought I'd mention it.
Seems to be fixed in FC4.