[Bug 88213] Re: Feisty does not mount encrypted partition
Brilliant, thank you for the logs, should be very helpful. As one last thing, can you run apport-collect 88213 and let it attach all the extra system info, then we should be able to send this on. Thanks :) ** Summary changed: - Feisty does not mount encrypted partition + [regression] Error org.freedesktop.Hal.Device.Volume.Crypto.SetupError /dev/sdb is already setup error when mounting encypted drive ** Tags added: regression-release ** Description changed: Binary package hint: gnome-volume-manager I have an external USB harddrive with two partitions luks encrypted. In dapper and edgy, these partitions will be automounted after asking for a password. In feisty herd4 (upgraded as of feb 27), ubuntu will ask for a password but will not mount them even if they were successfully luksOpen'ed, i.e. the devices are show in /dev/mapper/, e.g. /dev/mapper/luks_crypto_e422b233-eb11-9901-v04e-hr5a991234a0 has anyone else seen this? i hope this gets fixed for the final feisty release... + + + - Opened my "home" in Nautilus + - Double-clicked on the "encrypted filesystem" drive (that was already plugged-in) + - Got the "/dev/sdc already setup ?" message -- [regression] Error org.freedesktop.Hal.Device.Volume.Crypto.SetupError /dev/sdb is already setup error when mounting encypted drive https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
** Attachment added: "lshal.txt" http://launchpadlibrarian.net/26931955/lshal.txt -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Thanks for caring about this bug. So here are the files and the procedure: - Opened my "home" in Nautilus - Double-clicked on the "encrypted filesystem" drive (that was already plugged-in) - Got the "/dev/sdc already setup ?" message ** Attachment added: "kern.log" http://launchpadlibrarian.net/26931935/kern.log -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
** Attachment added: "hal.log" http://launchpadlibrarian.net/26931952/hal.log -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Thanks for re-informing us about this. Can you please include the information requested at https://wiki.ubuntu.com/DebuggingHal as separate attachments. Thanks. ** Changed in: hal (Ubuntu) Status: New => Incomplete -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Marking as new since the problem resurfaced. JFTR: I am receiving similar messages here, but the volume is actually mounted correctly. ** Changed in: hal (Ubuntu) Status: Fix Released => New -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
This bug happened on 8.10 and is still happening with 9.04. Here is what I get: 1 - Plug dmcrypt-encrypted USB external HD in (the whole /dev/sdb is encrypted, not a partition within) 2 - luks_crypto_69d35537-7865-4698-84c5-04283f517fbc appears in /dev/mapper 3 - "Encrypted data" volume appears in my Nautilus "Workplace" (Poste de travail in French) 4 - I double click on "Encrypted data" Problem: I get a dialog saying "Error org.freedesktop.Hal.Device.Volume.Crypto.SetupError /dev/sdb is already setup?" Then about 10 seconds later, I get this message: "DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." To get it mounted properly, I have to (manually) do: sudo mount /dev/mapperluks_crypto_69d35537-7865-4698-84c5-04283f517fbc /media/blackvault -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
This problem is still present. When using gnome-mount, it works everytime (mounting/unmounting/mounting...). But when using nautilus, it sometimes can't be remounted whether with nautilus or gnome-mount after first unmounting. When this occurs, the label of the encrypted disc remains visible in nautilus, and in hal-manager (I mean the cleartext volume still appears), though the luks_crypto mapping has already disappeared. It seems to be the root of the subsequent problems: nautilus tries (through hal) to mount directly without remapping because it sees the cleartext volume listed in hal. When trying to unmount with nautilus, it fails again because it is already unmounted. When trying to teardown (using dbus-send), it fails again because the cryptsetup command used by hal to unmap the cleartext volume fails (quite understandably since there is no mapping at the time). Using dbus-send commands, I can get things in order by calling the Volume.Crypto.Setup method. I then follow with Volume.Crypto.Teardown to destroy the mapping completely and it works correctly thereafter (until of course I mount and then unmount with nautilus, which leads to the same situation). It seems that there is some kind of race condition because when I call Volume.Unmount followed by Volume.Crypto.Teardown rapidly, the exact same problem as with nautilus occurs. On the contrary, if I wait ten seconds between my two dbus-send commands, it works perfectly. For reference, I used these commands: dbus-send --print-reply --system --dest=org.freedesktop.Hal '/org/freedesktop/Hal/devices/volume_uuid_my_encrypted_partition_uuid' org.freedesktop.Hal.Device.Volume.Crypto.Setup string:'my passphrase' dbus-send --print-reply --system --dest=org.freedesktop.Hal '/org/freedesktop/Hal/devices/volume_uuid_my_encrypted_partition_uuid' org.freedesktop.Hal.Device.Volume.Crypto.Teardown dbus-send --print-reply --system --dest=org.freedesktop.Hal '/org/freedesktop/Hal/devices/volume_uuid_my_cleartext_mapping_uuid' org.freedesktop.Hal.Device.Volume.Mount string:'mymediamountpoint' string:'auto' array:string:'' dbus-send --print-reply --system --dest=org.freedesktop.Hal '/org/freedesktop/Hal/devices/volume_uuid_my_cleartext_mapping_uuid' org.freedesktop.Hal.Device.Volume.Unmount array:string:'' I didn't fully understand the way the /usr/lib/hal/scripts/luks-* and /usr/lib/halt/scripts/linux/luks-* scripts work, so I am unable so far to propose a correction. I hope that these indications will help you to correct this problem. Cordially. -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Sorry, I didn't see it. Today's update from gutsy-proposed effectively solved that problem. Thanks. -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
This sounds to me like a duplicate of bug 148003 - you might want to check whether the fix posted there also solves this problem. -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
** Changed in: hal (Ubuntu) Status: Confirmed => Fix Released ** Changed in: gnome-mount (Ubuntu) Assignee: Martin Pitt (pitti) => (unassigned) -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
I have the same problem with Feisty. Somtimes my encrypted drive mounts correctly, somtimes it needs some retries and sometimes I'm complety unable to get it mounted with gnome-mount. Maybe it is important to say that my hole system is encrypted (excapt /boot) Similar to other reports, the output of gnome-mount is: [EMAIL PROTECTED]:~$ gnome-mount -vbd /dev/sdd1 gnome-mount 0.5 libhal-storage.c 1401 : INFO: called LIBHAL_FREE_DBUS_ERROR but dbusError was not set. ** (gnome-mount:15499): DEBUG: Crypto volume - UDI '/org/freedesktop/Hal/devices/volume_uuid_34655d4e_0de7_4dff_a35a_397494f2cbed' ** (gnome-mount:15499): DEBUG: Setting up /org/freedesktop/Hal/devices/volume_uuid_34655d4e_0de7_4dff_a35a_397494f2cbed for crypto Setup clear-text device for /dev/sdd1. ** (gnome-mount:15499): DEBUG: Waiting for cleartext volume backed by /org/freedesktop/Hal/devices/volume_uuid_34655d4e_0de7_4dff_a35a_397494f2cbed.. ** (gnome-mount:15499): WARNING **: Timeout for waiting for cleartext device... Exiting. [EMAIL PROTECTED]:~$ The claretext device is created everytime (/dev/mapper/luks_crypto_+UUID), but often gome-mount don't recognice that. (The claretext device appeares long before gnome-mount is printing the timeout-warning!) -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Works first time on an updated Fiesty, after unmounting and reinserting the contained partition is not mounted. -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Bug # 117011 opened for this... I opened it on gnome-mount since HAL seems to recognize the device properly. I also opened a bug upstream and linked it. -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Well I have confirmed this in every way I could, if I use cryptsetup to encrypt an entire drive gnome-mount will not mount it, however if I encrypt just a partition (even if the partition is composed of the entire drive) it mounts fine. This is probably a different bug than this report so I will try and find the bug report system for gnome- mount, file a bug there and then open a new bug here and link it to that report. -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
After playing around I found an odd "solution" (Note that I placed solution in question marks). I am unable to mount any encrypted device when I encrypt the entire drive such as /dev/sdc rather than /dev/sdc1. If I format the device as one filesystem and then use luksformat to format the resulting /dev/sdx1 I now have a luks encrypted drive that will automatically mount using gnome-mount. I figured something had to be wrong with the partition type since I kept seeing unknown partition type in my logs when I tried to mount the drive. I formatted the drive as vfat, then created a vfat luks container and moved a file to it. If I plug the drive into my wifes windows box it sees the drive as unreadable and if I use freeotfe I can mount it and it sees it as a proper luks encrypted volume... So is this a normal issue and I never should have been able to encrypt a volume using /dev/sdc and should only use /dev/sdc1? Does this "solution" seem weird to anyone else?! -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
I created my partitions with cryptsetup -luksFormat and then mke2fs / mkxfs. So I don't think that this is the reason for your problems. -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
A further update, I tested on a fresh load and the same problem exists. This leads me to believe that the issue with with the way I am creating these luks encrypted drives. I have tried creating the devices the following ways: The cryptsetup -luksformat method using the default options and then formatting the mapped device then the luksformat tool (I think written by you Martin?) using the default vfat and with ext3. I have tried it with 4 different flash drives and multiple drive enclosures with no luck via gnome-mount. Opening them and mounting them manually as well as using pmount work fine. Can someone here who has a working drive tell me how they created it? Maybe I am doing something wrong? -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Since the last upgrade (IIRC one of the packages was hal), mounting encrypted partitions works again on my system. The same update also changed the unmount procedure: Instead of "Eject" I now have "Unmount Volume" in the context menu of the volume icon. Also I have to unmount each partition separately, before, when using eject, all partitions where unmount as soon as I clicked Eject on one of them. I don't know if this is a bug or a feature. -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
A few updates to this ticket: 1) All of my systems (3) experience this issue 2) I have this issue with the following devices: 3 20 gig USB hard drives formatted with ext3 1 64 meg USB key formatted with vfat 3) pmount works 4) Some of the volumes have labels some do not 5) All have different passwords that are between 10 and 20 characters with all types of characters including non-alphanumeric Since this works for others I am trying to find some common issues on my side or configurations that might be causing this. The hardware is: Dell Inspiron 700m IBM Thinkpad T60 Intel Mac Mini Setup: I setup the drives with luksformat or manually by creating the luks partition and using mkfs Install All three were early Fiesty installs that have been upgraded to release over the life of Fiesty development. The only common items that I can think of are: 1) All were early installs while Fiesty was in development 2) All were setup by me Is there a chance something in my systems are borked from all the updates? -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
I can confirm the problem with a current feisty. ** Changed in: hal (Ubuntu) Status: Unconfirmed => Confirmed -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Did some more testing today, and I found that if the system has 1 encrypted device already, in my case an encrypted /home, I can't mount my USB saying that it might already be in use. If none exist it unlocks and mounts my USB just fine. Hope this helps. -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
If any other information is need I'll gladly provide it, thanks ;) -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
** Attachment added: "Screenshot-Unlock Encrypted Data.png" http://librarian.launchpad.net/7346541/Screenshot-Unlock%20Encrypted%20Data.png -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
** Attachment added: "Screenshot-gnome-mount.png" http://librarian.launchpad.net/7346543/Screenshot-gnome-mount.png -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
** Attachment added: "luks-manually.png" http://librarian.launchpad.net/7346540/luks-manually.png -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
I've had a similar problem when trying to mount my USB key with LUKS volume on it. Attached in [0] is the logs created for "dapper" as describes in https://wiki.ubuntu.com/DebuggingRemovableDevices Cryptsetup version - 2:1.0.4+svn26-1ubuntu2 --- Scenario First: I had to create my LUKS volume manually, unfortunately :( Hope this will be added as a feature as well... I did test it and it works. [1] I plug in my usb and it asks for password [2] It doesn't mount anything, but give me an hal error [3] similar to the one Darren, describes. --- [0] usb-LUKS.logs.tar.bz2 [1] luks-manually.png [2] Screenshot-Unlock Encrypted Data.png [3] Screenshot-gnome-mount.png ** Attachment added: "usb-LUKS.logs.tar.bz2" http://librarian.launchpad.net/7346539/usb-LUKS.logs.tar.bz2 -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
I am still having this problem. A quick note, now it still fails but if I try again I get this message: Error org.freedesktop.Hal.Device.Volume.Crypto.SetupError /dev/sdc is already setup? I get the same error (obviously different locations though, /dev/sdb etc...) with three different drives. I don't think it is relevant but to rule out an issue with the drives Etch mounts them all fine. -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Martin, I again got the problem since yesterday. I really don't know what could've caused it, because for what I see there's been no updates of related packages. -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Hmm, on latest Feist I do not get this any more. Can anyone confirm that it still happens on Feisty du jour? ** Changed in: hal (Ubuntu) Assignee: Martin Pitt => (unassigned) Status: In Progress => Unconfirmed Target: ubuntu-7.04 => None -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Closing gnome-mount task, since this is a hal issue only. ** Changed in: gnome-mount (Ubuntu) Status: In Progress => Rejected Target: ubuntu-7.04 => None -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
More info regarding my previous message. ** Attachment added: "lshal.txt" http://librarian.launchpad.net/7218698/lshal.txt -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
I am having a similar problem. I've installed Edgy and made an encrypted home. I've wrote a tutorial about how it is done so you can see exactly what I've did on: http://pupeno.com/2006/12/17/encrypted-home-in-ubuntu- or-kubuntu-or-debian/ I've upgraded to Feisty by replacing "edgy" with "feisty" on sources.list and "aptitude dist-upgrade". After rebooting, my encrypted home wasn't mounted automatically and I can't mount it by hand. I'll try to dump as many relevant information here and wait some hours in case anybody needs more information until I'll rebuild the encrypted FS and restore from backups. No mapping enabled: [EMAIL PROTECTED]:~$ ls /dev/mapper/ control [EMAIL PROTECTED]:~$ and this is what I have mounted: [EMAIL PROTECTED]:~$ mount /dev/sda1 on / type reiserfs (rw,notail) proc on /proc type proc (rw,noexec,nosuid,nodev) /sys on /sys type sysfs (rw,noexec,nosuid,nodev) varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755) varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777) procbususb on /proc/bus/usb type usbfs (rw) udev on /dev type tmpfs (rw,mode=0755) devshm on /dev/shm type tmpfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) lrm on /lib/modules/2.6.20-14-generic/volatile type tmpfs (rw) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) [EMAIL PROTECTED]:~$ My first suprise is that my IDE (P)ATA HD is seen as /dev/sda and not /dev/hda. I see that this is because migration to libata, sounds nice. Maybe that's the problem with cryptloop? Let's see some information about the crypted FS: [EMAIL PROTECTED]:~$ sudo cryptsetup luksDump /dev/sda3 LUKS header information for /dev/sda3 Version:1 Cipher name:aes Cipher mode:cbc-essiv:sha256 Hash spec: sha1 Payload offset: 1032 MK bits:128 MK digest: 76 99 15 04 37 2d bc e1 25 9b 33 0c 08 f4 6a c7 ec 11 7c 59 MK salt:7c cf f7 0f aa 22 50 eb 05 78 24 79 bc 7b 2b 46 9e 25 29 fc f1 f7 70 84 1a 4d f8 21 ea dd 44 38 MK iterations: 10 UUID: f9d7e9c3-9176-4d3b-9d20-4abb25e4ffaf Key Slot 0: ENABLED Iterations: 69658 Salt: c7 ed 53 74 a9 cd d8 da a7 1d 04 d4 06 28 9f 3e fb ae 4e 93 da 09 d7 7e fc 14 1e aa 83 ef 75 18 Key material offset:8 AF stripes: 4000 Key Slot 1: ENABLED Iterations: 69773 Salt: d2 1e 82 0a 41 77 d4 23 8b 88 5c ed ea 14 33 b4 fe 2b 20 c5 c3 33 08 29 32 fd 28 46 a9 8a 39 bd Key material offset:136 AF stripes: 4000 Key Slot 2: ENABLED Iterations: 62620 Salt: c8 5b ad 11 49 0d 03 02 2d ed 4c b3 bd 2e 98 3c bf de a8 c0 fe af 68 f9 b9 1f e0 7c 0a 17 2a 4e Key material offset:264 AF stripes: 4000 Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED So far it looks ok. Let's try opening it: [EMAIL PROTECTED]:~$ sudo cryptsetup luksOpen /dev/sda3 home Enter LUKS passphrase: key slot 2 unlocked. Command successful. [EMAIL PROTECTED]:~$ So far it seems it's working. [EMAIL PROTECTED]:~$ ls /dev/mapper/ control home [EMAIL PROTECTED]:~$ The first time I tried this, aside of control and home, there was also a temporary-cryptsetup-5864 which is now not preset. Ok, let's try to mount it: [EMAIL PROTECTED]:~$ sudo mount /dev/mapper/home /media/ mount: Operation not supported [EMAIL PROTECTED]:~$ First sight of a problem. Being verbose doesn't help: [EMAIL PROTECTED]:~$ sudo mount -v /dev/mapper/home /media/ mount: you didn't specify a filesystem type for /dev/mapper/home I will try type reiserfs mount: Operation not supported [EMAIL PROTECTED]:~$ Indeed the FS is reiserfs. With dmesg I can see this (will include the whole dmesg latter): [ 927.396000] sda: rw=0, want=78140159, limit=72174581 [ 927.396000] attempt to access beyond end of device [ 927.396000] sda: rw=0, want=78140160, limit=72174581 [ 927.444000] ReiserFS: dm-0: found reiserfs format "3.6" with standard journal [ 927.444000] ReiserFS: dm-0: using ordered data mode [ 927.464000] ReiserFS: dm-0: journal params: device dm-0, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 [ 927.464000] ReiserFS: dm-0: checking transaction log (dm-0) [ 927.48] attempt to access beyond end of device [ 927.48] sda: rw=0, want=75774517, limit=72174581 [ 927.48] ReiserFS: dm-0: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD] [ 927.48] ReiserFS: dm-0: Using r5 hash to sort names [ 927.48] ReiserFS: dm-0: warning: xattrs/ACLs enabled and couldn't find/create .reiserfs_priv. Failing mount. That doesn't look nice. Let's try to fsck it: [EMAIL PROTECTE
[Bug 88213] Re: Feisty does not mount encrypted partition
Apparently a hal bug; it sets up the /dev/mapper device correctly, but doesn't create a Volume for it. I'll keep the gnome-mount task open for now just in case. ** Changed in: hal (Ubuntu) Sourcepackagename: gnome-volume-manager => hal Assignee: (unassigned) => Martin Pitt Status: Rejected => In Progress Target: None => ubuntu-7.04 -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Martin, thanks for your message and sorry for posting in the wrong bug report. Mysterioulsy, when I just plugged in the HD, I was asked for the password and the HD is mounted successfully. I haven't changed anything, so I hope it stays this way. -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
vikingr, that sounds like an entirely different problem. The output of gnome-mount -vbd /dev/sda1 (or whichever partition has the encrypted partition) would be appreciated. -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
** Changed in: gnome-mount (Ubuntu) Importance: Undecided => Medium Assignee: (unassigned) => Martin Pitt -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
I have a very similar problem. My external HD (LUKS encrypted) doesn't get mounted since yesterday's software update. Everything worked well for me up to that update. Now I don't even get asked for a password, when I plug in the HD. I also don't get any error message. When I use cryptsetup LuksOpen and mount to access it manually, I can mount it without any problems. If you need any logs, just name them. -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
I now regularly get this when mounting a LUKS volume the second time. ** Changed in: gnome-mount (Ubuntu) Status: Needs Info => In Progress Target: None => ubuntu-7.04 -- Feisty does not mount encrypted partition https://bugs.launchpad.net/bugs/88213 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
It looks like my bug 87731 might be a dupe of this one. -- Feisty does not mount encrypted partition https://launchpad.net/bugs/88213 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
@Martin in my comment i wrote > The mapper device is set up correctly by gnome-mount. > As root, i am able to mount the mapper device without > any problems. However, gnome-mount does not mount > the filesystem. so yes... it works using manual mount... -- Feisty does not mount encrypted partition https://launchpad.net/bugs/88213 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Michael, of course users are not supposed to mess around with 'sudo mount', that was just for testing this bug. -- Feisty does not mount encrypted partition https://launchpad.net/bugs/88213 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Martin, is it not supposed to work with pmount? Like it did in Dapper? I know the whole gnome-mount / gnome-volume-manager interaction changed... Using mount as root works for me, but that is very inconvenient. I got used to the nice way it detected the LUKS volume (on my SD memory card via USB adapter), mapped it with dm-setup, prompted for passphrase in a Gnome dialog (cryptsetup-luks) and then called pmount and voila! I could unmount (from Disk Mounter applet), put in a diff SD card to get pics from my camera or whatever, then put the encrypted SD card back in and get re-prompted for password and auto-mounted it again... # lsmod | grep dm dm_crypt 14856 1 dm_mod 60236 3 dm_crypt -- Feisty does not mount encrypted partition https://launchpad.net/bugs/88213 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Sorry, not in Dapper, but in Edgy... -- Feisty does not mount encrypted partition https://launchpad.net/bugs/88213 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Sorry, not in Dapper, but in Edgy... -- Feisty does not mount encrypted partition https://launchpad.net/bugs/88213 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Ah, what does this show? lsmod | grep dm -- Feisty does not mount encrypted partition https://launchpad.net/bugs/88213 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
Works for me, needs more information. ** Changed in: gnome-mount (Ubuntu) Status: Confirmed => Needs Info -- Feisty does not mount encrypted partition https://launchpad.net/bugs/88213 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
No, you cannot mount the /dev/mapper/luks device with gnome-mount. You can, however, mount it with sudo mount /dev/mapper/luks /mnt does that work? ** Changed in: gnome-volume-manager (Ubuntu) Status: Unconfirmed => Rejected -- Feisty does not mount encrypted partition https://launchpad.net/bugs/88213 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 88213] Re: Feisty does not mount encrypted partition
By the way, I'm running an up to date installation of feisty (10.03.). So this bug is surely not restricted to Herd4 - changed the title ** Changed in: gnome-mount (Ubuntu) Status: Needs Info => Confirmed -- Feisty does not mount encrypted partition https://launchpad.net/bugs/88213 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs