Description of problem: When a USB floppy drive, cdrom drive or key drive is plugged in any PE with RHEL4 pre-rc1(x86), /var/log/messages records the device being detected, but /etc/fstab is not updated with the new mount information. The mount point under /media is not created. There is no problem mounting the device manually. Version-Release number of selected component (if applicable): Using hal-0.4.0-9 and kernel 2.6.9-1.860_ELsmp How reproducible: easy Steps to Reproduce: 1. Install RHEL4 Pre-RC1 with kernel 2.6.9-1.860_ELsmp 2. Plug in a USB cdrom/floppy/key drive 3. Observe /var/log/message to verify that the new device is recognized by the OS 4. Check /etc/fstab for any new entries and /media for any new directories Actual results: the added USB device isn't automounted, nothing is added to /etc/fstab Expected results: device automounted in /media, and entry added to /etc/fstab Additional info: It appears that the usb devices don't even have an info.category when i look at the output of 'lshal'. It also appears that the storage- policy.fdi won't mount a storage device if info.category isn't set to 'storage'. I'm not sure if this is intentional or not... nor am I sure who or what would normally set info.category to storage and that sort of thing. This key/property (info.category) does seem to be set for the IDE cd-rom and the legacy floppy.
I think this is fixed in the 0.4.2 hal rpm's available here http://people.redhat.com/davidz/rhel4/ which will be part of RHEL4. The reason you're seeing this bug is that earlier versions of hal made certain (wrong) assumptions about the sysfs-layout that are broken in the kernel you are using. Please see if the new RPM's work. Thanks, David
The 0.4.2 hal appears to work. I tried it with a USB floppy, a USB CD-ROM, and a USB key (SanDisk Cruzer Mini). When will this version of hal be included in RHEL4? Thanks Stuart
Confirmed hal 0.4.2-1.EL4 in pre-rc2. Closing.