[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) *

[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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862158 Title: gnome-software tries to install snap updates in the

[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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862158 Title: gnome-software tries to install snap updates

[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

[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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862158 Title: gnome-software tries to install snap updates in the background,

[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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862158

[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

[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 Ubuntu Bugs, which is subscribed to Ubuntu.

[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"

[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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862158 Title: gnome-software tries to install

[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"

[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

[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

[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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862158