[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-06-15 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/karmic/cryptsetup -- Encrypted SWAP partition not created/mounted https://bugs.launchpad.net/bugs/316607 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-03-09 Thread Andrei Rohau
Any update on the sed issue? 2:1.0.6-7ubuntu6 still contains it. -- Encrypted SWAP partition not created/mounted https://bugs.launchpad.net/bugs/316607 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-02-14 Thread Andrei Rohau
Probably udev vol_id interface does not change that often for us to try to work around it in advance. Unnecessary calls from startup scripts is a plague that slows whole system boot process. Checking shell error codes would be the fastest and cleanest of all, but unfortunately vol_id shares error

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-02-13 Thread Andrei Rohau
Would you be so kind to please elaborate on why we need sed here at all? Further looking at http://git.kernel.org/?p=linux/hotplug/udev.git;a=blob;f=extras/volume_id/vol_id.c;h=3e44c3b069794b81a1e61338c98eef0fa7671bf3;hb=HEAD#l254 shows vol_id always return a static string in this case, as well

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-02-13 Thread Dustin Kirkland
Hi Andrei- Good catch. I have confirmed that, in fact: unknown=`/lib/udev/vol_id -t /dev/null 21` returns a static string. This is far simpler/cleaner. That super-escaped sed is truly nasty. Let me prepare and test another upload... :-Dustin -- Encrypted SWAP partition not

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-02-13 Thread Shiv V
The sed part isn't necessary. I only put it in for the sake of robustness against future updates/regressions to vol_id. In the past, 'vol_id -t /dev/null' used to report /dev/null: unknown volume type. Now it does not mention the device that was probed, just the result unknown or non-unique

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-02-13 Thread Shiv V
Also, when I checked the vol_id source, error code 4 was not restricted to the unknown device type case. I can't remember of the top of my head what the other cases were that also returned error 4, but as of a month ago, there were some. -- Encrypted SWAP partition not created/mounted

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-02-12 Thread Dustin Kirkland
I'm getting the same issue. I'll take a look at it. :-Dustin ** Tags added: regression -- Encrypted SWAP partition not created/mounted https://bugs.launchpad.net/bugs/316607 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-02-12 Thread Dustin Kirkland
** Changed in: cryptsetup (Ubuntu) Importance: Undecided = Medium Assignee: (unassigned) = Dustin Kirkland (kirkland) Status: Confirmed = In Progress -- Encrypted SWAP partition not created/mounted https://bugs.launchpad.net/bugs/316607 You received this bug notification because

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-02-12 Thread Dustin Kirkland
Tested the patch, works here. Examined, looks good. I'm sponsoring. In the future, please subscribe ubuntu-main-sponsors to the bug if there's a patch and you're requesting sponsorship/upload. Thanks! :-Dustin -- Encrypted SWAP partition not created/mounted

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-02-12 Thread Launchpad Bug Tracker
This bug was fixed in the package cryptsetup - 2:1.0.6-7ubuntu3 --- cryptsetup (2:1.0.6-7ubuntu3) jaunty; urgency=low [ https://launchpad.net/~svenkata ] * debian/checks/un_vol_id: dynamically build the unknown volume type string, to allow for encrypted swap, LP: #316607 --

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-02-10 Thread Ulrich Lukas
Hello, maintainer... -- Encrypted SWAP partition not created/mounted https://bugs.launchpad.net/bugs/316607 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

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-02-09 Thread David Tomaschik
Same problem here. Seems like a pretty big issue. ** Changed in: cryptsetup (Ubuntu) Status: New = Confirmed -- Encrypted SWAP partition not created/mounted https://bugs.launchpad.net/bugs/316607 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-01-23 Thread Tworkemon
The patch works for non SWAP/TMP partitions also. I had the same problem with /dev/sda4 and this patch worked. -- Encrypted SWAP partition not created/mounted https://bugs.launchpad.net/bugs/316607 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-01-21 Thread nodemaster
This patch fixes the problem with swap and tmp option. Your help is much appreciated Shiv. Thank you very much indeed! -- Encrypted SWAP partition not created/mounted https://bugs.launchpad.net/bugs/316607 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-01-15 Thread Ulrich Lukas
Many thanks for your help Shiv! I've applied the patch to vol_id and un_vol_id in /lib/cryptsetup/checks/. Now, the automated creation of the swap device works again. Looking at the scripts, your explanation seems absolutely plausible to me. I've even cross-checked the detection by trying

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-01-14 Thread nodemaster
I have the same problem with swap and cryptsetup. Furthermore it's the same problem with the tmp option. Thus I guess it's related. r...@hubble:/home# /etc/init.d/cryptdisks start * Starting remaining crypto disks... * tmp (starting) * tmp: the precheck for '/dev/mapper/sil_ajabbgcfcdah5'

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-01-14 Thread Shiv V
It seems this is due to a change in vol_id (udev package). vol_id (udev: 124-12) used to say /dev/mapper/swap: unknown volume type when it failed to find a known filesystem on /dev/mapper/swap. After my latest update, vol_id (udev: 136-4) says unknown or non-unique volume type (--probe-all lists

[Bug 316607] Re: Encrypted SWAP partition not created/mounted

2009-01-12 Thread Ulrich Lukas
Content of my /etc/ctypttab: # target name source device key file options SWAP /dev/sde8 /dev/urandom swap -- Encrypted SWAP partition not created/mounted https://bugs.launchpad.net/bugs/316607 You received this bug notification because you are a member of Ubuntu Bugs, which is