Re: Reading /etc

2017-03-02 Thread Facundo Batista
El 02/03/17 a las 10:56, Jamie Strandboge escribió: > On Wed, 2017-03-01 at 23:06 -0300, Facundo Batista wrote: >> Which interface should I add to the snap for it to have read only access to >> /etc? > > There isn't a rule in the policy for os.listdir("/etc")

Re: Reading /etc

2017-03-02 Thread Facundo Batista
El 01/03/17 a las 23:29, Marco Ceppi escribió: > I don't have an answer for you, but wanted to add some color to the problem. > The issue lies within a dependency of the > latest version of pip. Previously they vendored in a small library to do > rudimentary distribution checking. In later > vers

Reading /etc

2017-03-01 Thread Facundo Batista
Hola! When calling pip from inside a snap, it (while investigating the system it's in) tries to os.listdir("/etc") which is denied to it: Mar 1 15:44:04 tanquita kernel: [16153.906524] audit: type=1400 audit(1488393844.939:99): apparmor="DENIED" operation="open" namespace="ro

Re: Announcing channel tracks for long-term stable snaps

2017-02-16 Thread Facundo Batista
El 15/02/17 a las 15:36, Stéphane Graber escribió: > Hey there, > > Are tracks supported in Launchpad? > > I'd like to use this feature for the LXD 2.0 (LTS) branch, but we're > building and publishing (except for stable) all our snaps through > Launchpad as we need support for all architectures

Announcing channel tracks for long-term stable snaps

2017-02-15 Thread Facundo Batista
Hola! To publish stable snaps of different versions at the same time, like Go 1.6 and 1.7, we now have ‘channel tracks’ in beta. Each track has its own set of risk-based channels: stable, candidate, beta, edge. So for example, you can choose Go 1.7/stable and 1.7/edge. People who switch to a be