Description of problem: Using the latest version of snapd provided by EPEL causes the service to become unresponsive. An error is printed in the console stating that timeout exceeded. Downgrading snapd would resolve this issue. Version-Release number of selected component (if applicable): 2.53.4-1 How reproducible: Always. Steps to Reproduce: 1. dnf install snapd 2. systemctl enable --now snapd.socket 3. If you run `snap list` right now, it works fine. 4. snap install core Actual results: The last command (step 4) is stuck for a long time, after which an error is printed: error: cannot communicate with server: timeout exceeded while waiting for response After this, any command (including snap list) would output a similar error message. Expected results: The command succeed without any error. Additional info: - It appears that this happens in not just EL8 but EL7 as well. Also, according to Google "snapd 2.53.4 timeout exceeded", a number of related posts all from EL-derivative users are created in the last week. - Following this post on CentOS forum, I have downloaded an older version of snapd from EPEL archive, i.e. running `dnf install https://archives.fedoraproject.org/pub/archive/epel/8/Everything/x86_64/Packages/s/snapd-2.43.3-1.el8.x86_64.rpm https://archives.fedoraproject.org/pub/archive/epel/8/Everything/x86_64/Packages/s/snap-confine-2.43.3-1.el8.x86_64.rpm https://archives.fedoraproject.org/pub/archive/epel/8/Everything/x86_64/Packages/s/snapd-selinux-2.43.3-1.el8.noarch.rpm` in step 1 instead, and it works. Source: https://forums.centos.org/viewtopic.php?f=48&p=330085
Were you able to collect any logs from snapd? Specifically `journalctl -u snapd` would help.
Also reported here: https://bugs.launchpad.net/snapd/+bug/1955580 The problem is caused by a missing bit in the SELinux policy. An enhancement was cherry picked to 2.53.4 but a patch that updated the policy was missed in the process. I'll update to 2.54.1 which includes all the needed changes.
FEDORA-2021-867fb68ad1 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-867fb68ad1
FEDORA-2021-9ec6906fc9 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-9ec6906fc9
FEDORA-EPEL-2021-38fd34170a has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-38fd34170a
FEDORA-EPEL-2021-e2d02fdf27 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-e2d02fdf27
FEDORA-2021-9ec6906fc9 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-9ec6906fc9` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-9ec6906fc9 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2021-38fd34170a has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-38fd34170a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2021-e2d02fdf27 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-e2d02fdf27 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-867fb68ad1 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-867fb68ad1` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-867fb68ad1 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-9ec6906fc9 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2021-38fd34170a has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-867fb68ad1 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2021-e2d02fdf27 has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report.