Description of problem: In Fedora 9, when encrypted physical volumes disappeared from "Places->Computer" when they were unlocked. In F10 preview, the encrypted PVs still show up. Version-Release number of selected component (if applicable): hal-0.5.12-9.20081027git.fc10.x86_64 How reproducible: always Steps to Reproduce: 1. install F10 preview with encryption option 2. go to places->computer 3. see the pv's listed there or in my case, 1. upgrade from F9 2. see (unlocked) encrypted pv's listed Actual results: unlocked pv's still shown Expected results: unlocked pv's disappear Additional info:
If this is the wrong place to file... its my fault. I suspect this is some sort of change in hal policy with regard to volume.ignore matching rules..but I haven't tracked it down...and I could be wrong. -jef
So, I did some experimenting: With the F9 live cd, when I "cryptsetup luksOpen" an encrypted PV, it disappears properly. Strangely, when I tried the same thing with the F10 preview live cd, I got the same results. Just to be sure that the problem wasn't an anomaly due to my upgrading from F9, I did a clean install (from the DVD) with the encryption option enabled. On this clean install, the encrypted PV shows up in "computer" even though it shouldn't (and didn't in F9). It seems that this problem exists when the PV is the same PV that is the root filesystem. (Or maybe it's any PV that is unlocked on boot, I don't know.)
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
I confirm this. Here's a solution I managed to google up: Create a file named: /usr/share/hal/fdi/policy/10osvendor/99-fixed-drives-override.fdi containing: <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> <deviceinfo version="0.2"> <device> <match key="@block.storage_device:storage.hotpluggable" bool="false"> <match key="@block.storage_device:storage.removable" bool="false"> <merge key="volume.ignore" type="bool">true</merge> </match> </match> </device> </deviceinfo> Merry Christmas to everyone, Jiří Stránský
The work-around in Comment #4 works for me. Thanks!
James, Have you updated your Fedora 10 installation or tried Rawhide to see if this issue still exists? In either case, can you let us know whether the issue is still happening, and give the current version of the HAL packages you're using? -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
Ok, I just installed F11-Snap1 The problem still exists here (rawhide), with the packages as of Snapshot 1. I'll install the updates, and post the specific version number. currently: # rpm -qa|grep -i hal- hal-libs-0.5.12-26.20090226git.fc11.x86_64 hal-info-20090330-1.fc11.noarch hal-0.5.12-26.20090226git.fc11.x86_64 hal-cups-utils-0.6.19-2.fc11.x86_64
the problem still exists in F10, as well. Additionally, I found that the magical workaround from Comment #4 didn't work _quite_ as well as I had thought. (It seems to hide all encrypted PVs whether or not they're locked.)
Have you tried with the latest hal package in Fedora 11 or tried Rawhide? In either case, can you let us know whether the issue is still happening, and give the current version of the HAL packages you're using? -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
Happens with F11: hal-0.5.12-29.20090226git.fc11.x86_64 Mine is actually an encrypted LV (not a PV), but I assume its the same issue.
This message is a reminder that Fedora 10 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 10. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '10'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 10's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 10 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
F12 doesn't have this issue anymore...
Based on the information in comment #12 I am closing this bug as CLOSED CURRENTRELEASE should you experience this issue again in the future feel free to file a new bug against the appropriate component. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers