/srv/irclogs.ubuntu.com/2019/03/29/#snappy.txt

mwhudsonuh it seems you can use the snapd api to switch a snap to the '' channel01:09
zygamwhudson: I will tell John05:39
=== chihchun_afk is now known as chihchun
mborzeckimorning06:32
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
mborzeckihmm 2019-03-28 22:17:21 Error preparing google:ubuntu-18.04-64:tests/main/ :06:54
mborzeckicore                       6673  stable    canonical*         broken06:54
mborzeckimvo: morning07:37
mborzeckimvo: master seems broken now07:39
mvomborzecki: hey, morning07:39
mborzeckimvo: for some reason there are no mount units for the snaps07:39
mvomborzecki: what is the error?07:39
mvomborzecki: woah07:40
mborzeckimvo: https://paste.ubuntu.com/p/3Kqjg7j76W/07:40
mvomborzecki: the core18 snap changed since yesterday07:42
mborzeckimvo: snapd log https://paste.ubuntu.com/p/fNmpTNYMFj/07:42
mvohttp://people.canonical.com/~mvo/core18-changes/html/edge/unknownr828_unknownr834.html07:42
mvobut nothing that would explain why mount units are missing07:43
mvomborzecki: what do you see in ls /etc/systemd/system/snap* ?07:43
mborzeckimvo: no mount units, only snapd.{service,socket} overrides07:44
mvomborzecki: woah07:44
mvomborzecki: according to travis it started with the most recent master merge but that was just enabling suse again07:45
mvomborzecki: so that does not make much sense07:45
mvomborzecki: is it just ubuntu-18.04?07:45
mborzeckimvo: yes, but sa the same on 18.1007:45
mborzeckis/sa/saw/07:45
mvomborzecki: but not older ubuntus or other distros?07:46
* mvo scratches head07:46
mborzeckimvo: come to think of it, i only saw 18.*07:46
mvomborzecki: it does not make much sense, does it :)07:47
mvomborzecki: the joy of debugging things07:47
mvomborzecki: I will try to reproduce and look for clues07:47
mborzeckimvo: checked 4 PRs, only 18.0407:49
zygagood morning!07:55
=== chihchun is now known as chihchun_afk
zygamvo: hey, I found some odd things last night07:56
=== chihchun_afk is now known as chihchun
zygaI came to check on my tests and found that core18 failed07:56
zygawhile it passed (though I ran the test in isolation) earlier that day07:57
mborzeckizyga: hey07:57
mborzeckimvo: installing hello-world actually works (?!)07:57
zygamborzecki: because snapd thinks core is there07:58
mborzeckiand refreshing core from --edge worked too, thereis a mount unit now and all07:58
=== pstolowski|afk is now known as pstolowski
pstolowskimorning08:07
mborzeckiheh ausearch -m AVC --checkpoint <file> doesn't work on centos :/08:09
zygapstolowski: fusion update today08:10
mvomborzecki: very strange, anyway, qemu running here, I'm curious about the results. maybe one of our scripts goes wild?08:11
mvomborzecki: in the tests restore/prepare08:11
zygapstolowski: I'm just installing it08:11
mvomborzecki: but then we did not change those in a while08:11
zygapstolowski: word of caution, it restarts session apps08:11
mvoiirc08:11
pstolowskizyga: ah, thanks for hint, indeed. installing as well08:11
zygapstolowski: it will restart browser / etc08:11
zygacareful :)08:11
pstolowskizyga: ha.. ok08:12
zygahttps://docs.vmware.com/en/VMware-Fusion/11/rn/fusion-1103-release-notes.html just fixes08:12
=== cpaelzer__ is now known as cpaelzer
zygahttps://www.bing.com/th?id=OHR.AurovilleIndia_ROW0132522166_1920x1080.jpg <- amazing wallpaper of the day08:23
mborzeckilxd from snaps doesn't work on centos :/08:26
zygarm: cannot remove '/var/cache/snapd/aux': Is a directory08:45
zygawhat is aux?08:45
zygais that the auxiliary store stuff?08:45
mvoyeah08:46
zygaso, public service announcement: I'm off today08:47
zygaperhaps I should look at why the world is so red today08:47
mborzeckizyga: do you want to take a last look at https://github.com/snapcore/snapd/pull/6634 or can i land it?08:53
mupPR #6634: snap: add validation of gadget.yaml <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6634>08:53
zygamborzecki: looking08:54
zygalet me just page through quickly08:54
mborzeckiok08:55
mborzeckizyga: i see you're wodnering too about the name/label thing in gadget.yaml08:59
zygayeah08:59
zygaI didn't notice it before08:59
zygabecause of go fmt's reshuffling of the whole blog09:00
zygablock09:00
mborzeckiheh09:00
mborzeckimaybe renaming it to FilesystemLabel would be useful09:00
mborzeckizyga: though, a follow up mabye? i'd like to avoid the full ci cycle again, given that it's fragile today09:01
zygabut what is the difference?09:01
zygasure09:02
pedronismborzecki: hi, name is also used in relative offsets, no?09:19
zygamborzecki: almose done09:20
zygamborzecki: reviewed09:24
zygamborzecki: can you help me get https://github.com/snapcore/snapd/pull/6597 landed09:25
mupPR #6597: cmd/snap-update-ns: refactor of profile application (1/N) <Created by zyga> <https://github.com/snapcore/snapd/pull/6597>09:25
zygait needs a 2nd review09:25
zygaalterenatively https://github.com/snapcore/snapd/pull/650209:26
mupPR #6502: dirs,overlord/snapstate: add Soft and Hard refresh checks <Created by zyga> <https://github.com/snapcore/snapd/pull/6502>09:27
zygamvo can  you review https://github.com/snapcore/snapd/pull/6410 please09:27
mupPR #6410: release-tools: add debian-package-builder <Created by zyga> <https://github.com/snapcore/snapd/pull/6410>09:27
mvozyga: sure09:32
zygathank you09:32
mvomborzecki: hm, strange, "spread qemu:ubuntu-18.04-64" works here with master, thats odd09:32
mvozyga: I looked at 6583, it fails to build right now but I can take care of this if you want09:33
zygalooking09:34
zygamvo: hmm09:35
zygahmm09:35
zygaodd09:35
zygaplease let me dig at this09:35
zygaI have a few PRs that need a 2nd  review09:35
zygathose would be good to land instead :)09:36
mborzeckipedronis: yes, name is also used for refrring to structures in relative addressing09:36
mupPR snapd#6410 closed: release-tools: add debian-package-builder <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6410>09:36
zyga\o/ thanks mvo09:36
zygamvo: perhaps  this one https://github.com/snapcore/snapd/pull/6502 <- it's not that long09:38
mupPR #6502: dirs,overlord/snapstate: add Soft and Hard refresh checks <Created by zyga> <https://github.com/snapcore/snapd/pull/6502>09:38
mborzeckihaha revolut is preparing for no-deal brexit :P09:39
zygawhat are they doing?09:41
mborzeckizyga: need to verify your identity again if you previously used a driver's license for verification09:43
zygaodd09:44
zygahow is that related?09:44
mborzeckizyga: because they'd apparently need to migrade to a seaprate legal entity taht's in the eu (right now it's uk based)09:45
zygalol09:45
zygaI feel sorry for people in the UK09:45
zygamonty python live show09:45
=== chihchun is now known as chihchun_afk
* Chipaca notes he isn't working today10:03
* mvo hugs Chipaca and shushes him away10:11
mupPR snapd#6665 opened: overlord/ifacestate: implement String() method of HotplugDeviceInfo for better logs/messages <Hotplug 🔌> <Created by stolowski> <https://github.com/snapcore/snapd/pull/6665>10:14
zygabrb, need some food10:16
zygamborzecki: I'll review  in a m oment10:16
pstolowskizyga: can you finish the review of https://github.com/snapcore/snapd/pull/6629 when you have a moment (needs second +1)10:17
mupPR #6629: overlord/snapshotstate: helpers for dealing with snapshot expirations (automatic snapshots 2/N) <Created by stolowski> <https://github.com/snapcore/snapd/pull/6629>10:17
pstolowski?10:17
zygapstolowski: sure10:22
=== chihchun_afk is now known as chihchun
zygapstolowski: looking now10:28
pstolowskizyga: ty!10:28
zygapstolowski: done10:34
zygapstolowski: you resolved https://github.com/snapcore/snapd/pull/6629#discussion_r270354045 without  commenting10:35
mupPR #6629: overlord/snapshotstate: helpers for dealing with snapshot expirations (automatic snapshots 2/N) <Created by stolowski> <https://github.com/snapcore/snapd/pull/6629>10:35
zygaah, sorry, wrong link10:35
zygahttps://github.com/snapcore/snapd/pull/6629/files#r26853438410:35
zygathis one10:35
pstolowskizyga: hmm it shows me entire PR. do you mean the discussion where you proposed having "snapshots" key defined at the global level to avoid typos?10:40
zygapstolowski: cutoff  vs cut-off10:40
zygaline 130 of snapshotstate.go10:41
pstolowskizyga: yes, sorry about that, i thought i added it to the batch of github commits but didn't. should be fixed now10:44
pstolowskizyga: thanks for the review!10:44
zygano worries, it's a bikeshed comment so you can always contend that :)10:44
zygapstolowski: reviewed https://github.com/snapcore/snapd/pull/6665#pullrequestreview-22047293510:59
mupPR #6665: overlord/ifacestate: implement String() method of HotplugDeviceInfo for better logs/messages <Hotplug 🔌> <Created by stolowski> <https://github.com/snapcore/snapd/pull/6665>10:59
* zyga watches https://www.theguardian.com/politics/blog/live/2019/mar/29/brexit-debate-latest-developments-live-news-may-at-risk-of-fresh-defeat-as-mps-debate-withdrawal-agreement-for-third-time-live-news11:00
zygaany more reviews I can do11:00
zygaplease shoot URLs at me11:01
zygaanyone11:08
zygapstolowski: does hotplug help here? https://forum.snapcraft.io/t/snapd-interfaces-dev-tty-0-9-read-write/1064511:20
mupPR snapd#6666 opened: Change file names that are breaking go modules <Created by slimjim777> <https://github.com/snapcore/snapd/pull/6666>11:25
pstolowskizyga: sorry, i had 1-1, will take a look in a moment11:38
zygasure11:38
=== chihchun is now known as chihchun_afk
mborzeckihm trying to track down one selinux denial, idk why it happens, but snap is poking /proc/<pid>/stat of some process11:41
mborzeckii have a hunch that it's hooks and go runtime related11:41
zygawhat does the denial look like?11:42
* cachio afk11:42
mborzeckizyga: https://paste.ubuntu.com/p/SMP6VzNR6r/11:46
zygaoh, from snapd itself11:47
zygainteresting11:47
mborzeckiyeah11:47
mborzeckimy bet is go runtime doing something funny11:47
zygayes11:47
zygawhat is that pid?11:47
zygais 5612 still running11:48
mborzeckino11:48
mborzeckiand it isn't the pid of the shell tha ran snap install|remove11:48
mborzeckion top, it's centos, can't perf record what's starting :/11:48
zygamaybe it is related to snapctl and peers over sockets somehow11:48
zygamborzecki: I'm doing some IO so I cannot search now11:48
zygabut perhaps check for "proc" and "stat" in golang tree?11:49
zygalooking gnow11:51
mborzeckihmmmm11:54
mborzeckiswitched the policy to non-permissive, and, calling systemctl daemon-reload failed :/11:54
pstolowskizyga: yes, i think we could have a new tty interface that utilizes hotplug and creates single slot for every ttyN11:55
zygamborzecki: funn11:55
zygamborzecki: I cannot find anything in the tree that does this11:55
zygaperhaps in our vendor tree?11:55
zygamborzecki: polkit11:56
zyga./polkit/pid_start_time.go:     filename := fmt.Sprintf("/proc/%d/stat", pid)11:56
zygait must be polkit11:56
zygapstolowski: can you update the thread please?11:57
mborzeckiomg11:57
pstolowskizyga: will do11:59
* pstolowski lunch12:17
mvozyga, mborzecki I have a theory about why ubuntu-18.04 is now failing - I suspect we started seeding cloud-sdk12:20
mvoin the official images12:20
zygaoh12:20
zygacan you tell me moree12:20
zygaso ubuntu 18.04 in the cloud has  changed?12:20
zygaand what does cloud-sdk do?12:21
mborzeckiinteresting12:21
mborzeckithat's google cloud sdk?12:21
* zyga afk12:32
=== chihchun_afk is now known as chihchun
mborzeckiok, so disabling dontaudit and disabling permissive mode is actually enlightening12:55
mborzeckii can now install remove lxd snap with selinux in enforcing and without permissive flags in our policy12:56
=== ricab is now known as ricab|lunch
zygaWooot13:16
zygaThat is a great milestone mborzecki13:16
ijohnsonmborzecki: nice \o/13:27
=== ricab|lunch is now known as ricab
=== chihchun is now known as chihchun_afk
cachiomvo, 18.04 error should be fixed once the new image is generated14:48
cachioit could take 20/30 minutes14:49
mvocachio: yeah, I think I found the issue, the snapd purge does not work14:54
mvocachio: because /var/cache/snapd/aux cannot be removed14:54
mvocachio: and new images will fix that so yay!14:55
cachiomvo, I think so, so far all the tests are passing, also I added some checks to validate the imgae14:56
mvocachio: yeah14:56
mvocachio: thanks14:56
cachiomvo, yaw14:57
=== epod is now known as luk3yx
Saviqzyga: one for you: https://github.com/CanonicalLtd/multipass/pull/702#issuecomment-47803625515:17
mupPR CanonicalLtd/multipass#702: [snap] add libssl1.1 from bionic for Qt's consumption <Created by Saviq> <https://github.com/CanonicalLtd/multipass/pull/702>15:18
Saviqzyga: I'll trade you for https://forum.snapcraft.io/t/chaining-dependencies/10581 ;)15:18
* cachio lunch15:31
zygaSaviq: looking15:32
zyganice, thank you :)15:32
zygaI'm looking at that in relation to another mount namespace behavior15:32
zygabut I'm off today so not much progress15:32
Saviqslacker ;)15:34
zygaSaviq: that last year's quota has to burn :)15:43
alan_gmvo, we've encountered a problem with mir-kiosk starting on core18. With ogra's help I've traced it to "vt.handoff=2" in system-boot/cmdline.txt. Could you remove that please? https://github.com/MirServer/mir/issues/77915:48
mvoalan_g: could you please add a github issue against https://github.com/snapcore/pc-amd64-gadget ?15:53
mvoalan_g: and/or provide a patch there :) technically this is the foundations team now (sil2100 is the main contact currently)15:53
mvoalan_g: but we still like to help15:53
alan_gmvo, sure. (I get into this so seldom I don't know who to ask)15:54
ogramvo, thats a pi issue, not amd64 ;)15:55
alan_gmvo, that should be https://github.com/mvo5/pi-gadget/blob/master/configs/cmdline.txt15:57
alan_gI think15:57
ograhttps://github.com/snapcore/pi-gadget15:58
ograthat one (i think :) )15:58
alan_gAh yeah, too many repos,15:59
ograyup15:59
mvoogra: oh, sorry16:03
alan_gHm that one doesn't have any issues.16:03
mvoalan_g: so you can be the first one!16:04
ograand wint a price !16:04
mvoalan_g: thanks for raising this btw and no worries, we are here to help16:04
ogra*win16:04
alan_gmvo, as in nowhere to put them16:04
ograsend a postcard to sil2100 then16:05
mvoalan_g: oh, let me look16:05
alan_gIt has PRs, so I'll do that16:05
alan_g(after tea break)16:05
mvoalan_g: \o/ and I will investigate why there are no issues enabled16:06
mvoalan_g: I actually think this was deliberate that they are disabled. LP seems to be the bugtracker. however it also seems like we need to communicate this better. I will sync with lukasz about this16:09
alan_gmvo, ogra FYI https://github.com/snapcore/pi-gadget/pull/1216:38
mupPR pi-gadget#12: Enable mir-kiosk to start on Ubuntu Core 18/RPi 3 <Created by AlanGriffiths> <https://github.com/snapcore/pi-gadget/pull/12>16:38
mvoalan_g: \o/16:40
mvoalan_g: thank you16:41
alan_gmvo, np - the hard part was tracking down where.16:41
mupPR # closed: core-build#11, core-build#22, core-build#26, core-build#3716:50
mupPR # opened: core-build#11, core-build#22, core-build#26, core-build#3716:51
=== pstolowski is now known as pstolowski|afk
mupPR snapcraft#2506 closed: schema, tests: add more detail wrt numeric version errors <Created by adanhawth> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2506>20:09
* cachio afk20:42
mupPR snapcraft#2519 opened: packaging: use local patchelf <Created by cmatsuoka> <https://github.com/snapcore/snapcraft/pull/2519>20:54

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