[Desktop-packages] [Bug 1862158] Re: gnome-software tries to install snap updates in the background, causing unprompted polkit authentication for authorisation to install packages

2020-02-10 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-software - 3.35.2-0ubuntu2

---
gnome-software (3.35.2-0ubuntu2) focal; urgency=medium

  * d/p/0029-Fix-CSS-colors-to-work-correctly-with-Yaru-Adwaita.patch:
- Use theme exported colors (LP: #1862056)
  * d/p/0001-GsApp-Add-a-new-do-not-auto-update-quirk.patch:
  * d/p/0002-fwupd-Use-new-GS_APP_QUIRK_DO_NOT_AUTO_UPDATE.patch:
  * d/p/0003-snap-Stop-snaps-from-being-automatically-updated.patch:
- Stop snaps being automatically updated (LP: #1862158)

 -- Robert Ancell   Tue, 11 Feb 2020
12:07:52 +1300

** Changed in: gnome-software (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1862158

Title:
  gnome-software tries to install snap updates in the background,
  causing unprompted polkit authentication for authorisation to install
  packages

Status in gnome-software package in Ubuntu:
  Fix Released

Bug description:
  Every morning about ~30mins after powering on my focal machine I get
  (unprompted) a gnome-shell policykit authorisation popup saying
  'authentication is required to install software' - I haven't yet
  actually authorised it since I wasn't sure what was causing it,
  however I notice that if I cancel the authorisation then I see a bunch
  of notifications from gnome-software about updates having been
  successfully installed (even though I presume it hasn't been since I
  never authorised it).

  Is gnome-software fighting snapd to refresh snaps?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-software 3.35.2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  6 21:37:29 2020
  InstallationDate: Installed on 2019-11-18 (79 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-snap3.35.2-0ubuntu1
  SourcePackage: gnome-software
  UpgradeStatus: Upgraded to focal on 2020-01-22 (15 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1862158] Re: gnome-software tries to install snap updates in the background, causing unprompted polkit authentication for authorisation to install packages

2020-02-10 Thread Robert Ancell
** Changed in: gnome-software (Ubuntu)
   Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1862158

Title:
  gnome-software tries to install snap updates in the background,
  causing unprompted polkit authentication for authorisation to install
  packages

Status in gnome-software package in Ubuntu:
  Fix Committed

Bug description:
  Every morning about ~30mins after powering on my focal machine I get
  (unprompted) a gnome-shell policykit authorisation popup saying
  'authentication is required to install software' - I haven't yet
  actually authorised it since I wasn't sure what was causing it,
  however I notice that if I cancel the authorisation then I see a bunch
  of notifications from gnome-software about updates having been
  successfully installed (even though I presume it hasn't been since I
  never authorised it).

  Is gnome-software fighting snapd to refresh snaps?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-software 3.35.2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  6 21:37:29 2020
  InstallationDate: Installed on 2019-11-18 (79 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-snap3.35.2-0ubuntu1
  SourcePackage: gnome-software
  UpgradeStatus: Upgraded to focal on 2020-01-22 (15 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1862158] Re: gnome-software tries to install snap updates in the background, causing unprompted polkit authentication for authorisation to install packages

2020-02-09 Thread Robert Ancell
I've proposed an MR here:
https://gitlab.gnome.org/GNOME/gnome-software/merge_requests/420/

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1862158

Title:
  gnome-software tries to install snap updates in the background,
  causing unprompted polkit authentication for authorisation to install
  packages

Status in gnome-software package in Ubuntu:
  Confirmed

Bug description:
  Every morning about ~30mins after powering on my focal machine I get
  (unprompted) a gnome-shell policykit authorisation popup saying
  'authentication is required to install software' - I haven't yet
  actually authorised it since I wasn't sure what was causing it,
  however I notice that if I cancel the authorisation then I see a bunch
  of notifications from gnome-software about updates having been
  successfully installed (even though I presume it hasn't been since I
  never authorised it).

  Is gnome-software fighting snapd to refresh snaps?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-software 3.35.2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  6 21:37:29 2020
  InstallationDate: Installed on 2019-11-18 (79 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-snap3.35.2-0ubuntu1
  SourcePackage: gnome-software
  UpgradeStatus: Upgraded to focal on 2020-01-22 (15 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1862158] Re: gnome-software tries to install snap updates in the background, causing unprompted polkit authentication for authorisation to install packages

2020-02-09 Thread Robert Ancell
Andrew - that patch seems reasonable with the existing code, as the
daemon does the auto-updates, so no client should be performing it. This
should probably be done with a quirk, so the update monitor doesn't need
to special case Snaps (or the firmware as it currently does). But that
is better discussed on an upstream MR.

James - G-S doesn't currently have a mechanism to say why each operation
is being performed, but I imagine we could add one. In this case it
doesn't make sense as G-S shouldn't try and auto update.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1862158

Title:
  gnome-software tries to install snap updates in the background,
  causing unprompted polkit authentication for authorisation to install
  packages

Status in gnome-software package in Ubuntu:
  Confirmed

Bug description:
  Every morning about ~30mins after powering on my focal machine I get
  (unprompted) a gnome-shell policykit authorisation popup saying
  'authentication is required to install software' - I haven't yet
  actually authorised it since I wasn't sure what was causing it,
  however I notice that if I cancel the authorisation then I see a bunch
  of notifications from gnome-software about updates having been
  successfully installed (even though I presume it hasn't been since I
  never authorised it).

  Is gnome-software fighting snapd to refresh snaps?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-software 3.35.2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  6 21:37:29 2020
  InstallationDate: Installed on 2019-11-18 (79 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-snap3.35.2-0ubuntu1
  SourcePackage: gnome-software
  UpgradeStatus: Upgraded to focal on 2020-01-22 (15 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1862158] Re: gnome-software tries to install snap updates in the background, causing unprompted polkit authentication for authorisation to install packages

2020-02-09 Thread Robert Ancell
** Changed in: gnome-software (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1862158

Title:
  gnome-software tries to install snap updates in the background,
  causing unprompted polkit authentication for authorisation to install
  packages

Status in gnome-software package in Ubuntu:
  Confirmed

Bug description:
  Every morning about ~30mins after powering on my focal machine I get
  (unprompted) a gnome-shell policykit authorisation popup saying
  'authentication is required to install software' - I haven't yet
  actually authorised it since I wasn't sure what was causing it,
  however I notice that if I cancel the authorisation then I see a bunch
  of notifications from gnome-software about updates having been
  successfully installed (even though I presume it hasn't been since I
  never authorised it).

  Is gnome-software fighting snapd to refresh snaps?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-software 3.35.2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  6 21:37:29 2020
  InstallationDate: Installed on 2019-11-18 (79 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-snap3.35.2-0ubuntu1
  SourcePackage: gnome-software
  UpgradeStatus: Upgraded to focal on 2020-01-22 (15 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1862158] Re: gnome-software tries to install snap updates in the background, causing unprompted polkit authentication for authorisation to install packages

2020-02-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: gnome-software (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1862158

Title:
  gnome-software tries to install snap updates in the background,
  causing unprompted polkit authentication for authorisation to install
  packages

Status in gnome-software package in Ubuntu:
  Confirmed

Bug description:
  Every morning about ~30mins after powering on my focal machine I get
  (unprompted) a gnome-shell policykit authorisation popup saying
  'authentication is required to install software' - I haven't yet
  actually authorised it since I wasn't sure what was causing it,
  however I notice that if I cancel the authorisation then I see a bunch
  of notifications from gnome-software about updates having been
  successfully installed (even though I presume it hasn't been since I
  never authorised it).

  Is gnome-software fighting snapd to refresh snaps?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-software 3.35.2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  6 21:37:29 2020
  InstallationDate: Installed on 2019-11-18 (79 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-snap3.35.2-0ubuntu1
  SourcePackage: gnome-software
  UpgradeStatus: Upgraded to focal on 2020-01-22 (15 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1862158] Re: gnome-software tries to install snap updates in the background, causing unprompted polkit authentication for authorisation to install packages

2020-02-06 Thread James Henstridge
Is there some way gnome-software can inform the plugin that it is
performing a non-interactive operation?

If so, then the plugin could use snapd_client_set_allow_interaction() to
suppress any potential pokit dialogs from the operation.  It wouldn't
allow the operation to succeed, but it also wouldn't leave the user with
an authentication dialog open when they unlock their screen.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1862158

Title:
  gnome-software tries to install snap updates in the background,
  causing unprompted polkit authentication for authorisation to install
  packages

Status in gnome-software package in Ubuntu:
  New

Bug description:
  Every morning about ~30mins after powering on my focal machine I get
  (unprompted) a gnome-shell policykit authorisation popup saying
  'authentication is required to install software' - I haven't yet
  actually authorised it since I wasn't sure what was causing it,
  however I notice that if I cancel the authorisation then I see a bunch
  of notifications from gnome-software about updates having been
  successfully installed (even though I presume it hasn't been since I
  never authorised it).

  Is gnome-software fighting snapd to refresh snaps?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-software 3.35.2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  6 21:37:29 2020
  InstallationDate: Installed on 2019-11-18 (79 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-snap3.35.2-0ubuntu1
  SourcePackage: gnome-software
  UpgradeStatus: Upgraded to focal on 2020-01-22 (15 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1862158] Re: gnome-software tries to install snap updates in the background, causing unprompted polkit authentication for authorisation to install packages

2020-02-06 Thread Alex Murray
Thanks for the patch - I've rebuilt gnome-software with it here
https://launchpad.net/~alexmurray/+archive/ubuntu/lp1862158 and will let
you know how that behaves.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1862158

Title:
  gnome-software tries to install snap updates in the background,
  causing unprompted polkit authentication for authorisation to install
  packages

Status in gnome-software package in Ubuntu:
  New

Bug description:
  Every morning about ~30mins after powering on my focal machine I get
  (unprompted) a gnome-shell policykit authorisation popup saying
  'authentication is required to install software' - I haven't yet
  actually authorised it since I wasn't sure what was causing it,
  however I notice that if I cancel the authorisation then I see a bunch
  of notifications from gnome-software about updates having been
  successfully installed (even though I presume it hasn't been since I
  never authorised it).

  Is gnome-software fighting snapd to refresh snaps?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-software 3.35.2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  6 21:37:29 2020
  InstallationDate: Installed on 2019-11-18 (79 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-snap3.35.2-0ubuntu1
  SourcePackage: gnome-software
  UpgradeStatus: Upgraded to focal on 2020-01-22 (15 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1862158] Re: gnome-software tries to install snap updates in the background, causing unprompted polkit authentication for authorisation to install packages

2020-02-06 Thread Alex Murray
Happened again this morning - see attached for some screenshots which
demonstrate the various elements.

** Attachment added: "polkit dialog trigged automatically with no user 
interaction"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1862158/+attachment/5326025/+files/Screenshot%20from%202020-02-07%2008-18-07.png

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1862158

Title:
  gnome-software tries to install snap updates in the background,
  causing unprompted polkit authentication for authorisation to install
  packages

Status in gnome-software package in Ubuntu:
  New

Bug description:
  Every morning about ~30mins after powering on my focal machine I get
  (unprompted) a gnome-shell policykit authorisation popup saying
  'authentication is required to install software' - I haven't yet
  actually authorised it since I wasn't sure what was causing it,
  however I notice that if I cancel the authorisation then I see a bunch
  of notifications from gnome-software about updates having been
  successfully installed (even though I presume it hasn't been since I
  never authorised it).

  Is gnome-software fighting snapd to refresh snaps?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-software 3.35.2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  6 21:37:29 2020
  InstallationDate: Installed on 2019-11-18 (79 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-snap3.35.2-0ubuntu1
  SourcePackage: gnome-software
  UpgradeStatus: Upgraded to focal on 2020-01-22 (15 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1862158] Re: gnome-software tries to install snap updates in the background, causing unprompted polkit authentication for authorisation to install packages

2020-02-06 Thread Alex Murray
Also note after choosing 'Cancel' for the authentication, it notifies to
say updates were successfully installed which is very odd :/

** Attachment added: "Notification of updated snaps even though operation was 
not authorised"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1862158/+attachment/5326026/+files/Screenshot%20from%202020-02-07%2008-18-20.png

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1862158

Title:
  gnome-software tries to install snap updates in the background,
  causing unprompted polkit authentication for authorisation to install
  packages

Status in gnome-software package in Ubuntu:
  New

Bug description:
  Every morning about ~30mins after powering on my focal machine I get
  (unprompted) a gnome-shell policykit authorisation popup saying
  'authentication is required to install software' - I haven't yet
  actually authorised it since I wasn't sure what was causing it,
  however I notice that if I cancel the authorisation then I see a bunch
  of notifications from gnome-software about updates having been
  successfully installed (even though I presume it hasn't been since I
  never authorised it).

  Is gnome-software fighting snapd to refresh snaps?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-software 3.35.2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  6 21:37:29 2020
  InstallationDate: Installed on 2019-11-18 (79 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-snap3.35.2-0ubuntu1
  SourcePackage: gnome-software
  UpgradeStatus: Upgraded to focal on 2020-01-22 (15 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1862158] Re: gnome-software tries to install snap updates in the background, causing unprompted polkit authentication for authorisation to install packages

2020-02-06 Thread Alex Murray
Happened again this morning - see attached for some screenshots which
demonstrate the various elements.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1862158

Title:
  gnome-software tries to install snap updates in the background,
  causing unprompted polkit authentication for authorisation to install
  packages

Status in gnome-software package in Ubuntu:
  New

Bug description:
  Every morning about ~30mins after powering on my focal machine I get
  (unprompted) a gnome-shell policykit authorisation popup saying
  'authentication is required to install software' - I haven't yet
  actually authorised it since I wasn't sure what was causing it,
  however I notice that if I cancel the authorisation then I see a bunch
  of notifications from gnome-software about updates having been
  successfully installed (even though I presume it hasn't been since I
  never authorised it).

  Is gnome-software fighting snapd to refresh snaps?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-software 3.35.2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  6 21:37:29 2020
  InstallationDate: Installed on 2019-11-18 (79 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-snap3.35.2-0ubuntu1
  SourcePackage: gnome-software
  UpgradeStatus: Upgraded to focal on 2020-01-22 (15 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1862158] Re: gnome-software tries to install snap updates in the background, causing unprompted polkit authentication for authorisation to install packages

2020-02-06 Thread Andrew Hayzen
I believe this issue is because we now show pending snap updates in
gnome-software (useful when one has manually set the refresh timer),
which causes them to be categorised as "updatable live".  gnome-software
then has an update monitor that automatically tries to apply any
updatable live apps (which causes the polkit dialogs and updates
complete notifications) - but we don't want this as snapd does this.

I have an untested patch here https://gitlab.gnome.org/ahayzen/gnome-
software/commit/0597be6f317a38aa64ac86280d7b05a1aa242a70 which I believe
should disable snap app updates from the update monitor.

If it looks good let me know and I can proposed it against gnome-
software master :-)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1862158

Title:
  gnome-software tries to install snap updates in the background,
  causing unprompted polkit authentication for authorisation to install
  packages

Status in gnome-software package in Ubuntu:
  New

Bug description:
  Every morning about ~30mins after powering on my focal machine I get
  (unprompted) a gnome-shell policykit authorisation popup saying
  'authentication is required to install software' - I haven't yet
  actually authorised it since I wasn't sure what was causing it,
  however I notice that if I cancel the authorisation then I see a bunch
  of notifications from gnome-software about updates having been
  successfully installed (even though I presume it hasn't been since I
  never authorised it).

  Is gnome-software fighting snapd to refresh snaps?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-software 3.35.2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  6 21:37:29 2020
  InstallationDate: Installed on 2019-11-18 (79 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-snap3.35.2-0ubuntu1
  SourcePackage: gnome-software
  UpgradeStatus: Upgraded to focal on 2020-01-22 (15 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1862158] Re: gnome-software tries to install snap updates in the background, causing unprompted polkit authentication for authorisation to install packages

2020-02-06 Thread Alex Murray
** Attachment added: "journalctl --grep gnome-software --since 'Thu 2020-02-06 
05:40:25 ACDT'"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1862158/+attachment/5325864/+files/journalctl--grep-gnome-software-for-today.log

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1862158

Title:
  gnome-software tries to install snap updates in the background,
  causing unprompted polkit authentication for authorisation to install
  packages

Status in gnome-software package in Ubuntu:
  New

Bug description:
  Every morning about ~30mins after powering on my focal machine I get
  (unprompted) a gnome-shell policykit authorisation popup saying
  'authentication is required to install software' - I haven't yet
  actually authorised it since I wasn't sure what was causing it,
  however I notice that if I cancel the authorisation then I see a bunch
  of notifications from gnome-software about updates having been
  successfully installed (even though I presume it hasn't been since I
  never authorised it).

  Is gnome-software fighting snapd to refresh snaps?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-software 3.35.2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  6 21:37:29 2020
  InstallationDate: Installed on 2019-11-18 (79 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-snap3.35.2-0ubuntu1
  SourcePackage: gnome-software
  UpgradeStatus: Upgraded to focal on 2020-01-22 (15 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1862158] Re: gnome-software tries to install snap updates in the background, causing unprompted polkit authentication for authorisation to install packages

2020-02-06 Thread Alex Murray
Attached log output for gnome-software (if there is a better way to
obtain this or more complete logs for gnome-software please let me
know).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1862158

Title:
  gnome-software tries to install snap updates in the background,
  causing unprompted polkit authentication for authorisation to install
  packages

Status in gnome-software package in Ubuntu:
  New

Bug description:
  Every morning about ~30mins after powering on my focal machine I get
  (unprompted) a gnome-shell policykit authorisation popup saying
  'authentication is required to install software' - I haven't yet
  actually authorised it since I wasn't sure what was causing it,
  however I notice that if I cancel the authorisation then I see a bunch
  of notifications from gnome-software about updates having been
  successfully installed (even though I presume it hasn't been since I
  never authorised it).

  Is gnome-software fighting snapd to refresh snaps?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-software 3.35.2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  6 21:37:29 2020
  InstallationDate: Installed on 2019-11-18 (79 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-snap3.35.2-0ubuntu1
  SourcePackage: gnome-software
  UpgradeStatus: Upgraded to focal on 2020-01-22 (15 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp