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") atm. Allowing that > wouldn't be the

Re: Reading /etc

2017-03-02 Thread Jamie Strandboge
On Wed, 2017-03-01 at 23:06 -0300, Facundo Batista wrote: > 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(148839

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

Re: Reading /etc

2017-03-01 Thread Marco Ceppi
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 versions, they've included the nir0s/distro python package, whi