Install/refresh stuck at configure hook (Wekan)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Since some time over the holidays I've had problems refreshing/
14.52 jani@saegusa:~$ sudo snap install wekan
[sudo] salasana henkilölle jani:
error: cannot perform the following tasks:
- Run configure hook of "wekan" snap if present (run hook "configure": <exceeded maximum runtime of 5m0s>)
Installing other snaps works (the couple that I tried just to be able to say this did anyway).
I've reported this on the Wekan snap Github page [3], but there's been no confirmation from anyone else affected so far. Also, I'm unable to reproduce this myself in a VM and on at least one other (physical) desktop I have access to.
So naturally I've looked for differences between these systems, but so far the only correlating one I'm pretty sure of is an Apparmor denial:
apparmor=
The two systems where Apparmor denies mongodb's access to /sys/block get stuck at the configure hook, whereas systems that don't deny access finish the configuration (and installation) successfully.
I have not tweaked any Apparmor configuration on any of these systems prior to this issue cropping up (not that I can remember anyway). I've also not touched anything snap-related, as Wekan was one of the first snaps I've ever tried and is (or would be) the only one (besides core) currently installed on these systems.
All systems are running Ubuntu 16.04, with my (affected) desktop having both HWE and -proposed enabled, my (affected) server running a 4.4-series kernel (no HWE or -proposed) and the other (unaffected) desktop having HWE but no -proposed. The (unaffected) VM starts with kernel 4.4 and remains unaffected if I upgrade it with HWE.
I'm submitting this from the (HWE+proposed-
* [1] https:/
* [2] https:/
* [3] https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: snapd 2.29.4.2
ProcVersionSign
Uname: Linux 4.13.0-30-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jan 22 15:44:20 2018
InstallationDate: Installed on 2016-10-13 (466 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
mtime.conffile.
Update: got snapd 2.31.1 from -proposed this morning, and replaced the customized /etc/apparmor. d/usr.lib. snapd.snap- confine. real with the package-provided version. This did not fix the issue unfortunately.