Re: Only Docker snap is allowed to use "docker" and "docker-control" interfaces?

2016-12-13 Thread YC Cheng
Hi Gustavo, Good to hear. Let me also publish this article: [Snappy Interfaces revisit] https://docs.google.com/document/d/1stvuyn6evk9df7s58ZSAq7g5QOV5gxmWCVqiyEuwDDs/edit?usp=sharing Feel like the work flow in page 3 need to update after you release the new snapd. YC 2016-12-14 10:40

Re: Snapcraft's state tracking improvements

2016-12-13 Thread Didier Roche
Le 13/12/2016 à 22:57, Kyle Fazzari a écrit : > Hey everyone. Hey Kyle > > I feel it coming on... this is going to be a tome. tl;dr... snapcraft > could be smarter than it is. But would that lead to its doing more for > you than you want? We'd like to find out. > > I've spoken to a few of you

Re: Only Docker snap is allowed to use "docker" and "docker-control" interfaces?

2016-12-13 Thread Gustavo Niemeyer
One detail: note that once your snap goes into the store and passes reviews, that issue goes away. Actual users of your snap in the wild don't have to say --dangerous. On Wed, Dec 14, 2016 at 12:40 AM, Gustavo Niemeyer < gustavo.nieme...@canonical.com> wrote: > Hey Peng, > > We've overlooked a

Re: can't log in on ubuntu core console via sso...

2016-12-13 Thread YC Cheng
IMHO. a password only works for console but not for internet is more secure and developer will appreciate. 2016-12-14 8:40 GMT+08:00 Mark Shuttleworth : > On 13/12/16 19:35, Dan Kegel wrote: > > I'm very confused. You have SSO. You tell people to create an SSO > > account to

Re: can't log in on ubuntu core console via sso...

2016-12-13 Thread Mark Shuttleworth
On 13/12/16 19:35, Dan Kegel wrote: > I'm very confused. You have SSO. You tell people to create an SSO > account to use the device. Yet SSO can't be used to log into the > system at the console. ?? SSH keys associated with the SSO account are pulled into the device, so you can SSH to it. We

Re: can't log in on ubuntu core console via sso...

2016-12-13 Thread Luther Goh Lu Feng
I believe SSO account is simply to host your ssh keys that can be used to login to the device. Perhaps better documentation will provide improved clarity. -- Luther On Wednesday, December 14, 2016 8:36 AM, Dan Kegel wrote: This is with a very freshly downloaded image,

Re: can't log in on ubuntu core console via sso...

2016-12-13 Thread Luther Goh Lu Feng
I am assuming console means the login prompt like this: == Ubuntu Core 16 on 192.168.0.10 (ttyO0) localhost login: == I do feel that the current secure default works the best. Those who need to set a local password will find a way to do it since it is their requirement

Re: Snapcraft's state tracking improvements

2016-12-13 Thread Seth Arnold
On Tue, Dec 13, 2016 at 01:57:20PM -0800, Kyle Fazzari wrote: > *Option 2*: Automatically take care of everything. If you modify a part > with dependencies, snapcraft will rebuild those dependencies as it sees > fit without your needing to say so. Similarly, if you clean a part with This options

Re: can't log in on ubuntu core console via sso...

2016-12-13 Thread Mark Shuttleworth
The thing that worries me is the likelihood of bad passwords being set. We don't necessarily know what the software is on the device, and people are likely to reuse passwords that are important to them on other systems. So we though SSH enablement was the cleaner safer way to tty. Happy to take

Re: Snapcraft 2.23 restricts dump plugin capability

2016-12-13 Thread Kyle Fazzari
Indeed, from the example it looks like you could make it work with only the single `part-aa` plus some good use of the organize keyword along with stage/snap to whitelist only those components. On 12/13/2016 02:25 PM, Matthew Aguirre wrote: > Can you do the organize in the build instead of post

Re: Snapcraft 2.23 restricts dump plugin capability

2016-12-13 Thread Matthew Aguirre
Can you do the organize in the build instead of post organizing with the dump? I used to do something similar with copy, but then dump didn't do what I needed, so switched it up. On Dec 13, 2016 5:21 PM, "Joe Coates" wrote: > My snap includes a part which has an

Re: can't log in on ubuntu core console via sso...

2016-12-13 Thread Dan Kegel
So... the instructions saying to create an account on launchpad etc. don't get you a console login, by design? That's highly confusing, and could stand clarifying. On Tue, Dec 13, 2016 at 1:00 PM, Gregory Lutostanski wrote: >

Re: Development environment for debs and snaps for raspberry pi 3?

2016-12-13 Thread Dan Kegel
On Tue, Dec 13, 2016 at 11:52 AM, David Callé wrote: > An easy way to achieve this is to install the "classic" snap Ah, yeah, I'd forgotten about that, thanks. - Dan -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at:

Re: Error trying to access to dbus

2016-12-13 Thread Jamie Strandboge
On Tue, 2016-12-13 at 15:32 -0300, Sergio Cazzolato wrote: > I am trying to access to dbus from a python script in my snap and I am > getting the error dbus.exceptions.DBusException: > org.freedesktop.DBus.Error.AccessDenied: Failed to connect to socket > /var/run/dbus/system_bus_socket:

Re: Development environment for debs and snaps for raspberry pi 3?

2016-12-13 Thread David Callé
On 13/12/2016 20:46, Dan Kegel wrote: > Hi, > I'm building debs and snaps for a raspberry pi 3. > Questions: > 1) when last I did this, https://ubuntu-pi-flavour-maker.org/ was the > best place to get real ubuntu for the pi 3 (the one listed on the > ubuntu wiki didn't boot reliably). Is that

Development environment for debs and snaps for raspberry pi 3?

2016-12-13 Thread Dan Kegel
Hi, I'm building debs and snaps for a raspberry pi 3. Questions: 1) when last I did this, https://ubuntu-pi-flavour-maker.org/ was the best place to get real ubuntu for the pi 3 (the one listed on the ubuntu wiki didn't boot reliably). Is that still true? What do other folks use? 2) if one were

Error trying to access to dbus

2016-12-13 Thread Sergio Cazzolato
I am trying to access to dbus from a python script in my snap and I am getting the error dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Failed to connect to socket /var/run/dbus/system_bus_socket: Permission denied, it happens when I do bus =

Re: Daemon: dbus examples

2016-12-13 Thread Ted Gould
On Tue, 2016-12-13 at 09:31 +1000, Michi Henning wrote: > > In snapd 2.20 we are working to have the 'dbus' generic interface > > in place[2]. With it you can specify the bus name (session or > > system), the well-known name to bind to and then use interface > > connections to connect your client

Re: Daemon: dbus examples

2016-12-13 Thread Jamie Strandboge
On Tue, 2016-12-13 at 09:31 +1000, Michi Henning wrote: > > > > In snapd 2.20 we are working to have the 'dbus' generic interface in > > place[2]. > > With it you can specify the bus name (session or system), the well-known > > name to > > bind to and then use interface connections to connect

Re: Recommended ways of installing configuration files in SNAP_USER_DATA?

2016-12-13 Thread Jacek Nykis
On 13/12/16 09:42, Stuart Bishop wrote: >> I might be one step close to getting this to work but I was wondering what >> is the common/recommended practice to do what I’m trying to achieve here? > > > I used the same approach you did, and got it building locally and working ( >

Re: Recommended ways of installing configuration files in SNAP_USER_DATA?

2016-12-13 Thread Stuart Bishop
On 13 December 2016 at 02:27, Ivan Lezhnjov IV wrote: > Hi, > > I’m working on pgbouncer snap package and as I’m new to snaps I wanted to > ask the community what is the current preferred way to install a program’s > configuration files that are meant to be edited by