Re: Snapping Neovim

2016-09-07 Thread Matthew Williams
I've commented on the bug, but there's a larger question here I can't work out the answer to, which is how would a user expect neovim to be restricted when installed via a snap? It could be reasonable to suggest it can only edit files in $HOME, but that's not useful to sysadmins, so why would a

Re: Snapping Neovim

2016-09-07 Thread Gustavo Niemeyer
They can install it as devmode, and we can also introduce an "editor-support" interface which gives global read/write access to it. Would need to be manually connected for the time being, but assertion control for that is coming very soon. On Wed, Sep 7, 2016 at 7:40 AM, Matthew Williams <

Re: More Ubuntu-Core boot up problems...

2016-09-07 Thread Mark Shuttleworth
On 07/09/16 06:56, MikeB wrote: > This new 'first user experience' caught me by surprise - I don't think > I saw anything about this on the snapcraft mailing list. Is there > some other list I'm not following that discusses these changes ahead > of time? Do we need a list for Ubuntu Core, the

Re: More Ubuntu-Core boot up problems...

2016-09-07 Thread MikeB
On 2016-09-07 at 06:56:38 -0400, MikeB wrote: > > However, when I try to add a new user, it fails as follows. I've tried > rebooting, etc, but that didn't change anything. New users have to be added to the extrausers files. sudo adduser --extrausers works for adding a new user. However, the

Re: Access to a Serial Port using Java RXTX library

2016-09-07 Thread Jenny Murphy
Hi, I am having some difficulty building RXTX (get unsatisfied link errors with the new shared objects and jar file). Is there an other alternative to workaround my original problem with the permissions to use lock file? Thanks. On 6 September 2016 at 12:48, Loïc Minier

Re: More Ubuntu-Core boot up problems...

2016-09-07 Thread Oliver Grawert
hi, Am Mittwoch, den 07.09.2016, 08:54 -0400 schrieb MikeB: > On 2016-09-07 at 06:56:38 -0400, MikeB wrote: > > > > However, when I try to add a new user, it fails as follows. I've > > tried rebooting, etc, but that didn't change anything. > New users have to be added to the extrausers files. >

Re: More Ubuntu-Core boot up problems...

2016-09-07 Thread Jamie Bennett
Hi Mike, > On 6 Sep 2016, at 21:27, MikeB wrote: > > I'm building a Ubuntu Core image using latest snapcraft to build a 4.4-based > kernel snap. > > I then use ubuntu-device-flash core 16 --channel=edge --kernel=$snap > --gadget=pc --os=ubuntu-core -o $IMG to create the

Re: More Ubuntu-Core boot up problems...

2016-09-07 Thread Oliver Grawert
hi, On Mi, 2016-09-07 at 06:03 -0400, MikeB wrote: > Yes, I have gone through the manual setup of the first user > successfully.  However, I've tried every combination of user name and > password I could think of and none of them allow me to login. > > Given that I've set up the first user using

Re: More Ubuntu-Core boot up problems...

2016-09-07 Thread MikeB
Yes, I have gone through the manual setup of the first user successfully. However, I've tried every combination of user name and password I could think of and none of them allow me to login. Given that I've set up the first user using the email address I use for Ubuntu One, what should I use for

Re: No such file or directory when try to execute gsettings

2016-09-07 Thread PC Actual
Hi Sebastien! First of all, thank you very much for your suggestions :) I get your point and I think this is the real problem. I guess gsettings command line tool from the snap is storing the correct key/value inside the snap, but the "native" dconf database is not getting the new value, because

Re: More Ubuntu-Core boot up problems...

2016-09-07 Thread Oliver Grawert
hi, On Mi, 2016-09-07 at 11:26 +0100, Ondrej Kubik wrote: >  > > if firstboot would actually block the boot without model assertion, > > porting to a new device would be nearly impossible :) > Sadly this is exactly the case. I'm trapped in same situation, using > own gadget snap and building image

Re: Snapping Neovim

2016-09-07 Thread Matthew Williams
Hi Gustavo, devmode was what I was thinking, I'd not consider an interface like that, I'll look into it Thanks Matty On Wed, Sep 7, 2016 at 11:58 AM, Gustavo Niemeyer < gustavo.nieme...@canonical.com> wrote: > They can install it as devmode, and we can also introduce an > "editor-support"

Re: More Ubuntu-Core boot up problems...

2016-09-07 Thread Victor Palau
Hi Mike, We are seeing a similar issue, my understanding is to create a working image right now for the edge channel you require a model assertion. However, the changes to upload your key to the store, so you can sign your own model assertion and the right tools to then build an image from

Re: More Ubuntu-Core boot up problems...

2016-09-07 Thread Michael Hudson-Doyle
On 7 September 2016 at 21:52, Oliver Grawert wrote: > > depending on the console (console-conf isnt actually great with serial) > you will not see the "please press enter" message that starts the > config tool though. I'd love to know why this isn't working, btw. We're just

Re: More Ubuntu-Core boot up problems...

2016-09-07 Thread MikeB
On 2016-09-07 at 03:28:35 -0700, Ondrej Kubik wrote: Sadly this is exactly the case. I'm trapped in same situation, using own > gadget snap and building image from edge channel. It won't boot as snapd > crashes with missing model assertion Initially, I didn't see snapd crashing during boot on

Re: Access to a Serial Port using Java RXTX library

2016-09-07 Thread Loïc Minier
Great; now we even have google juice for other people trying to use RXTX with snaps, thanks! :-) On Wed, Sep 7, 2016 at 4:04 PM, Jenny Murphy wrote: > Hi, > No, actually the configure file in RXTX needed to be modified to support > java 1.7 : > > > case

Re: /snap/bin not in $PATH on desktop

2016-09-07 Thread Zygmunt Krynicki
> On 7 Sep 2016, at 13:16, Sylvain Pineau wrote: > > Hello, > > I noticed that I was not able to call other snap commands from my own snap on > my desktop. > So I tested what was defined using the hello-world.env command. > > On desktop (with ubuntu-core 16.04.1

Re: Access denied to /dev/ttyUSB0

2016-09-07 Thread Zygmunt Krynicki
> On 7 Sep 2016, at 16:05, Loïc Minier wrote: > > Hi, > > You need to use: > plugs: [serial-port] > I don’t think this will work as this is a 15.04 based system. Jenny, can you confirm that you are using Ubuntu Core 15.04? Best regards ZK -- Snapcraft mailing

Re: Access denied to /dev/ttyUSB0

2016-09-07 Thread Simon Fels
On 07.09.2016 15:05, Loïc Minier wrote: > Hi, > > You need to use: > > plugs: [serial-port] > > In your snapcraft.yaml; then you also have to connect your snap to that > interface manually as it's not autoconnected; check "snap interfaces" to > see which plugs and slots are connected. That

Re: Access denied to /dev/ttyUSB0

2016-09-07 Thread Loïc Minier
Ok, then this should work: sudo snappy hw-assign yoursnap /dev/ttyUSB0 On Wed, Sep 7, 2016 at 4:41 PM, Jenny Murphy wrote: > Yes I am using Ubuntu 15.04 > On 7 Sep 2016 15:24, "Zygmunt Krynicki" > wrote: > >> >> > On 7 Sep 2016, at

Re: More Ubuntu-Core boot up problems...

2016-09-07 Thread Gustavo Niemeyer
Rather than splitting Ubuntu Core, I suggest splitting device building. Ubuntu Core is just another distribution using snaps, so discussing the well-being of snaps and snapd inside it sounds like a welcome topic here. Device building and image tuning is a world on itself, though. On Wed, Sep 7,

Re: Access denied to /dev/ttyUSB0

2016-09-07 Thread Loïc Minier
Hi, You need to use: plugs: [serial-port] In your snapcraft.yaml; then you also have to connect your snap to that interface manually as it's not autoconnected; check "snap interfaces" to see which plugs and slots are connected. Cheers, - Loïc Minier On Wed, Sep 7, 2016 at 4:00 PM, Jenny

Re: Access denied to /dev/ttyUSB0

2016-09-07 Thread Jenny Murphy
Yes I am using Ubuntu 15.04 On 7 Sep 2016 15:24, "Zygmunt Krynicki" wrote: > > > On 7 Sep 2016, at 16:05, Loïc Minier wrote: > > > > Hi, > > > > You need to use: > > plugs: [serial-port] > > > > I don’t think this will work as this is a

Ubuntu Core 16 beta images available

2016-09-07 Thread Michael Vogt
Ubuntu Core 16 Images = The Ubuntu snappy team is happy to announce the first beta images for Ubuntu Core 16. The images use the snapd package manager to install and update all components of the system including kernel, core, gadget and applications. The images are available

Re: Ubuntu Core 16 beta images available

2016-09-07 Thread Gustavo Niemeyer
Thanks so much and congratulations to everybody who worked hard to put in place this initial public release of Ubuntu Core, a minimalist Linux distribution that uses snaps as its building blocks. Special thanks as well to Michael, Oliver Grawert, Martin Pitt, and others who've put all the bits in

Re: Access denied to /dev/ttyUSB0

2016-09-07 Thread Enrique Hernández Bello
Hello, taking advantage of this thread, what is the right way to grant access of a /dev/ttyS0 to our snap in Ubuntu Core 16? Regards. 2016-09-07 15:26 GMT+01:00 Simon Fels : > On 07.09.2016 15:05, Loïc Minier wrote: >> Hi, >> >> You need to use: >> >> plugs:

Re: Working LDC snap [was: Re: Snapping LDC (LLVM-based D compiler)]

2016-09-07 Thread Joseph Rushton Wakeling
On 05/09/16 00:25, Joseph Rushton Wakeling wrote: One problem fixed (the inclusion of `build-essential` as a build dependency ensures the snap will build in a `cleanbuild` environment), but one remains: it looks like the `ldc-config` part (which manually replaces the incorrectly auto-generated

Re: Access denied to /dev/ttyUSB0

2016-09-07 Thread Jenny Murphy
Hi, Thats works great, thanks a million. On 7 September 2016 at 16:14, Loïc Minier wrote: > Ok, then this should work: > sudo snappy hw-assign yoursnap /dev/ttyUSB0 > > > On Wed, Sep 7, 2016 at 4:41 PM, Jenny Murphy > wrote: > >> Yes I am