/srv/irclogs.ubuntu.com/2017/09/01/#snappy.txt

mupPR snapcraft#1524 opened: Yarn lock record <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1524>03:54
zyga-ubuntugood morning06:28
zyga-ubuntumvo: my network is better than ever, I've reinstalled xenial06:29
zyga-ubuntumvo: if you want to have that call I'm available and eager to test06:29
mvozyga-ubuntu: hey, good morning - please check the latest bits I wrote in 3625, I'm available in some minutes (just want to finish two small review feedback tasks)06:33
zyga-ubuntumvo: great, I'll read your feedback and grab a coffee, let's chat soon06:35
zyga-ubuntumwhudson: hello, I made git happy, shall I dput or do you want to do that yourself?07:10
zyga-ubuntumvo: let me take your branch and look at some possiblity to make it more uniform, I won't push to your PR but will have something as a base for discussion, ok?07:20
* zyga-ubuntu is still sleepy, needs to transition to waking up at 6AM07:20
mvozyga-ubuntu: sure07:21
greybackogra_: hey, I'm having trouble bringing up Mir on the edge/daily RPi3 image (and I tried your images too, no diff). I'm suspect https://pastebin.ubuntu.com/25443549/ Is this a known issue?08:10
mvopedronis: this might be interessting for you: httputil/logger.go:108: assignment copies lock value to transport: net/http.Transport contains sync.Mutex (from go vet 1.7)08:10
pedronismvo: that is annoying,  the rule is  A Mutex must not be copied after first use, I think the current code isn't quite right, even reasonably code will not make vet happy there :/08:21
pedronisthough08:21
pedronismvo: more correct code would be like this:  https://pastebin.canonical.com/197306/   don't think it make vet happier though08:24
mvopedronis: yeah, I think there is a open bug about that vet is not smart about this :/08:27
mvopedronis: the alternative of creating a transport with the same values as default trnasport is very much not DRY, so maybe best to ignore/silence this vet message08:28
pedronisthat's what I had the problem is that the exact params change between 1.6, 1.7, 1.808:29
pedronisso params are new in each08:29
pedronisso we would need multiple versions of that code08:29
pedronismvo:  I don't think there's  a way to supress single warnings08:34
pedronisunless we do it from the outside?08:34
pedronismvo: what's your thinking?08:38
mvopedronis: yeah, I was thinking to grep -v on the outside08:41
mvozyga-ubuntu: ready when you are, sorry that things took a bit longer08:41
pedronismvo: this is how they look in the versions btw:   http://pastebin.ubuntu.com/25443642/08:42
mvopedronis: meh, really annoying08:42
pedronismvo: we can probably get away with 2 version  1.6  and 1.7+ at least for a bit08:52
ogra_greyback, that output looks normal to me (these bind errors have always been there IIRC)08:57
greybackogra_: ok. I'll try to figure out why Mir is sad then.08:58
ogra_i guess /dev/dri/card0 exists ?08:58
greybackogra_: yep08:58
ogra_then he device should technically be initialized properly ...08:58
ogra_there was a change regarding famebuffer handling in the kernel though08:59
greybackogra_: is it a custom kernel?08:59
ogra_it is based on our 4.4 tree i think with broadcom patches on top ... you have to ask ppisati for more details ... mir worked fine in the past though ...09:00
ogra_the framebuffer thing is https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/170841709:00
mupBug #1708417: Board hangs with 'dtoverlay=vc4-kms-v3d' while writing to /dev/fb0 <patch> <verification-done-xenial> <linux-raspi2 (Ubuntu):New> <linux-raspi2 (Ubuntu Xenial):Fix Released> <https://launchpad.net/bugs/1708417>09:00
ogra_(the patch is attached there)09:01
ogra_not sure if that can have any impact on mir09:01
ogra_greyback, also ... remembering the forum...did you try a reboot ? :)09:02
greybackogra_: yep :)09:02
greybackok, well I know where to start, thanks09:03
ogra_greyback, FYI i just installed mir-libs and mir-kiosk from edge and have a mouse cursor now on a pi209:08
greybackogra_: ack, thanks for that. I didn't think pi3 was that different...09:08
ogra_the kernel and rootfs are identical ... the bootloader setup differs slightly09:09
ogra_(bootloader binaries should also be identical nowadays, it is really only config diffs in the gadget)09:10
pedronismvo: I'll propose something using the 2 versions09:11
mvopedronis: thanks a lot, i have a look09:12
ogra_pedronis, hmm, could your recent changes to serial handling have introduced a race ? i just had the second installl in a week where installing my first snap on a device ended up in installing core first ... (which indicates that firstboot or key setup failed)09:26
pedronisogra_: that sounds more like a firstboot issue09:28
ogra_k09:28
pedronisserial doesn't play a role there09:28
pedronisI mean you have no core09:28
ogra_sadly the card is already messed up and i'm re-flashing09:28
pedronisserial starts after seeeding09:28
ogra_but i guess that will happen again09:28
pedronisI'm sure there's an issue, don't think it's related to serial09:29
ogra_well, the images were pretty reliable until recently so it is definitely a recent change, serial just came to my mind as first thing here :)09:29
pedronisthose changes should not have modified behavior on core09:30
pedronisalso as I said they trigger after seed is set09:30
pedroniswe need a log09:31
ogra_ogra@localhost:~$ snap changes09:32
ogra_error: no changes found09:32
ogra_ogra@localhost:~$ snap list09:32
ogra_No snaps are installed yet. Try "snap install hello-world".09:32
ogra_ogra@localhost:~$09:32
ogra_ok ... seems reliably broken09:32
pedronisthat seems very broken09:32
pedronisthere not even a try to seed09:33
ogra_pedronis, http://paste.ubuntu.com/25443792/ looks relevant09:34
ogra_pedronis, note that i have only seen it on wlan-only boards ... which come up without any networking (because WPA isnt set up indeed)09:35
pedronisyou r image as a strange time:   2016/02/11 16:28:15.32898309:35
ogra_hmm, true09:35
pedronisthat's the problem09:35
ogra_damn09:35
cjwatsonupgrading launchpad-buildd to 148; please let me know if you see new oddities with snap building on LP09:36
cjwatson(yes, I'll announce it on the forum once it's done)09:36
ogra_pedronis, thanks, i know wheer to look then09:36
pedronisyea, something with the rtc fixing code or the filesystem times09:37
ogra_right and i just merged abeato's initrd changes at the start of the week09:37
ogra_i guess something broke there09:37
* zyga-ubuntu has fun with system09:39
zyga-ubuntu"fun"09:39
ogra_argh ... no, even worse ...09:39
ogra_xenail had a new initramfs-tools superseding ours in the PPA09:39
abeatoogra_, pedronis, that seems like systemd built date when date is seen by it as older than that09:39
abeato(systemd changes the date in that case)09:40
ogra_abeato, yeah, sorry, not your fault ...09:40
abeatonot yet probably ;)09:40
ogra_theer were other initrd fixes that the upload to xenial-proposed did override09:40
ogra_in initramfs-tools itself09:40
Chipacahmm09:40
Chipacapedronis, mvo, why is it called “snap-repair.service” and not “snapd-repair.service”?09:41
ogra_because it repairs snaps ?09:41
ogra_or does it repair snapd ?09:41
Chipacasnap- is what we use for units associated with a snap09:42
mupPR snapd#3836 opened: httputil: more naive per go version way to recreate a default transport for tls reconfig <Created by pedronis> <https://github.com/snapcore/snapd/pull/3836>09:42
Chipacasnapd. is what we're using for units associated with snapd itself09:42
Chipacaso it should probably snapd.repair.service09:42
pedronisChipaca: I don't know, that's a mvo question09:42
pedronismvo: #383609:43
mupPR #3836: httputil: more naive per go version way to recreate a default transport for tls reconfig <Created by pedronis> <https://github.com/snapcore/snapd/pull/3836>09:43
mvoChipaca: the tool is called snap-repair, we could rename it I guess09:43
pedronisbut all our tools are snap-09:43
ogra_ppisati, we have a problem ... fixrtc in the generic initrd is broken, i need to re-upload the fix and re-spin core and then we would need a no-change rebuild of the kernel snaps (for all devices without rtc battery at least)09:44
pedronisChipaca, mvo:  we risk a clash there right?09:45
Chipacamvo: tbh it's probably not a huge deal, we already have snap.mount.service which breaks the pattern09:45
pedronisah, no, because revision09:46
Chipacamvo: and for this, snap.mount.service needs special treatment -- so i need to do the same for the other i think? maybe09:46
mvoChipaca: yeah, its slightly inconsistent but we can fix it still, so maybe we should and rename it if its the only one that sticks out09:46
ppisatiogra_: ok09:47
ogra_missing this fix http://paste.ubuntu.com/23175211/09:47
ogra_(i really need to SRU this so such issues cant happen anymore :/ )09:47
mvoChipaca: I guess we go all the way and rename snap-repair to snapd-repair as well?09:48
ppisatiogra_: i've been testing 4.13 with ubuntu core, and the serial console is completely trashed09:48
ogra_ppisati, on what devices ?09:49
ppisatiogra_: the funny thing is that, the same exact kernel works fine in ubuntu classic09:49
ppisatiogra_: raspi309:49
ogra_ppisati, differences in config.txt ?09:49
ppisatiogra_: on raspi2, the boot doesn't complete, it hangs during usb bus init, again perfectly fine in ubuntu classic09:49
ogra_(and did you copy the dtbs over to the gadget path ?)09:49
ppisatiogra_: uhm, none i think09:49
pedronismvo: I don't like snapd-repair a lot for the tool, given our snap- pattern there09:50
ppisatiogra_: i would i do that? (copy the dtb to the gadget path)09:50
ppisati*how09:50
mvopedronis, Chipaca: hm, hm, snapd-repair.service but snap-repair as the tool sounds also inconsistent to me. so maybe keep as is (snap-repair.service and snap-repair tool)?09:51
ogra_ppisati, well, from the kernel snap /lib/firmware/.../device-tree to /boot/uboot/ (and to the overlays subdir)09:51
Chipacamvo: snapd.snap-repair.service ?09:51
ogra_ppisati, else you will indeed boot with a 4.4 dtb09:51
ogra_(the old issue on the pi)09:51
ppisatiogra_: i thought ubuntu image would pick the dtb from the kernel snap nowadays09:51
ogra_not on the pi309:52
ppisatithat might explain why i only have problems with ubuntu core09:52
pedronismvo: should I mark my go vet fix for 2.28 ?09:52
mvopedronis: please09:52
mvoChipaca: that sounds ok09:52
ogra_the pi bootloader needs the dtb in the toplevel of the vfat and we cant really load it from uboot anymore09:52
ogra_thats why it is still shipped in the gadget unlike on all other boards09:53
pedronisChipaca: quick (maybe) review to please the go vet gods: #383609:53
mupPR #3836: httputil: more naive per go version way to recreate a default transport for tls reconfig <Created by pedronis> <https://github.com/snapcore/snapd/pull/3836>09:53
ppisatiogra_: me checks that09:54
ogra_hmm, i dont get it ... how did the breakage make it into the current pi2-kernel snap ... the deb only landed yesterday, the broken initrd.img only showed up in todays build of the core snap ... but the kernel snap was built 3 days ago10:07
xnoxHello, i have a python3 build-dependency which is not on pypi =( it's only a package in ubuntu. I've added "build-packages" stanza, but it seems to me that it is failing to import none-the-less.10:09
xnoxhttps://launchpadlibrarian.net/335415335/buildlog_snap_ubuntu_xenial_amd64_xnox-subiquity_BUILDING.txt.gz10:09
xnoxSetting up python3-distutils-extra (2.39-1) ...10:09
ogra_are you using the python3 plugin for it ?10:09
xnoxImportError: No module named 'DistUtilsExtra'10:09
xnoxogra_, oh, i have "plugin: python" should it be "python3" ?10:09
ogra_it think "python" has a version property10:10
xnoxeverything is calling python3 as far as I can see10:10
xnoxlet me check the docs10:10
Chipacai think it was python3 earlier, but it's been renamed10:10
xnox- python-version:10:11
xnox  (string; default: python3)10:11
xnoxThe python version to use. Valid options are: python2 and python310:11
xnoxso yes i am using python310:11
Chipacaxnox: I don't know snapcraft well at all, but if it's python i assume the problem is that it's not being included in the snap? as there is no build phase?10:13
Chipacaor no compile in the build at least10:13
Chipacaxnox: so maybe it should be a stage-package, not a build-package?10:14
ogra_yeah10:15
xnoxChipaca, no i don't need to stage distutils-extra at all. distutils-extra are helper functions to use in setup.py which build extra things (translations in my case) and is only needed during building10:15
Chipacaah alright10:15
ogra_xnox, if you use snapcraft cleanbuild locally, does it work ?10:16
xnoxChipaca, my problem is that system installed python modules (from build-packages, normal ubuntu package) are not available inside the pyenv / during the pip call10:16
Chipacaxnox: if you wait a little bit, sergiusens would be around10:17
Chipacashould, could10:17
Chipacaxnox: distutils-extra was a problem until recently at least, as per https://forum.snapcraft.io/t/week-31-of-2017-in-snapcraft/1598/310:17
Chipacaxnox: maybe kalikiana found how to work with it?10:18
mvoChipaca: do you want me to look at the rename of snapd.snap-repair.service after lunch? or are you at it already?10:21
Chipacamvo: I'm not on it, but I can glom it into this huge packaging pr10:21
Chipacamvo: unless it's time-sensitive?10:21
mvoChipaca: we should probably do it before 2.28 just to avoid that it hit -updates10:22
mvoChipaca: I have a look after lunch10:22
Chipacaok10:22
Chipacamvo: changing subjects, do you remember where it was that you had an io.Reader and you needed to write it atomically?10:23
* Chipaca is thinking about that while waiting for spread10:24
=== ShalokShalom_ is now known as ShalokShalom
mvoChipaca: I don't remember where this was, sorry.10:53
Chipacano probs10:53
xnoxis there a way for me to see the contents of the just built snap somehow?10:55
Chipacaxnox: unsquashfs -ls10:56
xnoxsnap info --show-me-contents-like-dpkg-deb-c subiquity_0+git.3c5c5a5-dirty_amd64.snap10:56
xnoxhm, ok.10:56
Chipacaxnox: or --lls10:56
ogra_xnox, did you use cleanbuild or did you build natively ?10:56
Chipacaxnox: if you're in snapcraft, I think the 'prime' directory is the contents of the snap10:57
ogra_the prime dir should have the conten in the latter case10:57
ogra_*content10:57
Chipacaxnox: (and you don't need the snap to try the snap -- 'snap try' can run it, uncompressed, from the prime dir)10:57
xnoxogra_, i do not understand what you mean; and it sounds too many too similar terms10:57
xnoxi did snapcraft10:57
xnoxso i don't like how things look10:58
Chipacaxnox: snapcraft on its own does build, not cleanbuild -- cleanbuild builds it in a vm10:58
ogra_xnox, "snapcraft cleanbuild" is the command you should use to get a build similar to what lp does (in-container, properly using xenial repos)10:58
ogra_xnox, while just calling "snapcraft" will just use your host for all build deps etc10:58
xnoxright..... but why is it a separate command instead of e.g. "build --vm"?10:58
xnoxbecuase there is "clean" and "build" subcommands, i assumed "cleanbuild" subcommand does the previous two in order, just an alias/shortcut10:59
ogra_(so running "snapcraft on artful will never get you what lp builds)10:59
xnoxnot like a brand new behariouv.10:59
xnox..10:59
xnoxanyway10:59
xnox..10:59
ogra_clean and build are steps ...10:59
ogra_clanbuild is a special type of building10:59
ogra_*cleanbuild10:59
xnoxmy python modules are installed into /lib/python3.5 instead of /usr/lib/python3.5 i find that confusing10:59
xnoxit's as if --prefix=/usr was not passed to setup.py11:00
xnoxis this normal?11:00
xnoxespecially when binaries are in /usr/bin/11:00
* ogra_ honestly doesnt know ... i usually stay away from pythjon snaps :P ... and i guess you might have better chances to find the snapcrafters in rocketschat 11:01
ogra_i'm sure they have a ton of examples you could look at11:02
Chipacamy only python snap predates snapcraft ¯\_(ツ)_/¯11:02
ogra_heh11:02
Chipaca(and I think the way it does things is frowned upon :-) )11:03
Chipacait does result in a 1MB snap though :-D11:03
Chipacaarch: all, to boot11:03
Chipacaor was it any11:03
* Chipaca forgets11:04
* Chipaca goes back to work11:04
ogra_greyback, did you use your pi on a wired network when first booting it ? seems there was actually a bug in the image where the clock is wrong on first boot and thus the snaps are not properly initialized (results in ""core" bein installed if you install the first snap)11:05
ogra_greyback, if your system behaved like this that might cause issues with mir too11:05
ogra_(actually with any snaps)11:06
davidcallepstolowski: ping11:15
pstolowskidavidcalle, hey!11:15
davidcallepstolowski: hey, I'm working on examples for the hooks doc page, and I'm wondering if you have any11:16
greybackogra_: hmm, not in my first tests (those were wifi only), but subsequent tests were on wired, and yes I did see an oddity with core snap update leaving things in a weird state (snapd at 100% cpu too). A reboot seemed to fix it11:16
ogra_that just looks like it fixed it :)11:17
davidcallepstolowski: install hook11:17
ogra_greyback, there are images with rolled back kernel snap in my people.u.c page now ... just re-flash11:17
mvopedronis: build failure in your latest Transport branch in debian-unstable and fedora that it cannot find Transport, I guess those already have go > 1.7 maybe?11:18
greybackogra_: ack, will test. I didn't bring my Pi3 into my office today, so will try tonight/over weekend11:18
ogra_ah, ok11:18
pstolowskidavidcalle, not really. install and refresh are very new hooks. but i'm happy to answer any questions.11:19
mvoniemeyer (and anyone else interessed): i updated 3556 (the license branch) with a slightly different validator, please let me know11:19
* mvo would love to see this merged11:19
greybackogra_: sorry11:19
pstolowskidavidcalle, nb, install hook is run only on fresh install of a snap11:19
ogra_greyback, heh, what for ... thanks for making me look and finding the bug11:19
greybackogra_: well immediate feedback is nice :)11:20
ogra_:)11:20
davidcallepstolowski: ok, so if I create a snap with an "install" hook, a simple sh executable that echoes a string. Here is what happens on snap install "error: cannot perform the following tasks:11:20
davidcalle- Run install hook of "playground" snap if present (run hook "install": cannot snap-exec: cannot find hook "install" in "playground")"11:20
davidcallepstolowski: and I can't really make sense of the error message.11:21
pstolowskidavidcalle, is 'install' actually present in meta/hooks/ ? exec bit set?11:22
ogra_ppisati, initramfs tools fix is in the PPA ... can you re-build the pi2-kernel and dragonboard kernel  snaps ?11:22
ppisatiogra_: me kicks a build11:23
ogra_thx11:24
davidcallepstolowski: it doesn't install the snap at all. But it's in my "prime" dir, in meta/hooks with the exec bit set.11:24
ogra_ppisati, did the copying of the dtbs help btw ?11:24
zyga-ubuntumvo: is LIBEXECDIR set there for a particular reason? https://github.com/snapcore/snapd/pull/3625#discussion_r13651280811:25
mupPR #3625: many: end-to-end support for the bare base snap <Blocked> <Created by mvo5> <https://github.com/snapcore/snapd/pull/3625>11:25
davidcallepstolowski: and if I remove the install file, it installs just fine and the configure hook it ships works11:25
ogra_zyga-ubuntu, why did you mark #3807 blocked ? the fix is in my comment11:31
mupPR #3807: cmd/snap-confine,packaging: import snapd-generated policy <Blocked> <Created by zyga> <https://github.com/snapcore/snapd/pull/3807>11:31
pstolowskidavidcalle, are you running current stable release?11:33
zyga-ubuntuogra_: it's blocked for now, I want to try to make that change but would rather not do it for 2.28 (too soon, too uncertain)11:33
pstolowski(of snapd)11:33
zyga-ubuntuogra_: after 2.28 we can do that and see what happens11:33
zyga-ubuntuogra_: it's blocked in the terms that it cannot land yet11:33
ogra_zyga-ubuntu, the fix has to happen in the core snap, not in snapd11:33
ogra_zyga-ubuntu, and it is trivial ... (identical to https://github.com/snapcore/core-build/pull/17 ... i can add your path in the PR if you want)11:34
mupPR core-build#17: switch /etc/systemd/system to "synced" mode <Created by ogra1> <https://github.com/snapcore/core-build/pull/17>11:34
zyga-ubuntuogra_: right, I know,11:36
davidcallepstolowski: 2.27.5+17.1011:36
zyga-ubuntuogra_: hmm, that's tempting11:36
zyga-ubuntuogra_: when do you plan to land that change?11:36
zyga-ubuntuogra_: have you tested it?11:36
pstolowskidavidcalle, good. can you push or email your snap somewhere so I can give it a shot?11:37
ogra_zyga-ubuntu, we use synced in other dirs (and switched them on the fly) so i dont expect any particular breakage ...11:37
zyga-ubuntuogra_: in that case, when do you plan to land your PR?11:39
zyga-ubuntuogra_: don't get me wrong, I'd love to try11:39
ogra_as soon as it gets appoved :)11:39
zyga-ubuntuogra_: did you test upgrades from older layout11:40
ogra_no, thats hat edge is for ... i'd land it and test in edge11:40
ogra_perhaps not today though ... i dont want to have to roll back on the weekend :)11:41
ogra_zyga-ubuntu, how about we land it on monday11:41
ogra_manually upgrading core doesnt really reflect the behaviour so i'd prefer to use the store here11:42
cjwatsonWe're rolling back launchpad-buildd 148 due to some unexpected networking issues with LXD11:43
pedronismvo: sorry, will fix, build flags are annoying this way11:43
zyga-ubunture, mailman11:44
zyga-ubuntuogra_: on monday after mvo branches off 2.28 is fine11:45
ogra_cool11:45
ogra_i'll ping you about it then11:45
zyga-ubuntuogra_: I mainly worry about the build logic where it would be good to be able to do 2.28.1 without this change11:45
zyga-ubuntuogra_: thank you!11:45
mvopedronis: yeah, no worries, just wanted to let you know12:18
mupPR snapd#3837 opened: overlord/snapstate: remove superfluous/misleading check from All <Created by pedronis> <https://github.com/snapcore/snapd/pull/3837>12:20
pedronistiny cleanup there with open question12:21
mvota12:23
davidcallepstolowski: sorry, I was in a meeting, yes, sending you something, thanks!12:26
abeatolool, hey, is there a repo for flash-device or I need a debdiff to submit a patch?12:27
loolabeato: I dont think there's an Ubuntu repo; the Debian repo is under d-i project at git.d.o12:28
abeatolool, ok, should I then submit the change to debian directly?12:28
loolabeato: we typically land Ubuntu changes directly in Ubuntu and then send a patch to Debian if applicable there12:34
abeatolool, alright, will do that12:34
loolabeato: what's your change :)12:34
loolabeato: seeing version in Ubuntu is ubuntu65, it has not been rebased in a reallllly long time12:34
ogra_pfft ... whats 64 revisions :P12:36
loologra_: 65!12:36
ogra_we always have ubuntu1 :)12:36
loolwith a delta already!12:36
abeatolool, adding one device to the database : http://paste.ubuntu.com/25444576/12:37
ogra_well, only the maintainer address :)12:37
jdstrandmvo: hi! I'm seeing this inside an lxd container (ie, my dev environment is in an lxdcontainer): http://paste.ubuntu.com/25444561/12:39
loolabeato: is it an officially supported flavor in Ubuntu?12:39
zyga-ubuntujdstrand: hey12:39
jdstrandhey zyga-ubuntu :)12:39
loolabeato: in which case, I suggest you add a Kernel-Flavor header as well12:39
jdstrandmvo: wondering if there is anything there that might ring a bell12:40
abeatolool, well, it is for a commercial device12:40
loolabeato: if there's no kernel in Debian supporting the hardware, I suggest you only upload it to Ubuntu12:40
mvojdstrand: not right now, I can check inside lxd12:40
mvojdstrand: to see if I see the same12:40
abeatolool, I guess not supported by debian, right12:40
loolabeato: Kernel-Flavor is basically an extra check to make sure the right kernel unames are allowed and you don't accidentally write a -generic kernel to your flash that wont boot12:40
loolso it's a nice safety net if that works for your hardware12:41
jdstrandzyga-ubuntu: fyi, re snap-update-ns, I've got an exploratory PR that shuffles some stuff around to address much of the import issues I mentioned in snap-update-ns12:41
zyga-ubuntujdstrand: thank you, do you want to talk about it?12:41
zyga-ubuntujdstrand: I also added an idea to the PR, to use a remote API to talk to snapd to call update-ns12:41
jdstrandzyga-ubuntu: yes, but not right this second. let me finish the tests and send it up12:41
zyga-ubuntujdstrand: ok12:41
zyga-ubuntujdstrand: thanks, I'll be here, my network works now12:41
pedronismvo: pushed the rename there12:42
jdstrandzyga-ubuntu: oh, that is an interesting idea too12:42
loolabeato: I guess it's a for a xenial based install? BTW since this is not snappy specific, we should probably be discussing this somewhere else12:42
jdstrandit would add ipc to exec...12:42
zyga-ubuntujdstrand: it _might_ be even IPC-less but in a very convoluted way12:42
zyga-ubuntujdstrand: but yes, IPC is the way to go12:43
jdstrandanyway, let me finish this and send it up12:43
zyga-ubuntujdstrand: ok12:43
mvopedronis: ta12:43
jdstrandmvo: thanks!12:43
cachiomvo, I updated the pc-kernel snap in staging using the one in prod but seems to bring many issues12:46
cachiomvo, I see many of this ones https://paste.ubuntu.com/25444618/12:46
cachioI need to update the kernel because the lxd test needs a new kernel to work12:47
cachiomvo, any Idea?12:47
mvocachio: hm, device session errorin https://paste.ubuntu.com/25444618/ that might be something for pedronis12:47
zyga-ubuntucachio: whick kernel are you on?12:48
cachiozyga-ubuntu, 4.4.0-8312:48
pedroniscachio: that's look like a prod snapd trying to talk to staging12:49
pedroniscachio: d-Jc... is a prod key12:49
cachiopedronis, yes12:49
zyga-ubuntucachio: it's definitely not too old IMO12:49
pedronisthat doesn't work12:49
cachiopedronis, so I should build the snap spacially for staging?12:50
pedroniscachio: yes, I think as I said that already, and you need to set the env vars12:50
pedronisyou need both12:51
cachiopedronis, the env vars are already set12:52
cachioand the tests working but I need to update the pc-kernel snap to make the lxd test pass in stagnig12:52
pedroniswell something is not using a snapd for staging or the env var are not set12:53
pedronisthat key there is a prod key12:53
pedronisthat's why staging says what12:53
pedronisor it might be that we don't switch to staging early12:54
pedronisenough12:54
pedronisthat's a new potential problem12:54
pedroniswith master12:54
cachioI ran the cron-job that already was passing for all the tests but now with the new pc-kernel that I got from prod12:54
pedronisthe kernel alone shouldn't make a difference12:55
cachiopedronis, that cron-job was working against staging12:55
cachiopedronis, I though the same, that's why I updated that12:55
pedronissomething else has changed12:56
cachiobut after I updated it a lot of these errors appeared12:56
pedronishow did you update it?12:56
pedronisupdate it in the store?12:56
cachioI downloadede manually from prod and uploaded to the staging store12:56
pedronisok, something else is going on here12:57
mupPR snapd#3838 opened: systemd: rename snap-repair.{service,timer} to snapd.snap-repair.{service,timer} <Created by mvo5> <https://github.com/snapcore/snapd/pull/3838>13:00
cachioniemeyer, I'll be few minutes late13:01
zyga-ubuntupedronis: standup?13:04
niemeyerpedronis: pingous13:04
jdstrandmvo: fyi, if I comment out that test, it gets a lot farther, but fails with: http://paste.ubuntu.com/25444693/13:09
jdstrandmvo: SNAP_EXEC is "0" instead of ""13:09
jdstrandSNAP_REEXEC*13:09
jdstrandoh frak13:09
jdstrandI have SNAP_REXEC=0 in /etc/environment. why in the world is that there?13:10
jdstrandok, that does not affect cmd_test.go13:11
jdstrandmeh, yes it does13:11
jdstrandmvo: ok, please disregard. hopefully I didn't waste your time. I had SNAP_REEXEC=0 in /etc/environment. remove that, log out and back in and it is fine. that said, perhaps the testsuite shouldn't be affected by that...13:13
ogra_probably because you added it when testing a snapd deb change13:13
jdstrandI don't run snapd in the container. I must have fat fingered something and accidentally added it there13:13
zyga-ubuntujdstrand: I think each one of us ran into this since we introduced this feature13:15
jdstrandzyga-ubuntu: hehe13:17
* jdstrand adds to ~/.bashrc:13:17
jdstrandif [ -n "$SNAP_REEXEC" ]; then13:17
jdstrand    echo "WARNING: SNAP_REEXEC is set to '$SNAP_REEXEC'. This may affect the snapd testsuite"13:17
jdstrandfi13:17
ogra_heh13:18
jdstrandI hate bothering people when the issue was my fault. this will *not* happen again :P13:18
mvojdstrand: yay, thank you. but good point13:19
zyga-ubuntuoh, that's nice13:20
zyga-ubuntujdstrand: stolen!13:20
=== JoshStrobl|AFK is now known as JoshStrobl
zyga-ubuntujdstrand: it should be a part on snapd thing in /etc/profile ;)13:20
zyga-ubuntujust couple that wiht $LOGNAME switch13:20
jdstrandheh13:21
ogra_pfft ... push it to upstream into /etc/skel ...13:21
zyga-ubuntujdstrand: it should also sleep and play yankie-doodle13:24
jdstrandhehe13:25
ogra_nah, we live in modern times ... it should send you a tweet that plays yankee-doodle13:25
* ogra_ would really like to know why travis doesnt work anymore in core-build13:26
ogra_"Automatic restarts limited: Please try restarting this job later or contact support@travis-ci.com."13:26
ogra_not really helpful when there is no further output13:27
zyga-ubuntuogra_: throw more monies at the screen13:28
zyga-ubuntuogra_: offtopic, I got the pi drive for my hate of SD cards outgrew the discounted price of the smaller drive, did you play with it?13:29
ogra_doesnt stick ... i tried13:29
ogra_zyga-ubuntu, pi-drive ? never heard of it13:29
zyga-ubuntuogra_: wd labs pidrive13:29
zyga-ubuntuogra_: I got the one with 314GB13:29
ogra_the one thats shipped with the nextcloud box ?13:30
zyga-ubuntuogra_: I bet13:30
zyga-ubuntuogra_: I just got it now because they shut the progrma down13:30
zyga-ubuntu*program13:30
ogra_(i have a nextcloud box here but never even unpacked it)13:30
zyga-ubuntuand the drives are cheap13:30
zyga-ubuntuaha13:30
ogra_well, you would still need the SD to booot13:30
zyga-ubuntuit includes a berry boot SD card13:31
ogra_so boot, and run through console-conf to hve the Sd completely set up ...13:31
zyga-ubuntubut it's also optional once you put the right stuff into your fuses, I hear13:31
ogra_then dd the second partition to the USB disk and remove the label from the SD second partition13:31
ogra_that should be all13:31
ogra_after reboot you should be in core booted from /writable on the USB disk13:32
ogra_(and writable should have been properly resized to the full disk size)13:32
ogra_(you might need to manually create an msdos partition table on the USB disk first though)13:33
ogra_zyga-ubuntu, blowing the fuse and usb-booting should work in edge ... but in stable (as usual) the kernel and gadget are to old13:34
* ogra_ needs to go afk for some errands ... back soon13:34
zyga-ubuntuogra_: thanks13:34
ahasenackhi guys, quick question. When reverting to a previous revision of a classic snap, why do I need to pass --classic again?13:35
zyga-ubuntuahasenack: because snaps can confinement flip/flop across revisions and I think we are very paranoid about being explicit for that one13:36
ahasenackthe revert command works without --classic, but the snap then doesn't, and it can be baffling at first, because snap refresh (forced upgrade) doesn't need --classic13:36
ahasenackzyga-ubuntu: but the previous one is already installed: you know if it was a classic one or not13:36
zyga-ubuntuahasenack: yes, but you may have installed it with --jailmode13:37
ahasenackwhich you would know too13:37
zyga-ubuntuahasenack: I think it's just "because", I think Chipaca has deeper insight13:37
* zyga-ubuntu checks familiy before jumping into another call13:39
ahasenackdo you guys know if a reverted snap will be automatically upgraded?13:40
ahasenackin other words, if the current stable snap is broken, and I have reverted to the previous one which is fine, will I have to keep doing that all day long?13:40
Chipacaahasenack: the revision that you revert away from is blacklisted locally13:40
ahasenacknice13:41
ahasenackthx13:41
Chipacaahasenack: that's the main difference between revert and refresh --revision=<something you have locally>13:41
Chipacaahasenack: bah. Two main differences: the blacklisting, and revert using the old data whereas refresh copies new data in place13:41
ahasenackI used revert --revision13:42
Chipacaand nice red uniforms13:42
Chipacaahasenack: that's fine (although should be unnecessary)13:42
mupPR snapd#3836 closed: httputil: more naive per go version way to recreate a default transport for tls reconfig <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/3836>13:44
mupPR snapd#3839 opened: docs: use abolute path in PULL_REQUEST_TEMPLATE.md <Created by mvo5> <https://github.com/snapcore/snapd/pull/3839>13:45
mupPR snapd#3840 opened: Snap update ns intial refactor for setuid [EXPLORATORY, DO NOT COMMIT] <Created by jdstrand> <https://github.com/snapcore/snapd/pull/3840>13:48
Chipacaahasenack: about requiring --classic, we had good reasons for doing it at the time, which revolved around what the user would expect as things evolved, but I think we could probably revisit that sometime (as we recently revisited devmode)13:54
ahasenackChipaca: it was unexpected to me: http://pastebin.ubuntu.com/25444749/13:55
ahasenackChipaca: *specially* because after the revert, snap list shows the snap as classic still13:55
ahasenackso for a while I was thinking the problem was something else13:56
Chipacawait13:56
ahasenackuntil dmesg confirmed the apparmor DENIED messages13:56
Chipacaahasenack: you're saying it was saying classic but wasn't?13:56
Chipacaif so that's a Bug13:56
ahasenackChipaca: yep, after the revert13:56
ahasenackit was 209 before13:56
ahasenackI still have the list --all output from before the revert, let me expand that pastebin13:57
ChipacaI'll dig into this in a moment13:57
* zyga-ubuntu looks at jdstrand's idae13:58
Chipacaahasenack: to be clear, it should have either done it (leaving it as classic) or not done it (telling you you needed to say --classic), depending on the codepath13:58
ahasenackChipaca: http://pastebin.ubuntu.com/25444883/13:59
zyga-ubuntumhm14:01
zyga-ubuntujdstrand: shall I prepare a small RPC idea as well?14:01
sergiusenszyga-ubuntu: what does this error mean Setup snap "core" (2462) security profiles (cannot setup udev for snap "core": cannot reload udev rules: exit status 2 ? It seems sporadic as eventually core was installed by means of a different test https://travis-ci.org/snapcore/snapcraft/jobs/27081490714:06
zyga-ubuntusergiusens: hmm, it means that we cannot re-trigger udev14:07
zyga-ubuntuI would have to look it up14:08
zyga-ubuntusergiusens: note that just until yesterday we had a bug in master that would generate broken rules for the opengl interface14:08
zyga-ubuntusergiusens: so it may be related14:08
zyga-ubuntusergiusens: but those would not show up for core14:08
zyga-ubuntusergiusens: so not really related14:08
zyga-ubuntuunfortunately udev was vey terse :/14:09
sergiusenszyga-ubuntu: so there are around 8 tests that would need to setup core in order to get build-snaps tested, seems one failed and the following test dtrt14:09
sergiusensalso, this is in a container14:09
jdstrandzyga-ubuntu: I don't think it is required. that is easy to understand. Knowing how much work was involved in the refactor was more key since it was unknown and a bit scary sounding14:12
jdstrandniemeyer, zyga-ubuntu: fyi, https://github.com/snapcore/snapd/pull/3621#discussion_r13658342614:12
mupPR #3621: cmd/snap-{confine,update-ns}: apply mount profiles using snap-update-ns <Created by zyga> <https://github.com/snapcore/snapd/pull/3621>14:12
niemeyerjdstrand: I'd prefer to continue the conversation on a hangout if that's okay14:12
jdstrandniemeyer: well, I would want you and zyga to have the context that I wrote up before having that conversation. note that I'm not sure the hangout is strictly necessary for all of us (see bottom of my comment)14:14
jdstrandniemeyer: if you decide it is necessary after reading the comment, that's fine too14:14
niemeyerjdstrand: I would really prefer to have a chat about it14:15
niemeyerjdstrand: This has been coming for a while, and the back and forth in the PR is also indicative that getting together and actually talking is worth the timing14:15
jdstrandniemeyer: that's fine, but please read my context in prepration of the conversation14:15
zyga-ubuntujdstrand: I just read your comment14:16
Chipacahmm14:16
Chipacalinode his having some issues14:17
Chipacaso, 30 minutes in, 48/1320 tests done14:17
Chipaca:-(14:17
zyga-ubuntuChipaca: that's modern market economy14:18
zyga-ubuntuChipaca: and virtualizatoin14:18
zyga-ubuntuChipaca: let me sell you some virtual land14:18
ogra_Chipaca, cool, you will be done in just 13h14:18
Chipacaogra_: and 50 minutes travis says "right! everybody out of the pool!"14:19
Chipacazyga-ubuntu: let's go back to barter14:19
ogra_well, your tests actually start ... mine are dead in the water before even starting14:19
zyga-ubuntuChipaca: travis said that because linode peed into the pool14:19
niemeyerjdstrand: Okay, we've both read it.. what's the best time for a call today?14:19
ogra_https://travis-ci.org/snapcore/core-build/builds/27046582914:20
jdstrandniemeyer: I can do it in 40 minutes or after14:20
zyga-ubuntusounds good to me14:20
* zyga-ubuntu is sleepy with the weather, I'll get a qucik nap and see you then14:21
Chipacadarn, now i have _two_ reviews without a +1 :-)14:45
ogra_jdstrand, is there any reason why i dont see thw wayland interface on my ubuntu core devices ? (shouldnt it be secure enough to allow it on core as well)14:45
Chipacaogra_: psh, that "wayland" thing is never going to take off. DirectFB is where it's at.14:48
ogra_!14:49
pedronisChipaca: wasn't /names fixed to be sorted?14:49
ogra_i'd live directfb with full GLES :)14:49
Chipacapedronis: I filed a bug for it to be sorted14:49
Chipacapedronis: wishlist bug, filed last tuesday, accepted by nessita the very same day, status confirmed, no way in anything is that going to be live for a while yet14:50
Chipacabug#171402314:50
Chipacabug 171402314:50
mupBug #1714023: please make names endpoint sorted <Snap Store:Confirmed for nataliabidart> <https://launchpad.net/bugs/1714023>14:50
Chipacai mean, even if it were an important bug, it wouldn't even be on staging yet i reckon14:51
pedronisok, I was just confused, I saw long funny discussions on it14:51
Chipaca:-)14:51
pedronisI thought it would have been fixed14:51
pedronisin the mean time14:51
Chipacapedronis: those long discussions were last tuesday dude14:51
pedronisChipaca: anyway given that I see little point in trying to get this into 2.2814:53
Chipacapedronis: because the sort won't be needed down the line?14:55
pedronisChipaca: yes, and because I cannot give a +1 right now, all the SetRootDir changes need extra concetration that I don't have14:55
Chipacaah, ok14:56
pedronisnot to look at that, but to ignore them carefully14:56
pedroniss/that/them/14:56
pedronisalso refreshMisc is not a great name14:56
Chipacapedronis: “The worst part of this is probably the names of the ensure bits. I'll leave you all to decide that.”14:57
pedronisrefreshCatalogs ?14:58
pedronisI don't know14:58
niemeyermvo: #3556 has a review..15:02
mupPR #3556: client,daemon,snap,store: add license field <Created by robert-ancell> <https://github.com/snapcore/snapd/pull/3556>15:02
niemeyerNeeds a second one15:03
Chipacapedronis: i might retract the PR, do the setrootdir, and then redo this one15:03
Chipacait's going to be a nightmare of conflicts, which is why it's probably going to be a redo and not a rebase, but ¯\_(ツ)_/¯15:04
pedronismaybe you can find higher stamina people15:04
Chipacapedronis: it's been two weeks, so no15:04
* zyga-ubuntu is ready for the call15:05
niemeyerjdstrand, zyga-ubuntu: I can do in ~1h15:05
mupPR snapd#3748 closed: many: fetch & cache remote snaps and sections; complete from there <Created by chipaca> <Closed by chipaca> <https://github.com/snapcore/snapd/pull/3748>15:05
jdstrandok15:05
zyga-ubuntuniemeyer: ok15:06
=== cachio is now known as cachio_lunch
pedronismvo: what's the status of #3379, does it need a jdstrand review?15:18
mupPR #3379: cmd/snap,tests: show the snap id if available in snap info <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3379>15:18
pedronisheh sorry15:18
pedronismvo: what's the status of #3779, does it need a jdstrand review?15:19
mupPR #3779: snap-seccomp: remove use of x/net/bpf from tests <Created by mvo5> <https://github.com/snapcore/snapd/pull/3779>15:19
Chipacai'm going offline for a bit, have a good weekend all if i don't make it back before eod15:19
Chipacao/15:19
jdstrandpedronis: it is on my list after 362115:20
pedronisChipaca: o/15:20
jdstrandpedronis: but I was waiting on another PR to be committed that it is based on iirc15:20
pedronisjdstrand: #3502 was merged15:21
mupPR #3502: snap-seccomp: add in-kernel bpf tests  <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3502>15:21
jdstrandyeah, that one15:21
pedronisjdstrand: so, yes should be ready to look at (master merged, other review addressed afaict)15:22
* jdstrand nods15:22
jdstrandI should be able to get to it today15:22
naccis it possible to install the recommends of  stage-package automatically?15:23
ogra_yes, if you list them in stage-packages ;)15:24
naccogra_: not true :/15:24
naccogra_: oh you mean explicitly? :)15:24
naccogra_: that bypasses my "automatically" (although not clear how i phrased it)15:25
naccogra_: i want a package and all it's depends and recommends to be staged15:25
ogra_yeah, then you need to manually list them to have them automatically installed :)15:25
ogra_iirc only actual depends are processed15:26
ogra_(and the debs are also only unpacked, not installed (i.e. none of the maintainer scripts get run)15:26
ogra_)15:26
mvoniemeyer: thanks a lot for your review, I address the points now15:30
mvopedronis: a jamie review would be good but I think we could merge even without one, he was much in favour of the in-kernel tests that I implemented over the bpf.VM15:30
* zyga-ubuntu feels so so today15:32
roadmr:/15:32
jdstrandmvo: fwiw, I don't consider my review essential for that. I'm fine with the concept of it (just using the kernel). I did notice it would be good to comment why you aren't testing PR_SET_ENDIAN above the PR_ for loop. if it is helpful for me to review, that's fine, if not, let me know and I won't15:34
* zyga-ubuntu resumes fixing stuff15:38
jdstrandzyga-ubuntu: sorry you aren't feeling well :\15:38
zyga-ubuntujdstrand: weather15:38
zyga-ubuntujdstrand: spain.read returns EOF15:39
jdstrandyeah..15:39
zyga-ubuntujdstrand: I guess the weather outside will forece me to watch that popular series with sex, death and snow people15:39
zyga-ubuntuI can smell snow in a few weeks15:39
zyga-ubuntuah, thrones something15:39
jdstrandI was surprised how cool it was in Warsaw15:40
zyga-ubuntuI think it just ended, right?15:40
ppisatiogra_: manually copying the dtbs fixed it15:40
zyga-ubuntucool as in cold?15:40
jdstrandzyga-ubuntu: yes15:40
jdstrandzyga-ubuntu: no, cool as in pleasant (at the product sprint)15:40
ogra_ppisati, thanks for the freedback !15:40
zyga-ubuntuhaha :)15:40
zyga-ubuntuI see :)15:40
jdstrandI was then imaging how cold it must get in the winter if it was that pleasant in the summer15:40
ogra_ppisati, so same probleam as always ...15:40
jdstrandimagining*15:40
zyga-ubuntujdstrand: I think -5/-15C is common15:40
zyga-ubuntuit's more that it's cold for a long time15:41
zyga-ubuntuand that it's dark15:41
zyga-ubuntuI don't like the lack of sunlight15:41
jdstrandbrrr15:41
roadmrhaha yes, dark at 4 PM is so weird15:42
=== cachio_lunch is now known as cachio
zyga-ubuntujdstrand, niemeyer: ready if you are16:14
ogra_ogra@localhost:~$ snap list16:16
ogra_Name        Version                   Rev   Developer  Notes16:16
ogra_core        16-2.27.5+git352.186fdc0  2793  canonical  core16:16
ogra_pi2-kernel  4.4.0.1071.71             41    canonical  kernel16:16
ogra_pi3         16.04-0.5                 22    canonical  gadget16:16
ogra_PHEW!16:16
jdstrandme too16:17
* ogra_ hugs pedronis for the help and ppisati for the kernel re-spins16:17
ogra_all back to normal now16:17
zyga-ubuntujdstrand: standup HO?16:18
ogra_(such a little fix ... so time consuming ...)16:18
* zyga-ubuntu looks for headset16:19
niemeyerzyga-ubuntu: Grabing a cup of coffee and will be with you16:20
mupPR snapcraft#1525 opened: typo: replace occured with occurred <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1525>16:24
ogra_ondra, jdstrand http://paste.ubuntu.com/25445729/ i see that on my pi3 now after installing avahi16:24
ogra_greyback, FYI ... http://paste.ubuntu.com/25445732/ (mir-kiosk not starting here either on pi3, even with the fixed image, reboot doesnt change anything)16:28
mupPR snapd#3779 closed: snap-seccomp: remove use of x/net/bpf from tests <Created by mvo5> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/3779>16:42
zyga-ubuntuokay, let me finish the fixes quickly16:45
jdstrandniemeyer, zyga-ubuntu: I'll summarize the outcome in the PR16:45
zyga-ubuntuthank you!16:46
zyga-ubuntuI have a few more things to sort out there, I'll write a dedicated message to signal I'm done with the requested changes16:47
mvoniemeyer: addressed your review comments for 3556, thanks again for those16:50
mvoniemeyer: I get dinner but check back later16:50
mvozyga-ubuntu: if you could check 3625 and (formally) approve, that would be nice16:53
om26erWhen will the new snappy images release ? (Not talking about updates, rather new img files)16:53
zyga-ubuntumvo: sure16:55
ogra_om26er, given that you get an update of all snaps immediately after install, does that really matter ?16:55
zyga-ubuntuone16:56
ogra_two16:56
zyga-ubuntu*done16:56
zyga-ubuntu:-)16:56
niemeyermvo: Responded to your question.. still +1 with or without it16:57
om26erogra_: thats true but wouldnt that also bring device specfic changes that are only available in edge right now. (Once new images spin)16:58
ogra_om26er, no, stable images only update from stable16:58
ogra_(and gadgets do not update any bootloader bits, only snap.yaml (interface definitions etc)16:59
ogra_)16:59
ogra_(no matter which channel)16:59
* om26er processes17:00
jdstrandzyga-ubuntu, niemeyer: whoops I accidentally hit 'Comment' rather than 'Preview'-- I'm still finetuning the plan of action. I'll edit the comment and ping you when done17:11
zyga-ubuntusue17:11
zyga-ubuntusure17:11
jdstrandzyga-ubuntu, niemeyer: ok, read away! :)17:24
* zyga-ubuntu reads17:24
zyga-ubuntujdstrand: I think this is all fine17:31
zyga-ubuntujdstrand: note that we may choose to opt-out of go-flags17:31
zyga-ubuntujdstrand: to limit the surface to only the standard library and code in the repository17:31
ogra_would they be stay-flags then (if you opt-out) ?17:32
zyga-ubuntujdstrand: sounds super good17:32
zyga-ubuntujdstrand: one suggestion/question, shall you just push extra features into this branch so that we can both work on one location or would you rather land this in stages and use separate branches?17:33
=== JanC is now known as Guest2554
=== JanC_ is now known as JanC
=== cachio is now known as cachio_afk
zyga-ubuntujdstrand: updated18:07
zyga-ubuntujdstrand: do you plan to write the child profile now?18:07
zyga-ubuntujdstrand: if no I will take a break to help my son and I'll be back to write a quick prototype and see how that operates18:08
mupPR snapcraft#1526 opened: catkin plugin: don't assume catkin is in underlay <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1526>18:09
mupPR snapd#3841 opened: Do not emit cloud-init.disabled; cloud-init only runs if datasource is present <Created by raharper> <https://github.com/snapcore/snapd/pull/3841>18:12
jdstrandzyga-ubuntu: sorry, I'm not working on this right this second. I noticed a bug in the recent big udev PR that affects 2.28 and nvidia18:13
jdstrandzyga-ubuntu: I'd like to chase that done a bit18:14
jdstrandmvo: hey, are you tracking 2.28 issues anywhere?18:14
jdstrandzyga-ubuntu: if you are wanting to write the child profile (I just saw your PR comment), feel free. I'll of course review it deeply18:15
pedronisjdstrand: given the outcome in that PR, should we close (at least for now) #3840 ?18:45
mupPR #3840: snap-update-ns intial refactor for setuid [EXPLORATORY, DO NOT COMMIT] <Created by jdstrand> <https://github.com/snapcore/snapd/pull/3840>18:45
zyga-ubuntujdstrand: thank you, that was my intent18:47
zyga-ubuntujdstrand: curious about nvidia issue18:47
jdstrandpedronis: yes. I'll do that18:49
mupPR snapd#3720 closed: cmd,interfaces: add initial support for Solus <Created by ikeydoherty> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/3720>18:49
zyga-ubuntujdstrand: about the RPC approach, the actual update-ns tool could be woken up by systemd18:49
zyga-ubuntujdstrand: not by snapd18:49
zyga-ubuntujdstrand: not perfect but possible18:49
zyga-ubuntujdstrand: I'm not proposing that we do it, I just wanted to say that, thinking about our conversation earlier18:50
mupPR snapd#3838 closed: systemd: rename snap-repair.{service,timer} to snapd.snap-repair.{service,timer} <Created by mvo5> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/3838>18:50
jdstrandzyga-ubuntu: so, apparently only GPL modules can use sysfs. sysfs is integral to udev tagging it seems (I need to look a little further). nvidia is proprietry, so no sysfs. therefore it doesn't show up in the udev query to add it to the device cgroup. since opengl now uses the device cgroup, no nvidia18:51
zyga-ubuntuhmmmm18:51
zyga-ubuntuwell, that certainly hairy18:52
zyga-ubuntucan we just add predictable things to the cgroup?18:52
zyga-ubuntuI'll let you poke and check back soon, still helping my son with his stuff18:52
mupPR snapd#3840 closed: snap-update-ns intial refactor for setuid [EXPLORATORY, DO NOT COMMIT] <Created by jdstrand> <Closed by jdstrand> <https://github.com/snapcore/snapd/pull/3840>18:55
jdstrandzyga-ubuntu: we add some devices automatically to the cgroup now (eg, /dev/zero). I was thinking worst case just add these nvidia devices to the cgroup if they exist, then rely on apparmor for access18:56
jdstrandzyga-ubuntu: if we are encountering a lot of things like nvidia, we might manage a file of things to add or come up with something different18:57
jdstrandit could get hairy with hotpluggable proprietary devices, but there are things we could do there too18:58
mupPR snapd#3842 opened: store: have an ad-hoc method on cfg to get its list of uris for tests <Created by chipaca> <https://github.com/snapcore/snapd/pull/3842>19:08
mupPR snapd#3843 opened: cmd/snap: SetRootDir from SetUpTest, not in just some individual tests <Created by chipaca> <https://github.com/snapcore/snapd/pull/3843>19:10
mupPR snapd#3844 opened: overlord/snapstate: SetRootDir from SetUpTest, not in just some tests <Created by chipaca> <https://github.com/snapcore/snapd/pull/3844>19:12
Chipacahello from webchat :-)19:15
Chipacazyga-ubuntu: thank you for the speedy reviews!19:15
Chipacaand next stop is mine, so i'm off again o/19:17
zyga-ubuntu:)19:23
=== cachio_afk is now known as cachio
jdstrandsigh, the device cgroups aren't working right. I'll need to investigate that first before nvidia19:54
jdstrandmvo: fyi, ^19:54
jdstrandmvo: I'll file bugs/etc when have complete info19:54
jdstrandbasically, if there are more than one command in /etc/udev/rules.d/70-snap.foo.rules, only one of the commands gets a device cgroup. and if it gets a device cgroup, snap-confine isn't putting it into it19:56
jdstrands/are more/is more/19:56
mvojdstrand: uh, meh :/19:57
mvojdstrand: is that a regression?19:57
jdstrandmvo: not in 2.28. it is a regression somewhere (it used to work :)19:58
jdstrandI need to figure out when it occurred. I also need to look at the spread test for this19:58
jdstrandI suspect a) it isn't doing enough to test an actual denial and b) it isn't doing multiple commands within the same snap19:59
jdstrandI'll get this all fixed up with updated spread tests. won't have it today, will do it first thing next week19:59
jdstrandwell, sorta first thing-- monday is a US holiday20:00
jdstrandanyhoo, I' figure it out20:00
jdstrandmvo: ^20:00
jdstrandI'll*20:00
mvojdstrand: ok, thanks a bunch. if you put infos how to reproduce e.g. into the forum I can check monday. its not a holiday in my part of the world20:01
mvojdstrand: if its not too hard I could e.g. bisect to see when things went wrong20:02
jdstrandmvo: as such, there is no problem with nvidia and the udev PR. cgroups are being created but not used so nothing can break ;P20:02
mvojdstrand: aha, ok20:02
jdstrandmvo: I'd really like to dig in on this and then document how to debug this stuff so others can do it in the future20:04
jdstrandmvo: I'm sure you're busy enough. plus, there should be no user facing regression for the 2.28 release (2.27.5 seems affected too)20:04
mupPR snapd#3843 closed: cmd/snap: SetRootDir from SetUpTest, not in just some individual tests <Created by chipaca> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3843>20:05
mvojdstrand: ok, if there is no user facing fallout I'm fine with waiting, I mostly offering monday as it sounded very urgent. yeah, I have plenty else to work on :)20:05
mvojdstrand: thanks for looking into it!20:05
jdstrandnp20:05
jdstrandmvo: if there is a user facing regression (again, I'm not seeing it), but the time it is discovered I will be on it, so I think we're good. thanks for the offer20:06
jdstrands/but the/by the/20:06
mvojdstrand: thank you as well. I will call it a day now, have a great (long) weekend20:10
mupPR snapcraft#1520 closed: tour: remove the tour assets <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1520>22:13
mupPR snapcraft#1521 closed: python plugin: always record constraints and requirements contents <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1521>22:19

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