Skip to content

Authentication required during update #4136

Closed

Description

@AngusP

Linux distribution and version

Fedora 33 Silverblue Linux 5.10.15-200.fc33.x86_64 #1 Fedora 33.20210216.0 (Silverblue)

Flatpak version

Flatpak 1.10.1

Description of the problem

Asked to authenticate many times during a flatpak update, this hasn't happened before. There were updates to multiple "system" apps (org.gnome.something) as well as apps I'd installed later. The previous many times I've updated this wasn't required. Example:

==== AUTHENTICATING FOR org.freedesktop.Flatpak.metadata-update ====
Authentication is required to update metadata
Authenticating as: Angus (angus)
Password: 
                                                            ==== AUTHENTICATING FOR org.freedesktop.Flatpak.modify-repo ====
Authentication is required to modify a system repository
Authenticating as: Angus (angus)
Password: 

This kinda sucks as an experience, having to type the same password ~20 times during an update. Also note the header seems to take a random offset.

Running the update using sudo didn't work, there was an issue with dbus (unfortunately I didn't grab the exact message)

Running in tmux from a gnome-terminal tty as user 1000 (default non-root user, not over ssh) groups: angus wheel

Perhaps related to #2328

I've swapped most default apps from the fedora to flathub repo.

Steps to reproduce

Run flatpak update as non-root user in group wheel

I will install an update to Silverblue and check if the problem persists, it's possible it's just a bad build.

Activity

  1. AngusP commented on Feb 20, 2021

    @AngusP
    Author

    Apologies if there's a simple config way of preventing this, but I couldn't find one after a quick search.

  2. AngusP commented on Feb 20, 2021

    @AngusP
    Author

    I've upgraded to 33.20210220.0 and the issue cleared (more likeley the reboot/kill shell did it than the update). I'm wondering if I got my shell into a strange state where the session was on a pts not tty.

    I think my confusion could be solved by having some docs that I'd have discovered when googling the problem, and also by explaining why permission is needed when trying to do an update.

  3. dreua commented on May 9, 2021

    @dreua
    Contributor

    Were you logged in through SSH by accident?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions