[Merge] lp:~brian-murray/ubuntu-release-upgrader/remove-aufs into lp:ubuntu-release-upgrader

Brian Murray brian at ubuntu.com
Thu May 18 17:32:28 UTC 2017


Okay, I'll make that change.

Diff comments:

> 
> === modified file 'DistUpgrade/DistUpgradeView.py'
> --- DistUpgrade/DistUpgradeView.py	2016-02-08 22:40:04 +0000
> +++ DistUpgrade/DistUpgradeView.py	2017-05-17 22:01:41 +0000
> @@ -212,11 +211,9 @@
>    def run(self, pm):
>      pid = self.fork()
>      if pid == 0:
> -      # check if we need to setup/enable the aufs chroot stuff
> +      # aufs support was removed LP: #1605259
>        if "RELEASE_UPGRADE_USE_AUFS_CHROOT" in os.environ:
> -        if not doAufsChroot(os.environ["RELEASE_UPGRADE_AUFS_RWDIR"],
> -                            os.environ["RELEASE_UPGRADE_USE_AUFS_CHROOT"]):
> -          print("ERROR: failed to setup aufs chroot overlay")
> +          print("ERROR: Upgrading using an aufs chroot is no longer supported.")
>            os._exit(1)

Yes, only the dist-upgrader would set this and using aufs always required the --sandbox. So I'll remove the error handling.

>        # child, ignore sigpipe, there are broken scripts out there
>        # like etckeeper (LP: #283642)


-- 
https://code.launchpad.net/~brian-murray/ubuntu-release-upgrader/remove-aufs/+merge/324216
Your team Ubuntu Core Development Team is subscribed to branch lp:ubuntu-release-upgrader.



More information about the Ubuntu-reviews mailing list