[Bug 1314350] [NEW] do-release-upgrade --sandbox will always fail at installing grub
Jordan
Jordan.Uggla at gmail.com
Tue Apr 29 18:34:15 UTC 2014
Public bug reported:
The whole point of --sandbox is that permanent "system level" changes
cannot be made. For most packages the aufs overlay provides the allusion
of a writable system without actually writing any changes. Grub, by its
nature, needs to be able to see the world as it actually is, and so the
aufs overlay is not transparent and grub thankfully fails rather than
writing to /dev/sda (which is not part of the overlay) and making the
system unbootable when asked to by the grub-pc package which runs "grub-
install /dev/sda".
When running in sandbox mode, somehow any attempts to run grub-mkconfig
or grub-install (or direct use of efibootmgr when dealing with shim on
UEFI systems) should be prevented, and their inability to run should not
be considered an error.
Alternatively, it should be at least documented that do-release-upgrade
--sandbox will *always* lead to a failed upgrade (with the possible
exception of some paravirt / container installations where the
bootloader is not upgraded in the guest).
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:0.220.2
ProcVersionSignature: Ubuntu 3.2.0-61.92-generic 3.2.55
Uname: Linux 3.2.0-61-generic i686
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
CrashDB: ubuntu
CurrentDesktop: LXDE
Date: Tue Apr 29 11:11:35 2014
InstallationDate: Installed on 2012-06-29 (669 days ago)
InstallationMedia: Lubuntu 12.04 "Precise Pangolin" - Release i386 (20120423)
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to trusty on 2014-04-29 (0 days ago)
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug dist-upgrade i386 trusty
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1314350
Title:
do-release-upgrade --sandbox will always fail at installing grub
Status in “ubuntu-release-upgrader” package in Ubuntu:
New
Bug description:
The whole point of --sandbox is that permanent "system level" changes
cannot be made. For most packages the aufs overlay provides the
allusion of a writable system without actually writing any changes.
Grub, by its nature, needs to be able to see the world as it actually
is, and so the aufs overlay is not transparent and grub thankfully
fails rather than writing to /dev/sda (which is not part of the
overlay) and making the system unbootable when asked to by the grub-pc
package which runs "grub-install /dev/sda".
When running in sandbox mode, somehow any attempts to run grub-
mkconfig or grub-install (or direct use of efibootmgr when dealing
with shim on UEFI systems) should be prevented, and their inability to
run should not be considered an error.
Alternatively, it should be at least documented that do-release-
upgrade --sandbox will *always* lead to a failed upgrade (with the
possible exception of some paravirt / container installations where
the bootloader is not upgraded in the guest).
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:0.220.2
ProcVersionSignature: Ubuntu 3.2.0-61.92-generic 3.2.55
Uname: Linux 3.2.0-61-generic i686
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
CrashDB: ubuntu
CurrentDesktop: LXDE
Date: Tue Apr 29 11:11:35 2014
InstallationDate: Installed on 2012-06-29 (669 days ago)
InstallationMedia: Lubuntu 12.04 "Precise Pangolin" - Release i386 (20120423)
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to trusty on 2014-04-29 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1314350/+subscriptions
More information about the foundations-bugs
mailing list