etcd tree drives snapcraft dump plugin insane

Bug #1615242 reported by Mark Shuttleworth on 2016-08-20
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

Managed to get an infinite loop of copying under way with this snapcraft.yaml:

name: etcd
version: 3.0.6+master # this branch tracks upstream master
summary: Distributed key-value store # 79 char long summary
description: |
  Etcd provides a key-value store and is implemented for high availability,
  using the RAFT algorithm to deal with failover within the etcd cluster.
  Popular in the Docker community as a shared store of small but important
  pieces of common data in an application.
confinement: devmode # use "strict" to enforce system access only via declared interfaces

    command: bin/etcd
    command: bin/etcdctl

    plugin: dump
    source: .
      - bin/*

Leo Arias (elopio) wrote :

To reproduce:
$ cd /tmp
$ git clone
$ cd etcd
# write the snapcraft.yaml from above.
$ snapcraft

Changed in snapcraft:
status: New → Confirmed
importance: Undecided → High
Leo Arias (elopio) wrote :

The problem is that cmd/vendor/ is a link to ../../../../

The same problem with: cmd/etcd -> ../

Leo Arias (elopio) wrote :

Btw, we started playing with etcd in Vancouver. With the recent snapcraft release, we could get this working:

Changed in snapcraft:
status: Confirmed → Triaged

Thanks Leo. I have a snapcraft.yaml that works slightly differently
using a new buildcmd plugin I am working on for snapcraft. Will share

Leo Arias (elopio) on 2016-09-02
tags: added: sources
tags: added: craft-6
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers