[00:05] kyrofa: is there a snapcraft policy on rebasing / squashing commits? [00:08] kalikiana: is there a snapcraft policy on rebasing / squashing commits? [00:23] mwhudson: we try to keep one commit per pull request. But for external contributors, we can always click the squash button. [00:24] elopio: oh ok [00:24] * mwhudson squashes away then [00:24] thanks. === jero is now known as Guest11527 === JoshStrobl|zzz is now known as JoshStrobl [05:54] morning guys [06:32] pushed 2 extra patches to #4153, think it's good to go [06:32] PR #4153: cmd/{snap-confine,libsnap-confine-private,snap-shutdown}: cleanup low-level C bits [07:03] o/ [07:03] zyga-ubuntu: hi there [07:03] hi [07:03] hey zyga-ubuntu and mborzecki [07:04] another cold and rainy day, damn i hate atumn [07:05] mborzecki: I was thinking "man, what a gloomy morning" [07:07] at least it's not below 0 yet :/ [07:09] mborzecki: did you see what's in zakopane this week? [07:09] nope, is it 2-3m of snow? [07:10] mborzecki: looks like sub-zero temps during daytime [07:10] so, some good progress on tests yesterday [07:11] I have some more to go but I think I can carve out a chunk now and send a PR [07:15] mborzecki: interesting failure in https://github.com/snapcore/snapd/pull/4153 - there's a missing break in a switch statement [07:15] PR #4153: cmd/{snap-confine,libsnap-confine-private,snap-shutdown}: cleanup low-level C bits [07:16] yup [07:17] is that intentional? [07:18] no, except for the one that is explicitly commented as such [07:19] ok [07:22] school run [07:27] any idea where I can get debian-9-64 image that was used in this test? [07:37] yeah, no wonder the error wasn't picked up on my arch laptop, I don't have apparmor, but it's weird that gcc test passed on debian-9 image that I pulled from zyga-ubuntu's site :/ [07:45] re [07:45] mborzecki: debian-9 is confusing [07:45] mborzecki: we have a "bug" so that debian refers to either sid or stretch in spread, depending on the backend linode vs qemu [07:46] mborzecki: images can be made with adt-buildvm-.. family of scripts but not sure if those would work on arch [07:46] mborzecki: I can build a pair of fresh images and upload [07:47] that'd be great, thanks [07:49] btw. and what do you use for builiding fedora/opensuse images? packer? [07:49] I don't [07:50] I don't have opensuse images and fedora image was made by someone who's no longer here [07:50] note that debian image is a tweaked cloud image [07:50] same with ubuntu [07:50] so it's "just" a matter of scripting something around a given distribution's cloud image [07:51] afaik arch has none :) [07:53] builds are in progress [07:53] great [07:53] note that they are not quite reliable and sometimes the "magic" hangs and needs to be retried [07:53] I haven't investigated that, it's a can of worms [07:54] but I should be able to upload some soon [07:56] i pushed a patch that should fix that failure, the 'case EPERM:' is in theory covered by a comment, there's some magic in both gcc and clang that will happily accept a fallthrough case if there's a comment that matches a predefined regex [07:58] oh, wow [08:22] yay, travis passing now [08:26] refreshed ubuntu images are uploading, I'll make debian images now [08:26] I also fixed the SSL cert [08:28] man, I should have paid for more than 10GB of disk [08:50] thanks [09:12] mvo: I just noticed that becaused configstate.Manager was strange when you turned into a manger Overlord code wasn't completely adjusted [09:12] and hi [09:14] mvo: I added a comment about that to #4122 [09:15] PR #4122: configstate: add support for configure-snapd for snapstate.IgnoreHookError [09:18] any idea how to convince go that file tagged with `+build !cgo` should not be built when building with cgo enabled? [09:19] hmm, nope [09:19] we have some custom tags [09:20] maybe we could use that as a way to solve the issue? [09:20] like we can build the store with either production or test keys [09:21] Chipaca suggested adding stubs for group calls when doing a static build, that's what I'm trying to do, but the no-cgo is picked up when building with cgo anyway :/ [09:22] pedronis: good morning! thank you, I have a look [09:22] and i'd really like to avoid using function pointers and registering those in init() [09:22] mvo: let me know if it's not clear [09:23] pedronis: makes sense so far, I get right to it. thanks again! [09:26] mborzecki: are you disabling it with CGO_ENABLED=0 [09:27] ? [09:27] yes, so I have 3 files, group.go (no build tags), group_stubs.go (+build !go) and cgo_group.go (+build cgo) [09:28] CGO_ENABLED=0 builds group.go and group_stubs.go (as expected) [09:28] CGO_ENABLED=1 builds group.go, cgo_group.go and group_stubs.go (and this is where i get symbol redeclaration) [09:29] s/!go/!cgo/ [09:29] that seems odd? are you sure +build is put in the correct in that file? [09:29] *correct place [09:30] go is failry picky where +build should go or it will ignore it [09:30] yup, it's right below the license header [09:31] I never put it there [09:31] it's eay to get it wrong [09:32] mborzecki: see for example asserts/sysdb/testkeys.go for where we tend to put it [09:32] pedronis: damn it, you're right [09:33] it was right below /* ... */ license header, apparently go doesn't like that [09:34] pedronis: thanks, fixed now, works like charm [09:34] they need a empty line after (and only blank lines/comments before) [09:34] i really really hate go tooling sometimes [09:35] in general though it's better to put far from keywords, otherwise it's easy for somebody later to break that rule [09:36] * kalikiana coffee [09:40] mvo: thanks [09:44] pedronis: good morning [09:45] pedronis: you know how alan a little while ago had an issue where a snap somehow got corrupted over a reboot? and that made people think maybe snapd should check the signature of installed snaps on startup as well as on install? [09:45] Chipaca: yes [09:46] bit unclear what to do with that until we have warnings though [09:46] yes, but [09:46] pedronis: on armhf that would be rather prohibitive [09:46] also expensive [09:47] pedronis: the io is bad enough, but our signature makes things worse [09:47] pedronis: we're also still doing the double signature check on download+install, which is also not optimal [09:48] Chipaca: is there a part of this that gets to something we *should* do soon? [09:48] pedronis: so this had me revisiting the idea of using two signatures, a cheaper "is the file sane" and a more expensive "is this what we signed" [09:48] pedronis: we used to have two signatures (sha256 was the other i think), and i wanted to check with you before chasing people to see if we still had that [09:48] to not lose it [09:48] before we want it again [09:49] we still have sha256 from the store afaik [09:49] don't think it was killed [09:49] it seems it might be sha512 [09:49] still, ok [09:50] Chipaca: yes, is sha512 [09:50] not sha256 [09:50] pedronis: if the above sounds sane to you, could you (or can i) mention it to store people lest we forget it? [09:50] the other alternative would be to calculate a cheaper checksum on install and use that [09:53] anyway, that's enough future-pondering for me. back to the trench! [09:57] Chipaca: I was also wondering about this recently. I'm kind of afraid about the io overhead if we do this but maybe we can make it an optional feature, for some systems we really need it. one really cool alternative would be to use something like a hash-tree so instead of having one global hash for the entire file, have a hash for each block (size to be determined) and on each read we could verify the block only - we would need a trusted hash of [09:57] this block/hash thing but that should be ok. but tradeoffs of course, i.e. each snap would grow or the store would have to send the data oob. anyway just idle thoughts for now [09:57] (huii, that was long) [09:58] mvo: does squashfs have anything like this? [09:58] (not a hash-tree more like a hash-flatmap) [09:59] Chipaca: I don't think so, its major work [09:59] yeah [09:59] Chipaca: also because it involves the kernel which will have to know about this and do the checking :/ [09:59] yep [09:59] Chipaca: I think its cool but not short term [09:59] ah, no [10:00] mvo: short term i just wanted to check we weren't going to throw away the second signature, if we then were going to want to use it :-) [10:01] Chipaca: :) yes [10:04] zyga-ubuntu: a second review for 4150 would be great, hopefully easy [10:05] ak [10:07] done :) [10:11] Chipaca: I haven't heard discussions about dropping it (sha512) tbh [10:14] PR snapd#4158 opened: snapctl: don't error out on start/stop/restart from configure hook during install or refresh [10:15] PR snapd#4150 closed: ifacestate: make interfaces.Repository available via state cache [10:16] mvo: got again one of those /var/lib/snapd changes while tar-ing in 14.04: https://travis-ci.org/snapcore/snapd/builds/298088866?utm_source=github_status&utm_medium=notification [10:20] ackk: reviewed (made it all the way through!). This is so close! [10:21] pedronis: interessting. always 14.04, right? [10:21] possibly yes, not 100% sure [10:22] pstolowski: hm, what happend to PlugInfo.Connections ? iirc we had that some days ago and in master it appears to be gone. what is the replacement to see if a plug is connected? [10:23] mvo, you mean Plug.Connections? [10:25] pstolowski: maybe, that, did that change? [10:25] pstolowski: I used to have code like "repo.Plug(snapName, plugName).Connection > 0" to figure out if the plug is connected [10:28] mvo: well repo is quite in flux [10:28] pstolowski: aha, I see, repo is now handing out PlugInfo instead of Plug, hmm [10:28] mvo, indeed [10:29] pstolowski: ok, what I need is to answer the question: "is this (snapName, plugName) pair connected"? I am happy to dig into this myself, was mostly wondering if you have suggestions/plans [10:29] mvo, let me see [10:29] mborzecki: your pr is very close to a +1; normally i would've +1'ed it leaving you to tidy up the things i point out [10:30] Chipaca: thanks for reviewing [10:30] mborzecki: give me a shout when you have it, so that i can give it a last once-over [10:30] pstolowski: aha! I think I found it [10:30] ack [10:30] mborzecki: github hate a comment i made on an commit, i think -- i made the same point in the pr itself just in case [10:31] * zyga-ubuntu feels so so [10:31] mvo, are you thinking about repo.Connected(..)? [10:31] pstolowski: yes [10:31] mvo, i [10:31] pstolowski: or is this misleading? [10:32] mvo, i'm wondering if it's good, it takes plugOrSlot [10:32] mvo, we could have a "precise" helpe [10:32] r [10:33] pstolowski: thanks, its ok for now, I will dig a bit more but this unblocks me. thanks for your help [10:36] mvo, I think Connected(..) is not very effective, a simpler helper could just look at slotPlugs or plugSlots maps and return true without all that logic [10:40] s/true/bool/ [10:45] mvo: in your review of #4153, did you forget to +1? [10:45] PR #4153: cmd/{snap-confine,libsnap-confine-private,snap-shutdown}: cleanup low-level C bits [10:45] mvo: i see a lot of \o/'s and no /o\ and no +1 [11:05] Chipaca: I'm slightly unhappy about the need to write f(void) instead of f() - I understand the reason but I could not bring myself over it yesterday, if I'm the only one who does not like it I'm +1 [11:06] mvo: I don't like it, but C is C -- if i liked it i'd write more of the stuff [11:06] pstolowski: thanks, I think its fine for now, but if I need something more targeted I will keep it in mind [11:06] Chipaca: heh, fair point [11:06] oh I could tell you stories about weird stuff caused by omitting void there [11:06] cjwatson: part of me wants you to [11:06] cjwatson: the other part is already a block away, screaming [11:08] cjwatson, Chipaca: heh :) [11:08] actually thinking about it my best such story was from generated code that said (void) when it actually wasn't, coupled with varargs [11:09] mborzecki: silly question, I am looking at 4135 again and there is a new "break" in apparmor-support.c. I wonder why this is added here, it looks correct but how was it discovered? [11:10] mvo: c-unit-tests-gcc failed on debian unstable [11:11] as a result of enabling -Wextra warnings [11:11] mborzecki: aha, nice. so it noticed that this was probably unintentional? thats smart [11:11] and the CI builds will fail on warnings now :) [11:12] mborzecki: and if there is a "fall-though" comment that is the magic to make it pass? [11:12] mborzecki: (i.e. the line below)? [11:13] yes, gcc/clang will match that agains some built-in regexes that cover different variations of 'fall through' [11:13] mborzecki: neat [11:13] PR snapd#4141 closed: snap-update-ns: add missing unit test for desired/current profile handling [11:13] PR snapd#4153 closed: cmd/{snap-confine,libsnap-confine-private,snap-shutdown}: cleanup low-level C bits [11:22] * zyga-ubuntu takes a longer break to check if he can work today, [11:22] I don't feel good [11:23] * sergiusens is going to be on and off today; off according to the records [11:49] i'm looking at packaging, and it's a bit weird, debian/ubuntu has just one 'snapd' package, fedora has it split into snapd and snap-confine, opensuse has a single package again, arch, depending on which files you look at, is either one package (packaging/arch) or 2 packages (one in the repos) or one pacake again (when using PKGBUILD from releases page) [11:50] i would assume the idea is to converge all distros to having a single package? [11:56] yes [11:59] hmm, what changed recently that would have caused the core snap to be uninstallable in launchpad-buildd's containers? did we start doing more security setup on the core snap maybe? [11:59] cjwatson: no, I don't think we did [12:00] cjwatson: unless it's udev tagging, we use device cgroups more than before [12:00] I can get apparmor working by granting the mac_admin and mac_override capabilities (but I think I remember there being some reason we didn't do that before - will need to dig), and then I run into it wanting udevadm to exist. I'm sure I managed to avoid all this before [12:00] it seems like a surprising category of problems to be new, though [12:02] cjwatson: since we use udev tagging more than before now it is possible that the core snap's configure hook is trying to set something up that was not happening before [12:03] if udev is now mandatory then I think snapd is missing a dependency on it [12:03] yeah, that's believeable [12:03] where does that configure hook live? [12:06] * cjwatson installs udev and tries again [12:07] cjwatson: for core it's a bit special, I honestly don't know [12:09] zyga-ubuntu, cjwatson the source is at https://github.com/snapcore/core/blob/master/hooks/configure ... though mvo is just re-working the world, not sure it stays like that [12:09] ta [12:11] Hellos [12:11] mborzecki: Just sent the invite into the GH org [12:12] Hellos like greece ? :) [12:12] niemeyer: thx [12:13] OK, grant mac_admin and mac_override caps and install udev, and all seems to be well again. Will need to test all the things though ... [12:18] mborzecki: There was a third thing I promised you yesterday during our meeting but my notes on it were unfortunate to say the least [12:19] mborzecki: I wrote down "forum key", but I'm thinking that this is about the monthly scheduling.. that's what I get for writing down while speaking :) [12:19] mborzecki: Are you missing anything else infra-wise? [12:51] * zyga-ubuntu -> school, I need to help my daughter [12:52] I'm not much of help today anyway [12:52] i just threw my back out doing physio :-( [12:53] on the upside, we now know a bit more about what makes it go out [12:53] on the downside, FUCKIN' OUCH [12:53] niemeyer: maybe your wrote down linode key? [12:53] Chipaca: /o\ get well! [12:54] mvo: that's what i go to phisio for! [12:54] physio* [12:54] mvo: I had both in the notes.. I think it was really about the monthly scheduling, and I mixed up my writing as we spoke over the linode keys [12:55] Chipaca: What was it? [12:57] niemeyer: a when my hips go to about 90 degrees pushing, something twangs [12:57] but only with my knees at a particular angle [12:58] Chipaca: Wow, that must have been pretty hard to "debug", so to speak [12:59] niemeyer: some days i wish i had a debugger [13:00] of preference one more like smalltalk's [13:00] ie that i didn't need to die for it to work [13:00] LOL [13:01] Chipaca: corpse would be a much better name for those core dumps [13:28] cwayne, hey, any news? [13:32] cachio: havent heard from QA yet, waiting on Alex to start so I can get you access to that bug [13:57] PR snapd#4156 closed: overlord/devicestate: switch to the new endpoints for registration [13:58] I need 2nd reviews for #4121 and #4125 [13:58] PR #4121: overlord/snapstate: toggle ignore-validation as needed as we do for channel [13:58] PR #4125: corecfg: support setting proxy.store if there's a matching store assertion [14:03] jdstrand: do you know of any snap which successfully uses the mpris plug? [14:05] jdstrand: specifically an audio player which can be controlled via the buttons in the sound menu on ubuntu [14:05] I think gradio hooks it, whether successful or not I'm unaware [14:06] not successful, i have it playing here and see no reference in the sound menu [14:07] :-( [14:07] booo [14:08] i made a snap of auryo (a soundcloud client) and it doesn't work here either. But I don't know if I got the config in the yaml right or not [14:08] pedronis: done [14:08] I guess I should post on the forum. The problem is the documentation doesn't really cover it from a developer pov [14:08] popey gradio [14:09] does it work for you davidcalle ? [14:09] popey: I did a fresh install last week, so I can't re-check right away, but it worked fine afair [14:10] on 17.10? [14:10] popey: that's what I'm giving a try now [14:11] ok, works on 17.10 [14:12] popey: works fine on 17.10 [14:12] not on 16.04 unity [14:20] i'm done for today, till tomorrow [14:22] PR snapd#4159 opened: cmd/snap-confine: add slave PTYs and let devpts newinstance perform mediation [14:26] PR snapd#4160 opened: cmd/snap-confine: add slave PTYs and let devpts newinstance perform mediation [14:30] mvo: hi! fyi, those are for a similar udev tagging issue. this wasn't reported by a customer but from the field via the forum. I suggest that it be included in 2.29 so I created a branch, but that is up to you [14:30] s/those/those ^/ [14:31] thank you jdstrand [14:32] jdstrand: i have a look and see what we can do, probably 2.29.3 as 2.30 is still some time away [14:32] mvo: cool (that is what i was thinking) [14:32] mvo: for that framebuffer issue, I think I'll try to use a different interface that will be available in more places (eg, time-control, for /dev/rtc) [14:33] mvo: I think it is fine to commit the PR you did if you haven't already. I'll just send a followup [14:33] jdstrand: it got only a single +1 so far, but I think its useful becaue it validates the code on devices with a framebuffer [14:34] mvo: I also wanted you to be aware of https://github.com/snapcore/snapd/pull/4157 [14:34] PR #4157: add spread test for connecting all interfaces (excepting gadget slots) [14:34] mvo: it isn't ready to commit yet (it found a bug in firewall-control :) [14:34] popey: I don't know about successful, but: google-play-music-desktop-player, vlc, gradio (from a quick search) === heber_ is now known as heber [14:35] jdstrand: yeah, thats really nice, I looked at it this morning briefly [14:35] i tried copying the gradio mpris config but it barfs when i install the snap [14:35] jdstrand: thanks for that! [14:35] https://www.irccloud.com/pastebin/vhbIilEC/ [14:35] mvo: but the idea is to have a spread test that connects every interface. this will catch things like apparmor syntax issues, the udev_enumerate issue, seccomp policy issues, modules not loading, etc. just a high level test that connects the interface like a user would [14:35] mvo: ah cool [14:35] yes [14:36] mvo: this technique is what helped me find the uhid issue and the kmod back issues (where the interface fails to connect if the module can't be loaded-- I'll be sending a pr for that) [14:37] not uhid. the network-control one [14:37] anyway, it is finding things :) [14:37] s/back/backend/ [14:38] mvo: fyi, there may be one more cgroup fixup PR (something I need to investigate for ondra) [14:42] jdstrand: ok, so I will wait a bit before jumping to any 2.29.3 [14:43] mvo: fyi I was just passing through 4040 and it may be ready [14:44] (I didn't look at it, just saw the comments from the submitter) [14:46] jdstrand: looking at it now [14:46] \o/ mpris success [14:46] popey: oh, I missed your comment, but glad you got it working :) [14:47] works on 17.10 but not on 16.04 :( [14:47] (is that expected?) [14:47] PR snapd#4040 closed: interfaces: add USB interface number attribute in udev rule for serial-port interface [14:53] jdstrand: do i have to request mpris access on the forum? I have just uploaded auryo. https://dashboard.snapcraft.io/dev/snaps/8645/rev/1/ [14:56] popey: no. dbus and mpris access I can just handle, unless it is weird and I'd request discussion in the forum [14:56] ok [14:57] popey: actually, why are you using both? [14:58] popey: cause there are two names it is known by? [15:09] hm [15:10] good question! [15:10] lemme fix it [15:10] I want to dump the top-level of my repo in to a snap, but using "source: ." means that my .tox and .git directories are included; how can I stop that from happening? [15:11] source: ./* ? [15:15] mvo: I am seeing this: [15:15] Running vet [15:15] overlord/ifacestate/helpers.go:358: arg plug for printf verb %s of wrong type: *github.com/snapcore/snapd/interfaces.Plug [15:15] overlord/ifacestate/helpers.go:398: arg slot for printf verb %s of wrong type: *github.com/snapcore/snapd/interfaces.Slot [15:15] mvo: I'm up to date on master and looked at upcoming PRs, but don't see fixes [15:15] popey: "ValueError: local source (./*) is not a directory" [15:16] :( [15:17] .tox in particular is a problem because something breaks when snapcraft tries to copy from it. [15:17] jdstrand: I saw that too, I think it's a vet bug honestly [15:17] jdstrand: unless not the same thing [15:17] jdstrand: it's a pluginfo, so it has a String(), so %s works [15:17] that's all fine. what I'm hearing is everyone is currently just ignoring the vet error? [15:18] or do I need to redo godeps or something? [15:18] jdstrand: I just ignore it [15:19] jdstrand: let me check [15:19] jdstrand: I have not seen it, it seems like the go vet on linode is less strict [15:19] huh [15:20] PR snapd#4113 closed: tests: test for desktop interface [15:20] why does it think it's a Plug and not a PlugInfo? [15:20] jdstrand: looks like it needs both, yes [15:21] popey: do you have snappy-debug output I can see? [15:21] sure, one moment [15:21] oh, when it fails, or when it succeeds? [15:21] Chipaca, jdstrand might be a recent merge that broke it, I'm looking now [15:22] popey: because the dbus one is doing what the mpris interface is supposed to do, but with a different name [15:22] popey: does mpris with 'name: auryo' and another mpris with 'name: auryo-player' work? [15:23] the one that's in the store works on 17.10 [15:23] popey: (ie, you create two slots and slots both) [15:23] sorry, can you gimmie a pastebin? I don't fully understand [15:23] jdstrand, quick question ... if i added a content interface bit to my wine snap, could i start snapping random windows exe's that use that content interface as backend to run them via wine (or is execution of binaries blocked ?) [15:23] http://paste.ubuntu.com/25911480/ is what it looks like currently [15:24] jdstrand, (yes/no is enough as answer) [15:24] (I had to play around a lot to get this working, only got that working by copy/pasting and fiddling the gradio one) [15:24] so mine is based on the gradio snap which is in the store [15:24] popey: http://paste.ubuntu.com/25911484/ [15:24] lemme try that [15:24] jdstrand: hm, could you please check if the go vet thing is something local? I just checked out upstream/master and my 17.10 go vet seems to be happy. or are you on bionic already? [15:25] ogra_: execution of binaries is allowed. the trick is getting all the libs to work, etc [15:25] jdstrand, ok, thanks ... [15:25] ogra_: but the security policy allows it [15:26] mvo: my 16.04 vet on master throws that error [15:26] ogra_: (mrwklix used for write and mrkix for read) [15:26] ok [15:27] Chipaca: how strange, let me look harder [15:27] Mr. Kix and Mr. Wklix :) [15:27] mvo: fyi, I'm seeing this with run-checks in a 16.04 lxd container [15:27] ogra_: hehe :) [15:28] mvo: (host is 17.10, logged into 16.04 container, running go vet) [15:29] mvo: do you need more info than that? [15:30] jdstrand: no, must be something on my side then, checking [15:30] checking why I don't see the error [15:31] waait [15:31] jdstrand: can you remove pkg and try again? [15:33] Chipaca: remove pkg? (sorry if I'm dense) [15:33] oh in gopath [15:33] jdstrand: rm "${GOPATH%%:*}/pkg" [15:33] -r [15:34] that worked [15:34] mvo: ^ [15:34] aha! [15:34] thanks Chipaca [15:34] np [15:34] jdstrand: that worked, thanks. uploaded a new auryo [15:34] popey: cool :) [15:35] Chipaca, mvo: I need to keep a list of things to try. removing pkg, govendor, ... [15:35] what should I try snapping next? [15:36] diddledan: want suggestions? :) [15:36] please :-) [15:36] was gonna suggest nba-go but you already fixed it ;) [15:36] lol [15:37] I've got supertuxkart working. I need to get it in the store [15:37] diddledan: how about https://forum.snapcraft.io/t/audacity-2-2-0-snap-issues/2719 ? :) [15:37] * diddledan goes looksee [15:41] diddledan: simcity :-) [15:43] popey: ok, done. please snap install it from the store and verify it does what you want [15:43] doing now [15:46] kalikiana, did you hear about the BlockingIOError discoveries? [15:46] I know you were hitting those as well [15:46] jdstrand: works as expected (on 17.10), thank you! [15:46] will start a thread about 16.04 on the forum [15:47] popey (cc flexiondotorg): also, not sure if you saw, but I recommend snappy-debug be used now instead of raw logs. I fixed a bunch of issues with it based on sprint feedback [15:47] awesome, will do that [15:48] most notably, it doesn't skip dbus any more [15:48] i noticed it gave some (more) helpful output when I ran it earlier, good job, thanks! [15:48] awesome :) [15:48] yw [15:50] popey: note that auryo has an executable stack: [15:50] - functional-snap-v2:execstack [15:50] Found files with executable stack. This adds PROT_EXEC to mmap(2) during mediation which may cause security denials. Either adjust your program to not require an executable stack, strip it with 'execstack --clear-execstack ...' or remove the affected file from your snap. Affected files: opt/Auryo/auryo [15:51] https://forum.snapcraft.io/t/snap-and-executable-stacks/1812 [15:51] ./auryo_2.snap: FAIL [15:51] why didn't the store notice that... [15:51] * jdstrand will look into it [15:52] * popey shrugs [15:52] it's an electron app [15:52] I imagine this is not the only app which has this issue - maybe look at discord and yakyak as other examples [15:52] (they're snapped identically) [15:52] popey: I mentioned it to the discord guys [15:53] popey: I haven't to yakyak (didn't know about it) [15:53] popey: is this using electron builder? if so, perhaps it can be made to clear the execstack [15:53] no [15:54] all three are just dumping their pre-built stuff into a snap [15:54] two are proprietary, so we don't have visibility of the source to build [15:55] ok, then them clearing it as part of their process is the way to go [15:55] I'll see why the store isn't detecting it. it might be a 16.04 vs 17.10 thing [15:56] * zyga-ubuntu feels better and starts coding again [15:59] feeling better is still better than feeling worse [16:00] PR snapd#4161 opened: snapstate: add support for refresh.schedule=managed [16:02] elopio, the autopkgtest I spun up yesterday morning still hasn't run :( [16:04] kyrofa: no, I'm waiting since saturday :( [16:04] elopio, no way [16:04] Really? [16:04] Gosh [16:04] there was a big queue last week but it cleared [16:05] (I saw leo complain about the builders queue previously I think) ? [16:05] a bunch of things are going through today, it seems like [16:05] (from uploads i did last week, as well) [16:05] still only 40 min queue [16:05] one of my snap LP builds took 48 hours to run :) [16:06] kyrofa: discoveries? [16:07] kalikiana, still don't know why Travis is tossing the BlockingIOError, but it's masking actual test failures-- run the test that's failing locally, and you'll see them [16:07] PR snapd#4162 opened: interfaces/kmod: treat failure to load module as non-fatal [16:07] cachio: most of the queue is snapd. Do you really need to run autopkgtests on every pr? [16:08] diddledan: how about calibre? They rev frequently. Something which builds a calibre snap which updates frequently would be nice. Popular app too [16:09] kyrofa: last time I double checked one of those locally it was passing - are you talking about a particular one? [16:09] ok, so on my todo then: audacity, simcity/lincity, and calibre [16:09] kalikiana, all the ones where it has happened to me :) [16:10] hah someone said the word calibre in the ubuntu podcast telegram. jinx! [16:11] calibre totally doesnt fit in that list ! ... the the others are cities ! [16:11] kyrofa: right. Just wondering if it's the same from your description [16:11] lol [16:11] calibrecity? [16:11] Hey folks, just posted about a problem with creating a snap I'm having: https://forum.snapcraft.io/t/creating-a-snap-with-a-bunch-of-python-scripts/2735 [16:11] approved ! [16:11] Input appreciated. :) [16:12] Odd_Bloke: for classic snaps (at least), you're goign to want to build python in your snnap [16:13] Odd_Bloke: fyi, otherwise you'll almost certainly get segfaults [16:13] (well, ont almost certainly, but you might :) [16:13] nacc: The scripts don't even end up pointing at the Python in the snap. [16:13] Odd_Bloke: even with the shebang rewriting? [16:14] nacc: Well, I think the problem is that I can't get snapcraft to get the scripts in there using the python plugin. [16:14] shebang rewrites don't happen with the dump plugin [16:14] So I'm not getting the shebang rewrites. [16:14] Odd_Bloke, your shebangs wouldn't need to be rewritten if they used /usr/bin/env [16:14] Odd_Bloke: i thinkn you'd need to either use env, or have wrappers [16:15] Uh, they are using /usr/bin/env. [16:15] Let me double-check what's going on. [16:16] Oh, this may be a Python 2 vs 3 issue. [16:17] kyrofa: do you know of a snaps that builds python? I need python3.6. [16:18] elopio: https://git.launchpad.net/usd-importer/tree/snap/snapcraft.yaml [16:18] elopio: we build python2 and 3 [16:23] thanks nacc. I had something similar but was getting "libpython3.6m.so.1.0: cannot open shared object file: No such file or directory" [16:24] I'll try copying some parts from yours [16:25] elopio: that is a classic snap, but i don't thinkn it should matter for building [16:25] nacc: no, I think my problem was the missing --prefix. [16:26] elopio: ah sure [16:28] popey: regarding audacity, I've sent a tempdir patch upstream: https://github.com/audacity/audacity/pull/211 [16:28] PR audacity/audacity#211: Update defaultTempDir path in AudacityApp.cpp [16:29] still getting problems with it beyond those issues tho [16:29] nice [16:31] in jailmode audacity gets nuked by seccomp: Log: auid=1000 uid=1000 gid=1000 ses=5 pid=24254 comm="audacity" exe="/snap/audacity/x3/usr/bin/audacity" sig=31 arch=c000003e 50(listen) compat=0 ip=0x7f2d2ad911d7 code=0x0 [16:31] I'm wondering what it's listening on [16:33] in devmode we're getting a different segfault: audacity: src/hostapi/alsa/pa_linux_alsa.c:1454: BuildDeviceList: Assertion `devIdx < numDeviceNames' failed. [16:33] lool: You mentioned in you had a snap that snapcore/snapcraft#1654 was making work, that didn't build before? [16:33] PR snapcraft#1654: autotools: cross-compile using --host instead of env [16:34] kalikiana: Yes [16:34] kalikiana: just do a simple autotools snap with e.g. gnu hello [16:34] when trying to cross-build for e.g. armhf, it will pass --host=armhf instead of --host=arm-linux-gnueabihf and it will fail to find compilers and bail out at configure [16:35] nacc: it works! Thank you :) [16:35] diddledan: yeah, i had same, dunno what it's doing. [16:36] diddledan: used snappy-debug.security scanlog? [16:36] yup [16:36] in devmode the only denials are for xdg-user-dirs [16:36] Log: apparmor="ALLOWED" operation="open" profile="snap.audacity.audacity" name="/etc/xdg/user-dirs.conf" pid=25382 comm="xdg-user-dirs-u" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 [16:37] and Log: apparmor="ALLOWED" operation="open" profile="snap.audacity.audacity" name="/etc/default/nss" pid=25382 comm="xdg-user-dirs-u" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 [16:37] those are the only two messages in devmode with my tmpdir patch [16:38] lool: Okay, will try that. I noticed it made no difference in our autotools hello world so I'm looking to fix that [16:38] Thanks [16:39] diddledan: the first should be fixed in 2.29 [16:39] ha, doesn't even configure, nice [16:43] elopio: yw [16:43] jdstrand: diddledan i don't believe it is fixed in 2.29 - I'm on 2.29 here and I still see it [16:44] kyrofa: seems like our autotools-hello sucks as a test case, if you agree I'll replace it in your --host PR so it actually passes only with your fix [16:49] kalikiana, agreed [16:50] Sorry, lost power here, didn't realize my modem was plugged into one of the "surge only" outlets of the UPS [16:50] Hopefully that lasts for a while [16:50] Coding by Candlelight baby [16:50] romantic ! [16:53] kyrofa: ouch. hope nothing got lost [16:53] Nah [16:53] popey: builders and autopkgtests are very separate queues FWIW, even though they share clouds [16:53] ah okay :) [16:54] popey: https://github.com/snapcore/snapd/commit/acc3eadfb5fb1e6c7553104646cb128646ac2d50 (2.29.2) [16:55] k [17:09] kyrofa: Hrmmm how do your strange "subfolders" in git work? `git push kyrofa autotools_cross_host` doesn't work... I don't know how to specify the "bugfix" component [17:10] need to change location, getting kicked out of the coffee shop, back in a bit [17:20] kalikiana, it's part of the branch name. bugfix//description [17:21] PR snapd#4163 opened: cmd/snap-update-ns: re-factor secureMkdirAll into secureMk{Prefix,Dir} [17:27] jdstrand: hey [17:28] jdstrand: not sure if you have energy for reviews today [17:28] Pharaoh_Atem: hey [17:28] guess which OS I'm running? [17:29] zyga-ubuntu: I need to look into an issue for ondra first, but feel free to give me the list on irc [17:30] jdstrand: I'm chopping new features into PRs, adding tests as needed, I just one have 4163 [17:30] jdstrand: I'm not well today [17:33] zyga-ubuntu: sorry to hear that. hope you feel better [17:34] jdstrand: thank you, I'm slightly better now [17:36] jdstrand: just noticed a minor typo in snappy-debug... "If have dropped messages, use:" [17:37] * diddledan have dropped message [17:39] zyga-ubuntu: Ubuntu? [17:40] Pharaoh_Atem: MINIX 3 :D [17:40] * zyga-ubuntu has some humor back [17:52] kyrofa: Whatever I try I get doesn't exist or permission denied... how is it supposed to work? [17:52] kalikiana, well, what exactly are you trying? [17:54] kyrofa: Trying to push, like I said, doesn't work... [17:54] `git push kyrofa bugfix/autotools_cross_host` gives me "src refspec [...] does not match any.." [17:55] kalikiana, what is the `kyrofa` remote? [17:56] kyrofa: » url = https://github.com/kyrofa/snapcraft.git [17:56] » pushurl = git@github.com:kyrofa/snapcraft.git [17:56] » fetch = +refs/heads/*:refs/remotes/kyrofa/* [17:57] This pattern normally works for any branch from another user or project [17:57] kalikiana, and the branch is checked out locally as `bugfix/autotools_cross_host` ? [17:58] kyrofa: it's called autotools_cross_host - so bugfix should be part of the name? [17:58] kalikiana, it means you're trying to push a branch you don't have [17:58] kalikiana, try `git push kyrofa autotools_cross_host:bugfix/autotools_cross_host` [18:00] oh [18:00] that worked [18:00] kyrofa: Thanks! [18:02] clearly a dwim version without twice redundant arguments would be boring [18:02] * kalikiana wipes a tear for bzr [18:03] PR snapd#4164 opened: interfaces/raw-usb: match on SUBSYSTEM, not SUBSYSTEMS [18:05] PR snapd#4165 opened: interfaces/raw-usb: match on SUBSYSTEM, not SUBSYSTEMS [18:06] mvo: those are the last of the known udev tagging fallout fixes ^. That is the fix for ondra I mentioned. I milestoned the second for 2.29 [18:13] jdstrand: do you think we should parse udev rules? [18:14] jdstrand: and have you seen https://github.com/snapcore/snapd/pull/4144 [18:14] PR #4144: interfaces: fix udev tagging for hooks [18:14] zyga-ubuntu: I have a spread test up for review that would catch stuff like this [18:15] jeez, no I did not see that [18:17] kyrofa: btw mind having another look at snapcraft#1412 which you reviewed before? [18:17] PR snapcraft#1412: lxd: snapcraft refresh in containers [18:18] jdstrand: I'll merge master to fix the conflicts [18:18] jdstrand: but review is very much welcome [18:20] PR snapd#4166 opened: cmd/snap-update-ns: detect and report read-only filesystems [18:21] elopio, there is a plan to remove that to nightly [18:21] elopio, it is comming soon [18:21] I need some confirmation before removing this [18:21] jdstrand, https://paste.ubuntu.com/25912364/ [18:22] jdstrand, any idea what I need to plug to avoid this error [18:23] cachio: the security policy does't like that you are connecting from unconfined. if you have a snap that plugs network-status, I think it would work [18:23] that said, that would be a bug in network-status [18:24] I'll take a look at that (added to todo for next batch of policy updates, but not for today) [18:25] jdstrand, sure, thanks [18:27] thanks cachio [18:27] cachio: also, you could run the tests for amd64 in travis with adt-lxd. We are close to get that working. [18:31] elopio, well, we are using linode to do that, do you how much you pay for test machines in travis? does it provide any 32 bits machines? [18:38] jdstrand: I merged master into https://github.com/snapcore/snapd/pull/4144 [18:38] PR #4144: interfaces: fix udev tagging for hooks [18:38] if you have udev energy in you left please have a look [18:38] I can polish that based on your and pawel's feedback [18:38] and it can go into .3 (I suspect we have to) [18:41] ack [18:41] jdstrand: thank you, I guess you can ignore the non-udev PRs for now [18:41] (bigger fire) [19:15] PR snapd#4167 opened: cmd/snap-update-ns: fix golint and some stale comments [19:27] PR snapd#4168 opened: cmd/snap-update-ns: add new helpers for mount entries [19:40] zyga-ubuntu, i saw you on here as zyga-solus a few times, were you doing anythings there that i could be tripping over? [19:40] wanna get solus snapd rebased and integrated [19:46] * elopio goes to the bank before the rain [19:47] cachio: we are using the travis free account, and it doesn't provide 32 machines. [19:47] ikey: no, I didn't do anything more I'm afraid [19:47] ikey: go ahead and rebase, note that we'll have 2.29.3 soon [19:47] (with more fixes) [19:47] is 29 stable or unstable? [19:47] but those should be clean for solus [19:47] unstable still with udev fixes incoming [19:48] but if you rebase for .2 you should be ready for .3 soon [19:48] right [19:48] so it makes sense to get us on the unstable branch [19:48] gonna be a massive pita working out the pending status of existing fixes otherwise [19:48] ok ill make a tarball of snapd 2.29.2 [19:48] * ikey has a magic script somewhere [19:50] snapd-2.29.2.tar.xz ready, heh [19:50] https://dev.solus-project.com/source/common/browse/master/Scripts/goget.sh <- abomination [19:50] PR snapd#4169 opened: cmd/snap-update-ns: add secureMkfileAll [19:50] but "works" [19:53] * zyga-ubuntu pushed a few PRs for upcoming layouts [19:55] I _guess_ I'm done for today [19:55] painkillers and other "meds" made 2nd half of my day useful but I'm far from being good [19:56] :/ [19:56] "get well soon" ? [19:56] thanks :) [19:56] just bad luck with my back and the weather sucks :/ [19:56] I want back to Spain :( [19:56] ah [19:57] I have a few more bits of code I could share but I think this is more than enough for now [19:57] well... [19:57] well [19:57] I could share one more function [19:57] lol [19:57] but we have 43 PRs already [19:57] damn it... :D [19:57] damn [19:58] and I have steam open just now [19:58] * ikey too [19:58] btw, does steam work on solus with amd GPus? [19:58] yeah [19:58] I have a pair of ... [19:58] * zyga-ubuntu checks [19:58] testing a regression with hitman here [19:58] * ikey also has steam open lol [19:58] just put out LSI 0.6 [19:58] im hoping the next major will be the snap [19:58] and we can start ripping steam out of solus itself [19:58] AMD R9 280X (AFAIK) [19:59] should be good after full updates [19:59] so that amdgpu kicks in properly [19:59] (on 4.13) [19:59] I'll install solus on a 2nd HDD and see what works [19:59] I'm kind of curious [19:59] we're a few weeks out yet from a release and im getting my headline features together [19:59] can't just do refreshed ISOs anymore [19:59] it's a budget gaming box, with amd x4 845 and a pair of old used GPus [20:00] LSI will make sure the open source drivers at the very least [20:00] and the steam package depends on LSI and a buttload of libs [20:00] to make sure all the games work [20:00] yeah, I was curious about how that works [20:00] that's why I want to try [20:00] *open source drivers work [20:00] so for that we blacklist libstdc++ vendoring in LSI [20:00] which is how it magically works [20:01] https://github.com/solus-project/linux-steam-integration/blob/master/src/intercept/main.c#L108 [20:01] ^^ [20:02] can't have our users doing obscure `find | xargs rm -rf` commands.. [20:02] :D [20:02] todays change was slightly terrifying [20:02] new games are shipping with vendored libressl.. [20:03] very, very old libressl [20:03] so i had to teach the intercept module to redirect versioned libssl/libcrypto to a lib{ssl,crypto}-libressl.so on the fly.. [20:03] cuz security. -_- [20:03] (some of them are shipping 5+ year old openssls, old curls, etc.) [20:04] that's pretty interesting [20:04] we have one problem with libc and shm_open [20:04] o? [20:04] I wonder if we coudl capture and redirect that function to something snap-aware (but context aware too) [20:04] some calls need to be left as-is [20:04] you could but only for non-setuid binaries [20:05] lsi is using LD_AUDIT for this [20:05] and LD_PRELOAD for the other portion [20:05] some should be tweaked so that the created /dev/shm thing is scoped to the snap [20:05] basically we hijack c lib [20:05] yeah, [20:05] and linker.. [20:05] I think we may need to as well [20:05] I'll need to read your code :) [20:05] please do - i tried to keep it simple enough and functional [20:05] but first... [20:05] lol ya [20:05] some gameing :) [20:05] enjoy! [20:05] I'm re-playing wolf games before looking at new colossus [20:06] :D [20:07] "/home/ufee1dead/.local/share/Steam/steamapps/common/Hitman™/bin/libffmpegsumo.so" [20:07] * ikey dies inside [20:07] TM in a path [20:09] oh wow [20:09] someone was NACKed by legal :D [20:13] clobrano: hey [20:13] clemensv: can you respond to my comment here snapcraft#1648 ? [20:13] PR snapcraft#1648: sources: get svn revision with --show-item flag [20:15] * kalikiana going to wrap up in a bit... long day [20:17] kalikiana: hey, sure, just give me a minute [20:17] no rush [20:23] elopio, and how many machines does it provide within the free account? [20:24] elopio, I'll take a look to travis infra [20:24] that could be a good alternative [20:27] cachio, Travis? 5, I think [20:28] ikey: I'm impressed something didn't explode over that [20:29] lol [20:30] kyrofa, good, thanks [20:30] darn [20:31] drat [20:32] I was supposed not to do this [20:32] jdstrand: one PR to look at [20:33] PR snapd#4170 opened: cmd/snap-update-ns: add designWritableMimic [20:33] this is the tmpfs designer [20:33] I have a good number of prerequisite branches [20:34] but this PR just adds one function for conceptually doing things and contains the most important logic [20:34] I requested you as a reviewer [20:34] * zyga-ubuntu really EODs now [20:36] zyga-ubuntu, hey [20:36] enjoy your EOD :) [20:36] o/ [21:36] github reviews still suck for stacked PRs right [21:37] PR snapd#4171 opened: tests: adding test to test physical memory observe interface [22:42] Hello, just wanted to pop in and mention that GogLand has been renamed to GoLand, so should be updated in the Featured Snaps section of snapcraft.io [22:45] jdstrand, am I correct that a snap using the kernel-module-control plug will not be denied installation? [22:45] *sigh* WILL be denied installation [22:49] kyrofa: without a snap decl, yes [22:49] jdstrand, how do we expect people to experiment with such interfaces? [22:49] jdstrand, I've suggested people look into it instead of rolling their own kernel, but then they can't [22:49] kyrofa: if you install with --dangerous it works fine [22:49] Oh, really? Did that change recently? [22:50] no. long time ago for the reason you mentioned [22:50] Oh, whew, excellent [22:50] It's been a while then [22:50] kyrofa: if it doesn' [22:50] t work the way I described, it's a bug [22:50] but it should. people do this all the time :) === JoshStrobl is now known as JoshStrobl|zzz