Support bindmounts when detecting the target mountpoint

Bug #238701 reported by Agostino Russo
6
Affects Status Importance Assigned to Milestone
partman-auto-loop (Ubuntu)
Fix Released
Undecided
Unassigned
Hardy
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: partman-auto-loop

Bindmounts are used in #230716 (in turn required by #207137). In such situation parsing /proc/mounts for a given device will return multiple entries which in turn makes autopartition-loop fail.

TEST CASE: This is a change in support of another bug. While partman-auto-loop will not fail under these circumstances in hardy as it does not have the fix for 230716, it will fail in hardy-proposed. Therefor, the test should be that a Wubi install does not fail at partman-auto-loop in hardy-proposed.

The proposed patch, as uploaded in partman-auto-loop 0ubuntu14, can be found here:
http://launchpadlibrarian.net/15240795/238701-bind-mounts.diff

Agostino Russo (ago)
description: updated
Revision history for this message
Evan (ev) wrote :
description: updated
description: updated
Changed in partman-auto-loop:
status: New → Fix Committed
Evan (ev)
Changed in partman-auto-loop:
milestone: none → ubuntu-8.04.1
status: New → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote :

Accepted into -proposed, please test and give feedback here

Changed in partman-auto-loop:
status: Fix Committed → In Progress
milestone: ubuntu-8.04.1 → none
status: In Progress → Fix Committed
Steve Langasek (vorlon)
Changed in partman-auto-loop:
milestone: none → ubuntu-8.04.1
Revision history for this message
Agostino Russo (ago) wrote :

I tested booting off an extracted ISO content in a directory using a custom initrd which includes both the patches in 238701 and 230716 (since one will not work without the other), and it works fine for me.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package partman-auto-loop - 0ubuntu15

---------------
partman-auto-loop (0ubuntu15) intrepid; urgency=low

  * Adjust fstab.d/hostboot for move of definitions.sh to lib/base.sh.

partman-auto-loop (0ubuntu14) hardy-proposed; urgency=low

  * Make target mountpoint detection more robust in case of bindmounts
    (LP: #238701).

 -- Colin Watson <email address hidden> Fri, 20 Jun 2008 13:23:03 +0100

Changed in partman-auto-loop:
status: Fix Committed → Fix Released
Revision history for this message
Agostino Russo (ago) wrote :

That was also tested via bug #207137

Revision history for this message
Agostino Russo (ago) wrote :

I meant via bug #204128

Revision history for this message
Agostino Russo (ago) wrote :

I have tested booting off a directory containing the extracted ISO content using the daily iso 20080620.1. It is possible to boot properly and the installation proceeds past autopartition-loop (but it stops at 94% because of #243105).
I have tested booting off an ISO and installing and that also works well.

Revision history for this message
Martin Pitt (pitti) wrote :

Tested in bug #204128

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in partman-auto-loop:
status: Fix Committed → 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.