Created attachment 1347911 [details] Screenshot Description of problem: Whenever I try to install a snap package from gnome-software, I get an error (see below) Version-Release number of selected component (if applicable): 3.26.1 (latest in Fedora 27) How reproducible: Happens each time I attempt it and for every snap package. And yes I have a Snap Store account. Steps to Reproduce: 1. sudo dnf install snapd 2. Open gnome-software and search for snap 3. Hit install Actual results: "GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Cannot launch daemon, file not found or permissions invalid Expected results: Installation of snap package Additional info: I'm using latest Fedora 27 pre release
What versions of snapd and snapd-login-service are installed?
Latest Fedora 27 updates, but at time of writing: snapd = 2.27.6-1.fc27 snapd-login-service = 1.22-1.fc27 Thanks
With Fedora 27 Workstation final and latest updates, I get a different issue: it hangs at "Installing 0%". Versions of the snapd software: snapd = 2.28.5-2.fc27 snapd-login-service = 1.23-1.fc27 @Robert, any ideas?
It seems to be an issue with snapd, running the following: $ snap install moon-buggy Just hangs forever (this is essentially what GNOME Software is doing). Note that the following does work: $ sudo snap install moon-buggy So it seems related to the user permission checks. It seems the file /usr/share/polkit-1/actions/io.snapcraft.snapd.policy is missing - perhaps this is breaking it? Also there is some SELinux warnings in the journal, not sure if these are related.
Copying the .policy file from git makes the Polkit prompt come up, but it still blocks after that. Note you can see what snapd is working on by running: $ snap changes From another terminal (this shows it hasn't started the install transaction).
Created attachment 1351377 [details] Install Polkit configuration Patch for snapd packaging to install polkit documentation
Uh, that should say polkit configuration, not documentation..
snapd-glib-1.29-1.fc27 snapd-2.29.4-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-7ab473c46c
snapd-2.29.4-2.fc27, snapd-glib-1.29-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-7ab473c46c
snapd-2.29.4-2.fc27, snapd-glib-1.29-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.