Bug#488271: cryptsetup: use a loop to wait for the root device

2008-09-21 Thread Markus Mandalka
I needed a solution for a live-system-setup that has to boot from dm-crypt/luks-encrypted usb-devices (more about the live-system at http://mandalka.name/privatix/ ...), so i copied some code into a quick and dirty workarround-script which i use for my live-system-setups until after the discussion

Bug#488271: cryptsetup: use a loop to wait for the root device

2008-07-02 Thread David Härdeman
On Wed, July 2, 2008 00:33, Scott James Remnant wrote: > On Tue, 2008-07-01 at 23:44 +0200, David Härdeman wrote: >> On Tue, Jul 01, 2008 at 10:25:50PM +0100, Scott James Remnant wrote: >>> If you want to modify or create root devices, it should be done with a >>> udev rule. >> >> Ummm, are we stil

Bug#488271: [Pkg-cryptsetup-devel] Bug#488271: Bug#488271: cryptsetup: use a loop to wait for the root device

2008-07-01 Thread Scott James Remnant
On Tue, 2008-07-01 at 23:44 +0200, David Härdeman wrote: > On Tue, Jul 01, 2008 at 10:25:50PM +0100, Scott James Remnant wrote: > >On Tue, 2008-07-01 at 23:11 +0200, David Härdeman wrote: > >> On Tue, Jul 01, 2008 at 09:09:19PM +0100, Scott James Remnant wrote: > >> >We already have a loop in moun

Bug#488271: [Pkg-cryptsetup-devel] Bug#488271: Bug#488271: cryptsetup: use a loop to wait for the root device

2008-07-01 Thread David Härdeman
On Tue, Jul 01, 2008 at 10:25:50PM +0100, Scott James Remnant wrote: On Tue, 2008-07-01 at 23:11 +0200, David Härdeman wrote: On Tue, Jul 01, 2008 at 09:09:19PM +0100, Scott James Remnant wrote: >We already have a loop in mountroot() to deal with this problem, it >waits until the root device is

Bug#488271: [Pkg-cryptsetup-devel] Bug#488271: cryptsetup: use a loop to wait for the root device

2008-07-01 Thread Scott James Remnant
On Tue, 2008-07-01 at 23:11 +0200, David Härdeman wrote: > On Tue, Jul 01, 2008 at 09:09:19PM +0100, Scott James Remnant wrote: > >On Tue, 2008-07-01 at 22:03 +0200, Reinhard Tartler wrote: > >> Oh, I needed to do some investiagtions about that file, it has been > >> submitted by you as #414842. H

Bug#488271: cryptsetup: use a loop to wait for the root device

2008-07-01 Thread David Härdeman
On Tue, Jul 01, 2008 at 10:03:23PM +0200, Reinhard Tartler wrote: David Härdeman <[EMAIL PROTECTED]> writes: On Tue, Jul 01, 2008 at 08:28:52PM +0200, Reinhard Tartler wrote: David Härdeman <[EMAIL PROTECTED]> writes: I think you missed /usr/share/initramfs-tools/scripts/init-premount/udev O

Bug#488271: [Pkg-cryptsetup-devel] Bug#488271: cryptsetup: use a loop to wait for the root device

2008-07-01 Thread David Härdeman
On Tue, Jul 01, 2008 at 09:09:19PM +0100, Scott James Remnant wrote: On Tue, 2008-07-01 at 22:03 +0200, Reinhard Tartler wrote: Oh, I needed to do some investiagtions about that file, it has been submitted by you as #414842. However, that particular patch has not been applied to ubuntu's udev.

Bug#488271: cryptsetup: use a loop to wait for the root device

2008-07-01 Thread Scott James Remnant
On Tue, 2008-07-01 at 22:03 +0200, Reinhard Tartler wrote: > Oh, I needed to do some investiagtions about that file, it has been > submitted by you as #414842. However, that particular patch has not been > applied to ubuntu's udev. > > Scott, can you have a look at this patch: > http://bugs.debia

Bug#488271: cryptsetup: use a loop to wait for the root device

2008-07-01 Thread Reinhard Tartler
David Härdeman <[EMAIL PROTECTED]> writes: > On Tue, Jul 01, 2008 at 08:28:52PM +0200, Reinhard Tartler wrote: >>David Härdeman <[EMAIL PROTECTED]> writes: >> > initramfs-tools already has a rootdelay parameter which is executed > before the cryptsetup initramfs script. What is the advanta

Bug#488271: [Pkg-cryptsetup-devel] Bug#488271: Bug#488271: Bug#488271: cryptsetup: use a loop to wait for the root device

2008-07-01 Thread David Härdeman
On Tue, Jul 01, 2008 at 08:28:52PM +0200, Reinhard Tartler wrote: David Härdeman <[EMAIL PROTECTED]> writes: initramfs-tools already has a rootdelay parameter which is executed before the cryptsetup initramfs script. What is the advantage of duplicating that functionality? the rootdelay param

Bug#488271: [Pkg-cryptsetup-devel] Bug#488271: Bug#488271: cryptsetup: use a loop to wait for the root device

2008-07-01 Thread Reinhard Tartler
David Härdeman <[EMAIL PROTECTED]> writes: >>> initramfs-tools already has a rootdelay parameter which is executed >>> before the cryptsetup initramfs script. What is the advantage of >>> duplicating that functionality? >> >>the rootdelay parameter makes the initramfs loop until the root device >>

Bug#488271: [Pkg-cryptsetup-devel] Bug#488271: Bug#488271: cryptsetup: use a loop to wait for the root device

2008-07-01 Thread David Härdeman
On Tue, Jul 01, 2008 at 05:46:15PM +0200, Reinhard Tartler wrote: David Härdeman <[EMAIL PROTECTED]> writes: On Fri, Jun 27, 2008 at 02:31:50PM +0100, James Westby wrote: https://launchpad.net/bugs/164044 a user said that he was unable to boot with the root device being a slow USB device, as

Bug#488271: [Pkg-cryptsetup-devel] Bug#488271: cryptsetup: use a loop to wait for the root device

2008-07-01 Thread Reinhard Tartler
David Härdeman <[EMAIL PROTECTED]> writes: > On Fri, Jun 27, 2008 at 02:31:50PM +0100, James Westby wrote: >> https://launchpad.net/bugs/164044 >> >>a user said that he was unable to boot with the root device >>being a slow USB device, as the udevsettle call was only >>sufficient if the kernel wa

Bug#488271: [Pkg-cryptsetup-devel] Bug#488271: cryptsetup: use a loop to wait for the root device

2008-06-29 Thread David Härdeman
On Fri, Jun 27, 2008 at 02:31:50PM +0100, James Westby wrote: https://launchpad.net/bugs/164044 a user said that he was unable to boot with the root device being a slow USB device, as the udevsettle call was only sufficient if the kernel was currently processing an event which would cause the d

Bug#488271: cryptsetup: use a loop to wait for the root device

2008-06-27 Thread James Westby
Package: cryptsetup Version: 2:1.0.6-2 Severity: wishlist Tags: patch User: [EMAIL PROTECTED] Usertags: origin-ubuntu intrepid ubuntu-patch Hi, In https://launchpad.net/bugs/164044 a user said that he was unable to boot with the root device being a slow USB device, as the udevsettle call was