← Back to team overview

touch-packages team mailing list archive

[Bug 1360488] [NEW] software-properties-gtk does not request root permission when choosing repositories in "Other Software" tab

 

Public bug reported:

1) Description:	Ubuntu 14.04.1 LTS (Ubuntu-GNOME)
Release:	14.04 amd64

2) software-properties-gtk:
  Installed: 0.92.37.1
  Candidate: 0.92.37.1
  Version table:
 *** 0.92.37.1 0
        500 http://www.lug.bu.edu/mirror/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.92.36 0
        500 http://www.lug.bu.edu/mirror/ubuntu/ trusty/main amd64 Packages

3) When checking/unchecking repositories under the "Other Software" tab
of software-properties-gtk I expect it to prompt me for root/sudo
password, and once accepted I can check and uncheck my repositories.

4)  The title may not explain issue good enough so forgive me for being long winded just want to make sure issue is understood. This is what I experience when opening Software & Updates (software-properties-gtk) from app menu, and go to the "Other Software" tab. 
      If you go to check or uncheck any of the repositories listed it does not let you because you don't have sudo/root privileges, that makes sense, but under regular Ubuntu 14.04.1 (I am currently running Ubuntu-GNOME 14.04.1) and you went ahead to check or uncheck a repository it would request root privileges at that moment by asking for the password. As long as the password was excepted you could then go ahead check/uncheck the repositories you want. In Ubuntu-GNOME it does not try and gain privilege it just darkens the list.  If you open software-properties-gtk via terminal when you go to check/uncheck any repository it returns this error in terminal window: "ERROR:root:Authentication canceled, changes have not been saved" The only way you can get it to request root privileges is to hit one of the buttons below (Add, Edit, Remove, Add Volume). So it does not cause an issue you can not get around, it was just something that I noticed that happened with Ubuntu 14.04.1 that does not with Ubuntu-GNOME 14.04.1 and probably should.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: software-properties-gtk 0.92.37.1
ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
Uname: Linux 3.13.0-35-generic x86_64
NonfreeKernelModules: rr272x_1x
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Aug 22 19:48:49 2014
InstallationDate: Installed on 2014-08-20 (2 days ago)
InstallationMedia: Ubuntu-GNOME 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug software-properties-gtk third-party-packages trusty

** Attachment added: "Output when software-properties-gtk is run from terminal."
   https://bugs.launchpad.net/bugs/1360488/+attachment/4184942/+files/software-properties-gtk_bug.png

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to software-properties in
Ubuntu.
https://bugs.launchpad.net/bugs/1360488

Title:
  software-properties-gtk does not request root permission when choosing
  repositories in "Other Software" tab

Status in “software-properties” package in Ubuntu:
  New

Bug description:
  1) Description:	Ubuntu 14.04.1 LTS (Ubuntu-GNOME)
  Release:	14.04 amd64

  2) software-properties-gtk:
    Installed: 0.92.37.1
    Candidate: 0.92.37.1
    Version table:
   *** 0.92.37.1 0
          500 http://www.lug.bu.edu/mirror/ubuntu/ trusty-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       0.92.36 0
          500 http://www.lug.bu.edu/mirror/ubuntu/ trusty/main amd64 Packages

  3) When checking/unchecking repositories under the "Other Software"
  tab of software-properties-gtk I expect it to prompt me for root/sudo
  password, and once accepted I can check and uncheck my repositories.

  4)  The title may not explain issue good enough so forgive me for being long winded just want to make sure issue is understood. This is what I experience when opening Software & Updates (software-properties-gtk) from app menu, and go to the "Other Software" tab. 
        If you go to check or uncheck any of the repositories listed it does not let you because you don't have sudo/root privileges, that makes sense, but under regular Ubuntu 14.04.1 (I am currently running Ubuntu-GNOME 14.04.1) and you went ahead to check or uncheck a repository it would request root privileges at that moment by asking for the password. As long as the password was excepted you could then go ahead check/uncheck the repositories you want. In Ubuntu-GNOME it does not try and gain privilege it just darkens the list.  If you open software-properties-gtk via terminal when you go to check/uncheck any repository it returns this error in terminal window: "ERROR:root:Authentication canceled, changes have not been saved" The only way you can get it to request root privileges is to hit one of the buttons below (Add, Edit, Remove, Add Volume). So it does not cause an issue you can not get around, it was just something that I noticed that happened with Ubuntu 14.04.1 that does not with Ubuntu-GNOME 14.04.1 and probably should.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: software-properties-gtk 0.92.37.1
  ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
  Uname: Linux 3.13.0-35-generic x86_64
  NonfreeKernelModules: rr272x_1x
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Fri Aug 22 19:48:49 2014
  InstallationDate: Installed on 2014-08-20 (2 days ago)
  InstallationMedia: Ubuntu-GNOME 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: software-properties
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1360488/+subscriptions


Follow ups

References