Re: network namespaces

2017-02-27 Thread Jamie Strandboge
On Tue, 2017-02-21 at 11:53 -0600, Jamie Strandboge wrote: > On Tue, 2017-02-21 at 12:39 +0100, Luca Dionisi wrote: > > > > Are network namespaces supported in snaps? > > > > In my RaspberryPi3 I have a snap which has been installed with --devmode. > > Inside th

Re: network namespaces

2017-02-22 Thread Luca Dionisi
The workaround did the job. Thanks. On Tue, Feb 21, 2017 at 6:53 PM, Jamie Strandboge <ja...@canonical.com> wrote: > On Tue, 2017-02-21 at 12:39 +0100, Luca Dionisi wrote: >> Are network namespaces supported in snaps? >> >> In my RaspberryPi3 I have a snap which has be

Re: network namespaces

2017-02-21 Thread Jamie Strandboge
On Tue, 2017-02-21 at 12:39 +0100, Luca Dionisi wrote: > Are network namespaces supported in snaps? > > In my RaspberryPi3 I have a snap which has been installed with --devmode. > Inside the snap I have exposed the command 'bash'. I exec that bash as > root. Then I try to c

network namespaces

2017-02-21 Thread Luca Dionisi
Are network namespaces supported in snaps? In my RaspberryPi3 I have a snap which has been installed with --devmode. Inside the snap I have exposed the command 'bash'. I exec that bash as root. Then I try to create a network namespace. It fails. $ sudo myapp.bash # ip netns add ns0 open("