Can't update snapweb
Through out the day when it comes time for snap refresh to run I've noticed that it can't update snapweb. Running manually shows chris@localhost:~$ sudo snap refresh error: cannot perform the following tasks: - Run configure hook of "snapweb" snap if present (/usr/bin/env: 'python': No such file or directory) I also get this output in my syslog. Mind the extra stuff not pertaining to the update as there is some here and there. https://pastebin.com/i7ffAEuS And what is all this starting here - Feb 18 19:15:07 localhost /usr/lib/gdm3/gdm-x-session[2315] it shows up each time today that snapweb was trying to be updated. -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 19:13:54 up 15 days, 11:12, 2 users, load average: 2.48, 2.20, 1.26 Description:Ubuntu 16.04.2 LTS, kernel 4.4.0-62-generic signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Can't update snapweb
On Mon, 2017-02-20 at 11:09 +0100, David Barth wrote: > > > On Sun, Feb 19, 2017 at 2:24 AM, Chris wrote: > > Through out the day when it comes time for snap refresh to run I've > > noticed that it can't update snapweb. Running manually shows > > > > > > > > chris@localhost:~$ sudo snap refresh > > > > error: cannot perform the following tasks: > > > > - Run configure hook of "snapweb" snap if present (/usr/bin/env: > > > > 'python': No such file or directory) > > This is a bug that slipped in the last merge, which is then automatically pushed to edge. > We'll have a fix for it in the day. > > David > > > > Thanks David, matter of fact I got a reply on the bug report this morning. Appreciate the update -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 11:28:52 up 2:46, 1 user, load average: 1.40, 0.73, 0.56 Description:Ubuntu 16.04.2 LTS, kernel 4.4.0-63-generic signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Can't update snapweb
On Mon, 2017-02-20 at 09:02 -0500, Alexandre Abreu wrote: > > > > > > > On Sun, Feb 19, 2017 at 2:24 AM, Chris wrote: > > > > > > Through out the day when it comes time for snap refresh to run I've > > > noticed that it can't update snapweb. Running manually shows > > > > > > > > > > > > chris@localhost:~$ sudo snap refresh > > > > > > error: cannot perform the following tasks: > > > > > > - Run configure hook of "snapweb" snap if present (/usr/bin/env: > > > > > > 'python': No such file or directory) > > > > > > > > There is a fix for this, it'll be part of the daily snapweb release to edge, > https://github.com/snapcore/snapweb/pull/164 > > > > Thanks Alexandre, appreciate the update. -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 11:29:46 up 2:47, 1 user, load average: 1.03, 0.72, 0.56 Description:Ubuntu 16.04.2 LTS, kernel 4.4.0-63-generic signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Question on where snaps are stored
Firstly I'm just a user of snaps, not a developer however I like the way everything is packaged together and their ease of installation, updating and, if necessary removal. My question is in my ~/snap folder certain of the snaps I've installed have subfolders, however some don't. I was under the impression that all installed snaps are put there. For example: /dev/loop1 97M 97M 0 100% /snap/wallpaperdownloader/4 drwxrwxr-x 3 chris chris 4096 Oct 8 11:36 wallpaperdownloader /dev/loop2 11M 11M 0 100% /snap/speed-test/2 drwxr-xr-x 4 chris chris 4096 Oct 9 17:32 speed-test /dev/loop3 62M 62M 0 100% /snap/pencilsheep/5 drwxr-xr-x 4 chris chris 4096 Oct 6 19:09 pencilsheep /dev/loop4 640K 640K 0 100% /snap/hello-snap/1 (There is no folder for this under ~/snap) /dev/loop5 107M 107M 0 100% /snap/blender-tpaw/2 drwxr-xr-x 4 chris chris 4096 Oct 6 20:12 blender-tpaw I've noticed other snaps I install do the same. They show up in the /dev/loop* however not as a folder in my ~/snap. Am I missing something on how they install? Chris -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 19:32:07 up 12 days, 11:56, 1 user, load average: 0.44, 0.28, 0.19 Ubuntu 16.04.1 LTS, kernel 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Question on where snaps are stored
On Mon, 2016-10-10 at 10:59 +1000, Jacob Zimmermann wrote: > The snap packages themselves are simply copied into > /var/lib/snapd/snaps > and then mounted into /snap (via /dev/loop). > > The folders under ~/snap are for configuration files and per-package > home directories (for those packages that don't have a home plug and > therefore don't access your real home directory). If a given user > never > launched a certain snapped app, that user wouldn't have the > corresponding subdir under ~/snap. > > Or at least I believe that's how it works, please someone correct me > if > I'm wrong. > For instance I just reinstalled this snap - https://uappexplorer.com/ap p/hello-snap.muhammad and you're correct, the folder in ~/snap is not present until I run 'hello-world'. You're absolutely correct Jacob. > On 10/10/16 10:43, Chris wrote: > > > > Firstly I'm just a user of snaps, not a developer however I like > > the > > way everything is packaged together and their ease of installation, > > updating and, if necessary removal. My question is in my ~/snap > > folder > > certain of the snaps I've installed have subfolders, however some > > don't. I was under the impression that all installed snaps are put > > there. For example: > > > > /dev/loop1 97M 97M 0 100% /snap/wallpaperdownloader/4 > > drwxrwxr-x 3 chris chris 4096 Oct 8 11:36 wallpaperdownloader > > /dev/loop2 11M 11M 0 100% /snap/speed-test/2 > > drwxr-xr-x 4 chris chris 4096 Oct 9 17:32 speed-test > > /dev/loop3 62M 62M 0 100% /snap/pencilsheep/5 > > drwxr-xr-x 4 chris chris 4096 Oct 6 19:09 pencilsheep > > /dev/loop4 640K 640K 0 100% /snap/hello-snap/1 > > (There is no folder for this under ~/snap) > > /dev/loop5 107M 107M 0 100% /snap/blender-tpaw/2 > > drwxr-xr-x 4 chris chris 4096 Oct 6 20:12 blender-tpaw > > > > I've noticed other snaps I install do the same. They show up in the > > /dev/loop* however not as a folder in my ~/snap. Am I missing > > something > > on how they install? > > > > Chris > > > -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 20:12:44 up 12 days, 12:36, 1 user, load average: 0.20, 0.35, 0.22 Ubuntu 16.04.1 LTS, kernel 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Snap sources
Other than those shown here - https://uappexplorer.com/apps?type=snappy &sort=title are there other places to get Snaps from? -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 16:44:21 up 4:49, 1 user, load average: 0.38, 0.20, 0.12 Ubuntu 16.04.1 LTS, kernel 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Snap sources
On Mon, 2016-10-10 at 16:06 -0700, Manik Taneja wrote: > > > > On Mon, Oct 10, 2016 at 2:45 PM, Chris > wrote: > > Other than those shown here - https://uappexplorer.com/apps?type=sn > > appy > > &sort=title are there other places to get Snaps from? > uappexplorer is just a web frontend to the Ubuntu Store > infrastructure, which is our > repository of snaps. There are no other publicly available snap repos > that we are > aware of. Are you just looking to find out the exhaustive list of > snaps available for > consumption? or you are trying to solve something else? > > Cheers, > Manik > Thanks Manik, I was looking for the available snaps. I'm using a few so far and I really like the way they work and the ease of installation. Chris -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 19:36:46 up 1:46, 1 user, load average: 0.47, 0.43, 0.35 Ubuntu 16.04.1 LTS, kernel 4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:11:45 UTC 2016 -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Snap sources
On Tue, 2016-10-11 at 09:56 +0200, Didier Roche wrote: > Le 10/10/2016 à 23:45, Chris a écrit : > > > > Other than those shown here - https://uappexplorer.com/apps?type=sn > > appy > > &sort=title are there other places to get Snaps from? > > > Actually, there is now! > > If you use the beta3 images, they come with snapweb baked in > (listening > on port 4200). You can connect to it, click on "store" and you will > see > the available snaps for your architecture! > > You should be able to install it as well on your desktop system. > > Didier > Thanks for that Didier. Question, not sure which 'beta3 images' you're referring to I went here https://github.com/snapcore/snapweb and have installed GO and set up the path variables chris@localhost:~$ go env GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="/home/chris/GO_PROJECTS" GORACE="" GOROOT="/usr/lib/go" GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64" GO15VENDOREXPERIMENT="1" CC="gcc" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0" CXX="g++" CGO_ENABLED="1" So now I guess I need to proceed and install nodejs and npm as shown in the 'Building' section. Chris -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 08:28:55 up 14:38, 1 user, load average: 0.17, 0.26, 0.37 Ubuntu 16.04.1 LTS, kernel 4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:11:45 UTC 2016 -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Snap sources
On Mon, 2016-10-10 at 23:29 -0600, Spencer wrote: > One advantage of snaps, I believe, is that the dependencies are baked > into them. Otherwise, your app can stop working after installation > if a dependency is updated or otherwise changed. I'm not sure what > other advantages there may be. One downside is extra memory cost, > but with storage up to a terabyte being typical, I don't think it > matters too much. > That's one of the main reasons I like using snaps, everything is built in, I don't have to search all over for dependencies. As you said, everything is there. > Though I have an Intel machine, my snaps always say "amd64", which I > think is confusing. > > Supposedly, you can write snaps for the Ubuntu phone. (I have an > iPhone, so I'm not sure what that's about.). And there is something > called the Ubuntu touch? Is that like the iPad? I think some Ubuntu > specific features have been added to Qt as well to help promote > development on Ubuntu. I'm a big fan of wxWidgets, personally. > > And then everything runs in a quarantined environment. If you're > going to open the flood gates on people writing and consuming > programs, security becomes a necessary evil. > That's the main selling point for me, everything is 'sandboxed' > I haven't explored the plugs and slots yet. > I've read about them is about it. I may try my hand as building a few simples ones just to see how easy/hard it is. Chris -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 08:37:19 up 14:47, 1 user, load average: 0.46, 0.23, 0.29 Ubuntu 16.04.1 LTS, kernel 4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:11:45 UTC 2016 -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Snap sources
On Tue, 2016-10-11 at 09:56 +0200, Didier Roche wrote: > Le 10/10/2016 à 23:45, Chris a écrit : > > > > Other than those shown here - https://uappexplorer.com/apps?type=sn > > appy > > &sort=title are there other places to get Snaps from? > > > Actually, there is now! > > If you use the beta3 images, they come with snapweb baked in > (listening > on port 4200). You can connect to it, click on "store" and you will > see > the available snaps for your architecture! > > You should be able to install it as well on your desktop system. > > Didier > Hmm, everything was going really well until I ran the command chris@localhost:~/GO_PROJECTS/src/github.com/snapcore$ git clone git@gi thub.com:snapcore/snapweb.git Cloning into 'snapweb'... Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Not sure what I should be do now. Chris -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 09:19:10 up 15:29, 1 user, load average: 0.38, 0.32, 0.36 Ubuntu 16.04.1 LTS, kernel 4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:11:45 UTC 2016 -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Snap sources
On Tue, 2016-10-11 at 14:30 +, Wes Mason wrote: > On Tue, 11 Oct 2016 at 15:24 Chris wrote: > > On Tue, 2016-10-11 at 09:56 +0200, Didier Roche wrote: > > > > > Le 10/10/2016 à 23:45, Chris a écrit : > > > > > > > > > > > > Other than those shown here - https://uappexplorer.com/apps?typ > > e=sn > > > > > > appy > > > > > > &sort=title are there other places to get Snaps from? > > > > > > > > > > > Actually, there is now! > > > > > > > > > > If you use the beta3 images, they come with snapweb baked in > > > > > (listening > > > > > on port 4200). You can connect to it, click on "store" and you > > will > > > > > see > > > > > the available snaps for your architecture! > > > > > > > > > > You should be able to install it as well on your desktop system. > > > > > > > > > > Didier > > > > > > > > > Hmm, everything was going really well until I ran the command > > > > > > > > chris@localhost:~/GO_PROJECTS/src/github.com/snapcore$ git clone gi > > t@gi > > > > thub.com:snapcore/snapweb.git > > > > Cloning into 'snapweb'... > > > > Permission denied (publickey). > > > > fatal: Could not read from remote repository. > > > > > > > > Please make sure you have the correct access rights > > > > and the repository exists. > > > > > > > > Not sure what I should be do now. > > > > > > > > Chris > > > > > > > Try: sudo snap install snapweb > > What Didier meant is beta3 of Ubuntu Core ships with snapweb baked > in, but your desktop you can install it as a snap (but of course!) :- > ) > > btw - the git error you got is because git was trying to use your SSH > keys to authenticate to github over the git protocol, but you may not > have a github account of keys setup etc., you can try the HTTPS > endpoint instead: git clone https://github.com/snapcore/snapweb.git - > but as you just wanted to install snapweb to play around with, I > wouldn't bother, just try out the snap. Odd because I did setup a github account and added my gpg key. I should have asked earlier before I went through adding other software such as Go and others. The link http://localhost:4200/store works fine for me. I'll stick with that for now. Thanks Chris -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 10:55:13 up 17:05, 1 user, load average: 0.14, 0.36, 0.29 Ubuntu 16.04.1 LTS, kernel 4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:11:45 UTC 2016 -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Ubuntu Snap Store
When browsing snaps at uappexplorer.com I like to middle click and open a new tab in Firefox to read about it which allows me to keep my place in the original tab. At the Snap Store http://localhost:4200/store this isn't possible and if I were to click on a snap to examine it when go back to the store page I have to start all over again. Is there a way the site can be changed to allow for a middle click to open a new tab? I know nothing at all about websites so I don't know how this is done on other sites. Thanks Chris -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 17:55:00 up 8:14, 1 user, load average: 0.33, 0.45, 0.46 Ubuntu 16.04.1 LTS, kernel 4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:11:45 UTC 2016 -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Ubuntu Snap Store
On Thu, 2016-10-13 at 10:15 +0200, David Barth wrote: > Hey Chris, > > It is certainly doable. The URL / object mapping in snapweb is still > a bit funny right now. > You are right, this needs fixing. https://bugs.launchpad.net/snapweb/ > +bug/1632986 > > David Thanks for submitting the bug report David. I subscribed to to it. Didier, thank you for adding David to the conversation. > On Thu, Oct 13, 2016 at 8:30 AM, Didier Roche > wrote: > > Le 13/10/2016 à 01:01, Chris a écrit : > > > When browsing snaps at uappexplorer.com I like to middle click > > and open > > > a new tab in Firefox to read about it which allows me to keep my > > place > > > in the original tab. At the Snap Store http://localhost:4200/stor > > e this > > > isn't possible and if I were to click on a snap to examine it > > when go > > > back to the store page I have to start all over again. Is there a > > way > > > the site can be changed to allow for a middle click to open a new > > tab? > > > I know nothing at all about websites so I don't know how this is > > done > > > on other sites. > > > > > > Thanks > > > Chris > > > > > > > Hey Chris, > > > > I'm adding David Barth to the conversation who has taken the huge > > load > > of reshaping snapweb recently :) > > > > Cheers, > > Didier > > > > -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 08:03:53 up 22:23, 2 users, load average: 0.15, 0.67, 0.70 Ubuntu 16.04.1 LTS, kernel 4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:11:45 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Ubuntu Snap Store
On Thu, 2016-10-13 at 15:06 -0400, Alexandre Abreu wrote: > Hey Chris, > > Thank you for your bug report, > > a fix is ready to be merged for that: > > https://bugs.launchpad.net/snapweb/+bug/1632986 > > It should be fixed in the next snapweb release, > > Cheers > Alex > You're welcome Alex, not sure if it was truly a bug rather than a matter of convenience being able to open another tab with the snap to view. Thanks for making a quick fix. Will this be updated whenever snapd does a refresh to look for updated snaps? Chris > > On Wed, Oct 12, 2016 at 7:01 PM, Chris > wrote: > > When browsing snaps at uappexplorer.com I like to middle click and > > open > > a new tab in Firefox to read about it which allows me to keep my > > place > > in the original tab. At the Snap Store http://localhost:4200/store > > this > > isn't possible and if I were to click on a snap to examine it when > > go > > back to the store page I have to start all over again. Is there a > > way > > the site can be changed to allow for a middle click to open a new > > tab? > > I know nothing at all about websites so I don't know how this is > > done > > on other sites. > > > > Thanks > > Chris > > > > -- > > Chris > > KeyID 0xE372A7DA98E6705C > > 31.11972; -97.90167 (Elev. 1092 ft) > > 17:55:00 up 8:14, 1 user, load average: 0.33, 0.45, 0.46 > > Ubuntu 16.04.1 LTS, kernel 4.4.0-42-generic #62-Ubuntu SMP Fri Oct > > 7 23:11:45 UTC 2016 > > > > > > -- > > Snapcraft mailing list > > Snapcraft@lists.snapcraft.io > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman > > /listinfo/snapcraft > > -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 14:56:14 up 3:39, 1 user, load average: 0.17, 0.13, 0.15 Ubuntu 16.04.1 LTS, kernel 4.4.0-43-generic #63-Ubuntu SMP Wed Oct 12 13:48:03 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Connecting to Ubuntu SnapWeb; https://localhost:4201 shows Your connection is not secure
This is the first time I've noticed this happening and I keep SnapWeb loaded in my browser. The owner of localhost has configured their website improperly. To protect your information from being stolen, Firefox has not connected to this website. localhost:4201 uses an invalid security certificate. The certificate is not trusted because it is self-signed. The certificate is only valid for 127.0.0.1 But, is the error caused by a setting I have not correct? Chris -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 19:21:04 up 4 days, 10:45, 1 user, load average: 0.73, 0.31, 0.20 Ubuntu 16.04.1 LTS, kernel 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Connecting to Ubuntu SnapWeb; https://localhost:4201 shows Your connection is not secure
On Tue, 2016-10-25 at 04:00 +0200, Jo-Erlend Schinstad wrote: > What if you connect to https://127.0.0.1:4201? > https://127.0.0.1:4201/ shows the same error > > On 25 October 2016 at 02:26, Chris wrote: > > This is the first time I've noticed this happening and I keep > > SnapWeb > > loaded in my browser. > > > > The owner of localhost has configured their website improperly. To > > protect your information from being stolen, Firefox has not > > connected > > to this website. > > > > localhost:4201 uses an invalid security certificate. The > > certificate is > > not trusted because it is self-signed. The certificate is only > > valid > > for 127.0.0.1 > > > > But, is the error caused by a setting I have not correct? > > > > Chris > > > > -- > > Chris > > KeyID 0xE372A7DA98E6705C > > 31.11972; -97.90167 (Elev. 1092 ft) > > 19:21:04 up 4 days, 10:45, 1 user, load average: 0.73, 0.31, 0.20 > > Ubuntu 16.04.1 LTS, kernel 4.4.0-45-generic #66-Ubuntu SMP Wed Oct > > 19 14:12:37 UTC 2016 > > > > -- > > Snapcraft mailing list > > Snapcraft@lists.snapcraft.io > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman > > /listinfo/snapcraft > > -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 21:05:12 up 4 days, 12:30, 1 user, load average: 0.38, 0.30, 0.20 Ubuntu 16.04.1 LTS, kernel 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Connecting to Ubuntu SnapWeb; https://localhost:4201 shows Your connection is not secure
On Tue, 2016-10-25 at 10:24 +0200, David Barth wrote: > Hi Chris, > > We've started to use an HTTPS link on port 4201. The usual 4200 port > is automatically redirected as well. > The self-signed certificate warning is a temporary evil to protect a > new token requested for access control. > > We are working on additional security parts for snapweb, like > SSO/macaroon authentication in particular, to improve the usability. > > If something is unclear, please help us document it by filing a bug > at: https://bugs.launchpad.net/snapweb/+filebug > > Thanks > Thanks David so what I need to do is add an exception for the self- signed certificate to be accepted by Firefox. I really see no reason, at the moment, to file a bug report since it appears to me you just adding another layer of security to snapweb. Chris > On Tue, Oct 25, 2016 at 2:26 AM, Chris > wrote: > > This is the first time I've noticed this happening and I keep > > SnapWeb > > loaded in my browser. > > > > The owner of localhost has configured their website improperly. To > > protect your information from being stolen, Firefox has not > > connected > > to this website. > > > > localhost:4201 uses an invalid security certificate. The > > certificate is > > not trusted because it is self-signed. The certificate is only > > valid > > for 127.0.0.1 > > > > But, is the error caused by a setting I have not correct? > > > > Chris > > > > -- > > Chris > > KeyID 0xE372A7DA98E6705C > > 31.11972; -97.90167 (Elev. 1092 ft) > > 19:21:04 up 4 days, 10:45, 1 user, load average: 0.73, 0.31, 0.20 > > Ubuntu 16.04.1 LTS, kernel 4.4.0-45-generic #66-Ubuntu SMP Wed Oct > > 19 14:12:37 UTC 2016 > > > > -- > > Snapcraft mailing list > > Snapcraft@lists.snapcraft.io > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman > > /listinfo/snapcraft > > -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 07:58:28 up 4 days, 23:23, 1 user, load average: 0.91, 0.97, 1.08 Ubuntu 16.04.1 LTS, kernel 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Problem removing a snap
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@localhost:/snap/viking-gps/1$ snap change 343 Status Spawn Ready Summary Done2016-11-02T17:22:13Z 2016-11-02T17:22:14Z Stop snap "viking- gps" services Done2016-11-02T17:22:13Z 2016-11-02T17:22:16Z Make snap "viking- gps" unavailable to the system Done2016-11-02T17:22:13Z 2016-11-02T17:22:19Z Remove security profile for snap "viking-gps" (1) Done2016-11-02T17:22:13Z 2016-11-02T17:22:21Z Remove data for snap "viking-gps" (1) Doing 2016-11-02T17:22:13Z - Remove snap "viking-gps" (1) from the system Do 2016-11-02T17:22:13Z - Discard interface connections for snap "viking-gps" (1) .. Remove snap "viking-gps" (1) from the system 2016-11-02T14:47:01-05:00 ERROR cannot remove snap file "viking-gps", will retry in 3 mins: umount: /snap/viking-gps/1: not mounted 2016-11-02T14:50:01-05:00 ERROR cannot remove snap file "viking-gps", will retry in 3 mins: umount: /snap/viking-gps/1: not mounted 2016-11-02T14:53:01-05:00 ERROR cannot remove snap file "viking-gps", will retry in 3 mins: umount: /snap/viking-gps/1: not mounted 2016-11-02T14:56:01-05:00 ERROR cannot remove snap file "viking-gps", will retry in 3 mins: umount: /snap/viking-gps/1: not mounted 2016-11-02T14:59:01-05:00 ERROR cannot remove snap file "viking-gps", will retry in 3 mins: umount: /snap/viking-gps/1: not mounted 2016-11-02T15:02:01-05:00 ERROR cannot remove snap file "viking-gps", will retry in 3 mins: umount: /snap/viking-gps/1: not mounted 2016-11-02T15:06:47-05:00 ERROR cannot remove snap file "viking-gps", will retry in 3 mins: umount: /snap/viking-gps/1: not mounted 2016-11-02T15:09:49-05:00 ERROR cannot remove snap file "viking-gps", will retry in 3 mins: umount: /snap/viking-gps/1: not mounted 2016-11-02T15:12:50-05:00 ERROR cannot remove snap file "viking-gps", will retry in 3 mins: umount: /snap/viking-gps/1: not mounted 2016-11-02T15:15:51-05:00 ERROR cannot remove snap file "viking-gps", will retry in 3 mins: umount: /snap/viking-gps/1: not mounted The above tells me that all has been done except removing the snap and discarding the interface. I ran sudo snap abort 343 which stopped it. However the snap still showed up in /snap but was empty. I took a drastic step and just rmdir the folder under viking-gps and viking-gps itself. When I run sudo snap list it still shows up. chris@localhost:/snap$ sudo snap list Name Version Rev DeveloperNotes blender-tpaw 2.78-tpaw0 2tpaw - directpdf0.1.4 8normex devmode krita3.0.1.1-snap16 8krita- pencilsheep 5 5pencilsheep - snapweb 0.21.2 24 canonical- speed-test 1.7.0.1 2bartaz - ubuntu-core 16.04.1 423 canonical- vice-jz 2.4.27-24jz - viking-gps 1 chihchun disabled,broken wallpaperdownloader 2.3 5egarcia - What snap command do I use to totally remove it from the list of snaps on my system? -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 15:14:05 up 8 min, 1 user, load average: 4.82, 4.76, 2.53 Ubuntu 16.04.1 LTS, kernel 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Problem removing a snap
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 snapd: Installed: 2.16ubuntu3 Candidate: 2.16ubuntu3 Version table: *** 2.16ubuntu3 500 500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 100 /var/lib/dpkg/status 2.0.2 500 500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages I tried to upgrade, sudo apt upgrade snapd chris@localhost:~$ sudo apt upgrade snapd [sudo] password for chris: Reading package lists... Done Building dependency tree Reading state information... Done snapd is already the newest version (2.16ubuntu3). Calculating upgrade... Done > 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 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@localhost:/snap/viking-gps/1$ snap change 343 > > Status Spawn Ready Summary > > Done2016-11-02T17:22:13Z 2016-11-02T17:22:14Z Stop snap > > "viking- > > gps" services > > Done2016-11-02T17:22:13Z 2016-11-02T17:22:16Z Make snap > > "viking- > > gps" unavailable to the system > > Done2016-11-02T17:22:13Z 2016-11-02T17:22:19Z Remove security > > profile for snap "viking-gps" (1) > > Done2016-11-02T17:22:13Z 2016-11-02T17:22:21Z Remove data for > > snap "viking-gps" (1) > > Doing 2016-11-02T17:22:13Z - Remove snap > > "viking-gps" (1) from the system > > Do 2016-11-02T17:22:13Z - Discard > > interface > > connections for snap "viking-gps" (1) > > > > ... > > ... > > Remove snap "viking-gps" (1) from the system > > > > 2016-11-02T14:47:01-05:00 ERROR cannot remove snap file "viking- > > gps", > > will retry in 3 mins: umount: /snap/viking-gps/1: not mounted > > 2016-11-02T14:50:01-05:00 ERROR cannot remove snap file "viking- > > gps", > > will retry in 3 mins: umount: /snap/viking-gps/1: not mounted > > 2016-11-02T14:53:01-05:00 ERROR cannot remove snap file "viking- > > gps", > > will retry in 3 mins: umount: /snap/viking-gps/1: not mounted > > 2016-11-02T14:56:01-05:00 ERROR cannot remove snap file "viking- > > gps", > > will retry in 3 mins: umount: /snap/viking-gps/1: not mounted > > 2016-11-02T14:59:01-05:00 ERROR cannot remove snap file "viking- > > gps", > > will retry in 3 mins: umount: /snap/viking-gps/1: not mounted > > 2016-11-02T15:02:01-05:00 ERROR cannot remove snap file "viking- > > gps", > > will retry in 3 mins: umount: /snap/viking-gps/1: not mounted > > 2016-11-02T15:06:47-05:00 ERROR cannot remove snap file "viking- > > gps", > > will retry in 3 mins: umount: /snap/viking-gps/1: not mounted > > 2016-11-02T15:09:49-05:00 ERROR cannot remove snap file "viking- > > gps", > > will retry in 3 mins: umount: /snap/viking-gps/1: not mounted > > 2016-11-02T15:12:50-05:00 ERROR cannot remove snap file "viking- > > gps", > > will retry in 3 mins: umount: /snap/viking-gps/1: not mounted > > 2016-11-02T15:15:51-05:00 ERROR cannot remove snap file "viking- > > gps", > > will retry in 3 mins: umount: /snap/viking-gps/1: not mounted > > > > The above tells me that all has been done except removing the snap > > and > > discarding the interface. I ran sudo snap abort 343 which stopped > > it. > > However the snap still showed up in /snap but was empty. I took a > > drastic step and just rmdir the folder under viking-gps and viking- > > gps > > itself. When I run sudo snap list it still shows up. > > > > chris@localhost:/snap$ sudo snap list > > Name Version Rev DeveloperNotes > > blender-tpaw 2.78-tpaw0 2tpaw - > > directpdf0.1.4 8normex devmode > > krita3.0.1.1-snap16 8krita- > > pencilsheep
Re: Problem removing a snap
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/current /snap/viking-gps/1 > > This should allow the remove to go through. > > 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 chris@localhost:~$ sudo snap remove viking-gps 2016-11-02T17:22:05-05:00 ERROR cannot remove snap file "viking-gps", will retry in 3 mins: umount: /snap/viking-gps/1: mountpoint not found The above is probably because I manually removed the empty 1 directory and the viking-gps directory from /snap. In an attempt to reinstall it and then hopefully have it properly removed I tried error: cannot install "viking-gps": snap "viking-gps" already installed From what I can see when I run snap list and it's still shown there needs to be some kind of refresh command (other than the one to check for newer snap versions) which would refresh the listing of snaps or tell snapd that a snap is no longer there. > On Wed, Nov 2, 2016 at 7:53 PM, Chris > wrote: > > 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 > > snapd: > > Installed: 2.16ubuntu3 > > Candidate: 2.16ubuntu3 > > Version table: > > *** 2.16ubuntu3 500 > > 500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main > > amd64 Packages > > 100 /var/lib/dpkg/status > > 2.0.2 500 > > 500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 > > Packages > > > > I tried to upgrade, sudo apt upgrade snapd > > > > chris@localhost:~$ sudo apt upgrade snapd > > [sudo] password for chris: > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > snapd is already the newest version (2.16ubuntu3). > > Calculating upgrade... Done > > > > > > > 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 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@localhost:/snap/viking-gps/1$ snap change 343 > > > > Status Spawn Ready Summary > > > > Done2016-11-02T17:22:13Z 2016-11-02T17:22:14Z Stop snap > > > > "viking- > > > > gps" services > > > > Done2016-11-02T17:22:13Z 2016-11-02T17:22:16Z Make snap > > > > "viking- > > > > gps" unavailable to the system > > > > Done2016-11-02T17:22:13Z 2016-11-02T17:22:19Z Remove > > security > > > > profile for snap "viking-gps" (1) > > > > Done2016-11-02T17:22:13Z 2016-11-02T17:22:21Z Remove data > > for > > > > snap "viking-gps" (1) > > > > Doing 2016-11-02T17:22:13Z - Remove snap > > > > "viking-gps" (1) from the system > > > > Do 2016-11-02T17:22:13Z - Discard > > > > interface > > > > connections for snap "viking-gps" (1) > > > > > > > > > > ... > > > > ... > > > > Remove snap "viking-gps" (1) from the system > > > > > > > > 2016-11-02T14:47:01-05:00 ERROR cannot remove snap file > > "viking- > > > > gps", > > > > will retry in 3 mins: umount: /snap/viking-gps/1: not mounted > > > > 2016-11-02T14:50:01-05:00 ERROR cannot remove snap file > > "viking- > > > > gps", > > > > will retry in 3 mins: umount: /snap/viking-gps/1: not mount
Re: Problem removing a snap
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 already removed it manually before your reply with the command you sent. I admit, I screwed up again > On Wed, Nov 2, 2016 at 8:34 PM, Chris > wrote: > > 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/current /snap/viking-gps/1 > > > > > > This should allow the remove to go through. > > > > > > > > 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 > > > > chris@localhost:~$ sudo snap remove viking-gps > > 2016-11-02T17:22:05-05:00 ERROR cannot remove snap file "viking- > > gps", > > will retry in 3 mins: umount: /snap/viking-gps/1: mountpoint not > > found > > > > The above is probably because I manually removed the empty 1 > > directory > > and the viking-gps directory from /snap. > > > > In an attempt to reinstall it and then hopefully have it properly > > removed I tried > > > > error: cannot install "viking-gps": snap "viking-gps" already > > installed > > > > From what I can see when I run snap list and it's still shown there > > needs to be some kind of refresh command (other than the one to > > check > > for newer snap versions) which would refresh the listing of snaps > > or > > tell snapd that a snap is no longer there. > > > > > On Wed, Nov 2, 2016 at 7:53 PM, Chris > > > wrote: > > > > 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 > > > > snapd: > > > > Installed: 2.16ubuntu3 > > > > Candidate: 2.16ubuntu3 > > > > Version table: > > > > *** 2.16ubuntu3 500 > > > > 500 http://us.archive.ubuntu.com/ubuntu xenial- > > updates/main > > > > amd64 Packages > > > > 100 /var/lib/dpkg/status > > > > 2.0.2 500 > > > > 500 http://us.archive.ubuntu.com/ubuntu xenial/main > > amd64 > > > > Packages > > > > > > > > I tried to upgrade, sudo apt upgrade snapd > > > > > > > > chris@localhost:~$ sudo apt upgrade snapd > > > > [sudo] password for chris: > > > > Reading package lists... Done > > > > Building dependency tree > > > > Reading state information... Done > > > > snapd is already the newest version (2.16ubuntu3). > > > > Calculating upgrade... Done > > > > > > > > > > > > > On Wed, Nov 2, 2016 at 6:40 PM, Chris > m> > > > > > wrote: > > > > > > 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@localhost:/snap/viking-gps/1$ snap change 343 > > > > > > Status Spawn Ready Summary > > > > > > Done2016-11-02T17:22:13Z 2016-11-02T17:22:14Z Stop > > snap > > > > > > "viking- &
Re: Problem removing a snap
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 > Either a file or directory needs to exist in the filesystem for a > mount to > succeed; so try creating this directory and re-try? > > sudo mkdir -p /snap/viking-gps/1 > sudo mount --bind /snap/ubuntu-core/current /snap/viking-gps/1 > sudo snap remove viking-gps > > Thanks Thank you Seth, that did the trick. Greatly appreciated. I'll have to save these commands in case I do something dumb again, which I hope not to. Chris -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 18:01:20 up 2:55, 1 user, load average: 0.73, 0.35, 0.30 Ubuntu 16.04.1 LTS, kernel 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Cliqz Snap
Has anyone gotten this snap to run? The install went fine AFAICT but when executed nothing happens. Syslog shows Nov 12 17:00:55 localhost /usr/lib/snapd/snapd[844]: daemon.go:174: DEBUG: uid=1000;@ GET /v2/snaps 31.184976ms 200 Nov 12 17:00:55 localhost kernel: [250160.993225] audit: type=1326 audit(1478991655.666:65): auid=1000 uid=1000 gid=1000 ses=3 pid=10201 comm="cliqz" exe="/snap/cliqz/6/opt/CLIQZ/CLIQZ" sig=31 arch=c03e syscall=272 compat=0 ip=0x7f5d82721c19 code=0x0 When executed from the cli chris@localhost:~$ cliqz Bad system call -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 16:59:51 up 2 days, 21:28, 1 user, load average: 0.32, 0.37, 0.36 Ubuntu 16.04.1 LTS, kernel 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Cliqz Snap
On Sun, 2016-11-13 at 10:41 +0800, XiaoGuo Liu wrote: > Hi Chris, > > You may find the tips at https://github.com/snapcore/snapd/wiki/Secur > ity. You may use the command like: > > $ scmp_sys_resolver 983045 > set_tls > to find out the security violation. > > Best regards, > XiaoGuo > Thank you XiaoGuo, so in my case I have syscall=272. Running chris@localhost:~$ scmp_sys_resolver 272 unshare I've installed snappy-debug but can't seem to get any kind of output when run. Maybe I'm using the wrong commands? > On Sun, Nov 13, 2016 at 7:13 AM, Chris > wrote: > > Has anyone gotten this snap to run? The install went fine AFAICT > > but > > when executed nothing happens. Syslog shows > > > > Nov 12 17:00:55 localhost /usr/lib/snapd/snapd[844]: daemon.go:174: > > DEBUG: uid=1000;@ GET /v2/snaps 31.184976ms 200 > > > > Nov 12 17:00:55 localhost kernel: [250160.993225] audit: type=1326 > > audit(1478991655.666:65): auid=1000 uid=1000 gid=1000 ses=3 > > pid=10201 > > comm="cliqz" exe="/snap/cliqz/6/opt/CLIQZ/CLIQZ" sig=31 > > arch=c03e > > syscall=272 compat=0 ip=0x7f5d82721c19 code=0x0 > > > > When executed from the cli > > > > chris@localhost:~$ cliqz > > Bad system call > > > > -- > > Chris > > KeyID 0xE372A7DA98E6705C > > 31.11972; -97.90167 (Elev. 1092 ft) > > 16:59:51 up 2 days, 21:28, 1 user, load average: 0.32, 0.37, 0.36 > > Ubuntu 16.04.1 LTS, kernel 4.4.0-47-generic #68-Ubuntu SMP Wed Oct > > 26 19:39:52 UTC 2016 > > > > -- > > Snapcraft mailing list > > Snapcraft@lists.snapcraft.io > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman > > /listinfo/snapcraft > > > > > -- > XiaoGuo, Liu > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/l > istinfo/snapcraft -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 08:57:09 up 3 days, 13:25, 1 user, load average: 0.14, 0.15, 0.22 Ubuntu 16.04.1 LTS, kernel 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Cliqz Snap
On Sun, 2016-11-13 at 09:17 -0600, Chris wrote: > On Sun, 2016-11-13 at 10:41 +0800, XiaoGuo Liu wrote: > > > > Hi Chris, > > > > You may find the tips at https://github.com/snapcore/snapd/wiki/Sec > > ur > > ity. You may use the command like: > > > > $ scmp_sys_resolver 983045 > > set_tls > > to find out the security violation. > > > > Best regards, > > XiaoGuo > > > Thank you XiaoGuo, so in my case I have syscall=272. Running > > chris@localhost:~$ scmp_sys_resolver 272 > unshare > > I've installed snappy-debug but can't seem to get any kind of output > when run. Maybe I'm using the wrong commands? > Replying to my own post. I wasn't running the snap whenever I ran sudo snappy-debug.security scanlog --all-entries cliqz Once I executed the snap from the menu with the above running I got chris@localhost:~$ sudo snappy-debug.security scanlog --all-entries cliqz kernel.printk_ratelimit = 0 = Seccomp = Time: Nov 13 11:49:59 Log: auid=1000 uid=1000 gid=1000 ses=3 pid=29796 comm="cliqz" exe="/snap/cliqz/6/opt/CLIQZ/CLIQZ" sig=31 arch=c03e 272(unshare) compat=0 ip=0x7ffacd899c19 code=0x0 Syscall: unshare So, now it seems as there is a seccomp violation stopping the snap from running, at least that's what it appears to me to be. Where would I go from here? Contact the snap author? Chris > > > > On Sun, Nov 13, 2016 at 7:13 AM, Chris > > wrote: > > > > > > Has anyone gotten this snap to run? The install went fine AFAICT > > > but > > > when executed nothing happens. Syslog shows > > > > > > Nov 12 17:00:55 localhost /usr/lib/snapd/snapd[844]: > > > daemon.go:174: > > > DEBUG: uid=1000;@ GET /v2/snaps 31.184976ms 200 > > > > > > Nov 12 17:00:55 localhost kernel: [250160.993225] audit: > > > type=1326 > > > audit(1478991655.666:65): auid=1000 uid=1000 gid=1000 ses=3 > > > pid=10201 > > > comm="cliqz" exe="/snap/cliqz/6/opt/CLIQZ/CLIQZ" sig=31 > > > arch=c03e > > > syscall=272 compat=0 ip=0x7f5d82721c19 code=0x0 > > > > > > When executed from the cli > > > > > > chris@localhost:~$ cliqz > > > Bad system call > > > > > > -- > > > Chris > > > KeyID 0xE372A7DA98E6705C > > > 31.11972; -97.90167 (Elev. 1092 ft) > > > 16:59:51 up 2 days, 21:28, 1 user, load average: 0.32, 0.37, 0.36 > > > Ubuntu 16.04.1 LTS, kernel 4.4.0-47-generic #68-Ubuntu SMP Wed > > > Oct > > > 26 19:39:52 UTC 2016 > > > > > > -- > > > Snapcraft mailing list > > > Snapcraft@lists.snapcraft.io > > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm > > > an > > > /listinfo/snapcraft > > > > > > > -- > > XiaoGuo, Liu > > -- > > Snapcraft mailing list > > Snapcraft@lists.snapcraft.io > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman > > /l > > istinfo/snapcraft > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/l > istinfo/snapcraft -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 11:59:03 up 3 days, 16:27, 1 user, load average: 0.34, 0.18, 0.17 Ubuntu 16.04.1 LTS, kernel 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Cliqz Snap
On Mon, 2016-11-14 at 09:11 +0100, Didier Roche wrote: > Le 13/11/2016 à 19:04, Chris a écrit : > > > > On Sun, 2016-11-13 at 09:17 -0600, Chris wrote: > > > > > > On Sun, 2016-11-13 at 10:41 +0800, XiaoGuo Liu wrote: > > > > > > > > Hi Chris, > > > > > > > > You may find the tips at https://github.com/snapcore/snapd/wiki > > > > /Sec > > > > ur > > > > ity. You may use the command like: > > > > > > > > $ scmp_sys_resolver 983045 > > > > set_tls > > > > to find out the security violation. > > > > > > > > Best regards, > > > > XiaoGuo > > > > > > > Thank you XiaoGuo, so in my case I have syscall=272. Running > > > > > > chris@localhost:~$ scmp_sys_resolver 272 > > > unshare > > > > > > I've installed snappy-debug but can't seem to get any kind of > > > output > > > when run. Maybe I'm using the wrong commands? > > > > > Replying to my own post. I wasn't running the snap whenever I ran > > > > sudo snappy-debug.security scanlog --all-entries cliqz > > > > Once I executed the snap from the menu with the above running I got > > > > chris@localhost:~$ sudo snappy-debug.security scanlog --all-entries > > cliqz > > kernel.printk_ratelimit = 0 > > = Seccomp = > > Time: Nov 13 11:49:59 > > Log: auid=1000 uid=1000 gid=1000 ses=3 pid=29796 comm="cliqz" > > exe="/snap/cliqz/6/opt/CLIQZ/CLIQZ" sig=31 arch=c03e > > 272(unshare) > > compat=0 ip=0x7ffacd899c19 code=0x0 > > Syscall: unshare > > > > So, now it seems as there is a seccomp violation stopping the snap > > from > > running, at least that's what it appears to me to be. Where would I > > go > > from here? Contact the snap author? > Indeed, the snap author didn't set the confinement rules on his app. > The > snap should then be in devmode (but not published in the stable > channel), to not create user frustration executing something which > fails. > > Do you mind contacting upstream so that they work on confinement? > Thanks! > Didier > Hello Didier, do you mean to contact the author? I did go to the support page and asked about the snap package not working and I received the below in reply, not being able to read German I 'think' it just points me to a link for support and their blog. Hallo Cpollock, deine Anfrage hat den CLIQZ Support erreicht. Unser Ziel ist es, dir so schnell wie möglich zu antworten. Das wird nicht allzu lange dauern, versprochen. In der Zwischenzeit kannst du mal in unsere FAQs schauen: https://cliqz .com/support Und kennst du schon unseren Blog? Schau mal hier: https://cliqz.com/abo utus/blog Danke für deine Geduld. Wir melden uns bald wieder bei dir! Der CLIQZ Support The support link takes me to the same place where I had said the snap doesn't work, I didn't see anything in the blog link about the snap package. Chris -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 08:00:28 up 4 days, 12:28, 1 user, load average: 0.16, 0.25, 0.47 Ubuntu 16.04.1 LTS, kernel 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Cliqz Snap
On Mon, 2016-11-14 at 17:16 -0800, Seth Arnold wrote: > On Mon, Nov 14, 2016 at 08:13:33AM -0600, Chris wrote: > > > > Hallo Cpollock, > > > > deine Anfrage hat den CLIQZ Support erreicht. Unser Ziel ist es, > > dir so > > schnell wie möglich zu antworten. Das wird nicht allzu lange > > dauern, > > versprochen. > > > > In der Zwischenzeit kannst du mal in unsere FAQs schauen: https://c > > liqz > > .com/support > > > > Und kennst du schon unseren Blog? Schau mal hier: https://cliqz.com > > /abo > > utus/blog > > > > Danke für deine Geduld. Wir melden uns bald wieder bei dir! > > > > Der CLIQZ Support > Here's my shot; perhaps not idiomatic but should convey the idea > well: > > Hello Cpollack, > > Your question has reached CLIQZ Support. Our goal is to answer you as > quickly as possible. That will not take long, promise. > > In the meantime, you can look in our FAQs: https://cliqz..com/support > > And do you already know our blog? Look here: > https://cliqz.com/aboutus/blog > > Thanks for your patience. We'll contact you soon! > > Thanks Seth, guess I'll wait and see if I hear back. > -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 19:59:06 up 5 days, 27 min, 1 user, load average: 0.31, 0.31, 0.39 Ubuntu 16.04.1 LTS, kernel 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Number of snaps in the snap store
Why is it that the Ubuntu Snap Store only lists 100 available snaps when the 'unofficial' store uApp Explorer lists over 500 snaps available? Chris -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 08:22:00 up 5 days, 12:50, 1 user, load average: 0.20, 0.34, 0.49 Ubuntu 16.04.1 LTS, kernel 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Number of snaps in the snap store
On Tue, 2016-11-15 at 15:57 +, Mark Shuttleworth wrote: > On 15/11/16 14:24, Chris wrote: > > > > Why is it that the Ubuntu Snap Store only lists 100 available snaps > > when the 'unofficial' store uApp Explorer lists over 500 snaps > > available? > I think 'snap find' is rate-limited to top-100 matches for query > performance. uApp Explorer is probably scraping a different source, > it's > roughly accurate for public snaps. > > Mark > Sorry Mark, I wasn't clear. I meant here at Snapweb - https://localhost :4201/store Chris > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/l > istinfo/snapcraft -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 11:20:10 up 5 days, 15:48, 1 user, load average: 0.27, 0.15, 0.10 Ubuntu 16.04.1 LTS, kernel 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Number of snaps in the snap store
On Tue, 2016-11-15 at 19:35 +0100, David Barth wrote: > > > On Tue, Nov 15, 2016 at 6:20 PM, Chris > wrote: > > On Tue, 2016-11-15 at 15:57 +, Mark Shuttleworth wrote: > > > On 15/11/16 14:24, Chris wrote: > > > > > > > > Why is it that the Ubuntu Snap Store only lists 100 available > > snaps > > > > when the 'unofficial' store uApp Explorer lists over 500 snaps > > > > available? > > > I think 'snap find' is rate-limited to top-100 matches for query > > > performance. uApp Explorer is probably scraping a different > > source, > > > it's > > > roughly accurate for public snaps. > > > > > > Mark > > > > > Sorry Mark, I wasn't clear. I meant here at Snapweb - https://local > > host > > :4201/store > Ah, this is because Snapweb uses the snapd client API to query the > store, so the same query options defaults and limits do apply. > We have store sections end-points support in review now, so the store > screens in Snapweb will become less monolithic in a few days. > > David > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/l > istinfo/snapcraft Thanks David will one be able to middle-click on a snap title and have another tab opened in Firefox after this or is that still down the road a ways? -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 16:31:20 up 5 days, 20:59, 1 user, load average: 0.39, 0.47, 0.44 Ubuntu 16.04.1 LTS, kernel 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Cliqz Snap
On Mon, 2016-11-14 at 17:16 -0800, Seth Arnold wrote: > On Mon, Nov 14, 2016 at 08:13:33AM -0600, Chris wrote: > > > > Hallo Cpollock, > > > > deine Anfrage hat den CLIQZ Support erreicht. Unser Ziel ist es, > > dir so > > schnell wie möglich zu antworten. Das wird nicht allzu lange > > dauern, > > versprochen. > > > > In der Zwischenzeit kannst du mal in unsere FAQs schauen: https://c > > liqz > > .com/support > > > > Und kennst du schon unseren Blog? Schau mal hier: https://cliqz.com > > /abo > > utus/blog > > > > Danke für deine Geduld. Wir melden uns bald wieder bei dir! > > > > Der CLIQZ Support > Here's my shot; perhaps not idiomatic but should convey the idea > well: > > Hello Cpollack, > > Your question has reached CLIQZ Support. Our goal is to answer you as > quickly as possible. That will not take long, promise. > > In the meantime, you can look in our FAQs: https://cliqz..com/support > > And do you already know our blog? Look here: > https://cliqz.com/aboutus/blog > > Thanks for your patience. We'll contact you soon! > > I've submitted a bug report on the Cliqz snap - https://bugs.launchpad. net/snappy/+bug/1641958 -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 16:34:34 up 5 days, 21:03, 1 user, load average: 1.15, 0.85, 0.59 Ubuntu 16.04.1 LTS, kernel 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
List is being spammed!
Sure is a lot of spam coming into the list since last night. Can the admins do something about this? -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 08:30:06 up 1 day, 28 min, 1 user, load average: 0.13, 0.33, 0.62 Ubuntu 16.04.1 LTS, kernel 4.4.0-51-generic #72-Ubuntu SMP Thu Nov 24 18:29:54 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: List is being spammed!
On Thu, 2016-12-01 at 07:44 -0700, Oliver Ries wrote: > Hi snapcrafters, > > On Thu, Dec 1, 2016 at 7:31 AM, Chris > wrote: > > Sure is a lot of spam coming into the list since last night. Can > > the > > admins do something about this? > > apologies for the short wave of irrelevant messages that went out, we > transferred admin responsibilities and run into a hickup. > > The list should be back to the usual level of focus by today. > > thx > Olli Thanks Olli, I figured something had gone awry. -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 08:49:05 up 1 day, 47 min, 1 user, load average: 0.17, 0.13, 0.28 Ubuntu 16.04.1 LTS, kernel 4.4.0-51-generic #72-Ubuntu SMP Thu Nov 24 18:29:54 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Failed to get icon: Not enough space for snapd response
The entire error is: localhost /usr/lib/snapd/snapd[952]: daemon.go:174: DEBUG: uid=1000;@ GET /v2/snaps/pencilsheep 450.614µs 200 gnome-software-service.desktop[20564]: Failed to get icon: Not enough space for snapd response, require 92625 octets, have 65535 Not sure what this means or if it needs to be fixed. The next line after it shows: localhost /usr/lib/snapd/snapd[952]: daemon.go:174: DEBUG: uid=1000;@ GET /v2/icons/pencilsheep/icon 484.491µs 200 Chris -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 09:05:08 up 5 days, 13:10, 2 users, load average: 1.23, 0.57, 0.38 Ubuntu 16.04.1 LTS, kernel 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Only one page of snaps on SnapWeb?
I've asked this before but I'm still wondering why there is only one page of snaps listed (A-E)? I can do a search for a snap such as 'PubIP' and it will come up but there is no way in SnapWeb to go forward from the first page. -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 08:24:21 up 3 days, 14:43, 2 users, load average: 0.36, 0.28, 0.40 Ubuntu 16.04.1 LTS, kernel 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Only one page of snaps on SnapWeb?
On Mon, 2016-12-19 at 11:06 +, Jamie Bennett wrote: > Hi Chris, > > > > > On 18 Dec 2016, at 14:31, Chris wrote: > > > > I've asked this before but I'm still wondering why there is only > > one > > page of snaps listed (A-E)? I can do a search for a snap such as > > 'PubIP' and it will come up but there is no way in SnapWeb to go > > forward from the first page. > > This functionality is being worked on but the idea of SnapWeb is not > to show you every single possible snap that can be installed (that > would quickly get quiet unwieldily), instead we aim to surface the > most prominent snaps. Think of it like a real bricks-and-mortar > store; the snaps that are featured are right there in the store > window for everyone to see, the most popular snaps per category are > in their own sections, and the stuff that you knew up front you > wanted but can’t find being displayed can always be retrieved from > the warehouse. So mapping that to what we have in the SnapWeb edge > channel today, the front store page should be [1] the featured snaps, > at the top you can select categories like database, media, messaging > [2] for the most popular snaps in that category, and if you know what > you want you can use the search bar. > > SnapWeb is being actively worked on so you will see lots of changes > regularly. If you want to see the latest please: > > $ snap refresh —edge snapweb > > or, on a system without snapweb > > $ snap install —edge snapweb > Thanks for the explanation Jamie. Using the above command I updated to 0.23.9 and reloaded snapweb in Firefox. I'm curious though as to what's the purpose of what I show in the screenshot. > and file any bugs at https://bugs.launchpad.net/snapweb > > Regards, > Jamie. > > [1] “should be” - this functionality is currently being worked on and > is very new. > [2] Snap Sections are again very new. We are still coming up with the > right naming scheme and ensuring each snap is in the right place. > > > > > -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 09:20:12 up 4 days, 15:39, 2 users, load average: 0.34, 0.24, 0.35 Ubuntu 16.04.1 LTS, kernel 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Only one page of snaps on SnapWeb?
On Mon, 2016-12-19 at 16:13 +, Jamie Bennett wrote: > Hi Chris, > > > > > On 19 Dec 2016, at 15:52, Chris wrote: > > > > On Mon, 2016-12-19 at 11:06 +, Jamie Bennett wrote: > > > > > > Hi Chris, > > > > > > > > > > > > > > > On 18 Dec 2016, at 14:31, Chris > > > > wrote: > > > > > > > > I've asked this before but I'm still wondering why there is > > > > only > > > > one > > > > page of snaps listed (A-E)? I can do a search for a snap such > > > > as > > > > 'PubIP' and it will come up but there is no way in SnapWeb to > > > > go > > > > forward from the first page. > > > > > > This functionality is being worked on but the idea of SnapWeb is > > > not > > > to show you every single possible snap that can be installed > > > (that > > > would quickly get quiet unwieldily), instead we aim to surface > > > the > > > most prominent snaps. Think of it like a real bricks-and-mortar > > > store; the snaps that are featured are right there in the store > > > window for everyone to see, the most popular snaps per category > > > are > > > in their own sections, and the stuff that you knew up front you > > > wanted but can’t find being displayed can always be retrieved > > > from > > > the warehouse. So mapping that to what we have in the SnapWeb > > > edge > > > channel today, the front store page should be [1] the featured > > > snaps, > > > at the top you can select categories like database, media, > > > messaging > > > [2] for the most popular snaps in that category, and if you know > > > what > > > you want you can use the search bar. > > > > > > SnapWeb is being actively worked on so you will see lots of > > > changes > > > regularly. If you want to see the latest please: > > > > > > $ snap refresh —edge snapweb > > > > > > or, on a system without snapweb > > > > > > $ snap install —edge snapweb > > > > > Thanks for the explanation Jamie. Using the above command I updated > > to > > 0.23.9 and reloaded snapweb in Firefox. I'm curious though as to > > what's > > the purpose of what I show in the screenshot. > > This too is work in progress, as the —edge channel disclaimer > implies. The team are looking to add more functionality to SnapWeb to > expose the most common requirements for a web-based frontend on an > IoT gateway-like device. This includes showing information about the > device itself, any users that are associated with the device, > software updates available, and to allow some settings to be changed. > What your screenshot shows is the beginning of that work. > > Keep an eye out for more changes and improvements to the project in > the coming weeks/months. > > > > > > > > > and file any bugs at https://bugs.launchpad.net/snapweb > > > > > > Regards, > > > Jamie. > > > > > > [1] “should be” - this functionality is currently being worked on > > > and > > > is very new. > > > [2] Snap Sections are again very new. We are still coming up with > > > the > > > right naming scheme and ensuring each snap is in the right > > > place. > > > Sounds good Jamie, looking forward to the updates as the come up. When snaps are automatically refreshed throughout the day will snapweb from edge be updated? -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 11:49:23 up 4 days, 18:08, 2 users, load average: 0.17, 0.10, 0.12 Ubuntu 16.04.1 LTS, kernel 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Manual update of snap/snapd and core/ubuntu-core
Hi Jenny, >From the looks of it, your system has actually been updated automatically, as your first email indicates you had core version 641, and now have core 714. The reason you could not update to core on the edge channel to version 870 is because that version has not been validated yet. Does snap --version still show 2.18? With core rev 714 (which your snap list indicates you have installed) you should now be seeing 2.20. Thanks Chris On Wed, Jan 11, 2017 at 7:05 AM, Jenny Murphy wrote: > Oh ok, so when they do, the updates will start happening automatically? > Thanks. > > On 11 January 2017 at 11:54, Jamie Bennett > wrote: > >> Hi Jenny, >> >> The lack of update is due to the platform you are using: St Louis. It >> looks like the team responsible for St Louis updates has not fully >> validated the new Ubuntu Core software which is why you haven't seen an >> update yet. I suspect that an update is forthcoming soon. >> >> Regards, >> Jamie. >> >> On 11 Jan 2017, at 13:38, Jenny Murphy >> wrote: >> >> Hi, >> This is the error I get after step 1: >> >> >> admin@localhost:~$ snap refresh core --edge >> error: cannot refresh "core": cannot refresh "core" to revision 870: no >> validation by "stlouis" >> >> On 11 January 2017 at 10:21, Manik Taneja wrote: >> >>> Hi Jenny, >>> >>> Welcome to Ubuntu Core. I see that you are experiencing a timeout while >>> retrieving assertions. We have added additional redundancy to the client in >>> a later revision (2.20) of snapd. While we await for 2.20 to move into the >>> stable channel, can I request that you manually upgrade to the edge channel >>> using- >>> >>> snap refresh core --edge >>> snap --version >>> snap list >>> >>> Once the refresh succedes, than please try the snap refresh command to >>> make sure that all snaps are updated to the latest. If you still experience >>> similar issues, please let us know. For reference, here's a screenshot of >>> the cmd usage- >>> >>> >>> >>> Regards, >>> Manik >>> >>> On Wed, Jan 11, 2017 at 11:39 AM, Jenny Murphy < >>> jenny.mur...@episensor.com> wrote: >>> >>>> Hi Jamie, >>>> Here is some more information as requested : >>>> >>>> admin@localhost:~$ snap info core >>>> name: core >>>> summary: "snapd runtime environment" >>>> publisher: canonical >>>> description: | >>>> The core runtime environment for snapd >>>> type:core >>>> tracking:stable >>>> installed: 16.04.1 (714) 79MB - >>>> refreshed: 2016-12-16 04:28:38 + UTC >>>> channels: >>>> stable:16.04.1 (714) 0B - >>>> candidate: 16.04.1 (714) 0B - >>>> beta: 16.04.1 (714) 0B - >>>> edge: 16.04.1 (870) 0B - >>>> >>>> admin@localhost:~$ snap refresh >>>> error: cannot refresh []: cannot refresh snap-declaration for >>>> "stlouis-kernel": Get https://assertions.ubuntu.com/ >>>> v1/assertions/snap-declaration/16/0EawO5JYYJmNw9CmweMnyrwGgJ >>>> xDUHag?max-format=1: net/http: request canceled while waiting for >>>> connection (Client.Timeout exceeded while awaiting headers) >>>> >>>> admin@localhost:~$ snap list >>>> Name VersionRev Developer Notes >>>> bluez5.37-2 15 canonical - >>>> core 16.04.1714 canonical - >>>> gateway 2.0x3 devmode >>>> modem-manager1.4.0-114 canonical - >>>> network-manager 1.2.2-10 73 canonical - >>>> snappy-debug 0.26 25 canonical - >>>> snapweb 0.21.2 24 canonical - >>>> stlouis 16.04-1.13 11 canonical - >>>> stlouis-kernel 4.4.0-57-1 7canonical - >>>> tpm2 1.0-2.112 canonical - >>>> uefi-fw-tools1.2-0.7.2+git 2canonical - >>>> >>>> >>>> snapcraft@lists.snapcraft.io >>>> On 11 January 2017 at 07:16, Jamie Bennett >>> > wrote: >>>> >>>>> Hi Jenny, >>>>> >>>>> On 09/01/17 at 10:28am, Jenny Murphy wrote: >>>>> > Hi, >>>>
Re: Can not launch atom-cwayne.atom
Hi, You'll need to install with --devmode, and it should work. I need to upload a new version to make that clearer. Thanks Chris On Mon, Aug 1, 2016 at 5:22 AM, Howy Wang wrote: > Hi All, > > I just installed the snap, atom-cwayne.atom of snappy-playpen, but it > can't be used after installation. My snapcraft verson is 2.13.1, and snapd > version is 2.0.10 on Ubuntu 16.04 -64 bits. May I know which problems on > my environment? > > The following information is for your reference. > howy@howy-Vostro-14-5480:~$ atom-cwayne.atom > howy@howy-Vostro-14-5480:~*$ /snap/atom-cwayne/1/bin/atom: line 108: > /usr/bin/nohup: Permission denied* > howy@howy-Vostro-14-5480:~$ sudo snap refresh atom-cwayne > error: cannot perform the following tasks: > - Download snap "atom-cwayne" from channel "stable" (revision 1 of snap > "atom-cwayne" already installed) > howy@howy-Vostro-14-5480:~$ sudo atom-cwayne.atom > sudo: atom-cwayne.atom: command not found > howy@howy-Vostro-14-5480:~$ snapcraft --version > 2.13.1 > > Thank you. > > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/snapcraft > > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Using sudo from within a snap
Hi guys, I seem to be having some issues while running anything as sudo from within a snap (namely bug https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1610292). Is this something that's expected to work, or is this out of scope (it does work if you run the snap itself with sudo, although then it's a bit annoying as you're hit with https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1595558 ). Thanks Chris -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Using sudo from within a snap
Is this something that could be added to the roadmap? We'd really prefer to not have to call the snap itself with sudo as it creates some permissions issues (root-owned dirs in $HOME for example) and some other general flakiness. What would the sudo interface entail, just access to /usr/bin/sudo and /etc/sudoers.d/snap.mountpoint? On Mon, Aug 8, 2016 at 5:27 AM, Oliver Grawert wrote: > hi, > Am Montag, den 08.08.2016, 09:36 +0200 schrieb Simon Fels: > > On 06.08.2016 15:54, Chris Wayne wrote: > > > > > > Hi guys, > > > > > > I seem to be having some issues while running anything as sudo from > > > within a > > > snap (namely bug https://bugs.launchpad.net/ubuntu/+source/snapd/+b > > > ug/1610292). > > If you package sudo within your snap snapcraft will strip the > > necessary > > suid bit from it so it wont work anymore. Only way to use sudo is to > > use > > the one from the core snap. > > > how would you hook into /etc/sudoers (or /etc/sudoers.d/) ? > snapd would have to install or bind-mount a sudoers file above the one > from the core snap ... you also need to make sure that your user exists > in the password db ... both gets very hairy in an all-snap image where > the core snap is actually the rootfs (and both of the above files are > required for having the system functional) > > i could imagine a sudo interface here (for the binary) and shipping a > generic /etc/sudoers.d/snapd mountpoint in the core snap where > snapd/snap-confine could bind-mount a shipped sudoers snippet, but that > still leaves the passwd db issue open... > > ciao > oli > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/snapcraft > > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Project templates in snapcraft
There's really no standard way to build electron apps though On Nov 4, 2016 9:58 PM, "Aaron Honeycutt" wrote: > Also electron projects > > On Fri, Nov 4, 2016, 9:20 PM XiaoGuo Liu > wrote: > >> +1 >> >> I think it may apply to "nodejs", "python", "tomcat", "mysql", "php", >> "java" etc. >> >> Best regards, >> XiaoGuo >> >> On Sat, Nov 5, 2016 at 1:39 AM, Benjamin Zeller < >> benjamin.zel...@canonical.com> wrote: >> >> Just a small proposal to have templates in snapcraft, that provide some >> sort of starting point for >> people without the need to read lots of tutorials, but get started with >> their project right away. >> >> My proposal would be to add a template engine in snapcraft, that >> generates predefined projects >> or at least a predefined snapcraft.yaml for a specific use case. >> >> Something like: >> >> snapcraft init --template=ubuntu-touch-app , which would bootstrap a >> simple snapcraft project >> targeting QML/Qt APIs. >> >> I think that could help people to get their apps snapped even faster. >> >> Cheers, >> >> Benjamin >> >> >> >> -- >> Snapcraft mailing list >> Snapcraft@lists.snapcraft.io >> Modify settings or unsubscribe at: https://lists.ubuntu.com/ >> mailman/listinfo/snapcraft >> >> >> >> >> -- >> XiaoGuo, Liu >> -- >> Snapcraft mailing list >> Snapcraft@lists.snapcraft.io >> Modify settings or unsubscribe at: https://lists.ubuntu.com/ >> mailman/listinfo/snapcraft >> > -- > > Aaron Honeycutt > - Ubuntu Fl Loco South Lead > - Kubuntu Council Member > > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/snapcraft > > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Error using python3-gi dependency
Hi Sergio, You could try having a wrapper set something like this: export GI_TYPELIB_PATH=$SNAP/usr/lib/girepository-1.0:$SNAP/usr/lib/$ARCH/girepository-1.0 where $ARCH is defined like this: case "$SNAP_ARCH" in "amd64") ARCH='x86_64-linux-gnu' ;; "i386") ARCH='i386-linux-gnu' ;; "arm64") ARCH='aarch64-linux-gnu' ;; "armhf") ARCH='arm-linux-gnueabihf' ;; *) echo "Unsupported architecture: $SNAP_ARCH" ;; esac Hope that helps! Thanks Chris On Tue, Dec 20, 2016 at 2:00 PM, Sergio Cazzolato < sergio.cazzol...@canonical.com> wrote: > Hello, I am creating a snap which has a the python3-gi dependency (as it > is shown below) > > parts: > > kpi-dbus-tests: > plugin: nil > stage-packages: > - gir1.2-glib-2.0 > - python3-dbus > - python3-gi > > > When I run the python script which is using the gi dependency I am getting > some errors when it try to import the dependencies. I took a look and the > dependencies are installed correctly. > > Traceback (most recent call last): > File "/snap/kpi-dbus-tests/x1/dbus_signal_spammer.py", line 25, in > > from gi.repository import GObject > File "/snap/kpi-dbus-tests/x1/usr/lib/python3/dist-packages/gi/importer.py", > line 127, in find_module > 'introspection typelib not found' % namespace) > ImportError: cannot import name GObject, introspection typelib not found > > Traceback (most recent call last): > File "", line 890, in _find_spec > AttributeError: 'DynamicImporter' object has no attribute 'find_spec' > > Also in classic mode, I manually installed the dependencies and executed > the python script and it works properly. > > Any idea about which could be the problem? > > Thanks > > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/snapcraft > > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Classic image not working after upgrade on RPI 3
Hi Sergey, Which image are you using? Is it possible this is the same as this bug: https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1636838 (which should now be fixed). Perhaps you could try the PPA listed in that bug? (Note that this is technically a bug for rpi2, but I *believe* they may share the same kernel) Thanks Chris On Wed, Dec 21, 2016 at 9:57 AM, Sergey Borovkov wrote: > Hi. After I did apt upgrade on classic image I can't boot my RPI anymore. > It's stuck on 'Starting kernel...'. > Tried different SD cards (on the second one I flashed out new classic > image and did upgrade as well) with the same result. > > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/snapcraft > > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft