Public bug reported:

In current yakkety amd64:

$ sudo apt install -y snapd
$ systemctl --failed
● snapd.refresh.service loaded failed failed Automatically refresh installed sna

$ $ systemctl status -l snapd.refresh
● snapd.refresh.service - Automatically refresh installed snaps
   Loaded: loaded (/lib/systemd/system/snapd.refresh.service; static; vendor 
preset: enabled)
   Active: failed (Result: exit-code) since Mon 2016-08-29 22:08:52 CEST; 18min 
ago
     Docs: man:snap(1)
 Main PID: 2227 (code=exited, status=1/FAILURE)

Aug 29 22:08:52 autopkgtest systemd[1]: Starting Automatically refresh 
installed snaps...
Aug 29 22:08:52 autopkgtest snap[2227]: error: cannot communicate with server: 
Post http://localhost/v2/snaps: dial unix /run/snapd.socket: connect: no such 
file or directory
Aug 29 22:08:52 autopkgtest systemd[1]: snapd.refresh.service: Main process 
exited, code=exited, status=1/FAILURE
Aug 29 22:08:52 autopkgtest systemd[1]: Failed to start Automatically refresh 
installed snaps.
Aug 29 22:08:52 autopkgtest systemd[1]: snapd.refresh.service: Unit entered 
failed state.
Aug 29 22:08:52 autopkgtest systemd[1]: snapd.refresh.service: Failed with 
result 'exit-code'.

It seems that the maintainer scripts start this service before snapd
itself starts.

snapd.refresh.service is missing a Requires=snapd.socket.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: snapd 2.13+16.10
ProcVersionSignature: Ubuntu 4.4.0-9136.55-generic 4.4.16
Uname: Linux 4.4.0-9136-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CurrentDesktop: i3
Date: Mon Aug 29 22:28:28 2016
EcryptfsInUse: Yes
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug yakkety

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618206

Title:
  snapd.refresh.service fails after installation, missing
  Requires=snapd.socket

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1618206/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to