OK, as this is related to running in non-local sessions, I'm not sure how common this use case is.
It also appears that the issue happens on other non-debian distros (eg Fedora here https://github.com/flatpak/flatpak/issues/3001 ) and that upstream state that "When running via ssh, you are missing out on both subject.local and auth_active, so polkit ends up asking every time. Install a local rule if operating via ssh is important to you..." which suggests they wouldn't accept such a change in any upstream polkit definitions. The pkla file I believe comes from debian when the package is imported into ubuntu ( https://salsa.debian.org/debian/flatpak/blob/debian/master/debian/org.freedesktop.Flatpak.pkla ). If this issue is important to you I would suggest reporting a bug against the debian flatpak package asking for non-local session support, if this is accepted then the fix will be pulled into Ubuntu when it is imported. Or if any traction can be made upstream in their definitions these will be pulled in later releases of flatpak. (and if either happen backports can be discussed) Until either of those have a something actionable (to allow or not allow non-local session by default) I am going to mark this bug as "opinion", as I don't want to carry any diff to debian and upstream but acknowledge it as a discussion point. ** Bug watch added: github.com/flatpak/flatpak/issues #3001 https://github.com/flatpak/flatpak/issues/3001 ** Changed in: flatpak (Ubuntu) Status: New => Opinion -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847339 Title: Polkit asking for password repeatedly when installing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flatpak/+bug/1847339/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
