/srv/irclogs.ubuntu.com/2017/02/17/#snappy.txt

mupPR snapcraft#1145 opened: tests: skip the tests that can't be run in arm64 <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1145>00:22
=== markusfluer1 is now known as markusfluer
foobar_hi03:04
foobar_i'm trying set up a typical unix environment on my raspberry pi03:04
foobar_i was wondering if there was a way to load the classic snap whenever I ssh'd in03:05
foobar_versus invoking it03:05
foobar_or if there was a way to install vim, git, etc via snaps03:05
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
mupPR snapd#2826 closed: overlord: optional device registration and gadget support on classic <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2826>04:53
=== JanC_ is now known as JanC
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
mupPR snapd#2867 closed: screen-inhibit-control: add methods for delaying screensavers <Created by 3v1n0> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2867>07:17
mupPR snapd#2863 closed: cmd/snap-confine: ensure that hostfs is root owned <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2863>07:18
Son_Gokusergiusens: hey07:31
=== chihchun_afk is now known as chihchun
=== JanC is now known as Guest38106
=== JanC_ is now known as JanC
mupBug #1652273 changed: Ubuntu Core 16.04 Docker Seg Faults 139 <Snappy:Fix Released> <https://launchpad.net/bugs/1652273>08:26
mupBug #1665029 changed: snapweb needs a link for device when store selected <Snappy:Invalid> <snapweb:Triaged by dbarth> <https://launchpad.net/bugs/1665029>08:29
mupBug #1655262 changed: Driver doesn't support ap mode <Snappy:Invalid> <snappy-hwe-snaps:New> <https://launchpad.net/bugs/1655262>08:38
mupPR snapd#2876 opened: snap: error when `snap list foo` is run and no snap is installed <Created by mvo5> <https://github.com/snapcore/snapd/pull/2876>08:44
jameshmvo: hi.  Are you able to merge https://github.com/snapcore/snapd/pull/2783 for me?  It looks like jdstrand is happy with the changes I made w.r.t. his review.09:06
mupPR snapd#2783: interfaces: add an interface for use by thumbnailer <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/2783>09:06
mupPR snapd#2783 closed: interfaces: add an interface for use by thumbnailer <Created by jhenstridge> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2783>09:07
mvojamesh: yes, looked at it this morning and looks fine, I was waiting for tests to go green (unrelated failure in there so I had to re-ruN)09:07
jameshmvo: thanks!09:07
mvoyw09:10
mupPR snapd#2877 opened: interfaces: new chroot interface <Created by mvo5> <https://github.com/snapcore/snapd/pull/2877>09:11
zygao/09:25
zygaPharaoh_Atem: hey, thank you for the contributions and for accepting the CLA09:25
zygaPharaoh_Atem: we're on the final 2 PRs for 2.2309:25
zygaPharaoh_Atem: I think this one can go into fedora :)09:26
hangunzyga: hi09:35
zygahangun: hey, did you have luck in getting that to work?09:36
hangunzyga:  following your blog, I am trying to build snapd from master branch09:36
hangunzyga:  my env: ubuntu 16.0409:36
hangunzyga: but got same errors http://pastebin.com/3ySFyvNX09:37
mupBug #1665590 opened: When snapd is refreshed, it does not regenerate apparmor profiles when interfaces have changed <Snappy:New> <https://launchpad.net/bugs/1665590>09:38
zygahangun: did you run ./get-deps.sh?09:38
hangunnot yet09:39
zygahangun: well, why not?09:39
zygahangun: you have to run that to build the go parts09:39
zygahangun: try that, it should build without issues afterwards09:39
mupBug #1665592 opened: cannot bind mount nvidia driver /usr/lib/nvidia-367 <landscape> <Snappy:New> <https://launchpad.net/bugs/1665592>09:50
hangunzyga:  after running ./get-deps.sh , that error was fxed.09:56
hangunzyga:  sudo install -m 0755 -o root -g root -D $GOPATH/bin/snap-exec /usr/libexec/snapd/09:56
hangunzyga: install: target '/usr/libexec/snapd/' is not a directory: No such file or directory09:56
zygahangun: that was for centos, on ubuntu you need to use /usr/lib/snapd/09:57
zygahangun: (all of libexec becomes just lib)09:58
hangunzyga: thanks09:58
hangunzyga:  trouble you again.  when I run "snapcraft register-key " ,  got an error like this: Key registration failed: Failed to save account-key-request assertion for account_id11:02
hangunzyga: invalid revision: could not add assertion (revision 0 is already the current revision)11:02
zygahangun: I'm not that familar with that part, kyrofa or sergiusens are the experts there11:03
mupPR snapd#2875 closed: mkversion.sh: Add support for taking the version as a parameter <Created by Conan-Kudo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2875>11:04
zygaor perhaps pedronis ^^11:05
zygapedronis: that assertion error looks weird11:05
zygapedronis: this is master built locally11:05
hangunkyrofa:  when I run "snapcraft register-key " ,  got an error like this: Key registration failed: Failed to save account-key-request assertion for account_id11:05
hangunkyrofa: invalid revision: could not add assertion (revision 0 is already the current revision)11:06
pedronishangun: it means you already registered that key11:07
pedronisor somebody did11:08
pedronislikeyly you though11:08
hangunpedronis:  can I delete the key by "snap delete-key"11:09
hangunpedronis:  re-register it11:09
pedronisno, revoke/expire key are not stil work in progress11:10
pedronishangun: what does snapcraft list-keys shows ?11:11
pedroniss/are not stil/are still/11:11
Son_Gokumvo: so I'm working on preparing fedora packaging to merge into snapd git11:14
Son_GokuI'm hoping on having that ready to go today so it can go in with snapd 2.2311:14
hangun_pedronis:  is there any way to work it out ?11:15
pedronishangun_: ?11:15
mvoSon_Goku: I'm about to wrap up 2.23 - but for that I would do a 2.23.1 :-D that is pretty cool11:16
mvos/pretty/very very/11:17
hangun_pedronis:  the key in my machine have been registered.  snapcraft register-key always  dones't work11:17
pedronishangun_: sorry I don't undersand what you are saying11:18
pedroniswhat does snapcraft list-keys says ?  is your key there?11:18
pedronis(there's no secret in that list, it's just public bits of the key )11:18
hangun_pedronis:  haha, no secret.11:19
hangun_pedronis: snapcraft list-keys11:19
hangun_pedronis: Name     SHA3-384 fingerprint11:19
zygaSon_Goku: fantastic11:20
hangun_pedronis: default  9rrxV3xRkNjih58E4_TVKIOZrZwX3VYySFzZx3qUveRf_7xkPSYpPQFTw6Y0JAaN  (not registered)11:20
zygaSon_Goku: I'm fighting autocraptools11:20
Son_GokuI mean... man, that was *your* fault11:20
pedronishangun_: that's the key you are trying to register?11:20
Son_Gokucmake and meson both existed :)11:20
hangun_pedronis: yes, it is.11:20
zygaSon_Goku: meson maybe, cmake is yuck and I'd rather use bare make or ... you know11:20
pedronishangun_: ok, I need to have lunch, then I can check about it in the store11:20
hangun_pedronis: thanks a lot11:21
zygaSon_Goku: how about merging the policy into snapd now?11:22
Son_Goku....11:22
zygaSon_Goku: though up to you, I don't know if you had plans for that11:22
Son_GokuI thought about it11:22
zyga(to merge into the bigger policy package?11:22
Son_Gokuwell, keeping it as a module seems to make more sense than merging it back into selinux-policy11:23
Son_Gokuespecially since the scope of snapd increases with every release11:23
zygaSon_Goku: up to you11:23
zygaSon_Goku: I think it will make sense to keep it close over time11:23
Son_Gokumvo: what do you think?11:23
zygaSon_Goku: as we enable CI it would just be built and installed11:23
Son_Gokushould I propose to merge the policy module into the snapd source tree?11:24
zygaSon_Goku: we could experiment, in one PR, with changes that change policy and fix something in the core11:24
zygamvo: this is the selinux policy, about 5 files11:24
Son_Gokuhttps://gitlab.com/Conan_Kudo/snapcore-selinux11:24
popeyanyone on the device enablement side able to help here? ogra_ ? :) http://askubuntu.com/questions/884346/creating-a-custom-ubuntu-core-image-for-intel-joule11:25
mvozyga, Son_Goku my gut-feeling is that having that in the snapd git repo would be good11:25
zyga+111:25
Son_Gokuis there a way to preserve the commit history with doing that?11:25
zygaSon_Goku: absolutely11:25
zygaSon_Goku: just add it as a remote11:25
zygaSon_Goku: and merge11:25
zygawith --no-commit11:25
zygathen move them around and commit11:25
zygaI did that with snap-confine11:26
Son_Gokuwhat were the exact steps?11:26
zygagit remote add policy /path/to/policy/repo11:26
zygagit merge --no-commit policy master11:26
zygagit mv ...11:26
zygagit commmit11:26
zygathen remove the remote11:26
zygait's pretty neat as history is fully preserved this way11:26
zygaincluding before the merge11:26
Son_Gokumerge: sepolicy - not something we can merge11:31
Son_Gokuzyga: am I missing a step?11:31
zygagit fetch11:31
zygaI bet I forgot :)11:32
zygasorry11:32
zyga(merge is local after all)11:32
ogra_popey, hanging directly after selecting the image in grub points to a kernel issue ...11:32
Son_Gokufatal: refusing to merge unrelated histories11:33
Son_Gokuzyga: it doesn't like that much11:33
zygammm, let me think11:34
zygaI wonder if I still have that in bash history11:34
ogra_popey, i'd suggest to him to try each snap on its own ... i.e. build the gadget, build an image with the official pc kernel, see if that boots ... only then start plying with the kernel ... also, the gadget is at https://github.com/snapcore/pc-amd64-gadget11:34
=== chihchun is now known as chihchun_afk
zygaSon_Goku: --allow-unrelated-histories11:35
zygaSon_Goku: odd, maybe git updated since, I don't recall using it11:35
zygaSon_Goku: try it with that option11:35
Son_Gokuyay, now conflicts with COPYING and README.md files11:36
zygagreat!11:36
zygaSon_Goku: you should be good now :)11:36
Son_Gokumvo, zyga: what should the folder be?11:36
popeyogra_: any chance you can paste that in? :)11:36
popeyfor the karma11:36
mvoSon_Goku, zyga: maybe just data/selinux ?11:37
zygamvo: sounds good to me11:37
zygaSon_Goku: unless you have a better idea11:37
mvozyga, Son_Goku: or packaging/fedora/selinux if its specific to that (but it sounds like it is not)11:37
Son_Gokuit's not11:38
zygamvo: I think it is generic for many selinux systems11:38
Son_GokuI set it up to work on Fedora, Debian, and Arch/Gentoo hardened11:38
Son_Gokuall systems that prefer selinux for hardened configurations11:38
apeattackDoes anyone know if canocials landscape will support snappy in the future ?11:40
Son_Gokuzyga: do you know how I can filter out a directory?11:40
zygammm, not sure, I bet there's a way11:41
zygawhat do you want to do?11:41
zygamanybe for a one-off it is easier to just do it manuall11:41
zygaapeattack: it is plausible but I don't have anything to back this up11:41
Son_Gokuzyga: I want to remove dist/ folder11:42
apeattackis there any other way to manage snaps instead ?11:42
Son_Gokusnapd uses packaging/ as its equivalent11:42
apeattackMake sure that a certain snap is installed on a machine at acertain time ?11:43
Son_Gokuand I'm not using the selinux module spec for this11:43
zygaSon_Goku: I think we can drop the .refresh timer + service now11:43
zygaSon_Goku: you can rm -rf it now11:44
zygaSon_Goku: becausethis is --no-commit you can still tweak it11:44
zygaSon_Goku: it will be in the history but that's okay11:44
zygaapeattack: mvo was working on  way to set the refresh schedule, there's a new way to control this11:44
zygaapeattack: but you cannot manage the device to tell it to install a specific snap remotely yet11:45
apeattackok thanks11:46
pedronishangun_: so in the store there's  a request to register that key, but not the key itself, I need to talk with the person responsible for that code to understand how that happened, but he is off today11:50
hangun_pedronis: thanks11:51
pedronishangun_: for now I created a bug:  https://bugs.launchpad.net/snapstore/+bug/166561711:57
mupBug #1665617: user key with account-key-request present in the store but no matching account-key <Snap Store:Confirmed for cjwatson> <https://launchpad.net/bugs/1665617>11:57
mupPR snapd#2878 opened: Merge SELinux policy module <Created by Conan-Kudo> <https://github.com/snapcore/snapd/pull/2878>11:59
Son_Gokuzyga, mvo ^11:59
zygaSon_Goku: commented already12:03
Son_Gokuzyga: done12:17
zygaSon_Goku: I saw, thanks12:20
Son_GokuI don't know how to wire up the debian packaging to produce the selinux policy module12:22
Son_Gokuso you're going to have to do that :)12:22
mupPR snapd#2879 opened: asserts: improved information about assertions format in the Decode doc comment <Created by pedronis> <https://github.com/snapcore/snapd/pull/2879>12:25
morphissergiusens, kyrofa: ping12:54
mupBug #1665592 changed: cannot bind mount nvidia driver /usr/lib/nvidia-367 <landscape> <Snappy Launcher:Triaged by zyga> <https://launchpad.net/bugs/1665592>12:54
sergiusensmorphis: pong?12:56
morphissergiusens: not sure if I found a regression with snapcraft 2.2712:56
sergiusensSon_Goku: got delayed with the snapcraft release, starting the work on it today12:56
morphissergiusens: but our network-manager builds are now failing with:12:56
morphis/usr/bin/ld: ./.libs/libNetworkManager.a(nm-vpn-editor-plugin.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'12:56
Son_Gokusergiusens: fantastic!12:56
morphissee https://launchpadlibrarian.net/305337019/buildlog_snap_ubuntu_xenial_armhf_network-manager-daily_BUILDING.txt.gz for a build with snapcraft 2.26 and https://launchpadlibrarian.net/306823655/buildlog_snap_ubuntu_xenial_amd64_network-manager-daily_BUILDING.txt.gz for one with 2.2712:56
morphisthere are no changes on the snap side12:57
sergiusensmorphis: interesting; is that using classic confinement?12:57
morphisno12:57
morphissergiusens: https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager/tree/snapcraft.yaml12:57
sergiusenshmm, we had no changes in this area iirc12:57
morphishm12:58
sergiusenselopio: that needs to be added to the nightlies ^12:58
morphissergiusens: trying to see if I get that locally too12:58
sergiusensmorphis: k, this is xenial, right? I am going to clone your project and build here too13:00
morphissergiusens: it is13:00
sergiusensmorphis: can you create a bug on our lp tracker for us to add your projects to our nightly builds? List all the projects you care about not breaking and elopio will add them to our nightly check of snaps against snapcraft master13:02
sergiusensit is equivalent of "archive rebuild"13:02
morphissergiusens: nice, will do that!13:08
pmcgowanogra_, hi, I disabled snapd.refresh.timer but I still see it trying to refresh, do I need to disable the service as well?13:16
ogra_pmcgowan, oh, that might be13:16
ogra_i hought the timer is enough, but if it still runs then most likely not13:16
pmcgowanlet me try13:16
pmcgowanogra_, status doesnt indicate its disabled, unless I miss something13:17
hangunpedronis: thanks13:19
ogra_mvo, hmm, did we drop the snap refresh timer without having the core option for refresh.schedule in place ?13:23
mvoogra_: yes13:23
ogra_mvo, i cant find the timer in systemctl anymore13:23
ogra_but also not the timer option13:23
mvoogra_: in 2.23 it is now internal13:23
mupPR snapcraft#1144 closed: Trigger beta tests on travis every day <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1144>13:23
mvoogra_: what do you need in particular?13:23
ogra_right, but no way to turn it off yetz13:23
mvoogra_: no easy way, you can set "snap set core snapd.last" to something recent13:24
ogra_mvo, well,s ee the discussion on the ML ...13:24
mvoogra_: let me check13:24
ogra_where max asks about a way to find if a refresh is due and then wants to do some testing first13:25
ogra_(the replies to "New stable "core" and "ubuntu-core" snaps released" )13:25
mvoogra_: we have the store side validation mechanism for this13:26
ogra_ah13:27
sergiusensmorphis: reproduced :-/13:32
sergiusensI think I know what it may be13:33
pmcgowanmvo, so is there no way to turn ff autoupdates atm?13:33
pmcgowanoff13:33
mvopmcgowan: unfortuantely not, if that is a blocker we need to talk and maybe delay the release13:33
pmcgowanmvo, my question is actually for a core system13:34
pmcgowanif that matters13:34
ogra_should be the same nowadays13:34
mvopmcgowan: total disable is a much discussed topic13:34
pmcgowanmvo, my example use case is we staged a demo machine for next week and would like to keep it the same13:35
pmcgowanalthough real world examples probably meatier13:35
mvopmcgowan: right, well, let me put it differently, we can trivialy add code for this (there is even code in snapd to disable refresh). we need to decide (at a level above me) if that is something we want or not :)13:37
pmcgowanmvo, understood13:37
pmcgowanmvo, I think with better use of tracks/channels for the snaps we could be fine13:38
* mvo nods13:40
mupBug #1663942 changed: snappy-debug suggests network-control, when network is enough <Snappy:Invalid> <https://launchpad.net/bugs/1663942>13:42
sergiusensmorphis: kyrofa reverting https://github.com/snapcore/snapcraft/commit/3052b0f459ded440dad2e2362946ee37e09c8606 fixes it13:43
sergiusensso boo13:43
mupPR snapcraft#1146 opened: Revert "repo: remove symlinks to libc. (#1100)" <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1146>13:51
morphissergiusens: ok, thanks13:52
morphissergiusens: are you pushing a minor release out to fix this?13:57
morphisthis will cause all our CI to break until this is fixed13:57
sergiusensmorphis: yes13:57
sergiusensmorphis: with luck it can be out on Monday, is that ok? https://bugs.launchpad.net/snapcraft/+milestone/2.27.113:59
morphissergiusens: yeah, that should be ok13:59
sergiusensI am thinking that this will hit most autotools/libtool projects though13:59
morphissergiusens: you still want a bug report for this?13:59
morphisyeah13:59
sergiusensmorphis: I think LP: #1665089 is related13:59
mupBug #1665089: snapcraft 2.27 fails to build the mosh classic snap <classic> <Snapcraft:In Progress by sergiusens> <https://launchpad.net/bugs/1665089>13:59
sergiusensbut the 'classic' misled the importance14:00
morphissergiusens: ok14:00
sergiusensmorphis: my guess is that `libtool` does some guessing and then hardcodes expected library paths depending on the libraries it finds; not entirely sure but the whole auto world is full of black magic14:01
morphisit is :-)14:01
stokachuwhat's the snap install syntax to install from a track/channel?14:02
morphissergiusens: so Monday means in proposed for xenial?14:03
mupBug #1650671 changed: Content sharing from snap common is broken <Snappy:Invalid by zyga> <https://launchpad.net/bugs/1650671>14:09
mupPR snapcraft#1135 closed: kernel plugin: if dtb target == NULL and arch == (arm||arm64), build and install all dtbs <Created by piso77> <Closed by piso77> <https://github.com/snapcore/snapcraft/pull/1135>14:12
mupPR snapd#2881 opened: cmd/snap-confine: don't crash if nvidia module is loaded but drivers are not available <Created by zyga> <https://github.com/snapcore/snapd/pull/2881>14:13
mupPR snapcraft#1134 closed: 2.26 dragonboard fixes <Created by piso77> <Closed by piso77> <https://github.com/snapcore/snapcraft/pull/1134>14:15
mupPR snapcraft#1136 closed: kernel plugin: if kernel's target == NULL, use per-arch default target <Created by piso77> <Closed by piso77> <https://github.com/snapcore/snapcraft/pull/1136>14:15
zygaSon_Goku: some build woes on rawhide with golang packages on ppc? I just got a bunch of bug reports about this14:16
Son_Gokuwe just did a mass rebuild14:16
zygahttps://kojipkgs.fedoraproject.org//work/tasks/3376/17733376/build.log14:16
Son_Gokuso it's possible14:16
zygayeah, I saw that14:16
Son_Gokuthis is where you get to talk to the fedora golang guys :)14:16
zygaSon_Goku: ay, will do14:18
mupPR snapcraft#1147 opened: snapcraft.yaml: 96boards: minimal changes to get a working kernel snap <Created by piso77> <https://github.com/snapcore/snapcraft/pull/1147>14:24
mupBug #1604346 changed: snapd apparmor tests fail on ArchLinux <Snappy:Won't Fix by zyga> <https://launchpad.net/bugs/1604346>14:27
stokachuim having some issues trying ot get my systemd script to run on boot https://gist.github.com/battlemidget/e7ea01bfb37a3feb38f2c0fc5e138ada14:29
stokachuzyga, ^ are you familiar with this at all?14:29
stokachui need a custom bridge interface to come up on boot thats handled through this snap run mechanism14:29
stokachuhttps://github.com/conjure-up/conjure-up/blob/master/snap/snapcraft.yaml#L20-L2414:29
stokachuis my daemon config14:30
stokachuif i run the snap run command manually it works14:30
zygastokachu: looking14:30
ogra_didrocks, have you heard about any Gtk theme errors when using the desktop launcher for ubuntu-app-platform ? i get:14:30
ogra_ogra@anubis:~/datengrab/devel/branches/rocket-client-webapp$ rocket-client-webapp.ogra-rocket-webapp14:30
ogra_QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries.14:30
ogra_"file:///build/webbrowser-app-96smi5/webbrowser-app-0.23+16.04.20161028/src/app/webcontainer/webapp-container.qml:-1 File not found\n"14:30
mupBug #1612909 changed: Unable to install snappy in Fedora <Snappy:Invalid by zyga> <https://launchpad.net/bugs/1612909>14:30
morphissergiusens: https://bugs.launchpad.net/snapcraft/+bug/166565814:31
mupBug #1665658: Add system enablement snaps to nightly build of snapcraft <Snapcraft:New> <https://launchpad.net/bugs/1665658>14:31
didrocksogra_: could be. There are quite some warning when using Qt, but I don't think that one. Mirv is responsible for ubuntu-app-platform and manage it. It could be a missing dep14:31
didrocksthe file not found with webapp-container.qml is more annoying14:31
ogra_oh, i thought thats just fallout of the first14:32
mariogripIs it possible to use pkexec in a snap? (with --devmode)14:32
didrocksogra_: I don't think it is14:32
ogra_yeah, now that you say it :P14:32
ogra_who maintains the webapp-helper remote part ?14:33
mupPR snapcraft#1148 opened: kernel plugin: if dtb target == NULL and arch == (arm||arm64), build and install all dtbs <Created by piso77> <https://github.com/snapcore/snapcraft/pull/1148>14:33
mupPR snapcraft#1149 opened: kernel plugin: if kernel's target == NULL, use per-arch default target <Created by piso77> <https://github.com/snapcore/snapcraft/pull/1149>14:33
ogra_i guess the issue is in there14:33
didrocksogra_: Alberto (from https://wiki.ubuntu.com/snapcraft/parts)14:34
zygastokachu: sorry, I'm not sure what to look at14:34
zygastokachu: what is the error specifically?14:34
zygastokachu: I don't see any14:34
stokachuzyga, there are no errors, systemctl status show it applying the items in my bridge.start script14:35
stokachubut it doesn't actually do anything14:35
ogra_mardy, ^^^ seems the webapp-helper is broken14:35
stokachuthere are some reexec commands in there14:35
stokachusnap rexec14:35
* mardy reads...14:35
Mirv(s/Mirv/SDK team/, also t1_mp and kali_kiana can be pinged among else)14:35
mardyogra_: oh, lool has met just the same issue :-)14:36
mardyogra_: where are you building it? 16.04?14:36
ogra_yeah, we are brothers in spirit :)14:36
ogra_snapcraft cleanbuild on 16.0414:36
zygastokachu: not sure if that's related14:36
zygamvo: have a look at this vvvv14:36
zygaFeb 16 20:32:11 chonk /usr/bin/snap[1400]: cmd.go:105: DEBUG: restarting into "/snap/core/current/usr/bin/snap"14:36
zygaFeb 16 20:32:11 chonk /usr/bin/snap[1400]: cmd.go:59: DEBUG: re-exec disabled by user14:36
zygasnap reexcs to say "nah disabled by the user"14:36
zygastokachu: still, no idea what the problem is14:36
zygastokachu: what does the wrapper do?14:36
stokachuzyga, https://github.com/conjure-up/conjure-up/blob/master/snap/wrappers/bridge.start14:37
mardyogra_: you must enable the stable-phone-overlay PPA, as the webapp-container from xenial is too old14:37
ogra_eeek14:37
ogra_ok14:37
stokachuzyga, basically systemd loads this script file and i can see it running those commands, but then it never applies14:37
zygastokachu: and what is the actual issue, that the network changes you did with iptables don't show up?14:37
stokachuzyga, yes14:37
stokachuand that network interface isn't brought up14:38
zygastokachu: no idea, that's not related to snaps, is it?14:38
zygastokachu: (with classic confinement)14:38
stokachuzyga, well it works with my debian package14:38
stokachuso not sure what the issue is14:39
zygastokachu: can you provide a small test case, a oneshoot daemon does something in classic confinement14:39
mupPR snapcraft#1150 opened: kernel plugin: remove MAKEFLAGS from the environment <Created by piso77> <https://github.com/snapcore/snapcraft/pull/1150>14:39
zygastokachu: and that thing is not applied14:39
stokachuzyga, sudo snap install conjure-up --classic on xenial14:39
stokachusee ifconfig output to see interfaces14:40
stokachureboot14:40
stokachuinterfaces gone14:40
stokachuno errors in syslog14:40
zygastokachu: I don't want to run that on my system14:40
zygastokachu: a _small_ test case I can read and change would be better14:41
zygastokachu: ah14:41
zygastokachu: reboot14:41
zygastokachu: after reboot is the job started?14:41
stokachuyes the job is started14:41
zygastokachu: maybe it runs too early14:41
zygastokachu: and there's no network or something like that yet14:41
=== kirkland` is now known as kirkland
stokachui dont know how to set the targets in snapcraft.yaml14:41
stokachuto tell it to wait for network.target14:41
zygastokachu: there's no way to do that14:41
stokachuzyga, https://github.com/conjure-up/conjure-up/blob/2.1.0-beta5/debian/conjure-up.service14:42
stokachuthats what the service should look like14:42
zygastokachu: there's no way to express that in snapd14:43
zygastokachu: partially by design14:43
zygastokachu: please report an issue and discuss this with gustavo when he's back next week14:43
zygastokachu: technically this is easy-ish to do but this is a design issue not a technical issue14:44
stokachuk14:45
zygastokachu: technically we should model dependencies inside snap services and among a curated set of services like network14:45
zyga(targets)14:45
stokachuok14:51
stokachuis there a plan to add an uninstall hook?14:51
zygaI don't know14:51
zygastokachu: there's some chatter about install hooks14:52
zygastokachu: (on the ML)14:52
stokachuyea i need them too14:53
zygaI really feel we need an RFC process or PEP-like process14:53
ogra_mardy, thanks that worked14:54
=== grumble is now known as Guest51839
=== rumble is now known as grumble
mupPR snapcraft#1151 opened: Remove 'Series' from channel maps.   <Created by josepht> <https://github.com/snapcore/snapcraft/pull/1151>15:15
mupPR snapd#2882 opened: snapstate: ensure snapstate.CanAutoRefresh is nil in tests <Created by mvo5> <https://github.com/snapcore/snapd/pull/2882>15:22
mupPR snapd#2883 opened: seccomp: added Specification for seccomp backend <Created by stolowski> <https://github.com/snapcore/snapd/pull/2883>15:23
gQuigsis there a list of ports/servers snap needs to access to work?15:25
loologra_: also captured solution in https://bugs.launchpad.net/webapp-container/+bug/165181215:29
mupBug #1651812: snaps of webapps <webapp-container:Confirmed for mardy> <https://launchpad.net/bugs/1651812>15:29
loolalso I hit this first https://lists.ubuntu.com/archives/snapcraft/2016-November/001735.html15:30
ogra_i didnt hit that one ... but my icon and .desktop file arent found by unity somehow15:31
ogra_it seems all correct but still15:31
mupBug #1665683 opened: Strictly confined desktop applications snaps can't toggle Launch at Login  <Snappy:New for flexiondotorg> <https://launchpad.net/bugs/1665683>15:49
kyrofasergiusens_, morphis that doesn't make sense. That lib should just be in the host machine now, still picked up16:27
kyrofaHard-coded paths, then?16:29
zygakyrofa: which lib?16:29
morphiskyrofa: I don't know, but I know it breaks all builds for some of our snaps like network-manager16:33
morphisand it doesn't with snapcraft 2.2616:33
mupBug #1591148 changed: snap install fails with a kernel lacking apparmor support <security> <snapd:Confirmed> <https://launchpad.net/bugs/1591148>16:34
kyrofaThat's unfortunate, we'll need to figure out another fix for bug #165877416:35
mupBug #1658774: Symlinks to libc left dangling <Snapcraft:Fix Released by kyrofa> <https://launchpad.net/bugs/1658774>16:35
sergiusens_kyrofa: the effects of pkg-config and libtool might be at play ;-)17:04
kyrofasergiusens_, :(17:04
=== sergiusens_ is now known as sergiusens
mupPR snapd#2884 opened: snapstate: limit the ubuntu-core transition attempts to 5 in total every 12h <Created by mvo5> <https://github.com/snapcore/snapd/pull/2884>17:13
mupPR snapd#2885 opened: limit the ubuntu-core transition attempts to 5 in total every 12h <Created by mvo5> <https://github.com/snapcore/snapd/pull/2885>17:14
jdstrandnessita, noise][: is something wrong with the store:17:40
jdstrand$ sudo snap install core17:40
jdstranderror: cannot perform the following tasks:17:40
jdstrand- Download snap "core" (1079) from channel "stable" (received an unexpected http response code (500) when trying to download https://public.apps.ubuntu.com/anon/download-snap/99T7MUlRhtI3U0QFgl5mXXESAiSwt776_1079.snap)17:40
jdstrand$ wget https://public.apps.ubuntu.com/anon/download-snap/99T7MUlRhtI3U0QFgl5mXXESAiSwt776_1079.snap17:40
jdstrand...17:40
jdstrandHTTP request sent, awaiting response... 500 INTERNAL SERVER ERROR17:40
jdstrand2017-02-17 11:39:55 ERROR 500: INTERNAL SERVER ERROR.17:40
ogra_jdstrand, stokachu just reported the same on rocket17:41
naccseems like it (happens here too)17:41
nessitajdstrand, yes, we are getting sort of DoS by snapd itself17:41
nessitaworking on it17:41
jdstrandok17:41
stokachuwe just did a big release announcent17:41
stokachufyi nessita17:41
naccheh17:41
jdstrandI should be able to just sideload, so I'm not blocked17:41
naccstokachu: use snaps! oh wait ... don't use them so hard! :)17:41
stokachu:D17:42
nessitastokachu, there is an issue with the transition from ubuntu-core -> core that's making snapd ask for package details in a loop17:42
jdstrandyikes17:42
nessitaso is not strictly on amount of users, but on an loop of requests, still investigating17:42
stokachunessita, ok people are actively trying to download conjure-up so it's giving them a bad first impression17:43
nessitacprov, see above %17:43
stokachunessita, just letting you know the severity17:43
nessitastokachu, thank you17:43
kyrofaHey ogra_, I tried comparing an amd64 ubuntu core image to an amd64 cloud image (the disk1.img), and Ubuntu Core is larger, which surprised me. Any idea why?17:45
cprovright, we are actively working on it with the snapd team.17:45
mupPR snapd#2882 closed: snapstate: ensure snapstate.CanAutoRefresh is nil in tests <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2882>17:45
ogra_kyrofa, i have never seen one fo the cloud images ... so i cant really tell17:45
kyrofaogra_, ah darn17:46
ogra_not even sure who produces them17:46
ogra_but i guess they dont have a kernel :)17:46
kyrofaogra_, well, I know the rootfs ones don't, but I thought the disk1.img was flashable17:47
stokachunessita, i think it's working for now17:50
kyrofaogra_, if I wanted to say "this is how stripped down ubuntu core is" what would you recommend I compare to?17:50
nessitastokachu, I was about to say downloading should work now17:50
stokachunessita, thank you!17:50
nessitahehe still more to do! but you are welcome17:51
ogra_kyrofa, ubuntu-server vs the core snap17:54
kyrofaogra_, ubuntu-server what, though? Not the ISO, for example17:54
noise][FYI, snap download issue is resolved18:00
mupPR snapd#2879 closed: asserts: improved information about assertions format in the Decode doc comment <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/2879>18:30
lazyPoweris there a pattern for interfacing with man in snaps? Would I need to ship it as a part?18:36
kyrofalazyPower, not yet, but that's something we're working on. bash-completion, too18:37
lazyPowerah ok, i found this - http://askubuntu.com/questions/764835/how-can-i-view-man-pages-for-apps-installed-via-snaps18:38
kyrofalazyPower, yeah I suppose that works18:38
lazyPowerseems like a big hack... not sure if we want to follow up there or not on that answer when the feature lands. Is there a bug i can subscribe to and track this?18:39
kyrofalazyPower, indeed, definitely a hack18:39
kyrofalazyPower, I think this is it: https://bugs.launchpad.net/snappy/+bug/157559318:40
mupBug #1575593: Snappy installed manpages aren't accessible through man <Snappy:Triaged> <https://launchpad.net/bugs/1575593>18:40
lazyPowerThank you kyrofa, my launchpad-fu failed me18:41
lazyPowerta :)18:41
kyrofalazyPower, hardly-- snappy bugs are spread all over the place :P18:41
kyrofalazyPower, we're trying to make that better as well18:41
lazyPoweris there a way to fix this in the short term? if it were a classic snap would that make a consistent work-around fix until this gets bumped from low priority?18:42
lazyPowers/would that/ would that help/18:42
lazyPoweri guess it would work like this: and i think it would work fine in strict mode too: set that manpath  env, and i would have to include man as a part, and then make petname call petname.man which would fix petname -h complaining it cant find man...  thoughts on this approach?18:44
kyrofalazyPower, mvo or zyga might have some thoughts on that18:45
lazyPowerok just sounding out a work-around out loud :) thanks kyrofa18:45
lazyPoweryeah my thought was outlined in that bug pretty well too by paelzer already.18:50
lazyPowernice, thanks again.18:50
kyrofalazyPower, make sure to mark "effects me too"18:51
lazyPowerJust did :)18:52
mupPR snapd#2885 closed: limit the ubuntu-core transition attempts to 5 in total every 12h <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2885>18:54
mupPR snapd#2886 opened: releasing package snapd version 2.22.3 <Created by zyga> <https://github.com/snapcore/snapd/pull/2886>19:15
=== JanC is now known as Guest50386
=== JanC_ is now known as JanC
mupBug #1665756 opened: environment variable setting issue <Snappy:New> <https://launchpad.net/bugs/1665756>19:45
mupPR snapcraft#1146 closed: Revert "repo: remove symlinks to libc. (#1100)" <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1146>19:54
noonienHello folks!19:58
noonienDoes snappy have repositories?19:58
noonienCan I host my own snap repo?19:58
naccnoonien: i believe you'd need your own store19:59
noonienHow can I store private snaps then?20:00
nacchttps://insights.ubuntu.com/2016/06/24/howto-host-your-own-snap-store/ ... but i'm not sure that is official20:01
naccnoonien: i think this is an open feature, but i'd wait to see if someone can respond officially20:01
noonienCool, I'll look into it! Thanks! ^_^20:02
mupPR snapcraft#1152 opened: Changelog for 2.27.1 <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1152>20:03
noonienFrom what I undestand from that blogpost, snapd doesn't support multiple stores.20:04
kyrofanoonien, indeed, you understand correctly20:05
noonienWell, that's kind of a bummer :(20:06
kyrofanoonien, the goal as I understand it is for snapd to have one authoritative source, instead of essentially duplicating PPAs20:06
kyrofanoonien, whether that's the Ubuntu store, or someone else's. Still one source20:06
noonienI see, don't really understand the reasoning for such a limitation though.20:07
kyrofanoonien, I for one never liked adding PPA from <random person> to my system20:08
noonienWell, as long as the store is public(as is the ubuntu store), I don't see how anything is improved20:09
kyrofanoonien, public i.e. anyone can put anything in there?20:10
noonienYes, is that not the case with the ubuntu snappy store?20:10
kyrofanoonien, indeed it is, but there are two things. 1) snaps are typically confined, and 2) in the case where they're not, they undergo manual review by the store/security team. In the case of Ubuntu, I trust them. I don't place that trust easily20:11
ogra_yes, and thats the reason for the "one store" policy ... since that one store has certain policies and security checks in place so poeple can not upload malicious stuff20:11
kyrofanoonien, indeed, as ogra mentioned, there are a lot of automated checks done on the store as well20:11
noonienSo I cannot upload any packages I like under my developer namespace?20:12
ogra_(or rather ... people can uploads anything malicious they want but it will be harmless on the endusers machine)20:12
kyrofanoonien, you'd have none of those guarantees if anyone could use any store20:12
ogra_yo can upload anything you like20:12
ogra_under your namespace20:12
ogra_evil things will hit the wall and get stuck in "manual review" though20:13
noonienSo what's the difference between installing from a PPA or a developers namespace?20:13
ogra_compliant things will just go through20:13
noonienUgh, so everything under my dev namespace needs to get reviewed?20:13
ogra_you dont define the namespace as the enduser20:13
kyrofanoonien, only if it doesn't pass automated review20:13
ogra_why would it get reviewed ?20:14
noonienhmm, is there anywhere where I can read about the process?20:14
kyrofanoonien, which process, uploading snaps? Installing them?20:14
ogra_https://developer.ubuntu.com/en/snappy/guides/security-whitepaper/20:14
noonienI'm trying to create an automated build bot that packages and publishes snaps of the apps I need. It would be a major PITA and waste of time if ubuntu decides my packages don't belong in their store.20:14
ogra_noonien, well, as long as they comply with the security policies of snaps they will just go through20:15
kyrofanoonien, Ubuntu doesn't care as long as the snap is safe. I also use CI to push snaps20:15
ogra_they need to properly use interfaces to talk to the system etc20:15
noonienI see, that's a relief. I'll look into the whitepaper20:16
ogra_if thats given then yoou can just upload ... or even use launchpad pointing to your git/bzr/wahatever trees to have that auto-build and upload for you20:16
kyrofanoonien, check out snapcraft.io as well, it'll walk you through how snaps are put together, including walking you through interfaces20:16
ogra_(for all the arches launchpad supports)20:16
noonienkyrofa: thanks, will do!20:17
ogra_noonien, i'd also recommend http://snapcraft.io and https://docs.ubuntu.com/core/en/20:17
noonienI'd prefer to avoid launchpad as much as I can.20:18
ogra_well, it gives you arch builders for free and is fully integrated with all the snap tools ... so it saves a lot of work20:18
ogra_but up to you indeed :)20:18
kyrofanoonien, note that you don't have to host your code there, FYI20:18
ogra_whats the reason you dont like it though ?20:18
noonienI've had some issues with it in the past, a long time ago, when I tried to contribute to some projects, it's probably a lot better now20:19
noonienThe applications I'd like to packages already have git repos, I'm trying to create a build bot that updates the snaps when the developers push to their repos and deploy them using my snapcraft manifests, as long as they don't wish to support snappy.20:20
ogra_it can easily build github trees for example ... no need that you move your whole project over just to use the snap build mechanism20:20
noonienAnd from the brief look I took over snapcraft.io some time ago, snappy seems like a pretty decent alternative to debs.20:21
ogra_it totally is !20:21
noonienHopefully less work needs to be put into building a snap than a deb.20:21
ogra_yeah20:22
ogra_all you eed is the snapcraft.yaml file ... try out the hello-world example on snapcraft.io20:22
ogra_that yaml file can even point to some remote source ... so it doesnt necessary need to live inside your upstream branch (though that is indeed the best) snapcraft gives you all the freedom you can imagine20:23
noonienI have, sadly the packages I want to build are a bit more complex, they have lib dependencies, need to access X, etc. AFAIR some time ago snappy hardly had any support for such stuff. However, from what I gather it's pretty easy to setup now.20:23
* ogra_ has some snaps that he re-packs from proprietary deb binaries for personal use ... there are pretty much no restrictions what you package or how 20:24
ogra_yeah20:24
ogra_well, read up on it, tinker with it, and if you have questions, we are here :)20:24
mupPR snapcraft#1153 opened: contribution guide: add commit message template <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1153>20:24
noonienhttps://github.com/jaagr/polybar is one such package20:24
noonienI'll try to get it running first. Will check in if there's anything i'm struggling with20:25
noonienYou guys have been of great help! Thank you! ^_^20:25
ogra_:)20:25
=== ssweeny_ is now known as ssweeny
jdstranddavidcalle: hey, I just noticed https://developer.ubuntu.com/en/snappy/guides/security-whitepaper/ still says ~rc5. the pdf is correct20:46
jdstrandnoonien: fyi, if reading the whitepaper, get the pdf ^20:47
kyrofaogra_, why does the core manifest include apt?21:13
ogra_because it is taken before we remove packages21:13
kyrofaOh, you strip from there? Of course, you use this to create classic huh21:14
kyrofa(classic mode, that is)21:14
ogra_right21:14
kyrofaogra_, FYI, you might be not stripping libapt, I think sergiusens hit that21:14
ogra_we do ... but only in edge21:15
kyrofaogra_, ah21:15
ogra_stable is usually 300 revs behind edge ... the fun is in the edge ;)21:15
kyrofaogra_, I don't suppose you generate a manifest of everything that actually ends up in the core snap? i.e. excluding stripped items?21:15
ogra_(sounds like a 70s song title)21:15
ogra_nope21:15
ogra_that would be hard to obtain since the package info is gone then21:16
kyrofaYeah... I figured. Haha, I really have no information to put on this "Ubuntu Core is a flavor of Ubuntu with a minimal footprint" slide21:17
mupPR snapcraft#1152 closed: Changelog for 2.27.1 <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1152>21:30
kyrofaHey jdstrand, remember that weird DNS-not-working-from-within-the-snap issue I mentioned the other day?21:34
kyrofajdstrand, after some more investigation, the only thing that seemed different on his setup than mine was that his /etc/resolv.conf points to 127.0.0.5321:34
kyrofaWhereas mine is 127.0.1.121:34
kyrofajdstrand, any chance this could have something to do with systemd-resolved?21:35
jdstrandkyrofa: maybe? you might ask foundations. I'm not using systemd-resolved...21:36
kyrofajdstrand, yeah me neither21:36
jdstrandkyrofa: I can say I've heard of people having dns issues when using systemd-resolved with snappy. I didn't help debug it (ie, I heard it in passing)21:37
kyrofajdstrand, any chance you remember who was discussing it?21:37
jdstrandit might've been Zygmunt21:38
kyrofazyga, do you remember any issues with systemd-resolved related to snappy?21:38
zygakyrofa: yes21:38
zygakyrofa: but ask me some other time, this is not the best moment21:39
zygakyrofa: tired and fire-fighting21:39
zygajdstrand: hey :)21:39
zygajdstrand: how are you?21:39
zyga(no reviews)21:39
jdstrandzyga: hi :)21:39
zygaheh21:39
jdstrandzyga: I see that! unfortunately, I know why :\21:39
zygano I mean I don't want a review :)21:39
* jdstrand nods21:39
zygajdstrand: I'll catch you next week, I'm about to sign off soon21:39
jdstrandzyga: you've been busy today21:39
jdstrandok21:40
jdstrandzyga: you probably know this, but fyi, Monday is national holiday for US21:40
zygajdstrand: ah, enjoy then21:41
zygajdstrand: man that's not good tho :D21:41
=== mup_ is now known as mup
kyrofazyga, okay... any chance you know of a bug, or someone else familiar with the issue?21:44
* ogra_ wonders if the US had these many free days last year too ... 21:45
kyrofaogra_, hahaha21:45
ogra_or is that a trump bonus ?21:45
mupPR snapd#2887 opened: merge release/2.22 branch into master <Created by mvo5> <https://github.com/snapcore/snapd/pull/2887>21:45
zygakyrofa: no idea21:45
ogra_suffer more but get more free days21:45
kyrofazyga, alright I'll ask next week, thanks21:45
mupPR snapd#2886 closed: releasing package snapd version 2.22.3 <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/2886>21:50
kyrofaogra_, this coming from the guy who gets three months of paternity leave?21:56
ogra_paternity ?21:57
kyrofaWell, not you personally21:57
ogra_:)21:57
ogra_heh, indeed21:57
ogra_france is worse than germany though21:57
kyrofaWhat is it in france?21:58
ogra_more paternity leave i mean21:58
ogra_what do you celebrate on monday ?21:58
kyrofaWashington's birthday22:00
kyrofaOtherwise known as President's Day22:00
ogra_ah ...22:00
* ogra_ holds back on the trump jokes :)22:01
mupPR snapd#2888 opened: many: display kernel version in 'snap version' <Created by zyga> <https://github.com/snapcore/snapd/pull/2888>23:05
mupPR snapd#2887 closed: merge release/2.22 branch into master <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2887>23:43
mupBug #1665808 opened: Unable to install core snap in an ephemeral boot: cannot create namespace group directory /run/snapd/ns: Bad file descriptor <Snappy:New> <https://launchpad.net/bugs/1665808>23:55

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!