[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2018-02-24 Thread Abutu Justice
mray(mra) please could you list the steps your friend took to resolve the issue? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1481536 Title: "cryptsetup: unknown fstype, bad password or

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2017-02-01 Thread Mathieu Trudel-Lapierre
** Changed in: cryptsetup (Ubuntu) Milestone: ubuntu-17.01 => ubuntu-17.02 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1481536 Title: "cryptsetup: unknown fstype, bad password or options?"

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2016-12-15 Thread Mathieu Trudel-Lapierre
** Changed in: cryptsetup (Ubuntu) Milestone: None => ubuntu-17.01 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1481536 Title: "cryptsetup: unknown fstype, bad password or options?" error

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2016-07-06 Thread mray
A a skilled friend of mine had a look at my issue and found out that the UUID of my bootable partition got mixed up. after setting things straight in a textfile where this gets looked up my problem was gone and I could boot normally again. Sorry for not being able to provide better terminology,

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2016-07-05 Thread mray
I'm on Ubuntu 16.04, added the ppa and updated my cryptsetup package (even did dpkg-reconfigure) but run into the same problem still. Do I need to do something else? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2016-04-28 Thread Richard Hansen
Attached is a new revision (v4) of the patch, this time targeted to Xenial (16.04) instead of Wily (15.10). Changes from v3 to v4: * restore activate_vg() (which runs 'lvm vgscan' and 'llvm vgchange -a y') because Xenial's lvm2 package no longer includes udev rules that run those

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2016-04-28 Thread Richard Hansen
FYI, lvm2 2.02.133-1ubuntu8 dropped the udev rule that runs 'lvm vgscan; lvm vgchange -a y', so cryptsetup must still run those commands in scripts/local-top/cryptroot. In other words, they can't be dropped as proposed in comment #15. -- You received this bug notification because you are a

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2016-04-11 Thread Harry Hirsch
I have the same problem with Kubuntu 14.04.4 Trusty Tahr. The common LTS updates yesterday contained 2:1.6.7-Ovanir1~14.04(trusty) which replaced 2:1.6.1-1ubuntu1 (trusty). While boot I get the message "cryptsetup: unknown fstype, bad password or options?" although the password was correct.

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-12-16 Thread Richard Hansen
I'm attaching another revision of the patch (v3). Changes from v2: * skip calls to udev_settle() if the device of interest already exists * don't assume the unlocked device will appear after udev_settle() (sleep until the device appears, if necessary) * wait for the LVM logical

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-12-04 Thread Richard Hansen
>> The patch looks good to me, except I wonder whether the call to >> udev_settle() between the two blkids should be moved up to just >> after $cryptopen (see attached patch). Thoughts? > > Since there was not already a udev_settle call there, I assumed (but > did not verify) that cryptsetup

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-12-03 Thread Richard Hansen
I uploaded Steve's patch to my PPA: https://launchpad.net/~rhansen/+archive/ubuntu/bug1481536 I haven't tested it yet. The patch looks good to me, except I wonder whether the call to udev_settle() between the two blkids should be moved up to just after $cryptopen (see attached patch). Thoughts?

Re: [Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-12-03 Thread Steve Langasek
On Fri, Dec 04, 2015 at 03:51:50AM -, Richard Hansen wrote: > I uploaded Steve's patch to my PPA: > https://launchpad.net/~rhansen/+archive/ubuntu/bug1481536 > I haven't tested it yet. The patch looks good to me, except I wonder > whether the call to udev_settle() between the two blkids

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-12-02 Thread Richard Hansen
This problem is caused by a race condition, which is why only some people are experiencing it. At /usr/share/initramfs-tools/scripts/local-top/cryptsetup line 322, the setup_mapping() function in the cryptroot script calls the activate_vg() function, which runs 'lvm vgchange -a y'. At line 340,

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-12-02 Thread Steve Langasek
Thanks for the analysis and patch, Richard. I think you've put your finger on the problem. However, I see that there's only one code path where we call vgchange without already calling udev_settle afterward A proper fix for this should eliminate unnecessary calls to udevadm settle that would

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-11-30 Thread Brian Murray
** Changed in: cryptsetup (Ubuntu) Assignee: (unassigned) => Mathieu Trudel-Lapierre (mathieu-tl) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1481536 Title: "cryptsetup: unknown fstype, bad

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-11-28 Thread Ubuntu Foundations Team Bug Bot
The attachment "Patch for /usr/share/initramfs-tools/scripts/local- top/cryptroot" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-11-28 Thread Alexander Geier
Hello, i hope my first post is helpful. After some debugging i figured out where this error message "cryptsetup: unknown fstype, bad password or options?" in my case comes from. The point is that i am having a LVM Partition which holds several logical volumes which need to be mounted (at least

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-11-28 Thread Alexander Geier
In my comment #11 i did some mistake in "3)" I copied the wrong command for changing the use_lvmetad parameter temporarily. I missed the "-i" for sed. To not confuse someone here is the corrected part: # Replace use_lvmetad=1 with use_lvmetad=0 sed -i -E

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-11-11 Thread exar
I have the same issue as the OP on Ubuntu 15.10 Desktop AMD64. It spits out "cryptsetup: unknown fstype, bad password or options?" after the correct passphrase is entered then proceeds to boot normally. I thought it was just me, because I have a LUKS-encrypted LVM setup that might be different

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-11-06 Thread cooloutac
I have the same issue as the OP and Johny Rogers. System boots successful and notifies me cryptsetup was successful but first it displays the unkown fs type, bad option password message. This started happening after upgrading lubuntu to wily. -- You received this bug notification because

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-11-01 Thread Raúl Martínez
After entering the password encryption sends me the Emergency mode. Here you enter "systemctl default" and can enter the desktop Ubuntu 15.10. Now I'm trying to fix the bug with "sudo dpkg --configure -a" //Sorry for my bad english -- You received this bug notification because you are a member

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-10-30 Thread Richard Hansen
I'm also experiencing this. I noticed the following in my /var/log/boot.log: /run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad. Falling back to internal scanning. Reading all physical volumes. This may take a while... Found volume group

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-10-29 Thread Adam Novak
This also occurs on Ubuntu MATE 15.04 running cryptsetup 1.6.6-5ubuntu2 (versus the ubuntu1 in the original report). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1481536 Title: "cryptsetup:

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-10-28 Thread Stephen Carman
I also ran into this problem. I was able to fix it by looking at my dmesg and realizing that the proprietary ati drivers don't work with the 4.X kernel. I had the ones from ATI installed so when it'd try and boot up it'd get past the encryption but then the driver would crash. I solved this by

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-10-26 Thread Tom Moorhouse
I had this after upgrading to wily four days ago. I get the error message as above for Johnny Rogers, but then the system hangs and will go no further... my workaround is to boot up in recovery mode which gives asks for my password then gives this message (about 20 times): remove ioctl on

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-09-17 Thread Alberto Salvia Novella
** Description changed: Since upgrading to cryptsetup-1.6.6-5ubuntu1 to replace cryptsetup-1.6.1-1ubuntu7 today on my Ubuntu Wily 15.10 installation, I have been receiving an error message at boot time after entering my passphrase to unlock the LUKS partition. I noticed that at the same

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-09-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: cryptsetup (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1481536 Title:

[Bug 1481536] Re: "cryptsetup: unknown fstype, bad password or options?" error unlocking / decrypting LUKS volume at boot

2015-09-14 Thread Johnny Rogers
I've gotten this message as well for Kubuntu Wily, but I didn't have issues unlocking it. I first get the prompt screen for cryptsetup to enter password, I then enter correct password for it, I then get: "Unknown Fstype, bad password or options?" Then it gives message "sda5_crypt setup

[Bug 1481536] Re: cryptsetup: unknown fstype, bad password or options? error unlocking / decrypting LUKS volume at boot

2015-08-06 Thread Brian Knoll
** Summary changed: - cryptsetup: unknown fstype, bad password or options? error decrypting LUKS volume at boot + cryptsetup: unknown fstype, bad password or options? error unlocking / decrypting LUKS volume at boot -- You received this bug notification because you are a member of Ubuntu