Partman reports changes to a disk when there are none.

Bug #287660 reported by Evan
12
Affects Status Importance Assigned to Milestone
partman-base (Ubuntu)
Fix Released
High
Colin Watson

Bug Description

Binary package hint: partman-base

In ubiquity, I opted to resize an existing partition on the first disk. The summary page reports that changes will be made to both disks, when in fact only the first disk will be changed:

Name: partman/confirm
Template: partman/confirm
Value: false
Owners: ubiquity
Variables:
 ITEMS = The partition tables of the following devices are changed:\n SCSI1 (0,0,0) (sda)\n SCSI1 (0,1,0) (sdb)\n\nThe following partitions are going to be formatted:\n partition #6 of SCSI1 (0,0,0) (sda) as ext3\n partition #7 of SCSI1 (0,0,0) (sda) as swap\n

Related branches

Evan (ev)
Changed in partman-base:
importance: Undecided → Low
Revision history for this message
Colin Watson (cjwatson) wrote :

I think what happens here is that it autouses swap, using the CHANGE_FILE_SYSTEM command to "change" the swap partition to swap in the process, and has no way to realise that it was already swap and nothing has changed.

Colin Watson (cjwatson)
Changed in partman-base:
assignee: nobody → kamion
importance: Low → High
status: New → Triaged
Colin Watson (cjwatson)
Changed in partman-base:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package partman-base - 128ubuntu6

---------------
partman-base (128ubuntu6) jaunty; urgency=low

  [ Colin Watson ]
  * Only mark the partition table as changed due to CHANGE_FILE_SYSTEM if it
    actually makes a change (i.e. the partition wasn't already using that
    filesystem or didn't have that flag set). This avoids the partition
    table being rewritten even if partman did nothing more than autousing
    swap (LP: #287660).
  * Add partman/default_filesystem template so that we can remove hardcoding
    of ext3 from elsewhere in partman, and make the default filesystem
    preseedable.

  [ Evan Dandrea ]
  * Filter out disks that have mounted partitions again. This was
    accidentally lost in the last Debian merge.

 -- Colin Watson <email address hidden> Fri, 06 Feb 2009 16:06:45 +0100

Changed in partman-base:
status: Fix Committed → Fix Released
tags: added: iso-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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