[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#721485: flash-kernel: flash_kernel_set_root waits for stdin in a particular case, which makes the installer hang



clone 721485 -1
reassign -1 partman-base
retitle -1 partman-base: /dev/disk links are not refreshed on dreamplug after repartitioning
found -1 165
thanks

On Sun, 2013-09-01 at 10:51 +0200, Paul Kocialkowski wrote:

> I reached this case when using and formating an ext2 root partition: it seems
> that the ext2 partitioning tool does not ask udev to update the links in
> /dev/disk/by-label/, hence flash_kernel_set_root cannot find the disk
> corresponding to the newly-created UUID and jumps to pause_error.
> Note that this does not happen with ext3.
>
> Running "udevadm trigger" sets the correct /dev/disk/by-label/ symlinks, so
> maybe flash_kernel_set_root should run it prior to the disk detection, but
> most likely, it should be up to the partitioning tool to ask udev to reload.

I've cloned this aspect into a separate bug.

Not sure where it belongs exactly: Although this seems to only affect
ext2 and not ext3 in your testng neither partman-ext2r0 nor partman-ext3
seem to do anything with udev, so I suspect this is a higher level issue
relating to changing the default scheme etc. Therefore I've assigned to
the wheezy version of partman-base as a first stab.

BTW, the relevant tool to call seems to be debian-installer-utils'
update-dev which calls udevadm and is itself called from all over
partman etc.

Ian.


Reply to: