I tried to do an install of the livecd image onto a removable harddrive last night. The installer seemed to mostly work well, but after anaconda started partitioning disks, hald/nautilus tried to mount them which confused anaconda, causing a traceback. To get the install to fully work I had to disable hald prior to running the installer.
(In reply to comment #0) > To get the install to fully work I had to disable hald > prior to running the installer. Disabling automounting via check boxes in g-v-m's preference capplet might have worked too. Anyway, hal really needs a way for apps to disable all automounters (whether it's the GNOME or KDE one or something else) and I plan to add this feature for 0.5.9 which will hit Rawhide before Test 3. Then the installer can call into this. Notably this is also needed for things like GParted. I'll follow up on this bug when this mechanism lands in Rawhide. David
Yesterday and today I wrote the code for doing this http://lists.freedesktop.org/archives/hal/2007-March/007764.html Just a bit of more testing and I'll put this in Rawhide.
This should now be in Rawhide as well as Test3. Here's a small example of how to use it http://gitweb.freedesktop.org/?p=hal.git;a=blob;hb=HEAD;f=examples/interface-locking-test.py Btw, there's a bug with gnome-mount. It pops up a warning dialog saying +-------------------------------------------------------+ | Cannot mount volume | | | | Error org.freedesktop.Hal.Device.InterfaceLocked. | | | | V Details | | The enclosing drive for the volume is locked | +-------------------------------------------------------+ even when it's not invoked by the user. I'll fix this later (it's an easy fix).
Created attachment 151065 [details] hal-lock.1 There's also now a hal-lock(1) tool. Attaching the man page. Note that this tool is not yet in Rawhide. I suspect things like gparted wants to use this tool.
Okay, committed bits to anaconda CVS so that we'll use hal-lock if it's present. Needs a little testing once all the bits are in place, but I'll try to test as is tomorrow
And tested now. So this should be good tomorrow