Re: Optional daemon

2016-11-02 Thread Didier Roche
Le 28/10/2016 à 21:00, Aaron Ogle a écrit : > Point definitely well made. I'm with you now. :) > > Now this being the case. I can't just swap the location. This is > where I would need a rock solid upgrade hook. But I would only need > to run it the once. Any suggestions? Or any good examples

Re: snap integration with XFCE

2016-11-02 Thread Didier Roche
Le 01/11/2016 à 21:18, Eloy García (PC Actual) a écrit : > Hi Didier, hi all. > > I've been trying to accomplish this mission but I miss something (my bet > is that I need an interface similar to gsettings but it doesn't exist > something like this). > > 1.- I have successfully created a symlink

Re: xterm

2016-11-02 Thread Didier Roche
Le 01/11/2016 à 14:55, Joe Coates a écrit : > > The main app in my snapped feature wants to initiate some xterm > sessions and run a different local snap command in each. However, I > can’t manage to get a terminal emulator of any sort to behave > correctly within the snap (if they startup at all,

Snap Shadowsocks and publish it to the Ubuntu Store

2016-11-02 Thread XiaoGuo Liu
Hi, Today, I created a tutorial about how to snap shadowsocks and publish it into Ubuntu Store. Tutorial: 如何snap Shadowsocks并发布到Ubuntu Store Souce code: https://github.com/liu-xiao-guo/ss-qt Ubuntu Core link: https://uappexplorer.com/app

Re: xterm

2016-11-02 Thread Jamie Strandboge
On Wed, 2016-11-02 at 09:02 +0100, Didier Roche wrote: > Le 01/11/2016 à 14:55, Joe Coates a écrit : > > > >  > > Does anyone do terminal emulation from a snap ? > > > This is still quite hard to achieve nowdays (I did try myself half a > year ago with byobu/tmux), due to a couple of issues: > -

Re: Optional daemon

2016-11-02 Thread Kyle Fazzari
On 11/02/2016 12:41 AM, Didier Roche wrote: > Le 28/10/2016 à 21:00, Aaron Ogle a écrit : >> Point definitely well made. I'm with you now. :) >> >> Now this being the case. I can't just swap the location. This is >> where I would need a rock solid upgrade hook. But I would only need >> to run

Re: Snap Shadowsocks and publish it to the Ubuntu Store

2016-11-02 Thread Joey Chan
Yo, looks like a good tutorial for Chinese devs~ 😀 2016-11-02 17:36 GMT+08:00 XiaoGuo Liu : > Hi, > > Today, I created a tutorial about how to snap shadowsocks and publish it > into Ubuntu Store. > > Tutorial: 如何snap Shadowsocks并发布到Ubuntu Store >

core_383.snap missing after reboot of Ubuntu-Core

2016-11-02 Thread Luke Williams
Hello, I have an interresting situation happening. I created a custom ubuntu-core image with a custom kernel snap from yakkety from kernel.ubuntu.com . I build the snap using the included snapcraft.yaml and just changing the name and version number and description an

Problem removing a snap

2016-11-02 Thread Chris
I went to remove a snap, viking-gps, and it just sat there doing nothing. I did a CTRL-C to stop the process. So, running snap changes showed me 343  Doing   2016-11-02T17:22:13Z  - Remove "viking-gps" snap Then running snap change 343, since it was still running I get: chris

Re: Problem removing a snap

2016-11-02 Thread Gustavo Niemeyer
Hi Chris, Can you please try updating your snapd package? Recent releases have a more reliable remove procedure that handles these cases better. On Wed, Nov 2, 2016 at 6:40 PM, Chris wrote: > I went to remove a snap, viking-gps, and it just sat there doing > nothing. I did a CTRL-C to stop the

Re: Problem removing a snap

2016-11-02 Thread Chris
On Wed, 2016-11-02 at 18:43 -0200, Gustavo Niemeyer wrote: > Hi Chris, > > Can you please try updating your snapd package? > > Recent releases have a more reliable remove procedure that handles > these cases better.  > According to apt-cache policy chris@localhost:~$ apt-cache policy snapd snap

Re: Problem removing a snap

2016-11-02 Thread Gustavo Niemeyer
Ok, thanks for those details. We'll look more deeply into this tomorrow and try to reproduce the issue. To fix your problem, can you please try this simple hack to get over the bug: sudo mount --bind /snap/ubuntu-core/current /snap/viking-gps/1 This should allow the remove to go through. On We

Re: Problem removing a snap

2016-11-02 Thread Chris
On Wed, 2016-11-02 at 20:06 -0200, Gustavo Niemeyer wrote: > Ok, thanks for those details. We'll look more deeply into this > tomorrow and try to reproduce the issue. > > To fix your problem, can you please try this simple hack to get over > the bug: > > sudo mount --bind /snap/ubuntu-core/curren

Re: Problem removing a snap

2016-11-02 Thread Gustavo Niemeyer
There's no need to attempt to remove again. snapd has proper state tracking and still remembers that you are trying to remove that snap. If you kept the directory mounted as suggested, by now it should already be gone. On Wed, Nov 2, 2016 at 8:34 PM, Chris wrote: > On Wed, 2016-11-02 at 20:06

Re: Problem removing a snap

2016-11-02 Thread Chris
On Wed, 2016-11-02 at 20:40 -0200, Gustavo Niemeyer wrote: > > There's no need to attempt to remove again. snapd has proper state > tracking and still remembers that you are trying to remove that snap. > > If you kept the directory mounted as suggested, by now it should > already be gone. > I'd

Re: Problem removing a snap

2016-11-02 Thread Seth Arnold
On Wed, Nov 02, 2016 at 05:34:10PM -0500, Chris wrote: > chris@localhost:~$ sudo mount --bind /snap/ubuntu-core/current > /snap/viking-gps/1 > [sudo] password for chris:  > mount: mount point /snap/viking-gps/1 does not exist Either a file or directory needs to exist in the filesystem for a mount

Re: Problem removing a snap

2016-11-02 Thread Chris
On Wed, 2016-11-02 at 16:57 -0600, Seth Arnold wrote: > On Wed, Nov 02, 2016 at 05:34:10PM -0500, Chris wrote: > > > > chris@localhost:~$ sudo mount --bind /snap/ubuntu-core/current > > /snap/viking-gps/1 > > [sudo] password for chris:  > > mount: mount point /snap/viking-gps/1 does not exist > Ei

Re: Problem removing a snap

2016-11-02 Thread Gustavo Niemeyer
It wasn't dumb at all.. this looks like an issue that we very much want to fix, or have already fixed in 2.17 which is due very soon. We'll have a look and make sure it's sorted. Thanks for reporting it. On Wed, Nov 2, 2016 at 9:03 PM, Chris wrote: > On Wed, 2016-11-02 at 16:57 -0600, Seth Arno

Re: core_383.snap missing after reboot of Ubuntu-Core

2016-11-02 Thread Luke Williams
Figured it out with the help of community. It was due to my kernel snap having a specific name in my assertion and it was causing the core snap to remove itself after failed boot. I had to give the assertion model the generic “name” of my kernel snap and then point the actual kernel snap file na

Re: core_383.snap missing after reboot of Ubuntu-Core

2016-11-02 Thread Gustavo Niemeyer
Glad you figured it out. Note that the behavior of removing the snap from the original seed was actually a bug we already fixed. The stable image will be out very soon, and has that problem as well as many others properly fixed. On Wed, Nov 2, 2016 at 9:21 PM, Luke Williams wrote: > Figured it

[NEWS] Altoros (Cloud Foundry) using Snaps

2016-11-02 Thread Michael Hall
https://blog.altoros.com/how-to-use-snap-packages-when-collecting-iot-data-with-predix-time-series.html "Judging from our experience with snaps, developing, as well as publishing, them is quite easy, and the process is supported by good enough documentation." -- Michael Hall mhall...@ubuntu.com