[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2014-12-03 Thread Rolf Leggewie
oneiric has seen the end of its life and is no longer receiving any updates. Marking the oneiric task for this ticket as "Won't Fix". ** Changed in: cryptsetup (Ubuntu Oneiric) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, whic

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2013-11-01 Thread Launchpad Bug Tracker
** Branch linked: lp:~xnox/debian/sid/cryptsetup/ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /dev/mapper/cryptswap1 To manage notifications about this bug go

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-10-03 Thread David Nemeskey
Guys, following Steve's suggestion, I've opened another bug, #1061190. Please go there and subscribe to it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /dev/mapper/cr

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-10-01 Thread netskaven
This error is back in Quantal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /dev/mapper/cryptswap1 To manage notifications about this bug go to: https://bugs.launchpad

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-09-17 Thread Robbert Korving
I just installed http://archive.ubuntu.com/ubuntu/dists/precise- updates/main/installer-i386/current//images/netboot/boot.img.gz and chose home encryption during the command-line installation. I get the same message "could not mount /dev/mapper/cryptswap1 M for manual S for skip" during boot. The

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-08-14 Thread Steve Langasek
Luís, Comment #38 wasn't a workaround, it was a regression test to try to trigger the bug. The fix for this bug is definitely in 12.04. Please file a separate bug report for your issue, including the /etc/fstab and /etc/crypttab, as well as the exact text of the message you're shown on boot. --

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-08-14 Thread luislupe
I installed 12.04, fresh installation, and this problem persists. The boot process doesn't seem to find the encrypted partitions and asks me do skip S or go manual M. These are the versions I have: ii cryptmount 4.2.1-1 Management of

Re: [Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-06-23 Thread Steve Langasek
On Sat, Jun 23, 2012 at 09:43:31PM -, grosso wrote: > Sorry, I'm afraid I'm not experienced enough and maybe I'm > missinterpretating my problem. I will ask in a more apropiated place > before open a new bug, but please, give me a hint because i can't see > where is the difference. > I come t

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-06-23 Thread grosso
Sorry, I'm afraid I'm not experienced enough and maybe I'm missinterpretating my problem. I will ask in a more apropiated place before open a new bug, but please, give me a hint because i can't see where is the difference. I come to this bug because gparted shows /dev/sda7, where is my swap, as

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-06-23 Thread Steve Langasek
Grosso, please file a new bug report and describe the problem you're experiencing; it's almost certainly not this bug. ** Changed in: cryptsetup (Ubuntu Oneiric) Assignee: Ubuntu Foundations Team (ubuntu-foundations-team) => (unassigned) -- You received this bug notification because you are

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-06-23 Thread grosso
This bug don't seems to be fixed for me in Precise. Should i reinstall my system to get it working? Please excuse me if this is not a right place to ask about. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.n

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-05-07 Thread rockyit86
I had the same problem and as in the above discussion, it happens only when the home folder is encrypted, I have tried with normal installation which doesn,t show any message I don,t think whether some one would have found some fix for this. -- You received this bug notification because you

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-04-14 Thread Benedikt
OK, thanks for your answer! :) I filed Bug #981792 and quoted your description of the problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /dev/mapper/cryptswap1 To

Re: [Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-04-14 Thread Steve Langasek
On Sat, Apr 14, 2012 at 10:45:33AM -, Benedikt wrote: > Is this really fix released? To the best of my knowledge! > I have the same problem in Recovery Mode. There is nothing in this bug report which is specific to recovery mode. You're probably encountering a different bug. You also don't

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-04-14 Thread Benedikt
Is this really fix released? I have the same problem in Recovery Mode. When I Press "Network" and then want that the program mounts my partitions it hangs. I press than Ctrl + C. Then I can see that friendly-recovery is hanging with the problem: "could not mount /dev/mapper/cryptswap1 M for man

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-04-13 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/cryptsetup -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /dev/mapper/cryptswap1 To manage notifications about this bug go to: https://bugs.

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-04-13 Thread Launchpad Bug Tracker
This bug was fixed in the package cryptsetup - 2:1.4.1-2ubuntu4 --- cryptsetup (2:1.4.1-2ubuntu4) precise; urgency=low * Our swap creation can trigger udev change events, which means udev may be holding the device open at the time we try to call 'dmsetup rename' and cause th

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-04-13 Thread Steve Langasek
** Changed in: cryptsetup (Ubuntu Precise) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /dev/mapper/cryptswap1 To manage notif

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-04-13 Thread Steve Langasek
I've tested expanding the race window for this by adding a sleep to the blkid command, and as long as the udevadm settle is there, I can no longer reproduce this issue: mountall sees the swap partition as soon as it becomes available. So I'm reasonably certain the linked branch fixes this. -- Yo

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-04-13 Thread Launchpad Bug Tracker
** Branch linked: lp:~vorlon/cryptsetup/lp.874774 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /dev/mapper/cryptswap1 To manage notifications about this bug go to: ht

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-04-13 Thread Steve Langasek
I can also reproduce this bug on a fresh install of precise. mountall is missing the notification that /dev/mapper/cryptswap1 is available, so waits for it; the system seems to only boot all the way for me because the lo interface happens to come up after this and triggers mountall to rescan (/etc

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-04-01 Thread Santiago Roland
I tried to apply the first short patch dated 5 dec and it did patched with the --ignore-whitespace, but the machine did not booted. Then i tried to apply the patch dated Dec 22 it could not patch even with the ignore spaces parameter. Then i applied patches dated Dec 20 first and Dec 22 after that

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-03-31 Thread Santiago Roland
I tried to apply patch described in comment #10 but at first it returned Hunk errors at line @641 and it did not apply the patch. Then I added the --ignore-whitespace parameter and it applied the patch at line #598... this was the output: Hunk #1 secceeded at 598 with fuzz 2 (offset -43 lines) Bu

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-03-31 Thread Santiago Roland
I updated my system with apt-get update in recovery mode in the option "enable network" but the PC cannot actually boot by itself in to the desktop. Aftewr pressing Ctrl+C right before it hangs, the last text line starts with "mountall . something" -- You received this bug notification becaus

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-03-31 Thread Santiago Roland
I tried to apply the patches here posted but it gives hunk errors... in line 641 for the patch in #14, line 631 in #22 and some other line in #16... i always restored the original and even did "sudo apt-get install cryptsetup --reinstall" to re install de pachage that i hope overwrites the origina

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-03-30 Thread Santiago Roland
I figured out to boot enabling the network in recovery mode and updated my system but no fix still. I tried editing fstab "sudo nano /etc/fstab" and uncommented the swap line but system wont boot either, this time the message is not shown. This is a big f nasty bug btw. Is there anyway to get

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-03-29 Thread Martin Pitt
** Changed in: cryptsetup (Ubuntu) Milestone: ubuntu-12.04-beta-2 => ubuntu-12.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /dev/mapper/cryptswap1 To manage no

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-03-29 Thread Santiago Roland
I updated my Xubuntu Precise beta 1 and cannot boot up. It freezes as everybody explained here, i can log in to recovery mode and see in terminal my encrypted home and my files, but that is so far i can get. I tried to insert a pendrive to backup somethings but /dev/sde as dmesg says, is not in fst

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-03-24 Thread Benedikt
Hello, I can still simulate this in Precise. Info: cat /etc/crypttab # cryptswap1 /dev/sda5 /dev/urandom swap,cipher=aes-cbc-essiv:sha256 cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-03-14 Thread Ilya A. Potapov
Oh, just after SECOND reboot issue got away... But now i have modprobe: FATAL: Error inserting padlock_sha (/lib/modules/2.6.38-11-generic/kernel/drivers/crypto/padlock-sha.ko): No such device during bootup)) Anyway, swap seems to work fine and encrypted, as all outputs of 'cryptsetup status cryp

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-03-14 Thread Ilya A. Potapov
Here it is: # free -m total used free sharedbuffers cached Mem: 2004 1886117 0 78905 -/+ buffers/cache:902 1101 Swap: 3074 51 3023 -- You received this bug notification becaus

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-03-13 Thread Jean-Louis Dupond
Hi! Thanks for the additional information. Could you check if the swap is mounted when startup is done (free -m). I'll try to debug & simulate the issue :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bu

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-03-13 Thread Ilya A. Potapov
Hello! I can still simulate this in Precise. I just updated and i think i still experience this bug. During boot up, i receive the message: "could not mount /dev/mapper/cryptswap1 M for manual S for skip" Here is some info: # cat /etc/crypttab # cryptswap1 /dev/sda3 /dev/uran

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-03-11 Thread Jean-Louis Dupond
Can somebody still simulate this in Precise? I tried with several setups, and all seem to work fine. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /dev/mapper/cryptswap

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-03-01 Thread Martin Pitt
** Changed in: cryptsetup (Ubuntu) Milestone: ubuntu-12.04-beta-1 => ubuntu-12.04-beta-2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /dev/mapper/cryptswap1 To ma

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-02-26 Thread Colin Watson
** Changed in: cryptsetup (Ubuntu Oneiric) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /dev/mapper/cryptswap1 To manage notificat

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-02-26 Thread Alexander
Sorry, I accidentally changed the status ** Changed in: cryptsetup (Ubuntu Oneiric) Status: Triaged => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-02-25 Thread Ethan Shalev
Thanks guys for all your work on Ubuntu! Is this expected to be fixed in Oneiric, or only in Precise? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /dev/mapper/cryptswa

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2012-01-24 Thread Steve Langasek
** Changed in: cryptsetup (Ubuntu Precise) Milestone: precise-alpha-2 => ubuntu-12.04-beta-1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /dev/mapper/cryptswap1 T

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-12-22 Thread TJ
This is the current patch as used on my system. ** Patch added: "Optimised patch for DEVLINKS" https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/874774/+attachment/2644176/+files/0001-LP874774-Use-DEVLINKS-to-match-crypttab-entries.patch -- You received this bug notification because

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-12-22 Thread TJ
I've been doing some local testing on the DEVLINKS patches to optimise the iterations. I developed a user script to test the function in a simulated environment. The script and log from my complex LVM/crypt system are contained in the attached archive. Please see the README in the archive for more

Re: [Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-12-21 Thread Steve Langasek
On Wed, Dec 21, 2011 at 10:49:15AM -, TJ wrote: > Your patch looks good - although you could drop the use of $found to > track detection and use "break 2" which would avoid those extra 4 lines > of code. Not at all; 'break 2' has the effect that no other lines from /etc/crypttab will be proces

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-12-21 Thread TJ
I'm unable to recreate the mountall-swap issue installing 32-bit Ubuntu 11.10. Options were "Use entire disk, encrypted home". I didn't see an option to choose encrypted swap but after installation there were two encrypted swaps: /dev/mapper/cryptswap1 = /dev/zram0 /dev/mapper/cryptswap2 = /de

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-12-21 Thread TJ
I was unable to reproduce the mountall-swap issue on an already installed system. I'll try again later with a virgin spare notebook. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-12-21 Thread TJ
Steve: as to being unrelated. I matched this bug report to the symptom that mountall stalled and couldn't continue. It was later when I debugged the issue step-by-step to discover the cause that the difference became apparent. Your patch looks good - although you could drop the use of $found to tr

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-12-20 Thread Steve Langasek
TJ, I've also just noticed that this patch does *not* address the original bug here. Your patch addresses the case where a source device is handled through devmapper (such as an LVM volume), but that is *not* the case in the original report; when the installer sets up crypted swap, the source devi

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-12-20 Thread Steve Langasek
elif [ -n "$DEVLINKS" ]; then for link in $DEVLINKS; do if [ "x$link" != "x$src" ]; then continue fi break 2 done

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-12-05 Thread TJ
Steve, this is a reworked patch. It makes use of the DASH/BASH 'break N' multi-level break to break from the outer loop. I've tested it with DASH and BASH and it works with both. ** Patch added: "LP874774: Use DEVLINKS to match crypttab entries" https://bugs.launchpad.net/ubuntu/oneiric/+sour

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-11-15 Thread Steve Langasek
** Changed in: cryptsetup (Ubuntu Precise) Milestone: None => precise-alpha-2 ** Changed in: cryptsetup (Ubuntu Precise) Assignee: Ubuntu Foundations Team (ubuntu-foundations-team) => Steve Langasek (vorlon) -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-11-14 Thread TJ
Hi Steve. Well spotted! I was at the end of a long session when I developed the patch. I'll rework it and test again. For those that are interested I tested this under my own control in the following way: 1. Boot the PC to the GRUB menu 2. Edit the boot entry's "linux" line, remove any extraneou

Re: [Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-11-11 Thread Steve Langasek
On Fri, Nov 11, 2011 at 04:27:16PM -, TJ wrote: > The attached patch can be applied using: > sudo patch -p2 /lib/cryptsetup/cryptdisks.functions 0001-LP874774-Use- > DEVLINKS-to-match-crypttab-entries.patch diff --git a/debian/cryptdisks.functions b/debian/cryptdisks.functions index 494697f..

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-11-11 Thread Ubuntu Foundation's Bug Bot
The attachment "Match crypttab with DEVLINKS" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the ta

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-11-11 Thread TJ
The attached patch can be applied using: sudo patch -p2 /lib/cryptsetup/cryptdisks.functions 0001-LP874774-Use- DEVLINKS-to-match-crypttab-entries.patch ** Patch added: "Match crypttab with DEVLINKS" https://bugs.launchpad.net/ubuntu/precise/+source/cryptsetup/+bug/874774/+attachment/2593403/

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-11-11 Thread TJ
The failure is caused by the upstart and cryptsetup scripts trying to match the DEVNAME against /etc/crypttab entries that are in DEVLINKS format. E.g: DEVNAME=/dev/dm-14 DEVLINKS=/dev/mapper/Ubuntut-Oneiric_var_encrypted /dev/Ubuntu/Oneiric_var_encrypted /dev/block/253:14 Upstart's "/etc/init/c

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-11-09 Thread TJ
This also affected my custom encrypted configuration. I see the prompt twice, once for each encrypted volume. I can use the (M)anual option to drop to the busybox shell, manually unlock the volumes with cryptsetup, then exit the shell, after which mountall carries on successfully. After remaining

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-10-26 Thread Steve Langasek
** Tags added: rls-p-tracking -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /dev/mapper/cryptswap1 To manage notifications about this bug go to: https://bugs.launchpad

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-10-17 Thread Steve Langasek
This seems to be reported rather consistently, and is not a case of a misconfigured crypttab: all users reporting this issue show a crypttab that correctly sets up their crypted swap, *and* swapon -s shows that the swap is enabled successfully after boot. But for some reason mountall thinks it has

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-10-17 Thread Dave Gilbert
bugs 798086, 783889 seems to be other instances of this on Natty, -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/874774 Title: could not mount /dev/mapper/cryptswap1 To manage notifications about th

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-10-17 Thread Dave Gilbert
I also got this during a fresh install of a netbook (1001ha eeepc) with home directory encryption. swapon -s says: Filename TypeSize Used Priority /dev/mapper/cryptswap1partition19527640 -1 contents of crypttab # cryptswap1 /dev/sda5 /dev/urandom swap,cipher=a

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-10-17 Thread Dylan Weremeichik
@Steve so i figured i would give it a shot and re-install it, its not something random at all, at least for me. Here is the information you were looking for: Output of "swapon -s": FilenameTypeSize UsedPriority /dev/map

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-10-17 Thread Dylan Weremeichik
So as mentioned earlier, this is only happening when encryption is turned on in the install, i also believe that uncommenting that line only masks the issue, as the message does not appear when you boot up. If more data needs to be collected i will gladly re-install with encryption turned on, a

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-10-17 Thread dinky
I've got the same exact problem, using an encrypted home partition. This didn't happen at all when not using encryption. Output of 'swapon -s': FilenameTypeSizeUsedPriority /dev/mapper/cryptswap1 partition 3938300 0

[Bug 874774] Re: could not mount /dev/mapper/cryptswap1

2011-10-15 Thread Steve Langasek
> i believe the problem is that the following line of: > #UUID=eb23dadc-8e08-4769-8fc5-0b1216b67e5b none swap sw 0 0 > is not supposed to be commented out, Why do you think this? What are the contents of your /etc/crypttab? What is the output of 'swapon -s'? Failing to mount /dev/mapper/cryptsw