[Bug 1732500] Re: ubuntu-release-upgrader depends on gksu but it is not installed by default

Brian Murray brian at ubuntu.com
Tue Jun 5 16:28:51 UTC 2018


ubuntu-release-upgrader (1:18.04.5) bionic; urgency=medium

  * DistUpgrade/DistUpgradeFetcher.py,
    check-new-release-gtk,
    do-release-upgrade:
    - Raise privileges in do-release-upgrade using pkexec when GUI is used 
    - Drop gksu usage
    - Use os.execv in check-new-release-gtk instead of os.execl
    - Apply the workaround "xhost +si:localuser:root" under Wayland to let
      upgrades finish (LP: #1732185)
  * Skip Python files from other packages in PEP 8 tests

 -- Balint Reczey <rbalint at ubuntu.com>  Mon, 15 Jan 2018 17:09:44 +0100

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => Fix Released

-- 
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/1732500

Title:
  ubuntu-release-upgrader depends on gksu but it is not installed by
  default

Status in ubuntu-release-upgrader package in Ubuntu:
  Fix Released

Bug description:
  On a fresh artful installation ubuntu-release-upgrader has this code
  in DistUpgrade/DistUpgradeFetcher.py:

  ...
  47     def runDistUpgrader(self):
  48         # now run it as root
  49         if os.getuid() != 0:
  50             os.execv("/usr/bin/gksu",
  51                      ["gksu",
  ...

  But gksu is not installed by default and u-r-u crashes if it is
  executed as a non root user.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: ubuntu-release-upgrader-core 1:17.10.8
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3.1
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Nov 15 18:01:16 2017
  InstallationDate: Installed on 2017-11-14 (1 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1732500/+subscriptions



More information about the foundations-bugs mailing list