Re: Configs are still available after snap is removed. Bug or feature?

2017-03-07 Thread Jian LUO
Thanks Pat. Should try searching on Launchpad first.😅 Cheers, Jian Am 07.03.2017 11:25 nachm. schrieb "Pat McGowan" : On Tue, Mar 7, 2017 at 1:38 PM, Jian LUO wrote: > Hi list, > > I found out that if a certain snap got removed, its configuration set by > snapctl is still accessible through

Re: Configs are still available after snap is removed. Bug or feature?

2017-03-07 Thread Pat McGowan
On Tue, Mar 7, 2017 at 1:38 PM, Jian LUO wrote: > Hi list, > > I found out that if a certain snap got removed, its configuration set by > snapctl is still accessible through 'snap get'. Is it a bug or a feature? > And if it's a feature, what is the use case? > Jian See https://bugs.launchpad.ne

RE: snapcraft 2.27 has been released

2017-03-07 Thread Joe Coates
This thread got sidetracked to a different discussion, but I am seeing issues related to the original question. I have a simple test app which looks like this in snapcraft .yaml: apps: tester: command: usr/bin/echo-vars.sh environment: MY_RO_AREA: $SNAP MY_RO_AREA_BAD: $SNAP/

Configs are still available after snap is removed. Bug or feature?

2017-03-07 Thread Jian LUO
Hi list, I found out that if a certain snap got removed, its configuration set by snapctl is still accessible through 'snap get'. Is it a bug or a feature? And if it's a feature, what is the use case? Thanks, Jian -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubsc

Re: Handling versioning of platform snaps

2017-03-07 Thread Tim Süberkrüb
Hey Sergio and Mark, thanks very much for your help. After discussing different possible solutions in the team and the conversation on rocket chat I think that this is probably the best solution currently possible. We also considered other ways like placing different library versions in the p

Re: systemd timers

2017-03-07 Thread Gustavo Niemeyer
Yes, that's definitely what we want to do. Have a description in the app section in the yaml which allows recurring execution. On Tue, Mar 7, 2017 at 1:27 PM, Mark Shuttleworth wrote: > > I think scheduled tasks make sense as a first-class primitive. In the > same way we don't simply embed syste

Re: systemd timers

2017-03-07 Thread Mark Shuttleworth
I think scheduled tasks make sense as a first-class primitive. In the same way we don't simply embed systemd units, but rather describe what we want and have snapd generate the units accordingly, we probably want to describe a simple kind of schedule and have snapd map that to either cron or syste

Re: workaround for connect no autoconnect interfaces without login on system

2017-03-07 Thread Mark Shuttleworth
On 07/03/17 07:05, Nicolino Curalli wrote: > A question for go ahead from my side: > how can I request the store to add an auto connection statement to the > snap declaration assertion ? On this list, just outline: * the top-level binary name you think should be claimed * why that is unlikely t

Re: workaround for connect no autoconnect interfaces without login on system

2017-03-07 Thread Nicolino Curalli
Hi kyleN thanks so much for the answer. A question for go ahead from my side: how can I request the store to add an auto connection statement to the snap declaration assertion ? Thanks a lot Nicolino Il 07/03/2017 15:20, knitzsche ha scritto: > I don't think the prepare-device script can be

Re: workaround for connect no autoconnect interfaces without login on system

2017-03-07 Thread knitzsche
I don't think the prepare-device script can be used to auto connect, probably because it runs confined. You can request the store to add an auto connection statement to the snap declaration assertion. Cheers kyleN On 03/07/2017 05:19 AM, Nicolino Curalli wrote: Hi all, I implemented hints

Re: Handling versioning of platform snaps

2017-03-07 Thread Sergio Schvezov
On Tue, 7 Mar 2017 05:06:46 -0800, Mark Shuttleworth wrote: > Hi Tim > > Welcome aboard, and thank you, this is exactly the type of question we > want to be solving together on this list. > > The simplest approach would be to insert a major version/ABI indcation > in the platform snap name. Somethi

Re: Handling versioning of platform snaps

2017-03-07 Thread Mark Shuttleworth
Hi Tim Welcome aboard, and thank you, this is exactly the type of question we want to be solving together on this list. The simplest approach would be to insert a major version/ABI indcation in the platform snap name. Something like lirios3 and lirios4 would be a very explicit way to provided dif

Re: [Dragonboard410c] Ubuntu OS Build Issues, and Support

2017-03-07 Thread John Lenton
note that in that log, snapd isn't running because snapd[2217]: fatal error: runtime: out of memory On 22 February 2017 at 07:52, Sunny Bhayani wrote: > Hi Ogra, > > Appreciate for your help. > >> hi, >> Am Freitag, den 17.02.2017, 10:06 + schrieb Sunny Bhayani: >> > >> > >> > You are correc

Re: workaround for connect no autoconnect interfaces without login on system

2017-03-07 Thread Nicolino Curalli
Hi all, I implemented hints from James but it doesn't works. I create a new gadget snap based on pc gadget for amd64, adding a hook directory with a prepare-device hook script. I make this script executable. I build an image containg my gadget (domotz-pc), pc-kernel and nmap snap from store. T