=== markusfluer1 is now known as markusfluer [07:54] o/ [08:25] PR snapcraft#1123 closed: Adding Fish shell source and IDEA IDE to gitignore [09:43] It doesnt work very good, restartunit error, socket error and so on. Im on the latest ubuntu [09:44] i was here some weeks ago trying to solve the bug(?) [09:44] (at least report it) [09:52] ogra_: ping [09:52] morphis_, yo [09:52] ogra_: didn't you enabled ALSA support for the pi sometime ago with a change in the config.txt? [09:53] morphis_, well, audio device support, but yes ... all edge builds should have it [09:54] ah only in edge [09:54] well [09:54] we cant update gadgets in stable ... so you wouldnt get it [09:54] why that? [09:55] because nothing in /boot gets updated on gadget upgrade [09:55] ah right [09:55] only snap.yaml (and i think gasget.yaml) [09:55] that problem .. [09:55] :-) [09:55] morphis_, mvo was working on a config.txt inrterface, that might help around this [09:55] I remember [09:56] yeah saw those PRs but AFAIK it hasn't landed yet [09:56] but i guess as long as the core-support interface is completely disable that wont work [09:56] yeah [09:56] even if it would land ... the base interface needs to come back first [10:01] ogra_: ok, another thing with the latest gadget from edge for the pi3 I should be able to get Mir working, right? [10:02] morphis_, i have mir kiosk running here, so yes [10:02] great === rgogunskiy_ is now known as rgogunskiy [11:37] PR snapd#2940 opened: interfaces: use kmod and seccomp specs === tinwood is now known as tinwood_swap [12:03] PR snapd#2941 opened: Connectivity status interface === dragly_ is now known as dragly [13:13] I seem to have got into a strange state where snapd refuses to acknowledge that an interface I'm working on exists; I've tried reverting to a known good commit but when installing snaps it still claims it's an unknown interface [13:13] is there some sort of interface registry or anything that could have got into a bad state? [13:14] Elleo, well, snapd re-execs to the snapd inside the core snap ... [13:15] i belive your interface would have to exist inside there ... ( zyga ? ) [13:17] ogra_: is that a new change? this was working a couple of weeks ago [13:18] not *that* new ... but also not really old ... i have to defer to zyga perhaps i'm wrong [13:20] Elleo: hey [13:20] Elleo: first of all, set SNAP_REEXEC=0 [13:20] Elleo: otherwise your snapd will reexec and you won't see what you are hacking on [13:20] Elleo: second of all, is the interface supposed to be on the core snap or on a different snap? [13:23] * Chipaca waves at vds [13:24] * vds waves back to Chipaca :) [13:24] zyga: for different snaps, it's the maliit interface [13:26] zyga: setting SNAP_REEXEC=0 fixes my problem, thanks :) [13:34] PR snapd#2942 opened: tests: add core-snap-refresh test [13:34] Elleo: great :-) === yofel_ is now known as yofel [14:01] ogra_: hey! I thought the postgresql snap was using aliases (I need one example from tutorial), ideally doing aliases and config script. Do you have any idea handy? [14:02] uhm ... i have neither ever used aliases nor ever used the postgres snap [14:03] ogra_: ok, I'll create an example for it I guess :) [14:04] didrocks, i know that samuele is our alias specialist though ... but he seems to be not on IRC [14:04] ogra_: ah, I can wait for him to see if there is already an interesting example in the store [14:05] didrocks: how aliases work will change again, there was some confiusion around the decision of the first implementation ... and we were asked to tweak how they works. the end result is that there will be nothing to do in the snap, it's something that developer will have to ask reviewers to setup [14:05] anyway this will change in 2.24 (current estimate) [14:06] pedronis: ok, thanks for the head's up. I'm only doing the consumer-side for now (snap user), so I guess that part won't change? [14:06] *confusion around the decisions [14:06] oops, seems i'm blind ! [14:06] ogra_: you're not *that* old :) [14:06] (why did pe not properly expand ?) [14:07] didrocks: it will change as well (users will be able to setup snaps but given that the snap itself will have no opinions they have to specify everything, unless has I said the snap has aliases setup in the store, then there is nothing to do, it's all automatic) [14:07] didrocks, no, i just smell like it :P [14:07] s/to setup snaps/to setup aliases/ [14:08] pedronis: oh interesting, ok, waiting for the change then… [14:09] didrocks: so if something merits automatic aliases, it can be setup with the old way, and we will migrate it, but indeed I would not recommend asking users to play with them atm [14:09] pedronis: ok, I'm just skipping that part of the tutorial for now [14:09] (well, skipping writing it) [14:10] or make it a one word tutorial "guess" [14:10] ;) [14:11] :) [14:19] ogra_— your tab completion probably doesn't expand on first tab if more than n options are available? [14:20] well, i tabbed a few times [14:21] speaking of which, tab completion is a mystery wrapped in a conundrum, but the mystery is putrid and the conundrum is covered in hives [14:21] hahaha === hikiko is now known as hikiko|ln [14:22] mup, poke bdmurray [14:22] Chipaca: Plugin "ldap" is not enabled here. [14:22] ah [14:22] 6am still [14:22] anyway i'll take a break from this [14:22] seems to be always 6am there [14:22] ogra_— i always get impatient about the same time i guess :-D [14:23] or pacific time is actually on a fixed hour permanently :) [14:53] ppisati: I am back, and I am the test guy. How can I help you? [14:57] elopio: https://github.com/snapcore/snapcraft/pull/1149 [14:57] PR snapcraft#1149: kernel plugin: if kernel's target == NULL, use per-arch default target [14:57] elopio: let's start with this one [15:06] ppisati: ok. That one timed out downloading a snap. There's an open bug for the store related to that. I've just retried it. [15:06] ppisati: you have to add unit tests to cover the code paths you added. [15:15] elopio: so, is that being retried now or not? [15:17] elopio: and, how about these other two: [15:18] https://github.com/snapcore/snapcraft/pull/1150 [15:18] PR snapcraft#1150: kernel plugin: remove MAKEFLAGS from the environment [15:18] https://github.com/snapcore/snapcraft/pull/1148 [15:18] PR snapcraft#1148: kernel plugin: if dtb target == NULL and arch == (arm||arm64), build and install all dtbs === hikiko|ln is now known as hikiko [15:23] PR snapd#2943 opened: many: only tweak core config if hook exists [15:28] ppisati: those two are green. I will trigger the autopkgtests there in a moment. [15:33] elopio: while the other is still red for the open bug, right? [15:37] ppisati: the other should pass with a retry. You can add the tests, don't worry about that failure [15:57] Hey ogra_, do you have any recommendations for workaround for bug #1667865 [15:57] Bug #1667865: Unable to sideload large snap on DragonBoard [15:58] fstab has a big "do not edit" banner on it [16:05] kyrofa, unmount /tmp [16:05] (and reboot after installing the snap) [16:06] ogra_, that makes /tmp read-only [16:07] huh ? shouldnt [16:07] error: cannot read POST form: open /tmp/multipart-072813492: read-only file system [16:07] yeah [16:07] hmm [16:08] mount it to some place in /writable then [16:09] ogra_, there we go... [16:10] ogra_, what would you say is the ideal fix for that bug? [16:10] well, snapd was supposed to have a fix ... by not using /tmp to unpack [16:11] Okay, agreed [16:11] but i'm not sure if that has landed anywhere ... [16:14] PR snapcraft#1162 opened: tests: pass the autopkgtest secret to the container [16:24] ogra_, let's say that work hadn't happened. Where is the ideal location to do this work? [16:25] kyrofa, snapd i suppose [16:25] ogra_, I was thinking /var/tmp, thoughts? [16:25] ogra_, I mean on the filesystem [16:25] oh, you mean the unpacking [16:25] yeah, /var/tmp seems to be on disk by default alread [16:25] y [16:25] Yeah I realize now I used "work" twice in the same sentence to refer to two different things :P === topi`_ is now known as topi` [17:29] Bug #1668349 opened: Classic snap fails to run [17:52] PR snapd#2944 opened: interfaces/builtin/alsa: add read access to alsa state dir [18:41] PR snapcraft#1162 closed: tests: pass the autopkgtest secret to the container === iliv_ is now known as iliv [19:13] PR snapd#2943 closed: many: only tweak core config if hook exists [19:45] kyrofa: hey there, i think you pinged me on friday re: my mail about etcd snap channel unable to find a revision [19:47] lazyPower, hmm... that was a long time ago. My memory isn't what it used to be ;) [20:33] PR snapd#2945 opened: interfaces: miscellaneous policy updates for unity7, udisks2 and browser-support (LP: #1667480) [20:45] kyrofa: thats true, but i'm not positive that was you either :) [21:17] PR snapd#2946 opened: interfaces: consistently use 'const' instead of 'var' for security policy [21:35] jdstrand: hey, could you please have a look at https://github.com/snapcore/snapd/pull/2947/files [21:35] PR snapd#2947: cmd/snap-confine,tests: bind-mount /etc/os-release [21:35] PR snapd#2947 opened: cmd/snap-confine,tests: bind-mount /etc/os-release [21:54] PR snapcraft#1163 opened: docs: update the directory where the API pages are generated [22:01] zyga: I thought you were off this week? [22:13] jdstrand: starting tomorrow :) [22:13] jdstrand: one more https://github.com/snapcore/snapd/pull/2827 [22:13] PR snapd#2827: cmd: add helpers for mounting / unmounting [22:13] jdstrand: I'd love to land that one [22:13] jdstrand: I did what you asked me to do, made a 2nd build of snap-confine [22:14] jdstrand: I have enough patches piledl locally to send one each day during all my holidays :) [22:15] jdstrand: the one about /etc/os-release is more important as people are hit hard by this issue (canonical-livepatch) [22:15] jdstrand: the scond one is just a +1 as I basically did what you asked all along [22:15] second* [22:15] * zyga wonders how a BT keyboard can be so terrible at multi-keypress [22:16] jdstrand: this one is really interesting: it begins the meaty part of snap-update-ns: https://github.com/snapcore/snapd/pull/2938 [22:16] PR snapd#2938: cmd/snap-update-ns: compute next action to transition mount profile [22:16] jdstrand: I'll merge master into it / rebase on master when I land https://github.com/snapcore/snapd/pull/2936 [22:16] PR snapd#2936: interfaces/apparmor: compensate for kernel behavior change [22:16] 2827 is already on my list [22:16] thank you! [22:17] I will be partially offline but I'll try to see what's going on next week [22:17] er [22:17] this week [22:17] tomorrow I just need to pack a few bits and not miss my plane :") [22:17] hmm [22:17] Pharaoh_Atem: hey [22:18] it seems stupid that you don't identify in /etc/os-release that ubuntu-core is like ubuntu [22:18] Pharaoh_Atem: well [22:18] Pharaoh_Atem: it's not [22:18] but it is [22:18] Pharaoh_Atem: it is in some ways [22:18] or add UBUNTUCORE_* IDs [22:18] Pharaoh_Atem: but it is so much read only that I think it is good to not identify like any other distro [22:18] (via ID_LIKE) [22:19] Pharaoh_Atem: though propose it, maybe ogra will agree and it gets merged [22:19] ogra_: ^ ID_LIKE=ubuntu for core [22:19] uhh [22:19] I'd do the following [22:19] ID_LIKE=ubuntu debian [22:19] UBUNTUCORE_ORIGVERSION=16.04 [22:19] is is space-separated or comma-separated? [22:19] space separated [22:19] isn't that ID_VERSION=16 ? [22:20] (16.04 is not a thing, core is just 16) [22:20] I know [22:20] but it's derived from 16.04 [22:20] but it is 16, distinct series [22:20] series 16 could move from derived on 16.04 to 16.10, etc. [22:20] no, it won't ever move [22:20] it will stay 16 forever [22:20] i don't think that's what the series means [22:20] we'll get 18 series but not 16.10 [22:20] yeah what zyga said :) [22:21] Pharaoh_Atem: I think the more interesting question is this: [22:21] except that you need something to match between livepatch and local [22:21] Pharaoh_Atem: once we have base snaps, where does /etc/os-release live? is it core or is it in the base snap? [22:21] since you guys did the thing where you hardcode stuff [22:21] zyga: it probably belongs in the base snap [22:22] ideally, the core snap should only include snapd [22:22] Pharaoh_Atem: livepatch was hit by our bug where it could no longer realize where it is running on [22:22] Pharaoh_Atem: I think that bug is fixed with my PR (although devil in the details) [22:22] the answer is not to go back to lsb-release, though [22:22] Pharaoh_Atem: as for core vs base I'm not sure; I think it could belong to both but it's not clear what that means [22:22] Pharaoh_Atem: no, I'll make sure it's not lsb_release [22:23] anyway, need to sleep and finish things [23:12] PR snapd#2936 closed: interfaces/apparmor: compensate for kernel behavior change [23:13] PR snapd#2948 opened: interfaces/bluez,network-manager: implement ConnectedSlot policy