/srv/irclogs.ubuntu.com/2016/05/17/#snappy.txt

Trevinhojdstrand: it took some time (sorry, I had to rewrite some parts), but here it is: https://code.launchpad.net/~3v1n0/snappy-playpen/hello-unity-fixes00:23
Trevinhomhall119: you might see that as well ^ (MP at https://code.launchpad.net/~3v1n0/snappy-playpen/hello-unity-fixes/+merge/294858)00:27
niemeyer_Would anyone have a snapcraft.yaml example that has a qt application working?01:14
niemeyer_Trying to snap something and suffering at the moment01:15
niemeyer_Got as far as realizing I needed to stage libqt5gui5 to get the plugins manually, and setting the appropriate enviornment variable to find these01:17
Trevinhoniemeyer_: I think you can get some at https://github.com/kyrofa/qt-example-snaps01:19
Trevinhosergiusens: I know it's dirty (and probably ugly too :-)), but what you think of this: https://bugs.launchpad.net/snapcraft/+bug/1551716/comments/5 ?01:20
ubottuLaunchpad bug 1551716 in Snapcraft "snapcraft does not allow vendor/platform patching of upstream sources (aka: add patch phase to lifecycle)" [Undecided,New]01:20
niemeyer_Trevinho: Thanks!01:21
=== chihchun_afk is now known as chihchun
mhall119Trevinho: thanks, but it's not working for me, can we work on it together tomorrow?04:14
zygao/07:38
morphiszyga: morning!08:51
zygamorphis: good morning :)09:27
morphiszyga: hey!09:27
morphiszyga: I've just pushed new changes to the network-manager interface PR09:27
zygamorphis: shall we land it? :)09:28
morphiszyga: please :-)09:28
zygamorphis: I'll review it in a sec09:28
morphisthanks!09:28
Trevinhomhall119: it runs fine here, but you've to install it as --devmode for now11:45
Trevinhoor do you get issues while snapcrafting it?^11:45
=== chihchun is now known as chihchun_afk
sborovkovHi. Is it possible to allow snap to change config.txt on RPI? Which is a part of gadget snap12:05
ogra_not yet, no12:05
ogra_you will have to use an editor for now12:05
sborovkovogra_: is this a planned feature/is there a bug?12:06
ogra_niemeyer, ^^^ did we actually plan an interface for that that other snaps can consume ?12:06
sborovkovalso we were told before in the time of old security that perhaps we should create script that can execute root commands (so that we can reboot device for instance). is that possible to do now?12:07
OlhHi guys! I have a question: I am working at scientific facility and we are switching soon to Ubuntu16 from Ubuntu12, and the thing is: do you think snappy can be a good approach to package management in the "industrial environment"?12:10
ogra_definitely12:11
Olhbecause from what I see it looks a little bit more like an end-user package management12:12
ogra_snappy started completely focused on embedded and IoT ... it only grew into the other spaces over time12:13
ogra_having snap support on the desktop enables you to actually test your development there very easily (beyond extending the delivery focus to endusers too)12:14
OlhI see, ok, thanks, I have to test it out and see for myself if it's doing the job ;)12:16
ogra_yeah12:16
sborovkovogra_: do you know about what I asked further up, about running root commands from the snap or do you know who I could ask about that? Thanks :)12:18
ogra_Olh, there is also some marketing material if you like such stuff ;)  https://insights.ubuntu.com/2015/10/21/snappy-core-unlocks-iot-value-within-the-dell-edge-gateway-5000-series/12:19
ogra_sborovkov, zyga perhaps ... he works on interfaces between snaps ... that would likely be something the ubuntu-core snap would have to provide12:20
Olh@ogra_ thanks!12:24
nothalOlh: No such command!12:24
Olhogra_ thanks! ;D12:24
ogra_heh12:24
ogra_welcome12:24
sborovkovogra_: understood, thanks. zyga: Hi, do you know if it's possible to run root commands in snap? can it be done somehow at all currently?12:32
morphiszyga: ping12:42
zygamorphis: pong12:49
morphiszyga: you had time to look into the PR for network-manager?12:50
zygamorphis: somewhat, I need to merge it and release12:52
zygamorphis: I think we've switched to a weekly SRU now12:52
morphiszyga: so from a review perspective no further comments?12:52
zygamorphis: looks okay12:53
morphiszyga: ok, do we want a last review from jdstrand on the desktop-side bits?12:53
zygamorphis: you could run update-pot so that it's all green there12:53
zygamorphis: I suspect he will anyway12:54
zygamorphis: I think it's better to ship it now and iterate12:54
zygamorphis: perfect security is a perfect enemy of usability :)12:54
jdstrandhey now12:54
morphiszyga: :-)12:54
morphisjdstrand: hey!12:54
zygajdstrand: hey12:54
morphisjdstrand: if you didn't saw the mails yet, I've updated desktop-support to the network-manager interface12:55
jdstrandI'm not saying not to merge it12:55
jdstrandbut we have to be awfully careful shipping stuff that is too wide open12:55
jdstrandjust like we don't want to ship interfaces cause we can't take them away, we can't ship too open policy because we can't take those accesses away easily12:56
morphisjdstrand: yeah12:57
zygajdstrand: I think that's a fine line, we should be just smart when we do, we can fix security bugs caused by initially too-wide-open things if there's no other choice12:57
jdstrandthere is a choice here12:57
jdstrandyou said you'd just merge it and that security is the enemy of usability12:57
jdstrandthe choice is, let me review it with the updated changes :)12:58
zygajdstrand: I didn't mean to merge it before :)12:58
zygajdstrand: I mean ultimately when we don't see holes we should just merge it12:58
jdstrandah, ok, then I misunderstood :)12:58
zygaperhaps there are more holes12:58
jdstrandof course12:59
jdstrandI thought we were skipping a step is all12:59
jdstrandI see now that I was wrong12:59
zygasorry, I'm still a bit jetlagged12:59
zygaI mean well12:59
jdstrandnw, sorry that I misunderstood12:59
morphis:-)12:59
jdstrand:)12:59
morphisjdstrand: I've marked the line I've added for desktop support13:00
morphisthere might be a few things missing in terms of functionality but we will resolve those as we go13:00
jdstrandmorphis: ok, I'll be reviewing that today. I was going to review the previous changes but then saw that the desktop ones were requested so thought I'd wait13:00
jdstrandI was most interested to see if we were going to ship different policy for desktop and core13:01
jdstrandbut I'll see that soon enough when I take a look at it13:01
morphisjdstrand: thanks13:02
=== alexabreu is now known as alex-abreu
jdstrandsborovkov: you can ship anything you want in your snaps, including stuff you want to run as root, but they will be subject to the security policy as defined by the connected interfaces when running as a service or from /snap/bin. it is possible for you to ship scripts that you run directly as the user under sudo (ie, sudo /snap/foo/current/bin/bar) outside of confinement13:07
jdstrandsborovkov: but it sounds more like you would like interfaces for reboot and perhaps other things. If so, please file a bug and use the 'snapd-interface' tag13:08
jdstrandsborovkov: then it/they can be discussed13:08
sborovkovjdstrand: understood, thanks. Basically we need reboot, but since we are going in beta and don't know if something else might be required.13:09
sborovkovjdstrand: is there already some interface for reboot specifically?13:09
jdstrandsborovkov: no13:11
ysionneauhi13:12
jdstrandTrevinho: re https://code.launchpad.net/~3v1n0/snappy-playpen/hello-unity-fixes: thanks! :)13:12
ysionneauit seems now the ubuntu-core-launcher is directly running the target binary instead of what was done before : running a shell wrapper which was exporting PATH and LD_LIBRARY_PATH13:13
ysionneauso now the snap binary cannot use shared library from its own snap?13:13
Trevinhojdstrand: np, I've noticed that also unconfined the sound indicator integration is not properly working, but for the rest it should work13:13
jdstrandcool13:14
ysionneauI've done my own wrapper ... but this was working before :o13:14
ngaioubuntu-calculator-app.calculator gives me an libGL error and fails13:31
morphiszyga: one other thing I wanted to talk with you about is the pulseaudio interface13:34
zygamorphis: yes?14:21
zygamorphis: for native snap, I assume14:22
ssweenyzyga, have you had a chance to look at https://github.com/ubuntu-core/snappy/pull/1118#discussion_r62386799 yet?14:22
morphiszyga: so I am going to implement the slot side of this now, what is the current state of your PR? still being stalled on the trust-store discussion?14:23
zygamorphis: I think that's something I need to ask jdstrand again about14:24
zygamorphis: I'd like to land it14:24
zygamorphis: because we have no other way, we can improve it next week or the week after14:24
zygassweeny: looking14:25
zygassweeny: I didn't read it yet, just catching up with jetlag today14:25
morphiszyga: I think we shouldn't release it in a state where it allows audio recording14:25
zygamorphis: this was discussed at the sprint briefly, if it takes us a lot of time to make it safer we should release it now14:26
zygamorphis: because the alternative is --devmode anyway14:26
zygamorphis: and this is better than nothing14:26
morphiszyga: so releasing only with a change to pulseaudio to deny audio recording would be my vote14:26
zygamorphis: apparently that's the whole trust store14:26
zygamorphis: or if we can look at the apparmor label from p-a then yes, I agree14:27
zygamorphis: it all depends on our ability to patch this and SRU14:27
morphiszyga: not necessarily, we could start with simply denying audio for every request coming from a snap basing on the snap.* apparmor label14:27
zygamorphis: +100014:28
zygamorphis: let's do it14:28
zygamorphis: you have my support and I'm sure jdstrand will agree14:28
morphisok14:29
morphiszyga: I can prototype something real quick in pa14:29
zygamorphis: fantastic14:30
zygamorphis: I have little knowledge of pa and yet less ability to patch it quickly14:30
morphiszyga: ok14:30
niemeyer_ogra_: About config.txt in the RPi, we didn't settle down on a design yet.. we know at least the gadget snap will be able to conveinently tap onto it14:32
ogra_yeah, thats what i was remembering, there was no specific design yet14:32
ogra_sborovkov, so for now an editor it is ...14:33
HollyRainhow does snappy is related to LXD? Are they complementary technologies or the opposite?14:33
zygaHollyRain: different I would say :)14:33
HollyRainzyga, If I understand both technologies,if you use a server with snappy then don't need LXD, right?14:34
ogra_snaps do not run in containers by default ...14:35
zygaHollyRain: I think they are orthogonal really14:35
zygaHollyRain: as ogra_ just said, snappy doesn't put a container around apps14:35
ogra_i.e. they run natively but in a guarded native environment ...14:35
ogra_and they have to ship all their dependencies inside ...14:35
ogra_you *can* use lxd in a snap if you feel like (or docker) ... but a normal snap is just a natively installed thing14:36
HollyRainok, then snappy is going to kill lxd, at least in servers14:36
ogra_no14:36
ogra_imagine a snap that simply uses multiple containers ... spawns them on demand etc ...14:37
jdstrandmorphis: I think I suggested something rather similar. I guess you are aware of the touch overlay pulseaudio that has identified the mediation points and reaches out to trust-store?14:37
morphisjdstrand: yes14:38
morphisjdstrand: I had a discussion with tvoss about this last week14:38
ogra_just using ldx for a single instance is surely just over-engineering things ... but lxd definitely has its use in snaps14:38
ogra_*lxd14:38
jdstrandmorphis, zyga: I'm totally fine with first iteration mic is blocked if connecting process has label starting with 'snap.'14:38
morphisjdstrand: we have some kind of a plan in our heads how we could implement trust-store in snappy but that needs more time and discussion14:38
morphisso blocking all snaps from mic is the best first thing we can do14:38
jdstrandmorphis: cool-- I pointed tvoss at my ideas in one of the PRs, glad people are discussing it :)14:39
morphisjdstrand: I think your comment was the starting point for this :-)14:39
jdstrand\o/14:40
jdstrand:)14:40
sborovkovogra_: editor is not a possibility :-( Devices will be only remotely available. And without ssh14:40
ogra_hmm, sounds risky, why/what do you need to edit ?14:41
ogra_(i mean ... why on the fly)14:42
sborovkovogra_: Overscan might need to be enabled/disabled. Or for instance hdmi_mode and hdmi_group - in my case I connect monitor which has DVI only, no HDMI, rpi does not detect proper resolution14:42
ogra_hmm, is there no sysfs interface that you could use after boot14:43
sborovkovAFAIK it's all done with changing config.txt.14:44
sborovkovAlso let's say user wants to rotate screen14:44
sborovkovthat also needs chaning config.txt14:44
morphisjdstrand: you have some code anywhere how I can determine the apparmor label for a given pid?14:54
tedgmorphis: man aa_gettaskcon14:56
morphistedg: thanks!14:56
tedgmorphis: Oh, just aa_getcon, then gettaskcon is there14:56
morphisso something like aa_gettaskcon(my_app_pid, &out_label, &out_mode)?14:57
morphisdo I need any context init or so?14:57
tedgNo, I believe it just is a syscall to the kernel14:58
tyhicksmorphis: no context init is needed14:58
tedgFWIW, adding this to UAL so that we can interpret between Click and Snap labels. As they're different.14:59
tyhicksmorphis: but keep in mind that using a pid to look something up is almost always racy14:59
tedg(not sure what you're working on)14:59
morphistyhicks, tedg: just trying to pull the security label from within pulseaudio to deny audio recording for any snap app14:59
morphisand the only thing I get upon connection is the pid14:59
tyhicksmorphis: perfect - you want to use aa_getpeercon() instead15:00
tyhicksmorphis: it is in the same man page15:00
morphistyhicks: ok15:00
tyhicksmorphis: it takes the socket fd as input instead of the pid15:00
zygatyhicks: o/15:01
tyhickshi zyga :)15:01
tyhickszyga: is there a feature bug covering bind mount support for interfaces?15:01
tedgmorphis: How are we doing the trust store integration with clicks? Is that a PA module?15:02
morphistedg: yes15:02
niemeyer_jdstrand: Heya15:02
morphistedg: https://anonscm.debian.org/cgit/pkg-pulseaudio/pulseaudio.git/tree/debian/patches/0409-Trust-store-patch.patch?h=ubuntu15:02
zygatyhicks: nope, not yet15:02
niemeyer_jdstrand: Do you have some input for that "Making a snap of an icon theme" thread?15:03
ysionneausomeone has the link to launchpad to the rpi2 kernel snap.yaml?15:03
niemeyer_jdstrand: It's strange that the logs are showing denials despite the snap being in devmode15:03
niemeyer_jdstrand: There are separate issues about making gsettings happy, but that on itself sounds awkward and worth looking15:03
tedgmorphis: Cool, thanks!15:04
sborovkovHi. Let's say I install snap in devmode - is it possible to lock them down remotely later? remove devmode with newer version of snap15:05
zygaysionneau: I may15:06
morphistyhicks: hm, need to see if I can unwrap the actual connection fd from within my pulse module15:06
zygaysionneau: https://wiki.ubuntu.com/SnappyHackerUsefulLinkCollection15:07
morphistyhicks: so when does retrival through the pid becomes racy? when the security label isn't yet assigned but the client has already connected to pulse?15:07
ysionneauthanks zyga !15:07
tyhicksniemeyer_, jdstrand: I just responded to the icon theme thread15:08
tyhicksniemeyer_, jdstrand: AFAICT, the gsettings issue problems in devmode aren't caused by confinement15:09
tyhickszyga: seb128 was wanting to follow along with the progress - once one of us files a bug, we need to subscribe him15:10
seb128zyga, tyhicks, thanks ;-)15:11
zygatyhicks: I can do it now15:14
tyhickszyga: that'd be good (I need to call into a meeting)15:14
Trevinhojdstrand: you got hello-unity working?15:16
jdstrandnot yet, I've been arguing in #ubuntu-desktop15:16
jdstrandand about to head to a meeting15:17
jdstrandbut after that, I will be looking at it15:17
Trevinhojdstrand: ok15:17
jdstrandmorphis (fyi tyhicks): see https://trello.com/c/ftSp1Ogp/649-implement-aa-query-file-fd-to-fix-toctou-issues-with-using-aa-query-file-path for how to do it safely until the new api is in place15:19
jdstrandactually, I can paste that15:19
tyhicksjdstrand: that's a different problem15:19
jdstrandhttp://paste.ubuntu.com/16475967/15:20
jdstrandah, ok15:20
morphisjdstrand: thanks!15:20
tyhicksmorphis: that's for a different issue15:20
morphisah15:20
sborovkovIs it possible to go from --devmode to usual settings with snap update? Without doing anything manually?15:22
tyhicksmorphis: sorry I missed your question earlier15:22
tyhicksmorphis: the use of the pid can be racy if you pull the AA context of the pid, using aa_gettaskcon(), decide that it should be allowed, and then that pid exits and gets reused15:22
morphistyhicks: ah15:23
tyhicksmorphis: the new process may not have the same AA context15:23
morphistyhicks: as long as we don't store the decision things should be fine then, right?15:23
tyhicksmorphis: probably so15:24
morphisas with the implementation I did so far the label is retrieved again for any new request to record audio based on the pid and checked than if it starts with snap.15:24
tyhicksmorphis: that sounds ok15:24
morphistyhicks: thanks15:25
tyhicksmorphis: how are you getting the pid?15:26
morphistyhicks: pulse is handing it in on a connection attempt, need to check how it retrieves it but I guess it checks the credentials of the connecting peer15:28
zygatyhicks: https://bugs.launchpad.net/ubuntu-core-launcher/+bug/158278115:34
ubottuLaunchpad bug 1582781 in Snappy Launcher "snapd needs a way to control mount points " [Undecided,New]15:34
tyhickszyga: thanks! I'll do a brain dump of what I intend to implement in the launcher15:38
zygatyhicks: thanks!15:38
zygatyhicks: can we actually bind mount /usr/share/fonts over /usr bind mounted from os snap?15:39
zygatyhicks: I was thinking that it might be tricky :)15:39
tyhickszyga: that'll work but we need to get the ordering correct15:40
tyhickszyga: snapd will need to output the default classic bind mounts at the top of the fstab file15:41
zygatyhicks: what is the right order? /usr bind mount will hide /usr/share/fonts, no?15:41
tyhickszyga: /usr needs to be bind mounted first, then /usr/share/fonts can be bind mounted15:41
zygabut, from where?15:41
zygathat's the problem15:41
zygasource is gone15:41
tyhickszyga: oh, I see15:42
zygacould be tricky15:42
tyhickszyga: agreed15:42
zygawe could create an empty / somewhere, populate it15:43
zygaand chroot15:43
zygaanyway15:43
zyga"left as an exercise to the reader"15:43
tyhicksyes15:43
tyhicksI'll give it some thought (still in meeting)15:43
zygasure, no worries15:43
morphisawe, zyga: first draft on the pulseaudio-snappy-policy impl: https://paste.ubuntu.com/16476981/16:10
morphisnot tested yet16:10
awethanks morphis16:10
morphisawe: ah, I meant jdstrand :-)16:11
morphisawe: but feel free to have a look too16:11
awehaha16:11
morphismore gaining pulseaudio knowledge is always what we look for :-D16:11
morphisjdstrand, zyga: will test and finish this tomorrow, packages are at https://requests.ci-train.ubuntu.com/#/ticket/142816:18
zygamorphis: you should free the label obtained from aa17:36
zygamorphis: around line 129 in the diff17:37
zygamorphis: otherwise this leaks memory17:37
Facuhello! I'm failing to understand how to connect an app to an interface, I'm kind of lost about what is a plug and what is a slot (specially because the "connect" section in "man snap" doesn't mention the app at all)17:41
zygaFacu: hey17:41
Facuhola zyga17:42
zygaFacu: plug is the "using/consuming" side of an interface17:42
zygaFacu: slot is the "providing" side17:42
zygaFacu: you can use: snap connect snap-name:plug snap-name:slot17:42
zygaFacu: to connect the plug to a slot, the snap names are typically different17:42
Facuzyga, ok; so I do "sudo snap interfaces", and under the slot column there is ":home", but which snap provides that?17:43
zygaFacu: ubuntu-core17:43
zygaFacu: that will be quite a lot easier soon, just not in sru-217:43
Facuzyga, and how do I get from the app to the plug? my app is named  spongeshaker.sha3sum, but I tried  "sudo snap connect spongeshaker.sha3sum:home ubuntu-core:home"  and it tells me that:  cannot connect plug "home" from snap "spongeshaker.sha3sum", no such plug17:44
zygaFacu: you don't connect apps, you connect snaps17:45
zygaFacu: put the home interface on the appropriate apps in your snap17:45
zygaFacu: then connect with: sudo snap connect spongeshaker:home ubuntu-core:home17:45
zygaFacu: plug name is "snap-name.plug-name" not ".app-name"17:46
Facuzyga, when you say to "put the home interface on the appropiate apps", that is in the .yaml before building the snap?17:46
zygaFacu: yes17:47
zygaFacu: http://www.zygoon.pl/2016/04/snappy-snapcraft-and-interfaces.html17:48
zygaFacu: http://www.zygoon.pl/2016/04/snappy-interfaces-plugs-slots-connections.html17:48
zygaFacu: that should help you17:48
Facuzyga, awesome, thanks! I was reading here and didn't find anything regarding interfaces: https://developer.ubuntu.com/en/snappy/build-apps/snapcraft-syntax/17:49
zygaFacu: we're working on making developer.ubuntu.com docs much better17:50
jdstrandmorphis: nice! (though shouldn't line 122 be PA_HOOK_CANCEL? that's a scary conditional to say ok to)17:51
Facuzyga, ah, ahora I see the plug listed in "snap interfaces", awesome17:52
mhall119Trevinho: are you still around?18:46
jdstrandtyhicks: how is this text: http://paste.ubuntu.com/16480381/18:54
HollyRainat snapcraft, there a plugin for 'go', could be passed any argument to go compiler?18:55
tyhicksjdstrand: sounds great19:01
* jdstrand posts19:02
jdstrandtyhicks: thanks19:02
thomiHello everyone, does anyone know who I should talk to about debugging / fixing  https://bugs.launchpad.net/snapcraft/+bug/1582513 ?19:40
ubottuLaunchpad bug 1582513 in Snapcraft "snapcraft python3 plugin generates invalid snaps" [Undecided,New]19:40
thomisergiusens: perhaps you know? ^^19:42
jdstrandTrevinho: I finally tried hello-unity and commented in the MP19:44
davidcalleFacu: zyga: the Interfaces doc is located here: https://developer.ubuntu.com/en/snappy/guides/interfaces/19:45
Facudavidcalle, thanks, found the .md in the repository for that :)19:46
davidcalleOk :)19:46
Facuthomi, I just created a snap using python3, and it worked19:46
thomiFacu: hmmmm. Any ideas what the issue might be? A virtualenv created for the same source doesn't pull in that library...19:47
Facuthomi, I got the example from here: https://github.com/ubuntu-core/snapcraft/tree/master/examples/py3-project19:48
Facuthomi, maybe you can try that one, and if it fails is something from your installation (or something from mine that luckily made it work ok)19:48
* thomi clones19:49
Facuthomi, the snapcraft building worked ok; the example is useless because it doesn't declare the :home plug, but that's another issue19:55
thomiFacu: are you willing to try the snapcraft.yaml file from the bug? I'm building the example now19:55
Facuthomi, just put that alone in a dir and run snapcraft?19:56
thomiFacu: yup19:57
thomiFacu: iiiinteresting, the py3-project example pulls in that lib for me too19:57
thomihttps://www.irccloud.com/pastebin/7MXh7bMs/for%20example%3A%2019:57
Facuthomi, http://linkode.org/FYzDlwbz8TbhilmWVO1nL720:00
thomiFacu: what does "find . -name "libmvec.*"" show?20:00
thomiFacu: I can build the snap, but it fails review since it contains a symlink to that library for some reason20:00
Facuthomi, http://linkode.org/FYzDlwbz8TbhilmWVO1nL7/4tbXGNxYHXnthEO6RbG5a220:03
thomiFacu: same as me. I bet if you try and upload the snap it'll be rejected :(20:04
Facuthomi, upload through where?20:04
Facuthomi, the web ui?20:05
thomiFacu: yeah - but it'll fail since the name is registered to me.20:05
Facuthomi, I can try staging20:05
thomiahh, good idea20:06
Facuthomi, I think it all worked ok... it's public, you can see this AFAIK: https://myapps.developer.staging.ubuntu.com/dev/click-apps/681/20:24
thomiFacu: nope, I get 403 - it worked though? That's odd - maybe I should try re-uploading it to prod20:25
Facuthomi, you should be able to search for it, in staging, right?20:26
thomiFacu: hmmm, how? The UIs all changed since i last looked.20:27
mhall119sergiusens: ping20:29
Facuthomi, so, upload fails for me too, as we saw20:59
Facuthomi, that said, the snap works!21:00
thomiyeah, any idea who I should ping about this?21:00
Facuthomi, I mean, the example one, I installed and used it21:00
Facuthomi, so it probably is not the snap that is wrongly built, but the automatic reviewer?21:00
thomiFacu: that's part of sca, right?21:00
roadmrthomi, Facu : jdstrand could tell you why the click-reviewers-tools script is failing a particular package21:05
thomijdstrand: I'm seeing lint-snap-v2:external_symlinks fail, both for my own python3 snap (http://paste.ubuntu.com/16482061/) as well as the py3-project example from the snapcraft repo21:12
thomijdstrand: the symlink it's complaining about is libmvec21:13
Facujdstrand, note that I built the py3-project example, installed locally, and it works21:13
Facuthomi, roadmr ↑21:13
jdstrandmay I see the review tools error?21:14
thomijdstrand: sure, one sec21:14
Facujdstrand, "package contains external symlinks: usr/lib/x86_64-linux-gnu/libmvec.so lint-snap-v2_external_symlinks"21:14
thomibeat me to it :D21:14
jdstrandright21:15
jdstrandthat indicates a real problem with your snap21:15
jdstrandit is pointing to something outside of itself21:15
thomijdstrand: this is using the example py3-project snap from the snapcraft repo21:15
jdstrandsounds like a bug in the snapcraft repo21:16
thomijdstrand: any idea who to talk to about that?21:16
jdstrandkyrofa (cc sergiusens (just for bacscroll, stay away on holiday)): ^21:16
Facujdstrand, thomi, I opened the snap: it looks like there are a lot of symlinks pointing to outside: http://linkode.org/y6AKZ3Iq9Hzsoi0Ic0nui421:20
jdstrandiirc, some are required21:20
jdstrandthere is a list and the review tools won't complain about ones in that list21:21
Facuin any case, the libmvec looks like pointing outside, indeed:  libmvec.so -> /lib/x86_64-linux-gnu/libmvec.so.121:21
Facuso, snapcraft is building badly the .snap21:22
jdstrandbut the libmvec.so might need to be one of those21:22
jdstrandI see that it is part of libc621:22
jdstrandcan one of you file a bug against snapcraft and add a click-reviewers-tools task?21:23
thomiI'll add a test to https://bugs.launchpad.net/snapcraft/+bug/158251321:23
ubottuLaunchpad bug 1582513 in Snapcraft "snapcraft python3 plugin generates invalid snaps" [Undecided,New]21:23
thomijdstrand: done21:24
jdstrandthanks21:24
thomithanks for your help Facu , jdstrand21:26
Facuthomi, thank you!21:27
Facujdstrand, roadmr, thank you too :)21:27
thomiHopefully we can find a solution soon, I really want to upload my snap to the store :D21:28
roadmrI did nothing :)21:47
=== JanC is now known as Guest42191
=== JanC_ is now known as JanC

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