fails to tell kernel to sync partition table

Bug #334278 reported by Timo Aaltonen
8
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: debian-installer

I've tried to netboot jaunty on a box that had regular partitions, but partman fails because the in-memory partition table is not updated, and because of that it claims that '/dev/sda2 is not available'. Fdisk shows correct information.

I'll attach a full debug log from the box shortly.

Timo Aaltonen (tjaalton)
description: updated
Revision history for this message
Timo Aaltonen (tjaalton) wrote :
Revision history for this message
Timo Aaltonen (tjaalton) wrote :
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Ok, so to reproduce this I had a system which had normal partitions on the disk, and the only change is to use partman-auto/method lvm instead of regular.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

This appears to be a udev bug: it's opening the old partition device in such a way that the device is considered busy and so fails to be removed and re-added. Dave Morley has tested an image built with http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=3d3a0a709a38805259fe07240c3ca47a120dd5d6, and this appears to succeed.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

We've just made a 139 release with this fix

Changed in udev:
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udev - 139-1

---------------
udev (139-1) jaunty; urgency=low

  * New upstream release:
    - includes changes from 138-2
    - also further patch to actually remove watches when the devices are
      removed. LP: #334278.

 -- Scott James Remnant <email address hidden> Thu, 26 Feb 2009 23:41:35 +0000

Changed in udev:
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

It's not fixed yet, I still get the same error.

Changed in udev:
status: Fix Released → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

these logs from trying to preseed partman-auto/method lvm, when there were more than two partitions on the disk before the installation.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

This is fixed now, thanks!

also the LVM issues are gone now.

Changed in udev:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.