/srv/irclogs.ubuntu.com/2020/11/03/#snappy.txt

=== popey0 is now known as popey
mupPR snapd#9586 closed: update-pot: include file locations in translation template, and extract strings from desktop files <Created by jhenstridge> <Merged by jhenstridge> <https://github.com/snapcore/snapd/pull/9586>04:14
mupPR snapd#9592 opened: [wip] many: implement degraded recover mode <Run nested> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9592>04:45
zygatimothy, this is expected, that part of the sandbox is based on apparmor which doesn't exist on fedora06:58
mborzeckimorning07:24
mborzeckimvo: hey07:38
mvogood morning mborzecki07:38
mborzeckimvo: looks like some bits of rpm spec we share between fedora/rhel/aamzon do not expand correctly on amazon linux07:39
mvomborzecki: oh no! is that hard to fix?07:40
mborzeckimvo: not really, it's about the session agent and the session agent socket, though i think it's safe to assume one will not be runnig user sessions on amazon linux07:41
mborzecki(as in a graphical sessions)07:41
mvomborzecki: aha, ok07:42
mvomborzecki: that sounds not too bad then07:42
mvomborzecki: anything I should look at right away?07:42
mborzeckii mean, it's also a bit weird, i thought they were supposed to pull in stuff from rhel, it looks like they did but just once, the relevant macros made their way to rhel7, but not to amzn207:42
mborzeckimvo: hm one last look at  https://github.com/snapcore/snapd/pull/9577 ?07:44
mupPR #9577: many: seal a fallback object to the recovery boot chain <Run nested> <UC20> <Created by cmatsuoka> <https://github.com/snapcore/snapd/pull/9577>07:44
mvomborzecki: sure07:44
mvomborzecki: I think there were just minor test issue but let me look (followup material)07:44
mvomborzecki: fwiw, the gentoo fix/change is in08:00
mborzeckiyay08:00
mvomborzecki: it seems to take ~24h for the mechanics to propergate a CLA change08:00
mupPR snapd#9588 closed: dirs: add "gentoo" to altDirDistros <Created by zmedico> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9588>08:00
mborzeckimvo: maybe some cron job that runs once a day08:01
mvoyeah08:03
pstolowskimorning08:03
mvogood morning pstolowski !08:03
pstolowskio/08:05
mborzeckipstolowski: hey08:27
pstolowskiheya08:27
mborzeckimvo: so i did some more digging, and imo we should not fix anything for amzon linux 2, but rather pusht he users to file bugs or request support with amazon, the systemd package they have is outdated with buggy macros08:28
sil2100Hey guys! Is there any reason why the amd64 UC20 images are 8GB big? Was it only to workaround the ubuntu-image bug with not properly calculating the final image size?08:29
sil2100(hard-coded to 8GB big)08:29
mvomborzecki: +108:35
mvosil2100: iirc yes08:35
mvomborzecki: hrm, hrm, nested core18 in 9577 failed08:55
mborzeckimvo: heh the log is not that useful09:14
pstolowskimvo: interesting thoughts https://ahmet.im/blog/golang-json-decoder-pitfalls/ and related https://github.com/google/go-github/pull/31709:32
mupPR google/go-github#317: Drain Response.Body to enable TCP/TLS connection reuse (4x speedup) <Created by FiloSottile> <Merged by willnorris> <https://github.com/google/go-github/pull/317>09:32
pstolowskimaybe harmless in our cases, otoh we do use Decode on the body a lot (this is unrelated to the issue we talked about yesterday, but might be a separate problem)09:33
pstolowskihaving extra json data isn't a big deal i think, but maybe not draining the response is09:34
mvopstolowski: interessting, thanks for this09:35
mborzeckimvo: so i rerun the test a couple of times locally and it is passing10:09
mvomborzecki: ok - in a meeting right now so can't really reply but it sounds like we could re-run one more time10:10
mborzeckimvo: also tried to have snapd log to journal+console on core18, but for some reason it's no being picked up10:10
mupPR snapd#9591 closed: gadget, gadget/install: move helpers to install package, refactor unit tests <Run nested> <Simple 😃> <UC20> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9591>10:26
mupPR snapd#9593 opened: tests/lib/nested: enable snapd logging to console for core18 <Run nested> <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9593>10:36
mvomborzecki: thanks (still in a meeting)10:45
mupPR snapd#9577 closed: many: seal a fallback object to the recovery boot chain <Run nested> <UC20> <Created by cmatsuoka> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9577>11:47
mupPR snapd#9594 opened: findpartitions rewrite <Created by xnox> <https://github.com/snapcore/snapd/pull/9594>12:02
pstolowskihmmm12:06
pstolowskimborzecki: do you know why sc_check_rootfs_dir in snap-confine doesn't need any core18/20 logic?12:06
mborzeckipstolowski: afaiu the typical case is that the base snap (which bescomes rootfs exists) which is true for core/core18/core2012:10
mborzeckithe rest is some fallback code for ubuntu-core (?), and core16 which can be used as base, but had no stable release, so the fallback goes to core12:11
pstolowskimborzecki: ah, because it falls into if (access(inv->rootfs_dir, F_OK) == 0, i misread this12:11
pstolowskithanks12:11
rogpeppepstolowski: hiya. just FYI that raspberry pi has crashed again without recovering (the machine itself is running, but the snap isn't running and /snap/snapd/current has gone again)12:17
rogpeppezyga: ^12:17
mborzeckipstolowski: ^^12:18
rogpeppepstolowski: if there's anything i can do to help out with logs or anything else, let me know. you still have access to the machine.12:18
pstolowskirogpeppe: hi. i believe the problem is understood and it's a low-level issue outside of snapd that prevents upgrade, zyga menaged to reproduce it, i think it's in the hands of foundation team now. mvo do you know a bug for this?12:24
rogpeppepstolowski: thanks12:25
pstolowskirogpeppe: also, btw, zyga quit a few days ago (but still shows up here ;))12:25
rogpeppepstolowski: do you know of a quick way to fix the issue on my machine, at least temporarily?12:25
rogpeppepstolowski: i.e. to get the service running again.12:25
rogpeppepstolowski: oh, that's a shame! zyga: good luck in your future endeavours!12:26
pstolowskirogpeppe: you are already holding refreshes for a month or so right?12:28
rogpeppepstolowski: what do you mean?12:28
pstolowskirogpeppe: the setting that delays automatic refreshes for a bit12:29
rogpeppepstolowski: i haven't changed any settings at all12:29
pstolowskirogpeppe: ok12:29
mvorogpeppe, pstolowski I think part of the problem is/was that the uboot in the pi-gadget is outdated and does not have a fix for sd-card writing. not sure if zyga manually applied the fixed uboot to your device though12:29
rogpeppemvo: would it help to reinstall everything on a fresh sd card with the latest ubuntu core?12:30
pstolowskirogpeppe: yes, that is what i was going to suggest.. the problem affects some old images & old uboot12:31
rogpeppepstolowski: ok, i'll do that. but it'll take a few days to send the card by post. is there a way to get the snap services running in the meantime?12:31
mvorogpeppe: I would wait a tiny bit, the pi gadget is not updated yet12:32
mvorogpeppe: let me quickly double check the state of this12:32
pstolowskirogpeppe: yes, there is a temporary workaround, i've just logged onto your pi3 to check bash history because I did it once before12:34
rogpeppepstolowski: thanks!12:34
mvopstolowski: did zyga apply the fix?12:35
mvopstolowski: or what exactly does "temporary workaround" mean (sorry for being a bit irgnorant)12:35
pstolowskirogpeppe: /snap/snapd/9169/usr/bin/snap enable snapd12:35
pstolowskirogpeppe: this brings snap command back12:35
pstolowskirogpeppe: i just did it12:35
mvota12:36
pstolowskirogpeppe: i havern't done anything about services, you may want to check if they are fine and start if needed12:36
pstolowskimvo: i don't know about any uboot fixes, no idea if zyga applied anything12:36
mvorogpeppe: I asked "waveform" to join us here, he maintains the pi gadget, will ask him about the status of the uboot SRU that contains the fix12:37
mvopstolowski: that's fine, was just curious12:37
mvopstolowski: probably risky anyway before we have the snap12:37
pstolowskimvo: actaully, most likely not because only I have access to rogpeppe's box12:37
* mvo nods12:38
rogpeppepstolowski: ok, good call. the service was active but not running. now it's running again12:40
pstolowskirogpeppe: sorry for all the trouble. this was a tricky bug related to uboot and the only way to investigate was to have physical access & see the uboot error (remote access wasn't enough)12:47
rogpeppepstolowski: that's ok. hopefully when i reinstall, this won't happen again for a while at least.12:48
pstolowskirogpeppe: just note what mvo said about availability of new pi gadget12:49
rogpeppepstolowski: what's the "pi gadget" ?12:49
pstolowskirogpeppe: it's pi3 support package (a snap) that includes files for booting12:50
rogpeppepstolowski: ack12:51
mborzeckithe fallback mount handling in s-b has become quite complex now13:00
mvorogpeppe: waveform may have more details about when we get a new uboot that has the sd-card writing bug fixed13:45
* cachio lunch14:59
pstolowskicachio: hey, did you see questions under https://github.com/snapcore/snapd/pull/9567 ?15:01
mupPR #9567: tests: using the nested-state tool in nested tests <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9567>15:01
pstolowskirogpeppe: fyi, i found the bug: https://bugs.launchpad.net/snapd/+bug/190069315:41
mupBug #1900693: snapd cannot refresh on some SD cards due to uboot bug <snapd:New> <u-boot (Ubuntu):New> <https://launchpad.net/bugs/1900693>15:41
rogpeppepstolowski: thanks! interesting to see the underlying bug too. BTW, which part of the system is this about? https://github.com/u-boot/u-boot/commit/b1125802a524641ad1ac803b4a617756d26f007d15:44
rogpeppeah, maybe the SD card driver?15:45
ogranot sure how much you guys watch the #ubuntu channel ...15:45
ogra<wonko> home and removable-media15:45
ogra<wonko> I *can't* do ls ~/.ssh but I *can* do ls ~/.ssh/*15:45
ogra<wonko> which seems broken15:45
ograshould a user be able to list content of ~/.ssh when using globbing (while listing without globbing is properly blocked by apparmor)15:46
pstolowskirogpeppe: i'm not sure15:48
niemeyerogra: I cannot list ~/.ssh/* here16:07
niemeyerogra: The behavior is not about globbing.. it just means he's got read access to ~/ but has to ~/.ssh/, which sounds wrong16:07
ograniemeyer, that user is inside a multipass VM running the lsd snap .... it is a bit more than just ls on a normal hist it seems https://gist.github.com/bhechinger/e2fdb1e4e4ab636287c265806ab3dabf16:07
ogra*host16:07
pstolowskiSaviq: hey, re https://bugs.launchpad.net/snapd/+bug/1902230, the issue didn't get away and it was stuck for good right?16:08
mupBug #1902230: Tasks stuck if api.snapcraft.io not found <snapd:New> <https://launchpad.net/bugs/1902230>16:08
pstolowski*didn't go16:08
niemeyerogra: removable-media is not even connected.. it's just nome16:09
niemeyerhome16:09
ograyep16:09
niemeyerThis is a relevant bug if it was just allowing access to .ssh, but my bet is that there's something else fishy in that environment16:09
niemeyermvo: The restarting state is another area that might benefit from some attention16:09
ograyes, my suspicion was that multipass bind mounts content from outside the VM there or similar16:10
niemeyermvo: It's currently distributed over several packages, with internals leaking thorugh16:10
ograniemeyer, ijohnson is looking deeper into it16:10
niemeyermvo: We had a pretty small surface in the state package itself, with all responsibility lying in the backend, but now there's quite a bit about that inside the state itself, with the settings being known inside state, in overlord, and all the way to the daemon package16:11
* ijohnson got pulled into a meeting16:11
niemeyerThis kind of logic seems to make sense in the overlord, since it's about orchestration..16:13
ograijohnson, niemeyer ... another datapoint ... this multipass instance is running on top of windows (hyper-v) ...16:14
ogra(do we actually expect proper confinement there at all ???)16:15
niemeyerogra: snap debug confinement16:19
zygarogpeppe, re16:21
ograniemeyer, interestingly that seems to returns "strict" ...16:23
niemeyerogra: Maybe it's just not working properly.. is that a Canonical kernel?16:23
ograniemeyer, looks like "kernel  5.4.0-52-generic" ... (from https://gist.github.com/bhechinger/e2fdb1e4e4ab636287c265806ab3dabf)16:25
ograat least if snap version gets the correct info16:25
niemeyerIt's clear snapd thinks the environment is strict given the data it has.. the question is whether this is a real kernel/apparmor bundle16:26
ograyeah ... thats probably a question to Saviq16:26
niemeyerAlso, is the snap in devmode?16:27
ogra(i'm not using multipass .... passionate lxd user here)16:27
niemeyerAh, and that's the *lxd* snap?16:27
ograno, "lsd"16:28
niemeyerLXD has plenty of access into the system to be able to do all it does16:28
cachiopstolowski, checking16:28
pstolowskicachio: thanks16:28
ograniemeyer, he is using the "lsd" snap (ls on steroids) inside a multipass VM on a windows machine16:28
niemeyerAh, ok16:29
ograno lxd involved (that was just about me not using multipass, sorry for confusing)16:29
pstolowskicachio: i also reviewed your other PR re boot-state, but please take a look at the small suggestion16:29
niemeyerogra: Can you reproduce the issue on a vm?16:29
cachiopstolowski, nice, I'll take a look to all of them16:29
cachiothanks for the reviews16:29
ograi can try ... but that takes a bit ...16:30
ijohnsonogra: I can reproduce the issue on my native focal machine16:35
* ijohnson is back from meetings now16:35
ijohnsonmy guess is that this snap is doing some stat syscall trickery16:36
ograijohnson, gah ... now my multipass has finally downloaded that image !16:36
ograokay, so seems we have an actual bug16:36
ijohnsonogra: and indeed if I do `snap run --shell lsd` and do a normal `ls ~/.ssh/*` that does not work16:36
ograthats so strange16:37
ograubuntu@primary:~$ lsd ~/.ssh/16:39
ogracannot access '/home/ubuntu/.ssh/': Permission denied (os error 13)16:39
ograubuntu@primary:~$ lsd ~/.ssh/*16:39
ogra  authorized_keys16:39
ograyep, same here .... i can repro ...16:39
ograand i can even reproduce it on my native machine16:40
ograogra@acheron:~$ lsd ~/.ssh/16:40
ogracannot access '/home/ogra/.ssh/': Permission denied (os error 13)16:40
ograogra@acheron:~$ lsd ~/.ssh/*16:40
ograî—¼  config  ï€–  id_rsa  ï€–  id_rsa.keystore  ï€–  id_rsa.pub  ï€–  known_hosts  ï€–  known_hosts.old16:40
ograso yeah, there is a real bug16:42
ijohnsonI think it's essentially using stat to get the inode, then incrementing the inode to get what the file name is so it is an information leak, but it's probably not a CVE16:42
ograyeah16:43
NemesisHello everyone, I have fresh Manjaro install and most of my snap installed applications won't open. can someon assist me to fix that issue?16:48
ograNemesis, are you using wayland ?16:48
ijohnsonogra: ah I know what it is16:48
ijohnsonogra: try `lsd '~/.config/*'`16:49
ijohnsonogra: or `lsd '~/.ssh/*'` as compared to `lsd ~/.ssh/*`16:49
Nemesisogra:  i am not that good in linux, and this is my first try arch based system16:51
Nemesisusually I mostly use debian based16:51
Nemesisand also I am not familliar with wayland16:51
ograijohnson, so a quoting issue you think ?16:52
ijohnsonogra: it's bash giving away all your secrets!16:52
ograhah !16:52
ijohnsonogra: when I strace that command, I see this:16:52
ijohnson[pid 44201] 1604422062.123092 execve("/snap/lsd/62/command-lsd.wrapper", ["/snap/lsd/62/command-lsd.wrapper", "/home/ijohnson/.ssh/authorized_keys", "/home/ijohnson/.ssh/config", "/home/ijohnson/.ssh/id_rsa", "/home/ijohnson/.ssh/id_rsa-lxd", "/home/ijohnson/.ssh/id_rsa-lxd.pub", "/home/ijohnson/.ssh/id_rsa.pub", "/home/ijohnson/.ssh/known_hosts", "/home/ijohnson/.ssh/known_hosts.old"], 0xc420178300 /* 95 vars */16:52
ijohnson<unfinished ...>16:52
ijohnsonso bash expands the "*" to all the files there and then those are all passed as args to `snap run`, and lsd then proceeds to work, because it uses stat on those files16:53
NemesisI have installed Manjaro KDE16:53
ijohnsonand stat syscall always works16:53
ograNemesis, https://forum.snapcraft.io/t/completely-broken-snapd-environment-in-manjaro-20-1-2/20900 ...16:53
ograijohnson, hah lovely16:54
Nemesisi can see that, so that's mean snap is broken and i cannot use it and respectively fix it?16:55
ograthough i think thats not bash specific ... POSI shell would do the same16:55
ograNemesis, probably use an older manjaro image (but perhaps also tell the guy in the forum that he is not alone (which he is asking))16:56
ijohnsonogra: right I think all shells do this16:56
ograyeah16:56
Nemesisok, I understand16:56
cachiopstolowski, I answered questions17:01
cachioI hope it is more clear nowe17:01
cachionow17:01
pstolowskichecking17:03
ijohnsonmvo: so I spoke with xnox about the disk PR, that is now ready to go, there are improvements we want/should do sometime but the pr as-is fixes the issue about parent <-> child device mapping so we should merge that with normal snapd reviews17:03
ijohnsonthere are lp bugs filed for the improvements I assigned to me that I think we should do sooner rather than later, but aren't necessary for 1.0 I think17:03
mvoijohnson: cool, I'm happy to merge your PR, it got my +1 already17:13
pstolowskicachio: +117:13
cachiopstolowski, thanks17:14
ijohnsonmvo: ok, I did slightly adjust the logic so I dismissed your review so if you want to just quickly give it another review then maybe maciej can review it tomorrow morning17:14
pstolowskicachio: btw, did you see https://github.com/snapcore/snapd/pull/9533#issuecomment-719501270 ?17:14
mupPR #9533: tests: new systemd-state tool <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9533>17:14
cachiopstolowski, yes, I am trying to fix that for trusty, if I cant so I'll skip it in the test17:15
pstolowskiok17:16
cachiopstolowski, I'll let you know when I test it17:17
cachiothanks for the heads up17:17
pstolowskicachio: sure. is there any other PR you need reviewed?17:17
cachiopstolowski, you already reviewed the 3 most important ones17:18
cachioso thanks for that17:18
cachiopstolowski, well I have #927617:19
mupPR #9276: tests: new backend for desktop and external classic <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9276>17:19
cachioit is a pretty old one17:20
cachiobut not so important17:20
zyga-mbphey cachio :)17:21
cachiozyga-mbp, hey zyga17:21
cachiohow is it going?17:21
zyga-mbpgood, rapid pace for sure17:21
pstolowskicachio: right, i saw that.. could be nice though. i may have a look tomorrow. could you please merge master in it just to have it up-to-date?17:21
cachiopstolowski, sure, thanks17:22
pstolowskiok. cu17:22
zyga-mbpcachio any reviews I can help you with?17:22
cachiozyga-mbp, I think the only one missing is #953317:24
mupPR #9533: tests: new systemd-state tool <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9533>17:24
cachiozyga-mbp, the rest is already covered17:24
ijohnsonhey zyga-mbp how are things going?17:24
zyga-mbpijohnson hey!17:24
cachiozyga-mbp, still need to make f33 work17:24
zyga-mbpijohnson different :)17:24
zyga-mbpijohnson but I EOD at 16:30 which is just amazing17:24
cachiozyga-mbp, #955617:24
mupPR #9556: tests: testing new fedora 33 image <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9556>17:24
ijohnsonzyga-mbp: nice :-) having an early EOD is nice17:25
zyga-mbpthe 31->33 patch looks good17:25
zyga-mbpijohnson: lots of corpo stuff to figure out17:25
zyga-mbpbut really easy to communicate as well, that's surprising to me17:25
ijohnsonyeah always happens at new jobs17:25
ijohnsonanyways zyga-mbp it was good to "see" you here again, I need to get back into some code :-)17:29
zyga-mbpthank you :-)17:33
mvoijohnson: is the comment in 9541 still in sync with the code? just asking before I do a proper review17:35
* mvo will have dinner first before doing a deeper dive17:35
ijohnsonmvo: which comment? the ones in the code yes, and I responded to all thecomments in the PR so everything  should be in sync17:35
ijohnsonthe comment in LP bug is not editable so you need to look at the other comments further down in the bug report if you are referring to that17:36
mvoijohnson: these comments https://github.com/snapcore/snapd/pull/9541/files#diff-db994f6207a7cf0f7df752561b677c6816387fe42bec335ede11f6a46d411169R341 I mean but great if they are :)17:36
mupPR #9541: osutil/disks: re-implement partition searching for disk w/ non-adjacent parts <Bug> <Run nested> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9541>17:36
ijohnsonmvo: yes those comments are about future improvements, but not needed for the pr17:37
ijohnsonmvo: I will look into sorting those out in a followup PR, probably not for 1.017:37
ijohnsonmvo: I will leave responses to those to make it clear though17:37
ijohnsonmvo: ok responded hopefully that makes it more clear17:38
zyga-mbpcachio https://github.com/snapcore/snapd/pull/9533#pullrequestreview-52272393517:44
mupPR #9533: tests: new systemd-state tool <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9533>17:44
zyga-mbpcachio I'm somewhat -1 on this, left ideas and some comments but mainly look at the first comment17:44
cachiozyga-mbp, thanks, well the idea of this was to move the helper we already have to a tool17:47
cachiowhich we can test17:47
zyga-mbpyeah but not everything should be a helper like that17:47
zyga-mbpit's a very shallow helper on top of systemd commands17:48
zyga-mbpwith custom syntax and behavior17:48
zyga-mbpit will not replace our use of systemd tools directly17:48
zyga-mbpI would not go there17:48
zyga-mbpas I said in the review, I would keep two commands17:48
zyga-mbpbut slim them to work well with repeat17:48
zyga-mbpand really not implement the rest as a utility but instead put it in the few spots that need it17:48
zyga-mbpand each time, consider if you can systemd-run something instead17:49
cachioand the rest should stay in systemd-sh?17:49
cachiosystemd.sh?17:49
zyga-mbpno, just move it to the places that use those17:49
zyga-mbphow many tests call those functions?17:49
cachiozyga-mbp, 1717:50
cachiowhich are creating systemd units17:50
zyga-mbpI've opened a random test that imports systemd.sh17:51
zyga-mbpand it wasn't using it17:51
zyga-mbpI'd suggest going through the tests and filtering out those first17:51
zyga-mbpit may be a bad sample (I looked at tests/core/remodel-base)17:52
cachiozyga-mbp, I listed the tests which are using the function systemd_create_and_start17:52
cachiothere are 17 creating systemd units through this function17:52
zyga-mbpbut that doesn't change what my comment said: those helpers are not doing complex things, they are wrapping systemd tools with new syntax one has to learn, I'm not sure that's worth doing17:52
zyga-mbpI see17:52
* zyga-mbp looks17:53
zyga-mbpI see 12 task.yaml files17:53
zyga-mbpI've opened tests/core/snap-set-core-config17:54
zyga-mbpand instead of what that is doing, it's a really one liner: systemd-run --unit rsyslog.service  sleep 2h17:54
zyga-mbpand similarly systemctl stop to remove it17:54
zyga-mbpthis has some nice advantage, it goes through the dbus api17:55
zyga-mbpand doesn't require reloading systemd17:55
zyga-mbp(reloading is only needed when you change files from under systemd)17:55
zyga-mbpanyway, I cannot -1 it for real anymore but think over my advice17:55
zyga-mbpIMO using systemd-run instead will make most of that obsolete17:55
zyga-mbpand also more readable, as it's a well known command and not our custom helper17:56
zyga-mbpyou can also couple that with tests.cleanup defer systemctl stop to make sure it is not leaking in any way, and put that right next to each other17:56
cachiozyga-mbp, systemd-run supports a reboot?17:56
zyga-mbpcachio no, but most tests don't need that17:57
zyga-mbpsystemd-run creates units in memory17:57
zyga-mbpthose that do can just make the units, it's not like two printf calls are somehow special17:57
zyga-mbpand you don't need to learn new tool and how to use it exactly17:57
cachiozyga-mbp, using systemd-run makes sense to me17:58
cachioI would need up update the tests for that17:58
zyga-mbpyeah, just change a few  and see how it feels like17:58
cachiozyga-mbp, I'll try that, just need to make sure it works well in all the supported systemd17:59
cachioversion17:59
zyga-mbpcachio systemd-run works on 16.04+17:59
zyga-mbp14.04 is not supported since our broken systemd version there is detached from dbus17:59
zyga-mbpI would not sacrifice readability for support over 14.0418:00
cachiozyga-mbp, agree18:00
cachiozyga-mbp, thanks for the advise18:01
zyga-mbpgood luck!18:01
=== ijohnson is now known as ijohnson|lunch
=== ijohnson|lunch is now known as ijohnson
mvoijohnson: 9541 looks fine, one question/suggestion but needs a second review still :/19:51
ijohnsonmvo: yeah I was thinking maybe maciej could take a look in the AM19:52
ijohnsonthanks for the review, I will go look at your question now19:52
ijohnsonalso sorry I did respond to those comments, but they didn't show up because they were part of a review apparently, but I just switched them to normal comments now19:52
mvoijohnson: yeah, I will coordinate with him in the morning19:52
ijohnsonok19:52
mvoijohnson: no worries19:53
ijohnsonmvo: also I discussed with maciej after SU how to refactor 9592, I think we have a cleaner way to implement it now, and a way that should make testing easier as well, so I will try to get that updated today19:55
mvoijohnson: nice!19:55
mvoijohnson: thanks for this update19:55
ijohnsonmvo: also also, we talked about transitioning from run -> recover automatically in the case where we couldn't unlock data partition and all fallbacks fail, I think it's reasonable thing to do and slightly helps us avoid the problem of being unable to trigger the chooser when the recovery key prompt swallows input19:56
ijohnsonmvo: this specific change shouldn't be too complex, but before we pull that in I think pedronis needs to have a look so it will have to wait until Thursday anyways19:57
mvoijohnson: fallabck run->recover> agreed19:58
ijohnsonok, I will maybe open that today, maybe tomorrow20:00
mupPR snapcraft#3347 opened: Create an extra 'build' directory for plugins <Created by artivis> <https://github.com/snapcore/snapcraft/pull/3347>21:17
mupPR snapcraft#3348 opened: ROS plugins use plugins' build directory <Created by artivis> <https://github.com/snapcore/snapcraft/pull/3348>21:27
mupPR snapd#9595 opened: interfaces/greengrass-support: minimize to enable 1.11 no-container lambdas <Needs security review> <â›” Blocked> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9595>21:39

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