snapd 2.21 on 14.04 does not install systemd file properly

Bug #1657152 reported by Adam Stokes
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Confirmed
Undecided
Unassigned
Trusty
Confirmed
Undecided
Unassigned

Bug Description

You can reproduce by running the following on Trusty with snapd 2.21

sudo snap install conjure-up --edge --classic

Will result in this error:

ubuntu@darthbawlz:~$ sudo snap install conjure-up --classic --edge
error: cannot perform the following tasks:
- Start snap "conjure-up" (32) services ([start snap.conjure-up.bridge.service] failed with exit status 1: Job for snap.conjure-up.bridge.service failed. See 'systemctl status snap.conjure-up.bridge.service' and 'journalctl -xn' for details.
)

That systemd file never seems to get installed. My snapcraft.yaml can be seen here:

https://github.com/conjure-up/conjure-up/blob/master/snapcraft.yaml

This only happens on 14.04.

Revision history for this message
Seth Arnold (seth-arnold) wrote :

14.04 LTS didn't use systemd as the init or service management daemon. What's the plan for snapd on such old things? Are we backporting systemd to 14.04 LTS? Or teaching snapd how to manage upstart?

Thanks

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapd (Ubuntu Trusty):
status: New → Confirmed
Changed in snapd (Ubuntu):
status: New → Confirmed
Revision history for this message
Thomas Voß (thomas-voss) wrote :

As discussed on IRC: The service unit fails to start up and the snap is not installed. Hence you don't see the unit showing up.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.