/srv/irclogs.ubuntu.com/2017/04/20/#snappy.txt

=== petevg is now known as petevg_afk
mupBug #1684343 opened: For candicate release is appearing on dragonboard the message "ERROR hal_remove_bsskey response failed err" <Snappy:New> <https://launchpad.net/bugs/1684343>03:22
mupPR snapcraft#1266 closed: tests: report coverage only in unit tests <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1266>03:22
zygagood morning06:18
kozahey06:21
mupPR snapd#3201 closed: interfaces: re-add reverted ioctl and quotactl (revert 21bc6b9f) <Created by jdstrand> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3201>07:09
zygahey mvo, how are you doing today?07:12
mupPR snapd#3206 closed: [2.24] Add maintscript helper to remove usr.lib.snapd.snap-confine in snap-confine <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3206>07:12
mupPR snapd#3210 closed: [2.24] tests: relax network-bind interface regexps <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3210>07:12
mvohey zyga! I'm doing fine, how are you?07:12
zygamvo: good, 3rd night in the tent now :) I used a sleeping bag this time, had a full night sleep for the first time (earlier I would wake up as it's not that warm at night yet) :-)07:13
zygamvo: doing reviews, then will jump into a problem I didn't solve last evening07:13
mvozyga: tent> fun!07:14
zygapstolowski: commented on the disconnect PR, have look please07:26
pstolowskizyga, sure, thanks07:26
pstolowskizyga, and i commented on 320807:31
zygapstolowski: repliiied07:32
pstolowskizyga, very good point about new snapd running old tasks, thanks!07:33
zygapstolowski: my suggestion would be a patch that converts such a task to the new configuration07:33
zygapstolowski: but that's not without issues itself07:33
zygapstolowski: though unlike other patches it would not need to be undone07:34
zygapstolowski: as old snapd can handle that too07:34
pstolowskilet's create a forum topic maybe07:34
zygaOK07:34
=== chihchun_afk is now known as chihchun
pstolowskiactually existing topic is fine for that07:36
mvopstolowski: looks like 3070 has a open question from gustavo - is that addressed? if so, I think the PR is good to go07:56
mupPR snapd#3207 closed: tests: relax network-bind interface regexps <Created by mvo5> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/3207>07:56
pstolowskimvo, thanks, if you mean the comment re having a test for revert case, than yes, it's addressed, i've just added a comment07:59
mvopstolowski: great, thank you.08:00
mvopstolowski: it looekd addressed to me but I wanted to double check :)08:00
mupPR snapd#3070 closed: overlord: maintain per-revision snapshots of snap configuration <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3070>08:02
Chipacagood morning!08:06
zygaChipaca: good morning, how are you feeling?08:07
* Chipaca is back from the dead08:07
Chipacazyga— no fever today, but something is still up08:07
Chipacaas if my vision had lag08:07
mwhudsonhttps://forum.snapcraft.io/t/snapcraft-autopkgktest-failure-in-zesty/337 oh god08:08
Chipacacan we tell it >= instead of =?08:09
Chipacano, we can't ("E: Unable to locate package hello>")08:10
pstolowskido we actually need to specify version number there?08:13
mwhudsonyou could make a dummy package that depended on hello (>= whatever)08:13
mwhudsonand install that08:13
mwhudsonsbuild and pbuilder both have helpers for that iirc08:14
mwhudsonbit of a run around though08:14
morphis_mwhudson: hey! if you didn't saw it yet: https://github.com/snapcore/snapd/pull/315608:21
mupPR snapd#3156: many: support debian in our CI <Created by morphis> <https://github.com/snapcore/snapd/pull/3156>08:21
mwhudsonmorphis_: nice08:34
morphis_mwhudson: its close to be ready, just three remaining tests I need to debug08:34
morphis_mwhudson: btw. are there any big differences in the debian packaging bits to what we have in the snapd tree?08:34
mwhudsonmorphis_: well the devendoring is the big thing i guess?08:35
mwhudsonotherwise, no not really i think08:35
* mwhudson is not here btw08:35
morphis_mwhudson: you mean you have individual deb packages in debian for each golang package snapd uses08:35
morphis_mwhudson: ah :-)08:36
mvomorphis_: 3177 has a unit test failure it seems (just in case you have not seen it already)08:36
pstolowskiChipaca, is https://bugs.launchpad.net/snapd/+bug/1660970 going to be covered by your tab-completion work?08:40
mupBug #1660970: snap info could autocomplete against installed snaps <snapd:New> <https://launchpad.net/bugs/1660970>08:40
morphis_mvo: yeah, thanks, already looking into that one08:43
Chipacapstolowski— umm08:43
Chipacapstolowski— so, no08:43
morphis_mvo: looks like something broke after my last rebase on master08:44
Chipacabut let me read the bug; it's probably invalid, at least as stated in the title08:44
Chipacapstolowski— i can fix this easily :-)08:46
pstolowskiChipaca, :) cool08:47
renatHi! It's Renat from Screenly=) I have another question to you=)08:47
zygahey renat08:48
renatWe configured auto-connection for our snap almost successfully, but dbus plugs and slots don't connect automatically to each other=(08:48
renatLet me post here our snap config08:49
zygato each other where? in one snap?08:49
renatzyga, yes08:50
renathttps://paste.ubuntu.com/24419051/08:50
zygarenat: not sure why yet BUT, if you use core from the edge channel then each auto-connect logs why it doens't do something08:52
zygarenat: so you could install your snap and just read the message08:52
renatI will try, thanks!08:53
=== chihchun is now known as chihchun_afk
Chipacazyga— is there any reason why 'snap interfaces' isn't completing? (i mean one level up from "because the code isn't written")09:03
zygaChipaca: no09:05
Chipacazyga— same question but about disconnect, now :-)09:05
zygaChipaca: also completion for connect is not as smart as I wish it was09:05
zygaChipaca: same answer :)09:05
Chipacazyga— oh? tell me more09:05
zygaI think connect was a proof of concept09:05
zygaand that was just merged but I didn't iterate09:05
Chipacaah09:05
zygaif you look at connect, it's really dumb09:05
zygawhat it should really do09:05
zygais complete only those that you can connect in practice09:05
* zyga is stuck at a harder part of update-ns09:06
Chipacazyga— how can you know what you can connect?09:07
zygaI think I will break for a moment and do something else, explore the easier parts again and write spread tests09:07
zygaChipaca: well, the interfaces must match09:07
Chipacazyga— oh you mean for the second argument?09:07
zygaChipaca: but also you need to see that something can have more than one connection at a time09:07
zygaChipaca: and when you factor in hooks it's even more interesting09:07
Chipacaright now the second arg doesn't complete at all09:07
zygaChipaca: yes09:07
zygaChipaca: anyway, look at it and think, I'm sure you will come up with a more complete picture than my rusty memory09:08
Chipacagrmbl09:08
Chipacazyga— I'll start with the simpler stuff :-)09:10
iceyany ideas why suddenly I have `Issues while validating snapcraft.yaml: snapcraft validation file is missing from installation path`09:17
iceywell, with apt or source, snap seems to work fine :)09:17
mupBug #1684525 opened: panic: assignment to entry in nil map <Snappy:New> <https://launchpad.net/bugs/1684525>09:18
Chipacazyga— ^ that backtrace talks about content interface09:29
zygaChipaca: I fixed that yesterday09:29
Chipaca:-)09:29
wligtenbergI need to log into a webex meeting, I know it can be a pain to set up on ubuntu 16.04 64 bit. Would it be possible to create a snap with firefox and the correct java packages so that everything will just work? It should also connect to webcam and sound. What would the difficulty level be?09:33
zygawligtenberg: after a firefox snap exists, not high09:33
zygawligtenberg: before, I'd wait09:33
wligtenbergzyga: does a firefox snap exist? I am not fully aware of all snaps :)09:35
zygawligtenberg: I don't think a stable one exists yet09:35
wligtenbergzyga: ok, thanks. Then I will have to resort to the windows VM I guess. It would be a very cool use case I think. No more try all these things and you might get it to work, but just use this snap. :)09:36
ogra_iirc there is a chrome one though (but also only in the edge channel)09:36
zygaI agree, I think it's coming though09:37
wligtenbergAlthough it would be even better if Cisco would just play nice with Linux...09:37
ogra_snap install chrome-test --edge09:37
wligtenbergogra_: As far as I know, chrome is more difficult since it has stopped java support, which is required.09:37
ogra_thats the proprietary chrome though ... it might have more than chromium (it takes 5min to try out if you want to check ,... snaps are easily installed/uninstalled without any harm for your system)09:38
wligtenbergogra_: good point, will just see if it works. :)09:39
ogra_;)09:39
Chipacaand that's 5 minutes on *ogra_'s* connection :-)09:47
ogra_haha, yeah09:47
Chipacahe's got a very speedy dialup09:47
Chipaca:-)09:47
zygaI-S-D-N09:49
=== chihchun_afk is now known as chihchun
ogra_of them get you 1.2Mbit!)09:55
ogra_bah09:55
ogra_(10 of them get you 1.2Mbit!)09:55
mcphailwligtenberg: curious to know if you can get this to work. Was hoping to join a webex next week09:59
awihi10:08
mupPR snapd#3213 opened: snap: require snap name for 'revert' <Created by stolowski> <https://github.com/snapcore/snapd/pull/3213>10:12
wligtenbergogra_ mcpahil: using the chrome snap does not work. It downloads a java webstart thingy but cannot execute that.10:49
ogra_well, was worth a try at least10:50
wligtenbergogra_ I agree, it is the beauty of snaps :)10:51
mvoniemeyer: if you could add tags for sergio and elopio to the forum, that would be great! this way we can use @upcoming @sergio to assign things to them :)10:52
pstolowskirefresh-delta-from-core failed in my branch https://travis-ci.org/snapcore/snapd/builds/22389748210:55
mvopstolowski: when did that fail? about ~3h ago there was a misconfiguration in u110:56
mvopstolowski: if its a recent failure we need to talk to them again10:56
pstolowskimvo, 4 minutes ago if travis is not laying10:56
mvopstolowski: hm, then I think we need to talk to #u110:57
pstolowskimvo, who is our person to talk to?10:58
pstolowskimvo, ah, ok, i see you raised that already10:59
mvopstolowski: yes10:59
pstolowskithanks!10:59
zygapstolowski: FYI I saw that many times this week11:02
mupPR snapcraft#1267 closed: meta: override the version with version-script <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1267>11:04
ogra_mvo, hmm ... i think we need to either finally land the systemd changes in xenial or at least update our package https://forum.snapcraft.io/t/cant-install-libudev-dev-in-classic/333/311:15
wligtenbergmcpahil: This docker approach seems to work https://hub.docker.com/r/dnk8n/docker-webex/ , at least I can join the webex test. After tonight I will know more. I will try this, and have my windows VM as backup.11:31
mupPR snapd#3214 opened: cmd/snap: iterate interface tab completion <Created by chipaca> <https://github.com/snapcore/snapd/pull/3214>11:32
wligtenbergSo I was definitely not the first person with the idea :)11:32
mupPR core-build#6 opened: add the initramfs-tools-ubuntu-core package source <Created by ogra1> <https://github.com/snapcore/core-build/pull/6>11:44
mvoogra_: yeah, just noticed this too. very annoying, its the result of https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/165919511:48
mupBug #1659195: resolver regression on ubuntu-core from #1636912 <systemd (Ubuntu):Confirmed> <https://launchpad.net/bugs/1659195>11:48
ogra_yeah11:48
pstolowskimvo, nice idea with using iptables for 3197! looks very promising12:00
mupPR snapcraft#1268 opened: Added link to forums in the Get in touch section <Created by Ads20000> <https://github.com/snapcore/snapcraft/pull/1268>12:19
renat``Hi, again=)12:24
renat``zyga, seems, it doesn't connect because of multiple candidates for connection.12:25
renat``Apr 20 09:02:10 localhost.localdomain /usr/lib/snapd/snapd[1181]: task.go:303: DEBUG: 2017-04-20T09:02:10Z INFO cannot auto connect udisks2:service (slot auto-connection), candidates found: "screenly-client:udisks2, udisks2:client"12:25
renat`` 12:25
renat``For example.12:25
renat``How do I specify slots for auto-connection?12:25
renat``In this particular situation - I want both, but there is another message:12:26
renat``auto connect screenly-client:command-dbus-client (plug auto-connection), candidates found: "screenly-client:command-dbus-server, screenly-client:ping-dbus-server, screenly-client:playlist-dbus-server"12:26
renat`` 12:26
renat``And I only want to connect to one of them.12:26
zygarenat``: I started discussing this topic here https://forum.snapcraft.io/t/what-should-the-auto-connect-logic-be-like/31212:30
renat``Thanks! Joining12:31
morphis_zyga: joining us?12:31
zygaoh12:32
zygasorry sure12:32
zygano notification :/12:32
morphis_mvo: 2.24 is going out today or next thursday?12:53
mvomorphis_: the tenative plan is today, we will talk about it in todays standup, feel free to join, its in 7min12:53
mvomorphis_: tenative because there is a lot of stuff tagged as 2.25 which is not in yet12:54
morphis_mvo: ok, I have another meeting in 5min but that is already all I wanted, thanks :-)12:55
mvomorphis_: we need to consult JamieBennett on this too, the stable release is currently done by him. if 2.24 goes out today or not is something we also discussed via mail with tony but no final decision yet afaik12:57
morphis_ok12:58
morphis_mvo: I was more interested of the perspective when we can push the packages for fedora/suse/yocto out12:58
mvomorphis_: aha, I see. for those 2.24 is fine to push out (it is already released upstream). if you mean 2.25 (which is the next release which is currently wrapped up), then today is the tentative plan but things might get delayed because of $stuff13:00
morphis_mvo: I was thinking more of we should always align to the stable core snap with that release as their may be dependencies13:01
Chipacazyga— standup13:02
zygaah, sorry13:03
mupPR snapcraft#1269 opened: tests: fix package version pinning tests <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1269>13:38
Son_Gokumvo: let me know if we are releasing 2.24 today, so that I can push the button to release it for all Fedora releases13:40
pedronismvo: fwiw systemd-run takes a --slice=  and I see a user-USER.slice but then there's also a session-xx.scope under the slice and I don't see systemd-run taking a scope13:45
* zyga -> lunch13:58
niemeyermvo: Done14:04
niemeyer527 members on the devices mailing list.. there we go again14:04
mupPR snapd#3213 closed: snap: require snap name for 'revert' <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3213>14:17
ogra_niemeyer, FYI https://github.com/snapcore/core/blob/master/live-build/hooks/500-create-xdg-wrapper.binary#L28 is what we allow today ... when we change the whole thing i think snap-confine should actually look up which mimetypes are supported on the desktop side and put some file on top of that mimeapps.list file relfecting reality on the desktop side ... (would be a quesrtion to zyga how hard that would be to implement)14:23
Chipacaogra_— note there are two sides to the allowing, and i think niemeyer was pointing to the other side14:24
ogra_ah14:24
ogra_*that* was the misunderstanding then :)14:24
Chipacaogra_— either that, or there are two implementations of the same thing written in completely different languages14:25
niemeyerogra_: Yes, what is inside core or the snap is irrelevant..14:25
ogra_niemeyer, not for the snaps14:25
ogra_niemeyer, if my snap wants a file:// url this will not work today14:25
niemeyerogra_: In terms of security, the snap can perform that dbus-send call with whatsoever it wants14:26
ogra_so the info that the desktop knows how to handle file:// is a valuable info we should forward to the inside of core (which is what my question above is about, regarding snap-confine)14:26
ogra_sure but it will be a no-op for anything we dont define in that file14:27
ogra_(or even cause an error on the snap dside, havent tested this)14:27
niemeyer!?!?14:27
niemeyerogra_: This is completely irrelevant.. dbus won't consult that file to perform the call, nor will the daemon on the other side14:27
* ogra_ has the feeling ou dont understand me ... 14:28
Chipacaogra_— gustavo is talking about security14:28
Chipacaogra_— you're talking about usability14:28
Chipacaboth are needed14:28
ogra_right14:28
niemeyerogra_: I have the feeling we're talking across purposes indeed.. you raised security concerns in our call today. That's what I'm talking about.14:29
ogra_i talk about what the snap sees and what the user ends up with in the current situation14:29
ogra_if we re-do the world we need to re-do this bit too ... thats all i'm saying14:29
ogra_(and i propose that snap-confine handles it)14:29
ogra_niemeyer, that were no security concerns but rather "xdg-open will open anything, not just a browser ... completely unrelated to security14:30
niemeyerogra_: If a snap could open anything with xdg-open, that'd be a major security concern.. that's exactly the topic above.14:31
niemeyerogra_: It can't, and it's not because of those files you referred to14:32
ogra_well, thats an xdg-open thing ...14:32
niemeyerogra_: But because the daemon will anything not accepted14:32
niemeyer* the daemon will reject14:32
niemeyerogra_: We don't use xdg-open *at all* today.. it's simply an executable with the same name14:32
ogra_right, currently the mimeapps.list file makes us reject even before it goes anywhere14:32
niemeyerogra_: Once more (and last, I think), mimeapps is irrelevant.. the dbus call that is inside that xdg-open call can be carried with any URL.. it's the daemon that will prevent arbitrary URLs from being opened14:33
ogra_what i'm saying from a UX/snap perspective is that we should have that bit dynamically based on the capabilities the actual desktop exposes14:33
niemeyerogra_: You're flipping back and forth between UX and statements such as "xdg-open can open anything"..14:34
niemeyerogra_: Our xdg-open can't...14:34
niemeyerand it shouldn't14:34
ogra_it should allow the exact same any other desktop app is capable to when using a MRL/URL14:35
ogra_which is defined on the desktop side14:35
ogra_but not carried through as info to the core snap14:35
niemeyerogra_: Nope, our xdg-open needs to be security aware...14:35
niemeyerogra_: and btw, mvo is right.. polkit is unrelated.. the daemon would need to integrate with polkit for it to work, and it doesn't today14:36
ogra_well, then we shoudl make that work ... but since you want to drop that anyway i wont argue about security anymore ;)14:36
niemeyerogra_: Don't worry about that feature. We'll sort it out.14:37
morphisniemeyer, ogra_: I think there are two things we're mixing here, one is carrying what we have right now (http://) forward also to other distributions and the other thing is support for other URI's like tel:// or similar14:37
niemeyerogra_: We're not dropping anything.. we're evaluating a different way of doing it that might help cross-distribution support. It's about being open minded enough to accept exploring ideas and perhaps falling back if it turns out to be a dead end.14:37
morphisonce we have sorted the first one we can use the same implementation to add more things if needed14:37
ogra_morphis, right, that was my point ... the core snap should have the info what the desktop side supports before even offering it to the snap14:38
niemeyermorphis: Right14:38
morphisogra_: what do you mean by that? what kind of info should the core snap have?14:38
ogra_morphis, mime types14:38
morphisright, but that is a different story we can solve later on14:39
ogra_morphis, https://github.com/snapcore/core/blob/master/live-build/hooks/500-create-xdg-wrapper.binary#L23 defines the supported mime types a snap sees14:39
morphiswe first need a way to talk with the classic desktop at all14:39
niemeyerogra_: You had several points, actually, and most of your posts on that thread don't contribute to the conversation but rather just create controversy.. and in some cases are just plain wrong, such as the polkit statements. Please try to collaborate towards a solution.14:39
ogra_morphis, and since i try to drop any arguing about security, thats another bit i would like to see solved which is why i brought it up here14:39
niemeyerogra_: For contrast, see morphis's last post on the thread. This is what good feedback looks like.14:39
morphisogra_: shouldn't that be just x-scheme-handler/http;x-scheme-handler/https ?14:40
morphisogra_: as that are the only two mime types snapd-xdg-open currently allows14:40
ogra_morphis, PRs accepted :) i thought we hand through mailto as well at least14:41
morphisogra_: we do?14:41
ogra_(that script isnt mine, i think tvoss wrote it initially)14:41
morphisah right14:41
morphishttps://github.com/snapcore/snapd-xdg-open/blob/master/src/snapd-xdg-open.c#L6714:41
morphisboth should be in sync always and I agree there could be a better way to keep both in sync14:42
ogra_rigth14:42
morphisala letting snapd ship both xdg-open and xdg-open.desktop so we can control both14:42
morphisin the same place14:42
Saviqhey all, any idea which plug we'd need to connect to get an Electron app to work confined? http://pastebin.ubuntu.com/24420540/ is the denial I'm getting14:42
ogra_Saviq, i thought only browser-support14:43
morphisSaviq: there is an attribute for the browser-support interface you may have to set too14:43
morphishttps://github.com/snapcore/snapd/blob/master/interfaces/builtin/browser_support.go#L25014:43
morphisallow-sandbox: true14:43
Saviqmorphis, aha, any idea if that can be done with auto connection?14:44
morphisSaviq: you need to ask at the store level for a proper snap-declaration assertion for this14:44
ogra_Saviq, all my electron snaps did auto-connect over here ...14:44
ogra_so that shoudl definitely work fine14:45
morphisSaviq: but could be that you can set some switches for electron too to disable sandboxing for chrome14:45
ogra_snap install snapcraft-forum ... or rocketchat-desktop ...14:45
morphisniemeyer: so how do we take this further? do you want some more time to think about this or should I get a meeting up to discuss this with all involved people?14:45
Saviqogra_, you using electron-builder?14:45
ogra_Saviq, i think ryan uses it for the snapcraft-forum one ... not sure about the rocketchat one14:46
ogra_(sadly ryan didnt publish his snapcraft.yaml)14:46
Saviqmight be because it's autogenerated by electron-builder ;)14:46
niemeyermorphis: My last hope is being able to properly ask systemd itself to fire the process inside the user session.. mvo is not super optimistic, but said he'd have a quick look into it. If that turns out difficult or awkward, then we'll need to go back to having a daemon inside the user session.14:46
ogra_ah14:46
morphisniemeyer: the problem with that is that systemd doesn't control the user session on all distros14:47
ogra_niemeyer, you dont need any daemon (and we never had one)14:47
morphisniemeyer: on 14.04 and 16.04 it doesn, on 16.10 you could use systemd-run --user to do that14:47
ogra_niemeyer, there is just a dbus listener service ... that doesnt mean anything is running14:47
morphisniemeyer: so it is possible but not really portable14:47
niemeyerogra_: I'm sure morphis understands what I'm talking about14:47
niemeyermorphis: I see.. hmmm14:48
morphisniemeyer: I can give `systemd-run --user`a try later on on 16.10 if that would solve it but that would be a super long term solution14:48
niemeyermorphis: Isn't that a short cut for a more complex set of options that might be used in 14.04.. I note it supports --slice14:49
morphisniemeyer: given that we need to support 14.04 / 16.04 till 202014:49
morphisniemeyer: --slice isn't enough as it doesn't affect the process hiearchy14:49
morphisI used that in my example I gave on the forum post14:50
niemeyermorphis: --user is a way of selecting which service manager it's talking to, right?14:50
morphisright14:50
niemeyermorphis: Can't we explicitly select that service manager some other way?14:51
niemeyermorphis: Manipulating environment or whatever14:51
morphisniemeyer: we can hack and get the DBUS_SESSION_ADDR from a process inside the session and then talk to it14:51
niemeyermorphis: How does it find out the proper service manager nowadays?14:51
niemeyermorphis: Sounds promising14:51
morphishowever that doesn't solve the problem that we have to support upstart and systemd14:51
morphisniemeyer: its defined somewhere within the lightdm configuration if I am not wrong14:52
niemeyermorphis: snapd doesn't work with upstart today, I think14:52
morphisniemeyer: right14:52
niemeyermorphis: Ah, wait, I get what you mean14:52
niemeyerNeed to step out for a couple of minutes.. brb14:52
morphisniemeyer: we basically need to support for initctl --user and systemctl --user and for the upstart variant we need to craft our own .conf file and ship it as part of the snapd deb package14:52
morphisniemeyer: I think that really adds only more complexity to the whole situation than we want14:53
jdstrandSaviq: briwser-support should be all you need. don't specify 'allow-sandbox: true' since electron apps don't need it14:55
ogra_morphis, well, things like openbox dont even use upstart or systemd as session managers (while the DM cares for logind and dbus to always run for any desktop)14:55
morphisogra_: right, that is what I meant with my last comment more or less, we have too many case to consider if we go this route which takes aways the simplicity we want to achive14:56
jdstrandSaviq: you might have to set an env var or something to disable the sandbox, but I don't think that is necessary (someone could correct me)14:56
ogra_exactly14:56
Saviqjdstrand, I didn't, but still getting denials like http://pastebin.ubuntu.com/24420628/ - doesn't work unless --devmode14:56
morphisjdstrand: the electron apps don't use chromium sanboxing?14:57
ogra_i dont think any webapps can14:57
Saviqonly thing about sandbox I can find is https://electron.atom.io/docs/api/sandbox-option/ but that doesn't seem to be that14:57
ogra_iirc you have to actually invoke the binary with --no-snadbox14:57
ogra_yeah14:58
niemeyermorphis: Ack, does feel like a can of worms14:58
ogra_/snap/snapcraft-forum/4/snapcraft-forum --type=renderer --no-sandbox --primordial-pipe-token=31B373498D14:58
morphisniemeyer: yes :-)14:58
ogra_Saviq, ^^^14:58
morphisogra_: ah!14:58
morphis--no-sandbox is the key here14:59
ogra_yeah14:59
morphisogra_: is electron using that by default?14:59
Saviqogra_, ack, thanks!14:59
ogra_morphis, i dont know ... i would expect electron-builder to actually default to it14:59
ogra_when building a snap :)14:59
jdstrandmorphis: they can use seccomp but not userns. electron apps don't need it, they are snappy sandboxed14:59
morphisjdstrand: right14:59
jdstrandallow-sandbox: true allows use of userns but grants a ton of privilege, so it is only used for official browsers15:00
* jdstrand takes a note to update the review tools to mention --no-sandbox with electron apps15:01
* jdstrand also updates the wiki15:01
ogra_sergiusens, github sends me mondrian artwork about snaopcraft by mail suddenly !15:04
ogra_(the color selection is a bit boring though ... only red, green and grey)15:04
apwogra_, hey did we jsut release a new core snap ?15:16
apwi seem to have a lost loop device showing up which looks to be the 1337 version of the core snap15:17
Saviqogra_, hrmf, should I see something when running snapcraft-forum? I'm seeing "mmap() failed: Permission denied" and the same DENIAL... nothing else ¿?15:33
Saviqhmm hmm, works with --devmode, /me starts thinking this is something special about his host...15:35
Saviqlike... zesty15:35
mupBug #1684893 opened: "fonts", "themes" and "icons"  interfaces for desktop apps <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1684893>15:50
mupBug #1684896 opened: sha3-384 mismatch downloading lxd <Snappy:New> <https://launchpad.net/bugs/1684896>15:50
=== chihchun is now known as chihchun_afk
sergiusensogra_: err, what?16:02
ogra_apw, not me, either JamieBennett or mvo do the releases nowadays16:03
sergiusensSaviq: kernel >=4.10 needs snapd 2.2416:03
ogra_Saviq, yeah there was a forum thread about it16:03
* sergiusens wonders why people still discuss things here :-P16:03
mupBug #1684896 changed: sha3-384 mismatch downloading lxd <snapd:New> <https://launchpad.net/bugs/1684896>16:05
* Saviq upgrades snapd16:06
sergiusensmvo: are you pushing to zesty as the latest distro series possible and are you finding hassle in trying to do that?16:10
mvosergiusens: I'm pushing to zesty via the normal SRUs, I find it the same hassle as the other SRUs. or is that not the question?16:12
sergiusensmvo: great, that is what I wanted to hear; was wondering if we were asked to wait for z+1 and anything like that16:12
cachioogra_, hey, I am starting some test automation for console conf, any advice about how to start that?16:13
ogra_cachio, you want to read up about system-user assertions ...16:13
ogra_not sure if we have anything for the networking side though ...16:14
cachioogra_, ok, nice16:14
cachioogra_, do you know where is the code stored for console conf?16:15
ogra_cachio, it is the source package of "subiquity" ... not sure where the actual code lives, i would suspect on launchpad ... mwhudson is your man for details, he maintains it16:16
mupPR snapcraft#1269 closed: tests: fix package version pinning tests <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1269>16:17
cachioogra_, ok I'll look up tx16:17
ogra_i guess you can somehow find it under the subiquity project on LP16:17
kyrofaogra_, that's on GH now I think: https://github.com/CanonicalLtd/subiquity16:23
ogra_sergiusens, re -> mondrian .... https://codecov.io/gh/snapcore/snapcraft/pull/1263?src=pr&el=continue16:23
mupPR snapcraft#1263: Pass through commands into the lxd container <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1263>16:23
ogra_sergiusens, seems to send these reports to everyone and his grandmas addressbook by mail ...16:24
ogra_(i dont mind, but it should really use more colors :P )16:25
mupPR snapd#3215 opened: tests: address review comments from #3186 <Created by fgimenez> <https://github.com/snapcore/snapd/pull/3215>16:29
kyrofaOh cachio I guess that github subiquity link was for you16:37
kyrofaMan that word is hard to type16:38
cachioky, yes I saw that, thanks16:38
cachiokyrofa, yes I saw that, thanks16:38
mupPR snapcraft#1270 opened: release changelog for 2.29 <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1270>17:02
=== lutostag_ is now known as lutostag
morphisjdstrand: do you have time to look at https://github.com/snapcore/snapd/pull/3177 again today?17:26
mupPR snapd#3177: cmd/snap: make users Xauthority file available in snap environment <Created by morphis> <https://github.com/snapcore/snapd/pull/3177>17:26
jdstrandmorphis: yeah17:27
morphisjdstrand: thanks!17:27
jdstrandlet me phrase that another way. I'll look at it today :)17:27
jdstrandlet's leave having time out of it :P17:27
mvomorphis: I fixed a bunch of conflicts and reopened 259217:31
mupPR snapd#2592 opened: many: add support for session dbus services via snaps <Created by mvo5> <https://github.com/snapcore/snapd/pull/2592>17:31
mvomorphis: we talked about this the other day, tomorrow I will continue with ensureing the snapd.conf is always available and refinements, then the session dbus bit should be good, we can then talk about system dbus too, hopefully straightforward17:32
Facugit related question: I proposed a branch for snapcraft, and a change was requested; should I go back to my branch, do the change... and then what? one commit, then *squash* that commit to have only one in the branch, and then push?17:55
kyrofaFacu, no, don't squash, the reviewers will be hard-pressed to see what changed18:03
kyrofaFacu, just push up a new commit with the changes requested18:03
Facukyrofa, ah, thanks!18:03
kyrofaFacu, any time, thanks for caring enough to ask! That's a good sign ;)18:04
Facu:)18:04
iceywhat are the requirements to get an alias accepted as the default way to access an app without renaming a snap?18:54
kyrofaicey, just make a forum post in the store category requesting it19:03
iceykyrofa: is the forum tied at all into SSO?19:04
kyrofaicey, I don't think so yet19:05
iceyalso, possible to get a review on new snap ripgrep, with classic confinement?19:05
iceyor19:07
iceyis there an interface for full filesystem access?19:07
mupPR snapd#3203 closed: interfaces/mount: add ReadMountInfo and LoadMountInfo <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3203>19:07
mupPR snapd#3216 opened: cmd/snap-update-ns: add actual implementation <Created by zyga> <https://github.com/snapcore/snapd/pull/3216>19:07
iceyfor reference, upstream pull request: https://github.com/BurntSushi/ripgrep/pull/455 :)19:14
mupPR BurntSushi/ripgrep#455: Add snapcraft.yaml <Created by ChrisMacNaughton> <https://github.com/BurntSushi/ripgrep/pull/455>19:14
mupPR snapcraft#1271 opened: tests: increase the staging registration limit to 100 <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1271>20:02
zygagah gah gah20:20
zygamy algorithm sucks20:21
zygathis is surprisingly a hard problem :/20:22
zygagiven mountinfo data and a particular mount command answer if the command has ran and can be skipped20:22
=== lutostag_ is now known as lutostag
lutostagcan somebody take a quick peek at https://bugs.launchpad.net/snappy/+bug/1679210 to at least triage it?21:22
mupBug #1679210: snap install --revision tracks stable by default <Snappy:New> <https://launchpad.net/bugs/1679210>21:22
=== mup_ is now known as mup
catbus1Hi, I assume the proprietary software/binaries can be snapped, how do I make it available to my paying customer?21:39
catbus1and I assume if I don't want automatic update, I just don't update the channel like 'stable' the customers have access to, right?21:40
qenghocatbus1: There's a pricing model in the Ubuntu store, if you want to sell it that way, or you can run your own store, or you can put it anyone's store and make it available to everyone to download and test for some kind of license key file at startup.22:02
qenghocatbus1: as for updates, you can make a kind of sub-channel, I think.  So, you each customer or class of customer gets their own channel and you update by flipping states in the store.22:04
catbus1qengho: thanks.22:10

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