do-release-upgrade --sandbox fails ("submount of systemdir")

Bug #564053 reported by Scott Moser
This bug report is a duplicate of:  Bug #1605259: do-release-upgrade --sandbox fails. Edit Remove
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: update-manager

after bug 562394 was reported fix, I decided to test it.

I ran:
$ sudo do-release-upgrade -d --sandbox

It promted me with:
Continue running under SSH?

I said "No". Then, started a screen session, and ran again.

The second run dies with:
Sandbox setup failed

It was not possible to create the sandbox environment.

Preparing the upgrade failed

Preparing the system for the upgrade failed. Please report this as a
bug against the 'update-manager' package and include the files in
/var/log/dist-upgrade/ in the bug report.

----
/var/log/dist-upgrade/main.log has:
   2010-04-15 17:34:00,915 WARNING mountpoint /var/cache/apt/archives submount of systemdir

If I do 'sudo umount /var/cache/apt/archives', it will continue past this state.

Note, after the cancel there are still several aufs mounts and such left around, but they dont seem to prevent re-running as the /var/cache/apt/archives mount did.

ProblemType: Bug
Architecture: i386
Date: Thu Apr 15 17:20:59 2010
DistroRelease: Ubuntu 9.10
Ec2AMI: ami-bb709dd2
Ec2AMIManifest: ubuntu-images-us/ubuntu-karmic-9.10-i386-server-20100121.manifest.xml
Ec2AvailabilityZone: us-east-1b
Ec2InstanceType: m1.small
Ec2Kernel: aki-5f15f636
Ec2Ramdisk: ari-d5709dbc
Package: update-manager-core 1:0.126.9
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: User Name 2.6.31-302.7-ec2
SourcePackage: update-manager
Tags: ec2-images
Uname: Linux 2.6.31-302-ec2 i686

Revision history for this message
Scott Moser (smoser) wrote :
Changed in update-manager (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Rolf Leggewie (r0lf) wrote :

I ran into the same issue today, having bind-mounted /var/cache/apt/archives to a temporary storage for the upgrade. During day-to-day-operation my /var partition is limited to 2G. Why is bind-mounting an issue here?

Rolf Leggewie (r0lf)
summary: - do-release-upgrade --sandbox fails after cancelling
+ do-release-upgrade --sandbox fails ("submount of systemdir")
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.