/srv/irclogs.ubuntu.com/2018/03/02/#snappy.txt

mupPR snapcraft#1975 closed: python plugin: find setup.py when source-subdir is used <bug> <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1975>03:25
mupPR snapcraft#1976 opened: elf: only consider regular files as possible ELF binaries <Created by jhenstridge> <https://github.com/snapcore/snapcraft/pull/1976>03:31
mupPR snapcraft#1977 opened: lifecycle: when priming dependencies need to be primed <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1977>03:49
mborzeckimorning06:05
zygare06:44
mborzeckizyga: hey06:49
zygagood morning :)06:49
mborzeckidamn cold outside, -16 right here06:49
zygabut hey06:51
zygait's spring :)06:51
zygacity bikes have been re-installed and enabled today06:51
zyga:D06:51
mborzeckiit's spring in ~3 weeks from now :P06:51
* zyga runs content interface tests and goes for some tea07:20
mupPR snapd#4764 closed: configstate: when disable "ssh" we must disable the "sshd" service <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4764>07:27
mupPR core#82 closed: xdg-open: add implementation capable of opening local files <Created by jhenstridge> <Merged by mvo5> <https://github.com/snapcore/core/pull/82>07:29
kalikianagood morning07:55
pstolowskimorning08:12
mupPR snapd#4751 closed: tests: add support for external backend executions on listing test (2.32) <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4751>08:21
mupPR snapd#4752 closed: tests: make interface-broadcom-asic-control test work on rpi (2.32) <go go go go!> <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4752>08:21
Chipacamvo: good morning!08:24
mvohey Chipaca08:25
Chipacamvo: I'll merge master into #4750, maybe that'll help08:25
mupPR #4750: store: getStructFields now take pointers <Created by chipaca> <https://github.com/snapcore/snapd/pull/4750>08:25
mvoChipaca: aha, ok08:25
Chipacamvo: there08:26
Chipacamvo: the motivation for that PR is a silly / small one (it's a silly little pr): those are some bick heckin' structs :-)08:27
Chipacabig*08:27
Chipacamy hands were already writing heck08:28
zyga_hey Chipaca08:33
Chipacazyga_: you like what I did to the NG-using pr?08:35
Chipacazyga_: also as a directo consequence of that, the NG-improving pr :-)08:35
zyga_NG-using pr08:35
zyga_I think I need another coffee to parse that08:35
zyga_NG08:35
zyga_what is that08:35
Chipacai18n.NG08:36
Chipacaor was that GN08:36
* Chipaca looks08:36
ChipacaNG08:36
zyga_are you referring to ngettext?08:36
Chipaca#477508:36
mupPR #4775: timeutil: timeutil.Human(t) gives a human-friendly string for t <go go go go!> <Created by chipaca> <https://github.com/snapcore/snapd/pull/4775>08:36
* zyga_ looks08:36
zyga_ah08:37
zyga_I wasn't aware it's called NG08:37
Chipacazyga_: and #477708:37
mupPR #4777: i18n: simplify NG usage by doing the modulo math in-package <Created by chipaca> <https://github.com/snapcore/snapd/pull/4777>08:37
zyga_is the empty argument sensible?08:37
zyga_if this is anything like gettext I would expect08:37
zyga_NG("%d day ago", "%d days ago", someNumber)08:37
zyga_and why does it now say "at 15:04 MST" ?!?08:38
zyga_Chipaca feel free to correct me, maybe I'm not really awake yet08:38
Chipacazyga_: mborzecki feedback, that named timezones are more friendly08:38
Chipacazyga_: the first entry is for n==1, and n is never one there, that's why it's empty08:39
zyga_but why does humanTimeSince use a hard-coded string "15:04 MST"08:39
Chipacathat's the format08:39
Chipacago's t.Format("<the string of how you want a particular date to look>")08:40
zyga_ahh08:40
mborzeckizyga_: time referecen format https://godoc.org/time#pkg-constants08:40
zyga_that's cool I didn't know htat08:40
mvoChipaca: I tripped over this too, maybe a comment?08:40
Chipaca/ RTFM08:40
Chipaca:-P08:40
zyga_who designed that :)08:40
mvoChipaca: I remembered this format thing then and forgot abou tit08:40
* Chipaca is laughing, but at himself08:40
mvozyga_: someone who loves this particular date08:40
zyga_at HH:MM XXX would be much nicer08:40
Chipacahow could you forget abou tits08:40
zyga_Chipaca never forget about tits08:40
* zyga_ gets that coffee08:41
Chipacaikr08:41
* mvo wonders about the backstory of that date08:41
zyga_<quote day>08:41
mvoeh? this is a family channel!08:41
Chipacamvo: families dont have 'em?08:41
mborzeckiFWIW that format spec is pretty smart compared to the str[fp]time madness08:41
mvo*cough*08:41
mborzeckiit's much more WYSIWYG than other 'formats'08:42
zyga_this is like a := 1, b := 3; assert eval("2 + 2", a, b) == 308:42
Chipacamborzecki: i wish you could precompute them though08:43
Chipacathat's a lot of repetitive jiggery to do in a loop08:43
mborzeckiyeah, the implementation is a bit convoluted :P08:43
zyga_last few loops on hardening08:50
zyga_the base template got a lot shorter :)08:50
zyga_and there are almost no globs left :)08:51
zyga_there's one more chunk left but it will become visible with this test pass (extra directory writability permissions)08:52
zyga_https://github.com/snapcore/snapd/pull/4765 has a lot of WIP patches, sorry for that, I'll get rid of them08:58
mupPR #4765: interfaces/apparmor: use snap name instead of wildcards <Created by zyga> <https://github.com/snapcore/snapd/pull/4765>08:58
zyga_I'll tidy this up soon08:58
Chipacamvo: zyga_: so, should ngettext _always_ have a first, reasonable string even when you know it's never singular? is there a case where ngettext will return the singular for n>1?09:10
zyga_not in english,09:10
zyga_in english it is only for n==109:10
zyga_in other languages you have many cases and you should not assume there's no "singular" because of the value09:10
Chipacaright, but it'd not be using the empty string in those cases09:11
Chipacaunless it confuses things because msgid?09:11
zyga_hmm, I don't know09:11
zyga_I don't suppose it hurts to just use the singular string09:11
Chipacaeh, ok, i'll change it09:12
Chipacadrat, it needs to have a %d doesn't it09:13
mvoChipaca: I was thinking about this too, all the plural forms I know have only a single singular and many multiple plurals (> 2, >10 etc) but *maybe* there are more so it does not hurt to have the singular09:17
mvoplus the comment09:17
=== ikey|busy is now known as ikey
Chipacamvo: like https://github.com/snapcore/snapd/pull/4775/commits/75cc9c7966e0eb67d4f637e3d31e8628f85d9006 ?09:18
mupPR #4775: timeutil: timeutil.Human(t) gives a human-friendly string for t <go go go go!> <Created by chipaca> <https://github.com/snapcore/snapd/pull/4775>09:18
mvoChipaca: :+1:09:19
sergiusensChipaca: we did time formatting like that for ubuntu-push-notifications iirc09:51
Chipacasergiusens: anything learned?09:51
sergiusensgood morning and good day (parting towards next weeks destination)09:51
sergiusensChipaca: I still don't like it if you asked me again :-P09:51
Chipacasergiusens: is there anywhere in snapcraft you check summaries don't have \n's?09:51
sergiusensChipaca: I am not sure, but I need to shutdown, will continue from the airport (where irc is blocked)09:52
Chipacasergiusens: telegram me :-)09:52
Chipacasergiusens: o/09:52
sergiusenso/09:52
Chipacaok, physio time10:10
* Chipaca afk for a while10:10
mvojdstrand: does 4766 look good to you after the latest changes from james?10:30
mupPR snapd#4780 opened: snap: add autostart app property <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4780>10:44
mvozyga_: I just pushed a fix for 477911:10
zyga_Thank you!11:10
=== zyga_ is now known as zyga
* pstolowski lunch11:36
ackkmvo, hi, I see your last commit on base-18 is about adding tzdata, but it doesn't seem that the snap actually has /usr/share/zoneinfo files?11:54
ackk(was testing the maas snap with it, but postgres still fails because of missing timezones)11:54
zyga jdstrand hey11:57
zygajdstrand please have a look at 4765 again11:57
zygaI can split it if that makes it easier11:57
zygaI just fired one more run and it shoud *fingers crossed* work11:57
mupPR snapd#4780 closed: snap: add autostart app property <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/4780>11:58
mborzeckiChipaca: guess what failed https://paste.ubuntu.com/p/G2wTbP4f6r/ SquashfsTestSuite.TestBuildDate12:01
mvoackk: hm, maybe it was not build or something, let me check12:03
mupPR snapd#4781 opened: wrappers: refactor desktop file sanitizer to support autostart files <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4781>12:06
mborzeckimvo: have you looked into adding some shlexer to our codebase?12:09
sborovkovis there some env variable that has core version? Or how can I find out snapd version from my own snap?12:14
zygasborovkov there's no such variable12:15
zygawhy do you need to know the version of snapd?12:15
zygathere are a few ways perhaps but not sure why you'd want to know that12:15
sborovkovwell we want to report node info12:20
sborovkovin case there are issues on the customer's device12:20
sborovkovhaving snapd version would help12:20
zygaI think you can get it the same way snap --version does12:20
zygathere's an API endpoint for this12:20
zygaI think it is /v2/system-info12:21
zygajust GET that12:21
zygaover the snapd socket12:21
sborovkovok thanks12:22
mborzeckiChipaca: bad news, there does not appear to be any no timezone information in squashfs files12:23
mborzeckiChipaca: well, at least in unsuqashfs -s output12:24
* zyga small break12:32
pedronismborzecki: does it respect TZ if set ?12:35
pedronisthat might be a way out12:35
mborzeckipedronis: yes, i'm fixing it right now12:35
mupPR snapd#4776 closed: Do not auto-import from loop/ram devices <Created by alfonsosanchezbeato> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4776>12:40
Chipacamborzecki: gah12:42
Chipacamborzecki: yes, squashfs times are always local12:42
Chipacaso there's a bug in the test12:43
mborzeckiChipaca: i'm opening a PR in a minute12:43
ackkmvo, AFAICS LP did build it and publish, not sure what happened thouhg12:43
Chipacamborzecki: ah ok12:43
mupPR snapd#4782 opened: snap/squashfs: set timezone when calling unsquashfs to get the build date <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4782>12:44
mborzeckiChipaca: ^^12:44
Chipacaogra_: you around?12:44
mborzeckilinode is down? https://paste.ubuntu.com/p/4v2qHSsnV9/12:45
Chipacamborzecki: silly question, does it work if you _just_ set Env to TZ=UTC?12:45
mborzeckiChipaca: without append(os.Environ()..) ?12:45
Chipacamborzecki: yep12:46
mborzeckilet me check12:46
Chipacamborzecki: that's a very clever way of fixing it, we should do it in Walk as well12:46
mborzeckiChipaca: yeah, just TZ=.. works too12:47
Chipacamborzecki: hmm12:48
Chipacamborzecki: so, the way Walk handles it is by doing time.ParseInLocation(..., time.Local)12:48
Chipacamborzecki: see parseTime in snap/squashfs/stat.go12:49
mborzeckiChipaca: right, that might be even nicer than enforcing TZ12:49
Chipacawell, maybe12:50
Chipacawhat happens if you're just before DST12:50
Chipacasuch that time.Local and unsquashfs have different opinions on what side of the change you are12:50
pedronisTZ=UTC   and  ParseInLocation(time.UTC) then12:50
pedronisor is that the default for Parse ?12:51
Chipacait is12:51
mborzeckihm time.Parse(time.ANSIC..) implies UTC12:51
jdstrandmvo: hey. re 4766> no. nothing was done with snapFromSenderImpl (that's also the bit I asked you to look at)12:52
mborzeckifor that matter, any time.. format that lacks timezone placeholder implies UTC, i ca make it explicit though, Chipaca pedronis what do you think?12:52
zygajdstrand hey!12:52
jdstrandhey zyga :)12:53
zygajdstrand https://github.com/snapcore/snapd/pull/4765 may be ready, I am looking at fixing the bug in /etc and other similar places12:53
jdstrandlooking at 4765 now12:53
mupPR #4765: interfaces: harden snap-update-ns profile <Created by zyga> <https://github.com/snapcore/snapd/pull/4765>12:53
zygathanks!12:53
pedronismvo: mborzecki: any reason not to fix the todo  about passing  MaxDuration into timeutil.Next , I need to reuse maxDuration in snapstate so I would like to do that change12:53
Chipacai like the garters-and-belt approach of TZ=UTC and Parse12:53
jdstrandzyga: cool12:53
zygajdstrand it ended up big, feel free to request extra tests and other refactorings12:53
Chipaca(Parse picks up location from the value but falls back to UTC, so there's an extra layer of strapping there)12:54
jdstrandzyga, mvo: if you could look at PR 4779, that would be great :)12:54
mupPR #4779:  interfaces/apparmor,system-key: add upperdir snippets for strict snaps on livecd (LP: #1729867) - 2.32 <Created by jdstrand> <https://github.com/snapcore/snapd/pull/4779>12:54
zygajdstrand ack12:54
Chipacamborzecki: can you do the same thing to the one over in stat?12:54
pedronismvo: mborzecki: I'm talking about this:  https://github.com/snapcore/snapd/blob/master/timeutil/schedule.go#L40112:54
mborzeckipedronis: go ahead as far as i'm concerned, iirc niemeyer wanted get rid of it too12:55
jdstrandpedronis: hey, curious if you were going to backport the go vet fix to 2.32 for: overlord/ifacestate/handlers.go:580: github.com/snapcore/snapd/overlord/state.Retry composite literal uses unkeyed fields12:56
mborzeckiChipaca: just Parse(), no InLocation?12:57
jdstrandexit status 1I saw you fixed it in master (thanks!)12:57
jdstranderr12:57
pedronisjdstrand: I can if needed12:57
mupPR snapd#4775 closed: timeutil: timeutil.Human(t) gives a human-friendly string for t <go go go go!> <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/4775>12:57
Chipacamborzecki: yes12:57
jdstrandI saw you fixed it in master (thanks!)12:57
jdstrandpedronis: I mean, it would be handy for me (I develop in a 16.04 container), but I don't know who else is affected12:58
jdstrandI can work around it12:58
pedronisjdstrand: np, I just didn't bothered because it didn't seem to affect anything else12:58
pedronisbut it's useful I can12:58
pedronisthere's also a flaky test fix that I was asked to backport12:58
jdstrandlike I said, it would be to me, but I don't know how hard the fix is and would hate to add more to your plate (I was mostly asking out of curiosity). I can work around it12:59
jdstrandso I'll leave it up to you12:59
pedronisjdstrand: I'm a bit juggling many things (aren't we all), but I'll look into it today13:01
mvosborovkov: hey, you mentioned a boot failure right? do you have more details like what the fs looks like (post-mortem) or even give us access to a copy of the fs?13:02
jdstrandpedronis: if you get to it, thanks. if not, that's totally fine and thank you for considering it :)13:04
mborzeckiChipaca: pushed13:10
zygajdstrand how do you feel about that hardening PR?13:13
Chipacapedronis: I fixed the comment on #4738 fwiw13:17
mupPR #4738: snap: unify snap name validation w/python; enforce length limit <Created by chipaca> <https://github.com/snapcore/snapd/pull/4738>13:17
jdstrandzyga: I'm still looking at it13:18
sborovkovmvo: so this happens after snapd updates from 2.31 to 2.31.1 here13:21
sborovkovsure I have what fs looks like13:21
sborovkovgive me few mins to download that13:21
mvosborovkov: ohhhhh13:21
mvosborovkov: that is interessting13:21
sborovkovhttps://www.dropbox.com/s/gx17h6emu9uott5/corrupt-disk.img.7z?dl=013:22
mvosborovkov: we have an independent report about an upgrade issue on bionic (but only there)13:22
sborovkovthis is the dump of the SD card13:22
mvosborovkov: \o/ thank you13:22
sborovkovI also have an image where this reproduces :)13:23
sborovkovI managed to reproduce it 3 times today13:23
mvosborovkov: can I haz?13:23
mvosborovkov: I'm really keen to get to the bottom of this13:23
sborovkovyeah sure13:23
sborovkovbut you will need ssh assertion to login to that system13:24
sborovkovhttps://storage.cloud.google.com/screenly-diskimages/promoted/screenly-v2-pi3-2018-02-09-bbc27f2.img.zip.md513:24
sborovkovthis is the image13:24
sborovkovso today I did this few times - flashed it out. Let it initialize13:24
mvosborovkov: ok, let me first look at the broken one13:24
mvosborovkov: maybe that gives me some clues13:24
sborovkovit works great after reboots13:24
sborovkovas soon as I do snap refresh core13:24
sborovkovit fails at the next reboot13:25
sborovkovor one after next13:25
mvosborovkov: so this is 2.31 -> 2.31.1 ?13:25
sborovkovyes13:25
sborovkovimage was created from stable 1 week ago13:25
mvota13:25
sborovkovimage is created by ubuntu-disk-image with 2 extra snaps13:26
sborovkovone is our own snap. another one is udisks.13:26
* kalikiana lunch13:32
sborovkovmvo: I also can flash another one of that and run some logging during/after core update if needed13:34
sborovkovbut only today as I have flight to Shanghai tomorrow13:34
mvosborovkov: I need to travel soon too so today is definitely my preference13:38
mvosborovkov: I am looking at the diff right now13:39
niemeyersborovkov: ping13:44
niemeyersborovkov: Do you have a moment for a call with some of us?  Would be nice to have a quick conversation with more bandwidth13:45
niemeyersborovkov: In 45 minutes maybe, if that works for you (30 mins past the hour)13:46
mvoI just tested a 2.31->2.31.1 on amd64 and that went fine, I'm trying on armhf now13:50
jdstrandzyga: https://github.com/snapcore/snapd/pull/4765#pullrequestreview-10076639913:54
mupPR #4765: interfaces: harden snap-update-ns profile <Created by zyga> <https://github.com/snapcore/snapd/pull/4765>13:54
sborovkovniemeyer, sure13:54
zygaThank you!13:54
zygalooking13:54
jdstrandzyga: I have an appt in a few minutes and will step away for a little bit, but will be back after not too long13:54
zygaok13:55
zygathank you for letting me know13:55
mvook, 2.31 -> 2.31.1 on pi3 is also fine14:05
* mvo scratches head14:05
sborovkovmvo, another thing that we noticed is that it does not fail all the time. One of test nodes is still running, but for all devices that are broken we did insert the USB stick to RPI (in my case for assertion with ssh).14:08
mupPR snapd#4782 closed: snap/squashfs: set timezone when calling unsquashfs to get the build date <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/4782>14:10
mvosborovkov: thanks, that is a very useful data-point, let me try this too. maybe some bad interaction with the udisk snap or something like this14:12
=== ikey is now known as ikey|busy
mupPR snapd#4783 opened: ifacestate: be consistent passing Retry.After as named field (2.32) <Created by pedronis> <https://github.com/snapcore/snapd/pull/4783>14:24
mupPR snapd#4784 opened: asserts:  use a timestamp for the assertion after the signing key has been created (2.32) <Created by pedronis> <https://github.com/snapcore/snapd/pull/4784>14:25
pedronismvo: zyga: jdstrand: I created a couple of trivial cherry-picks for 2.32 ^^^14:25
zygakk14:26
sborovkovniemeyer, i am ready :)14:30
niemeyersborovkov: Let's go.. let me get a link14:30
niemeyersborovkov, mvo, zyga: https://hangouts.google.com/hangouts/_/canonical.com/debug-session14:32
cachio__mvo, hey14:33
cachio__mvo, dod you already know when the 2.32 rc2 is comming?14:34
mvocachio__: on hold right now, zyga found a critical bug with layouts14:37
zygaI will propose a fix for this later today14:37
cachio__perfect14:38
cachio__zyga, it is related with the error on the test that I sent you yesterday?14:38
cachio__i also saw it on linode today14:38
zyganot sure which one was that14:38
zygaabout /etc, yes14:38
zygaif not about /etc then no14:38
cachio__yes14:38
cachio__that one14:38
cachio__nice14:38
cachio__zyga, so14:39
cachio__thanks for fixing it14:39
* Chipaca afk for a bit14:47
mupPR snapcraft#1978 opened: ci: switch to stable lxd and unconfined containers <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1978>14:55
zyga_popey who is managing sublime-text-3 snap?15:08
zyga_I'd love edge to have the more recent dev build15:08
zyga_(dev build has a feature I like)15:08
popeyhttps://github.com/snapcrafters/sublime-text15:10
popeypull requests welcome ;)15:10
zyga_Chipaca should snap list show the size of the snap?15:14
Chipacazyga_: it doesn't15:14
zyga_I know15:14
zyga_I was thinking what if it did15:14
Chipacazyga_: let's talk at the sprint15:15
sborovkovmvo: what's your pgp key? will send you an assertion encrypted15:15
zyga_Chipaca sounds good15:15
zyga_sborovkov https://keyserver.ubuntu.com/pks/lookup?fingerprint=on&op=index&search=0xDA6C6754D8887626CD06A12898CABB3ABD4CA59E15:16
mvosborovkov: https://pgp.mit.edu/pks/lookup?op=vindex&search=0x98CABB3ABD4CA59E15:19
* Chipaca really afk this time15:22
sborovkovmvo: https://fd-files-production.s3.amazonaws.com/private/190661/25604/iY9HQ7y0B_z3z_NPI7WKhA?X-Amz-Expires=300&X-Amz-Date=20180302T152436Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIA2QBI5WP5HA3ZEA/20180302/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=e3f124f18e208640518bf87e62cdcd31b2ab6bca8ad59eb926ad96c17b20779615:24
sborovkovand this is link to image - https://storage.cloud.google.com/screenly-diskimages/promoted/screenly-v2-pi3-2018-02-20.img.zip15:25
zyga-ubuntuhmm hm15:31
mvosborovkov: downloading the image now15:31
mvosborovkov: the other link is expired, please jsut mail it to me15:31
mvozyga-ubuntu: any clues?15:32
zyga-ubuntumvo: no, looking at the raw image15:32
mvozyga-ubuntu: yeah I find it interessting that only hte old core is on the image15:32
mvozyga-ubuntu: no trace of the new one15:32
mvozyga-ubuntu: I was also browsing the logs15:32
mupPR snapd#4785 opened: tests: moving ubuntu core from linode to google backend <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/4785>15:35
jdstrandmvo: does PR 4779 need a second +1? I see you fixed up an unrelated merge issue and the tests now pass15:40
mupPR #4779:  interfaces/apparmor,system-key: add upperdir snippets for strict snaps on livecd (LP: #1729867) - 2.32 <Created by jdstrand> <https://github.com/snapcore/snapd/pull/4779>15:40
zyga-ubuntumvo: after mounting p1 I see that there are two "uboot.env" files15:40
zyga_-rwxr-xr-x 1 root root  131072 lut 28 13:34 uboot.env*15:41
zyga_-rwxr-xr-x 1 root root  131072 lut 28 13:34 uboot.env*15:41
=== zyga_ is now known as zyga
mvojdstrand: I think its fine to land, I wanted to have a closer look but $things happend to me :/15:41
mvozyga: how is that even possible15:42
* mvo looks15:42
zyga-ubuntumvo: no idea, just mount p1 and see15:42
zyga-ubuntumaybe we can use some low-level fat tool to list and read that file15:42
zyga-ubuntu(there is such a thing, I will look at that)15:42
mvozyga-ubuntu: I see it too15:42
mvozyga-ubuntu: hm - no error from fsck.vfat (well, dirty bit set but no real error) but still two uboot.env files15:44
zygathis is from fatcat15:44
zygahttps://pastebin.ubuntu.com/p/mnhDXb7jXP/15:44
mvosborovkov: I have things ready here, just need the ssh assertion, will step out for some minutes but will read scrollback15:44
mvozyga looking15:45
zygathere's a lower-case and an upper-case version of that file15:45
zygaas _separate_ files15:45
mvozyga haha, of course15:45
zygaone is from 198015:45
zygaand another one from 201815:45
zygahold on, I think I can remount the fs to see them15:45
mvozyga is it possible to diff them15:45
zygayes, they are identical15:46
zygathis is probably not perfect but doesn't look like a bug15:47
zyga-ubuntumvo: core snap is at revision 4020, nothing else is around15:49
jdstrandzyga: saw your comments on PR 4765. I responded and think with just the small tweak you mentioned (though see my comment) that it can land15:49
mupPR #4765: interfaces: harden snap-update-ns profile <Created by zyga> <https://github.com/snapcore/snapd/pull/4765>15:49
mvozyga-ubuntu: yeah, but uboot.env has snap_try_core=41..15:49
mvozyga-ubuntu: right? which is very strange15:50
zyga-ubuntujdstrand: thank you, I will look shortly15:50
zyga-ubuntujdstrand: I'm in the same place that mvo debugs15:50
jdstrandzyga: well, it sounded like you might want to make another tweak for that redundant-looking rule-- I'll let you decide how to handle that15:50
zyga-ubuntujdstrand: do you think there's something to harden further?15:50
zyga-ubuntu(apart from this PR)15:50
jdstrands/rule/line of code/15:50
zyga-ubuntujdstrand: yes, I forgot to change that, I will look at your feedback and push another round15:50
zyga-ubuntumvo: the snap in the cache is core with snapd 2.31.115:52
jdstrandzyga-ubuntu: re more hardening> this is really nice. nothing else would be needed for 2.32 imho. we may want to tweak later, but this is way better than 2.3*1*. really liking this15:54
zyga-ubuntujdstrand: woot, that's great :-)15:55
zyga-ubuntuI will go and check the feedback in a moment15:55
jdstrandzyga-ubuntu: yes it is. thank you :)15:56
zyga-ubuntumvo: I'm looking at state.json, nothing out of the oridinary yet15:56
jdstrandzyga-ubuntu: note I think you missed this comment: https://github.com/snapcore/snapd/pull/4765/files#r171846644 (just a comment addition)15:57
mupPR #4765: interfaces: harden snap-update-ns profile <Created by zyga> <https://github.com/snapcore/snapd/pull/4765>15:57
zyga-ubuntumvo: so I see the change where we wanted to do a refresh to 411415:57
jdstrandat least, I didn't see a commit, thumbs up or a comment15:58
zyga-ubuntujdstrand: I saw that, I was wondering how to do that since the comment is from a totally generic piece of code15:58
jdstrand(just mentioning it in the interest of time)15:58
mupBug #1752916 opened: Desktop interface should allow accessing to recent files and xdg dirs <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1752916>15:58
zyga-ubuntujdstrand: thank you15:58
jdstrandzyga-ubuntu: yeah, I know. that's why I said a code comment would be sufficient instead of contorting to create a policy comment15:58
pedronismborzecki: I'm getting   this  from run-checks recently:   [[: not found   it seems you added that  ... afaict on ubuntu that is run with dash , not bash15:59
jdstrandzyga-ubuntu: "// This will generate rules that expected to be in the per-snap mount namespace" or some such15:59
jdstrandzyga-ubuntu: your call. I don't mind where the comment is and don't want you to have to add undue complexity16:00
jdstrandzyga-ubuntu: maybe wording the policy comment to have 'may' in it works. anyway, think about it, but not too hard :)16:01
jdstrandzyga-ubuntu: you know, we lost all specific policy comments such as: https://github.com/snapcore/snapd/pull/4765/files#diff-a34e166c5b3016c122430c5884f41e9bL588. I wonder if it makes sense to have a code comment that coherently summarizes what the template and snippet policy intends to achieve the call it a day.16:04
mupPR #4765: interfaces: harden snap-update-ns profile <Created by zyga> <https://github.com/snapcore/snapd/pull/4765>16:04
jdstrandzyga-ubuntu: ie, taking all the contextual policy comments that were removed, rewording and smoothing the language in a code comment16:05
zyga-ubuntujdstrand: right16:05
zyga-ubuntujdstrand: do you want to write that? :-) You are much better at wordsmith that intersects with policy16:06
zyga-ubuntumvo: I put this on hold to finish the branch I'm discussing with jamie16:06
jdstrandzyga-ubuntu: yeah I can do that16:06
pedronisChipaca: around?16:06
jdstrandzyga-ubuntu: I'm going to pivot to steam-support and then circle back a bit later16:06
zyga-ubuntujdstrand: ok, I'll go through your comments and before I push another batch I will check your comments again16:07
zyga-ubuntujdstrand: sounds good, thank you16:07
zyga-ubuntuIRC from a phone is interesting16:08
Chipacapedronis: yes16:09
Chipacagit st16:09
Chipacawhy no head tracking16:09
mvozyga-ubuntu: ok16:10
pedronisChipaca: I'm a bit confused  why is not failing more but https://github.com/snapcore/snapd/pull/4743/files added a bashism ([[) to run-checks16:10
mupPR #4743: packaging/arch: sync with snapd/snapd-git from AUR <go go go go!> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/4743>16:10
pedronisChipaca: bun run-checks is run with dash (at least on default with the usual sh)16:10
sborovkovmvo: did you manage to decrypt it?16:10
Chipacapedronis: wow16:10
pedronisChipaca: we should just /sh/bash  in the #! I suppose16:11
pedronisunless there was a reason to use dash16:11
Chipacapedronis: no strong reason16:12
mvosborovkov: yes, for some reason it wasn't imported on the system though, maybe a faulty usb-stick. I named it auto-import.assert and put it on the root of the usb-stick, thats enough iirc?16:12
Chipacapedronis: beyond that if bash is not needed, why require it16:12
Chipacapedronis: i'll fix16:12
sborovkovmvo: it should be inserted after system starts up16:12
sborovkovthat's all I think16:13
pedronisChipaca: it's the [[ toward the end:     ./run-checks: 250: ./run-checks: [[: not found16:13
Chipacapedronis: yep yep16:13
pedronisit got me staring/puzzled for a bit, even wondering if my disk was corrupted or what16:13
Chipacapedronis: sorry :-(16:14
mvosborovkov: thanks, I try again with a different stick16:14
mupPR snapd#4786 opened: run-checks: remove accidental bashism <Created by chipaca> <https://github.com/snapcore/snapd/pull/4786>16:15
Chipacapedronis: ^16:15
pedronisChipaca: also you had a comment about  the line before ?16:16
pedronisthat I don't if it was addressed16:16
Chipacapedronis: it was16:16
Chipacaalthough... maybe that's a bashism as well16:16
Chipacadrat, let me look16:16
Chipacapedronis: not a bashism16:17
Chipacapedronis: all the :- := etc have a :-less version that only checks for unset16:17
Chipacapedronis: “use of the colon in the format results in a test for a parameter that is unset or null; omission of the colon results in a test for a parameter that is only unset.”16:18
Chipacapedronis: (that's from 'man dash'; bash says something similar; also, shellcheck said it was ok \o/)16:19
pedronisChipaca: it's ok, I still wonder if it's worth the trouble to keep this one as dash16:19
pedronisseems we have a mixture16:20
Chipacapedronis: everything spread-ish is bash, everything complete-ish is bash16:20
pedroniseverything packaging is sh16:21
pedronisor so it seems16:21
Chipacapedronis: that's a requirement afaik, but not sure16:21
pedronislikely so16:21
mvoyeah its a software requirement - packaging should be sh, but we could use bash would just be odd16:23
mupPR snapd#4777 closed: i18n: simplify NG usage by doing the modulo math in-package <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/4777>16:30
mborzeckipedronis: yes, sorry for that, Chipaca thanks for fixing this16:59
pedronismvo: seems something backported one of my tests rename to 2.32 and now release/2.32 is red16:59
pedronismvo:   store/store_test.go:2563: undefined: storeTestSuite17:01
mupPR snapcraft#1978 closed: ci: switch to stable lxd and unconfined containers <Created by sergiusens> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/1978>17:02
pedronisChipaca: seems to be your change about getStructField17:03
pedronisit could not be just cherry-picked17:03
pedronisbecause of renames I did17:03
mupPR snapd#4786 closed: run-checks: remove accidental bashism <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/4786>17:03
Chipacapedronis: D:17:03
pedronisbut it was17:04
pedronisand now 2.32 is red17:04
Chipacai can fix17:04
Chipacawhere's 2.32 at17:04
pedronisin flux?17:04
pedronisChipaca: release/2.3217:04
mvopedronis: yeah, there is a fix as part of a jamie PR17:05
Chipacaah!17:05
mvopedronis: I noticed this afternoon17:05
Chipacaok17:05
mvohttps://github.com/snapcore/snapd/pull/477917:05
mupPR #4779:  interfaces/apparmor,system-key: add upperdir snippets for strict snaps on livecd (LP: #1729867) - 2.32 <Created by jdstrand> <https://github.com/snapcore/snapd/pull/4779>17:05
pedronisisn't that one undecided?17:05
pedronisI think we probably want to fix it alone17:06
pedronisunless that one goes in now17:06
Chipacaah, i'd reviewed this one for master17:08
Chipaca+1'ing17:08
mupPR snapd#4787 opened: strutil: introduce UnsafeString and UnsafeParagraph <Created by chipaca> <https://github.com/snapcore/snapd/pull/4787>17:08
Chipacamvo: pedronis: #4779 gtg17:08
mupPR #4779:  interfaces/apparmor,system-key: add upperdir snippets for strict snaps on livecd (LP: #1729867) - 2.32 <Created by jdstrand> <https://github.com/snapcore/snapd/pull/4779>17:08
mvoChipaca: I think so17:10
* kalikiana wrapping up for the week17:19
* ikey|busy has literally been wrapping up all week17:19
ikey|busyjdstrand, if you're around and before the EOW kicks in , where do we stand on that PR?17:19
pstolowskieow.. see you all on the sprint o/17:22
jdstrandikey|busy: I've literally been looking at it for the last hour and a half :)17:25
ikey|busysorry XD17:26
jdstrandikey|busy: no worries. I thought that I could do it yesterday, so I was owed a question on when :)17:27
* ikey|busy just likes chasing17:27
ikey|busy:317:27
pedronisjdstrand: could you merge #477917:27
mupPR #4779:  interfaces/apparmor,system-key: add upperdir snippets for strict snaps on livecd (LP: #1729867) - 2.32 <Created by jdstrand> <https://github.com/snapcore/snapd/pull/4779>17:27
jdstrandpedronis: I plan to after the steam-support PR review. I want to check one thing with PR 4779 before I do17:29
mupPR #4779:  interfaces/apparmor,system-key: add upperdir snippets for strict snaps on livecd (LP: #1729867) - 2.32 <Created by jdstrand> <https://github.com/snapcore/snapd/pull/4779>17:29
pedronisjdstrand:  #4783 is red and needs the fix that mvo piggy-backed on #477917:33
mupPR #4783: ifacestate: be consistent passing Retry.After as named field (2.32) <Created by pedronis> <https://github.com/snapcore/snapd/pull/4783>17:33
mupPR #4779:  interfaces/apparmor,system-key: add upperdir snippets for strict snaps on livecd (LP: #1729867) - 2.32 <Created by jdstrand> <https://github.com/snapcore/snapd/pull/4779>17:33
jdstrandpedronis: almost done with steam-support. I'm coming! :)17:53
ikey|busy*cue runaround sue background track*17:58
jdstrandikey|busy: ok, done. I'll be sprinting next week, but it is an engineering sprint so I'll be able to keep an eye on the PR. thanks for the updates!18:00
ikey|busyi see no existing open questions18:00
jdstrandikey|busy: go here: https://github.com/snapcore/snapd/pull/4538#pullrequestreview-10082898718:01
mupPR #4538: interfaces/builtin: Add new steam-support interface <Created by ikeydoherty> <https://github.com/snapcore/snapd/pull/4538>18:01
ikey|busyalso that concat didnt work for me18:01
ikey|busygo cried18:01
ikey|busythats why it is like it is now18:01
ikey|busybtw we *removed* the allow-installation line already cuz that was what was breaking core...18:02
jdstrandikey|busy: I think we can make that work somehow. just comment that you tried, it didn't work, then we can look at it18:02
ikey|busyhttps://github.com/snapcore/snapd/pull/4538/commits/6006da7a5d78f878c95dfbb48800a2a99c8e6f2718:02
mupPR #4538: interfaces/builtin: Add new steam-support interface <Created by ikeydoherty> <https://github.com/snapcore/snapd/pull/4538>18:02
ikey|busy(also, 4.15 kernel :P)18:03
jdstrandikey|busy: your allow-installation was different than mine18:04
ikey|busyok - but just as a headsup half of this stuff isnt documented at all - or very poorly18:04
ikey|busyso a lot of this is copy  paste18:04
ikey|busyand capability sys_ptrace *is* needed, thats why i aded it18:04
ikey|busyit used to kill the processes before :)18:05
ikey|busyill fix up the rest of it and see whatcha think of it next week18:05
ikey|busyalso please note you've reopened some old comments that aren't valid18:06
jdstrandikey|busy: can you test without it? not having the 'ptrace' syscall kills. lack of 'capability sys_ptrace,' in apparmor would not kill18:06
ikey|busylike [0-9] stuff18:06
ikey|busywe tried that stuff already months ago18:06
ikey|busyapparmor imitates fnmatch18:06
ikey|busyisn't quite there18:06
ikey|busyand i *added* the capability because it crashed before18:06
ikey|busythis is questions 3+ months after the bug18:06
jdstrandI don't know what happened months ago or how the rules were added in which order18:06
jdstrandas in, you probably had a seccomp kill, so you added ptrace syscall18:07
ikey|busyya18:07
ikey|busywasnt apparmor doing the murdering18:07
ikey|busyand that was pre-yama too18:07
ikey|busyso nothing has happened to make that any looser18:07
ikey|busyalso the notion that this snap is only being used on solus is flawed18:07
ikey|busyno point in making the snap if its solus specific18:08
jdstrandplease feel free to respond to my comments in the PR so everyone can benefit18:08
jdstrandthe comment about solus specific was *today* it is18:08
jdstrandand *today* this is where this is being tested18:09
ikey|busyno it isnt - its being tested on ubuntu and arch18:09
ikey|busyand *Developed* on solus18:09
jdstrand*tomorrow* we need to add the 4.8 kernel stuff and likely things to make this work on ubuntu18:09
ikey|busyi dont know where these assertions are coming from18:09
jdstrandikey|busy: I'm basing this on what I thought I remembered from our conversations18:09
jdstrandikey|busy: if it is wrong, correct me in the PR18:10
* mvo loves that he can just do "snap watch 4" and see how the auto-refresh is doing18:10
ikey|busyjdstrand, you'll forgive me if i seem a bit frustrated in repeating myself since before december.18:10
jdstrandikey|busy: but I'm trying to unblock this interface for you18:10
jdstrandikey|busy: I'm sorry, there is a tremendous amount of context for this PR. I'm doing the best I can18:11
ikey|busyill make the /necessary/ edits over the weekend as im assuming you'll not be around before the weekstart18:11
ikey|busy(like normal hoomans)18:11
ikey|busyis hardware-observe something autoconnectable?18:12
ikey|busy(with forum request ofc.)18:12
jdstrandikey|busy: please correct my statement that this is intended to work on ubuntu right away, cause we may need to do something about 4.8 right away18:12
jdstrandubuntu/arch/whatever18:12
ikey|busyjdstrand, well its "universal" applications, right?18:12
jdstrandI think ubuntu is the only one with affected kernels though18:12
jdstrandikey|busy: of course. but trying to do things in steps18:12
ikey|busywe can keep initial scope to 4.9+18:13
ikey|busyand maybe add a uname check in LSI itself18:13
ikey|busythrowing a big warning for pre 4.9 usage18:13
jdstrandikey|busy: if it happened to be true that this was tested on solus and not on ubuntu, then I would still allow the PR to land18:13
jdstrandikey|busy: and others interested in ubuntu could improve the interface for it18:13
jdstrandikey|busy: you're saying that isn't the case (I thought it was), so correct me in the PR18:14
ikey|busyim saying we target all snap enabled distros and primary development happens on solus18:14
jdstrandikey|busy: don't add 4.9 stuff to the PR yet. niemeyer has thoughts and I have an open question to him18:14
ikey|busynot the PR18:14
jdstrandikey|busy: I know what your saying18:14
ikey|busyto LSI18:14
jdstrandif you do that in LSI, that's fine, but a potentially bad experience for users18:15
jdstrandthe right place is in snapd18:15
ikey|busyoccurs to me life would be far simpler had feral not used ptrace18:15
jdstrandikey|busy: what your saying wasn't what I thought was the case when I wrote the comment. so, again, please correct me in the PR so the others looking at the PR have the correct context18:15
ikey|busyassuming i send you fixed on Monday for the PR, likelihood of merge next week?18:16
jdstrandikey|busy: don't get hung up on the 4.9 stuff. I don't think it should block the PR18:16
ikey|busyobviously testing is limited to anyone who then has snapd with steam-support interface18:16
ikey|busyin terms of scope limitations18:16
mvoidle though: when the system is seeding it would be nice if "snap list" would show a better message than: "no snaps installed yet"18:17
mvoseeding is really slow on arm18:17
jdstrandikey|busy: I expect light iteration after the fixes on monday. I don't see why it couldn't be approved next week18:17
* mvo notices that `snap changes` while seeding takes a long time, like a minute or so without any user visible feedback18:18
ikey|busygeneral difference between approved vs merged?18:18
jdstrandikey|busy: another option with 4.9 is that since I think Ubuntu is the only kernel that is affected, we patch our kernels18:18
* mvo thinks we need to improve the UX on slow hardware18:18
ikey|busyjdstrand, backporting the ptrace changes..?18:18
jdstrandyes18:18
jdstrandit is just an ordering problem18:19
ikey|busysure18:19
jdstrandsmall fix18:19
ikey|busybut time and goals and sequence18:19
jdstranddifference between approved and merged is that it will need 2 people to approve to merge. I can say I can approve. I would think zyga would be able to, but I'm not his boss, so..18:20
jdstrandit should be able to be merged18:20
ikey|busysure18:20
ikey|busyjust wanting to understand the processing is all18:20
jdstrandI'm not the project lead, so I can't commit to merged :)18:20
ikey|busymainly so i can sorta juggle my own time for next week too18:20
ikey|busyi sorta have a distro to run at the same time :P18:20
jdstrandikey|busy: now that we have the agreed upon approach, things can move fast. you did the PR, I did the big initial review. we can iterate fast18:21
ikey|busymuch appreciated, ill take a spork to it over the weekend and make sure any remaining items are ticked off18:21
jdstrandI will try to be responsive to the PR to keep it moving18:21
jdstrandyes, and please correct me if I mispoke18:22
jdstrand(in the pr)18:22
ikey|busyya it can wait til monday, just figured id ask those bits while you were still reachable18:22
jdstrandikey|busy: I'll try to be on irc next week. it is just tricky at a sprint. but like I said, it is an *engineering* sprint, so I will have time to respond18:23
jdstrandand review18:23
ikey|busyyeah no worries ill just look out for the pings on github18:23
jdstrandperfect18:23
ikey|busyas long as i roughly know what direction things are moving in and what timescale,then i can adjust to it18:24
ikey|busyall comes down to communication :P18:24
ikey|busythen im fine18:24
jdstrandikey|busy: they are moving in a positive direction quickly now :)18:24
ikey|busyaye, once its merged then its just add "missing" bits18:24
jdstrandand yes, we'll keep discussing int he PR18:24
ikey|busylike improving joystick18:24
jdstrandikey|busy: ok, so it sounds like joystck will be a different pr (fine)18:24
ikey|busyyeah i need the groundwork in first18:25
jdstrandthe other 'move these 5 rules to interface foo' don't have to be separate18:25
jdstrandoh right18:25
ikey|busyneed folk to be able to test the snap before we can extend it :D18:25
ikey|busyand devmode cripples it18:25
jdstrandI meant to say, anything that isn't autoconnected that needs to be, we'll auto-conect via snap declaration18:25
ikey|busyah yeah18:25
jdstrandso, hardware-observe, joystick, etc18:25
ikey|busyjoystick, hardwa...18:25
ikey|busy:D18:25
ikey|busyalright if theres nothing else i gotta go walk through a blizzard18:26
* ikey|busy wishes he was joking18:26
jdstrandand since I've been involved in all of this, I will be a strong advocate in that process (meaning, there shouldn't be any issues)18:26
jdstrandikey|busy: stay warm!18:26
ikey|busycheers, and yourself if you're also being attacked by porchbournesnowballs18:27
jdstrandikey|busy: nope, I'm in Texas. weird, annoying weather lately, but no snow18:28
jdstrandpedronis: merged!18:40
mupPR snapd#4779 closed:  interfaces/apparmor,system-key: add upperdir snippets for strict snaps on livecd (LP: #1729867) - 2.32 <Created by jdstrand> <Merged by jdstrand> <https://github.com/snapcore/snapd/pull/4779>18:41
* mvo grumbles about "cannot finish core install, there was a rollback accross reboot" vs "... (%d != %d)", snapInfo.Revision, rev) so that debugging give some more clues18:46
pedronismvo: don't we have some of that info in the traces18:49
mvopedronis: this is what I have https://paste.ubuntu.com/p/CgTM2cZvpm/18:51
mvopedronis: I need to look if debug will help18:51
* mvo tries that18:51
pedronismvo: I see we know what we are installing 411418:52
pedronisbut don't see the previous rev18:52
pedronisor if there's a rev at all18:52
pedronismvo: that code should also mark the revision as blocked (though we need to extend the way we track that)18:53
pedronisbecause normal revert assumes the revision stays around, which is not the case here18:53
pedroniswe remove it again18:53
mvopedronis: yeah18:53
mvopedronis: maybe I can find out things from looking at the state and snapsetup18:54
pedronismvo: well what that code is looking at really18:54
pedronisis the boot env vars18:54
mvopedronis: yeah, a debug trace of those would be great18:54
mvopedronis: or when we update the core_snap env18:55
pedronis CurrentBootNameAndRevision18:55
mvohttps://paste.ubuntu.com/p/ChcW6xKhpr/ <- looks good before the reboot18:55
mvopedronis: yeah18:55
pedronisanyway in my open PR18:56
pedronisthat code is factored better in a helper18:56
mvopedronis: oh, nice18:56
pedronisright now it hangs oddly in ifacestate18:56
pedronishttps://github.com/snapcore/snapd/pull/449718:56
mupPR #4497: many: make rebooting of core on refresh immediate, refactor logic around it <Reviewed> <Created by pedronis> <https://github.com/snapcore/snapd/pull/4497>18:56
mvopedronis: ok, this gets stranger and stranger, it claims the rev is wrong, however: # snap version18:58
mvosnap    2.31.118:58
mvosnapd   2.31.118:58
mvopedronis: so it looks like the uboot update is too late maybe18:58
pedronismvo: dit it actually reboots btw?18:58
pedronisis not that snapd restarts?18:59
mvopedronis: yes, it did reboot18:59
chachasmooth`snap refresh` (without providing a snap name) always returns "All snaps are up to date"19:25
chachasmootheven if some snaps have upgrades available19:25
chachasmoothseems like a bug to me?19:25
naccchachasmooth: --^ is on debian fyi19:26
nacc(may help know if it's an already fixed thing upstream, etc)19:26
chachasmoothsnapd                         2.21-2+b1                    amd6419:29
zyga-ubunture19:33
* zyga-ubuntu was preparing for the trip19:33
Chipacamvo: it wasn't the mounts, then?19:37
mupPR snapd#4783 closed: ifacestate: be consistent passing Retry.After as named field (2.32) <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/4783>19:38
mvoChipaca: I think not19:43
mvo(he said and vanished in a puff of logic)19:44
mvo(sorry, silly descartes joke)19:44
mvoChipaca: I think I'm close to figuring it out19:44
zyga-ubuntumvo: hey, how are things?19:45
mvozyga-ubuntu: good, I think I'm close19:46
zyga-ubuntuchachasmooth:  you are on debian and you have 2.21-2+b1? is that what snap version says as well or just dpkg19:46
zyga-ubuntumvo: want me to be your garden troll?19:46
zyga-ubuntu(so you tell me what the bug is and that's how you get the last bit)19:46
chachasmoothzyga-ubuntu ^ was the output of dpkg19:49
zyga-ubuntuchachasmooth: in debian stable that is expected19:49
chachasmoothwell, it's still misbehaving19:50
chachasmoothit shouldn't say "snaps are up to date" when they are not19:50
zyga-ubuntuchachasmooth: so that's interesting, how do you determine that there are snaps that are out of date?19:50
zyga-ubuntuchachasmooth: and what does "snap changes" say19:50
chachasmoothafter running snap refresh lxd the snap upgraded19:50
chachasmooth^ zyga-ubuntu19:52
zyga-ubuntucan you paste "snap changes"19:52
zyga-ubuntuand snap version, please19:52
chachasmooth23   Done    2018-03-02T19:20:39Z  2018-03-02T19:20:39Z  Refresh all snaps: no updates19:53
chachasmooththat's the only line returned19:53
chachasmoothsnap --version19:54
chachasmoothsnap    2.31.119:54
chachasmoothsnapd   2.31.119:54
chachasmoothseries  1619:54
chachasmoothdebian  919:54
chachasmoothkernel  4.9.0-6-amd6419:54
zyga-ubuntuthis looks fine, hmm19:54
zyga-ubuntuand when you "snap refresh lxd", which revision did you get?19:54
chachasmoothI don't remember, the most recent one19:55
chachasmoothit's been a week or so since19:55
chachasmoothhaven't upgraded lxd in a few months19:55
zyga-ubuntuchachasmooth: can you open a forum topic about this, I just don't want it to get lost19:55
chachasmoothwhere?19:55
zyga-ubuntulxd would refresh by itself19:55
zyga-ubuntuon forum.snapcraft.io19:55
chachasmoothok, might take a few days though19:56
zyga-ubuntunext week will be very busy but we'll try to look at it19:56
zyga-ubuntuno worries, thank you for reporting this19:56
zyga-ubuntuI'm worried that snap changes doesn't show the LXD refresh19:56
zyga-ubuntumaybe it already got garbage collected19:56
zyga-ubuntu(the change, that is)19:56
chachasmoothI did a reboot since fyi19:57
zyga-ubuntusuccesful changes are discarded relatively quickly but I forgot how often that is19:59
chachasmoothit should be rather easy to check what a plain `snap refresh` does20:00
zyga-ubuntuyes, I know what it does20:00
chachasmoothwhat does it do?20:00
zyga-ubuntuI'm wondering how this could happen20:00
zyga-ubuntuit mainly asks the store if there's a refresh for any of the snaps that are installed,20:01
chachasmoothit should get a list of all snaps installed and execute `snap refresh $SNAP` for each20:01
zyga-ubuntuit has some logic to not refresh snaps that have changes in progress20:01
chachasmoothwhat does "in progress" mean?20:01
zyga-ubuntuit's doing that but has some logic to not be too silly if a refresh is in progress20:01
zyga-ubuntuwell20:01
zyga-ubuntumany things20:01
zyga-ubuntuif you are refreshing a snap20:01
zyga-ubuntuand it's pullling updates20:02
zyga-ubuntuthen you run a refresh in another terminal20:02
zyga-ubuntuit will not refresh that snap20:02
chachasmoothit was not doing that20:02
zyga-ubuntuthat's a kind of change20:02
zyga-ubuntuthere are all kinds of other changes as well20:02
zyga-ubuntubut it's unlikely those were running at the time20:02
zyga-ubuntuone last obvious thing is that when you ran "snap refresh" lxd was about to be published20:02
zyga-ubuntuand then a moment later it was published and you managed to refresh it manually20:03
chachasmoothno, stgraber did the release a few weeks earlier20:03
zyga-ubuntuanother possibility is a store bug20:03
chachasmoothwell, but `snap refresh lxd` worked, so how could this be a store bug?20:03
zyga-ubuntubecause the query is different20:04
zyga-ubuntunot sure20:04
zyga-ubuntuthe person that's the expert on this is probably EOD'd20:04
zyga-ubuntuChipaca: ^20:04
chachasmoothis there a way to reproduce by installing some outdated snap which has a newer stable release to which I can upgrade?20:04
zyga-ubuntuyes but you have to be the developer of a given snap to install an older revision20:05
zyga-ubuntuI'll talk to chipaca next week, he knows that code much better than I do20:05
mupPR snapcraft#1976 closed: elf: only consider regular files as possible ELF binaries <bug> <Created by jhenstridge> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/1976>20:24
mupPR snapd#4784 closed: asserts:  use a timestamp for the assertion after the signing key has been created (2.32) <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/4784>20:27
mvozyga-ubuntu: I replied in the forum, the reason is that we have two uboot.env files, UBOOT.env and uboot.env and uboot sets one of them to `snap_mode=trying` but snapd reads the other one with `snap_mode=try`20:45
zyga-ubuntumvo: wow21:12
* zyga-ubuntu goes to read the forum21:12
zyga-ubuntumvo: there's a mount flag to control file names like that21:13
mvozyga-ubuntu: i tried them and could not find one21:14
zyga-ubuntulooking21:15
zyga-ubuntuah, one more sec21:15
mvozyga-ubuntu: its also very unclear why this started to happening suddenly21:15
zyga-ubuntuit's not a mount option, it's a switch in proc somewhere (or sys)21:15
zyga-ubuntuyeah21:16
mvozyga-ubuntu: ohhhh21:16
zyga-ubuntumaybe a new gadget?21:16
zyga-ubuntunew uboot?21:16
zyga-ubuntuor just bad luck21:16
mvozyga-ubuntu: they have their own, but its the same uboot afaict21:16
zyga-ubuntubtw, how did you get to the point where the files differed?21:16
zyga-ubuntuthey did not differ in the corrupted image21:16
mvozyga-ubuntu: after the refresh they started to differ I think the difference is subtle, try vs trying21:17
zyga-ubuntuI see21:17
mvobut it seems like it is the unix side that mis-behaves, it starts writing lower case21:18
zyga-ubuntufound it21:19
zyga-ubuntumvo: shortname=lower|win95|winnt|mixed21:19
zyga-ubuntudefault is mixed21:19
zyga-ubuntuhttps://www.kernel.org/doc/Documentation/filesystems/vfat.txt21:19
zyga-ubuntuwe could try shortname=lower21:20
mvozyga-ubuntu: when I played with that I couldn't see a difference21:20
zyga-ubuntuand see if that changes how the file is opened21:20
zyga-ubuntuor we could mount it as msdos (not vfat)21:20
mvozyga-ubuntu: oh, I think I did not try that, I tried the iocharset ones21:20
mvozyga-ubuntu: thats a nice idea21:20
zyga-ubuntumsdos doesn't support long file names21:20
* zyga-ubuntu tries with mount -t msdos21:21
zyga-ubuntu2018 and we are fighting bootloaders and msdos filenames21:21
mvozyga-ubuntu: yeah, please update the forum if you find anything, I need some sleep21:22
zyga-ubuntuI will21:22
mvozyga-ubuntu: it might also be that their usage fiddles with mount options somehow21:23
mvozyga-ubuntu: what is also interessting is why eventually things get corrupted and stop booting but my gut feeling is that its all related21:24
mvoanyway, I need to get some rest21:24
* mvo waves21:24
mupPR snapcraft#1979 opened: pluginhandler: simplify logic when elf patching is required <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1979>22:57
mupPR snapcraft#1980 opened: elf: remove all un-primed libs from soname cache <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1980>23:52

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