/srv/irclogs.ubuntu.com/2019/08/22/#snappy.txt

mupBug #1841001 opened: removing docker snap leaves apparmor misconfigured <Snappy:New> <https://launchpad.net/bugs/1841001>00:03
=== mup_ is now known as mup
=== urluck_ is now known as urluck
mborzeckimorning05:16
=== juergh_ is now known as juergh
mvomborzecki: hey, good morning06:24
mborzeckimvo: pedronis: morning guys06:26
mupPR snapd#7304 closed: many: move channel parsing to snap/channel <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7304>06:30
mupPR snapd#7305 closed: check-pr-title.py: allow {} in pr prefix <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7305>06:30
mupPR snapd#7303 closed: interfaces/wayland,x11: allow reading an Xwayland Xauth file. Fixes LP: #1840925 <Created by oSoMoN> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7303>06:31
mborzeckimvo: check this out https://i.imgur.com/4P10y8J.png06:33
mvomborzecki: woooooooo06:35
mborzeckiblender          2.80     33     stable    blenderfoundation*  classic06:35
mborzeckiblender_279      2.79b    20     2.79      blenderfoundation*  classic06:35
mvomborzecki: thats really cool06:35
mborzeckimvo: didn't try any rendering though, hope they don't do some funny ipc with named sockets/semaphores that could conflict06:38
mvomborzecki: right06:42
mupPR snapd#7230 closed: tests: make interfaces-contacts-services cleanup more robust <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/7230>06:43
=== jwheare_ is now known as jwheare
mvomborzecki: do you have a spread test (a very simple) one already for the parallel install on classic?06:54
mborzeckimvo: not yet, wanted to update zyga_'s mount-ns test, but doing some reviews first06:56
mvomborzecki: ok, just curious06:56
pstolowskimornings07:11
mvogood morning pstolowski !07:18
zygahey07:22
zygaI got renamed to zyga_ and got banned/muted, not sure why07:22
zygaI didn't realize nothing got through07:23
zygamborzecki: nice work07:23
mborzeckilooking at ian's PR, got confused by task handlers again, iirc when a do callback fails, it should clean all the work it did internally right? so for instance if doLinkSnap fails on say, createSnapCookie it should run UnlinkSnap() (which isn't done really)?07:29
zygamborzecki: not entirely07:31
mvozyga: happend to me earlier as well!07:31
zygamborzecki: when a handler fails it should clean up itself07:31
zygamborzecki: when a handler finishes but another fails later07:31
zygamborzecki: the undo handler for that task is called07:31
zygamborzecki: that's the current approach07:31
zygait's a bit hard to use TBH and hard to get right07:31
zygait would be nice if we ran the "undo" one automatically but none of the code is ready for it07:32
zygaI spent way too long last night fighting cgroups07:32
mborzeckiright, so if something inside doLinkSnap() fails after backend.LinkSnap() is called, it should ideally call backend.UnlinkSnap() before returning from the handler07:32
zygathere's something wonky going on that doesn't make sense to me yet07:32
zygaespecially that it spans both ancient systemd and super recent systemd (on arch)07:33
zygabut not on other systems07:33
zygamborzecki: I think it's well worth having a discussion about task handlers07:33
zygamborzecki: I doubt we write them correctly today, it's very hard to do07:33
zygamborzecki: in addition I would raise that the use of get/set is very pythonish07:37
zygaand doesn't fit go07:37
zygait'd be nice if there were actual types07:37
mborzeckizyga: snap get/set ?07:37
zygano07:37
zygatask handlers call get/set on task state07:37
zygait's all a bit of wild west without typing07:38
zygatask state that is07:38
zygapstolowski: about 708107:51
zygaI'm writing one quick test to check something and then if that fails I'm +1 it07:51
zygabrb07:51
pstolowskizyga: great, ty :)07:54
* zyga writes actual hand-made test that could be changed to spread test later on07:57
mborzeckinoticed some PRs form yday were restarted, anyone know what failed there?08:09
mborzeckipstolowski: Chipaca: hey08:09
Chipacamborzecki: 👋08:10
mupPR snapd#7307 opened: mkversion.sh: fix version from git checkouts <Created by mvo5> <https://github.com/snapcore/snapd/pull/7307>08:20
pstolowskihey Chipaca08:24
=== Trevinho_ is now known as Trevinho
mvozyga: what exactly is needed for 7299?08:38
zygamvo: let me push it08:38
mvozyga: ta08:38
mvozyga: you may need to pull first but there should be no conflicts08:38
mvozyga: I just applied your suggestions08:38
pedronis#7271 and #7135 need 2nd reviews08:38
mupPR #7271: many: generalize assertstate.Batch to asserts.Batch, have assertstate.AddBatch <Created by pedronis> <https://github.com/snapcore/snapd/pull/7271>08:38
mupPR #7135: image: support prepare-image --classic for snapd snap only images <Created by pedronis> <https://github.com/snapcore/snapd/pull/7135>08:38
mvo7287 also needs a second review, should be an easy win08:39
mupPR snapd#7297 closed: cmd/snap-mgmt: set +x on startup <Simple 😃> <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/7297>08:40
zygamvo: ah, I see it is only running on 18.0408:42
mvozyga: I will work on your suggestions for 7288 now to land it I just saw another failure. or maybe we land as is and I do a followup?08:42
mvozyga: it should unbreak some missing cleanups08:42
mvo7300 was failing iirc08:43
zygamvo: +108:43
pstolowskimvo: ty for pushing the naming fix to #7306!08:43
mupPR #7306: overlord/configstate: sort patch keys to have deterministic order with snap set <Created by stolowski> <https://github.com/snapcore/snapd/pull/7306>08:43
mvopstolowski: no worries, looked so trivial I figured it would do no harm08:44
zygamvo: https://github.com/snapcore/snapd/pull/7299 +108:44
mupPR #7299: sanity: report proper errror when fuse is needed but not available <â›” Blocked> <Created by mvo5> <https://github.com/snapcore/snapd/pull/7299>08:44
zygahttps://github.com/snapcore/snapd/pull/7299#discussion_r31656094208:44
mupPR snapd#7288 closed: tests: cleanup "snap_daemon" user in system-usernames-install-twice <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7288>08:45
mborzeckizyga: mvo: https://github.com/systemd/systemd/issues/10872#issuecomment-52380977108:51
zygamborzecki: interesting!08:52
zygamborzecki: I need to change our stuff08:52
zygathanks!08:52
mborzeckizyga: btw. make fmt keeps changing cmd/libsnap-confine-private/error.c cmd/snap-confine/udev-support.c :/08:53
zygamborzecki: indent suuucks08:53
zygamborzecki: just don't use it08:53
zygamborzecki: run it once and commit the changes to the new code08:54
zygamborzecki: discard the rest08:54
mborzeckizyga: yeah, too small for a seaprate PR though08:54
mborzeckizyga: maybe i'll add those in a separate patch in the parallel installs PR08:55
mupPR snapd#7308 opened: tests: add new "user-tool" helper and use in system-user tests <Created by mvo5> <https://github.com/snapcore/snapd/pull/7308>08:55
zygamborzecki: I'm confused, what do you mean08:55
zygamvo: oh :D08:55
zygamvo: I was writing user tool just now08:55
zygathough my version is in python :D08:55
zygamvo: let's get your version, I will only replace the implementation on top, ok?08:55
mborzeckizyga: https://paste.ubuntu.com/p/pQN7XFWP3V/ that's the diff, since it's fairly small, too small for a PR, so i'll add it to 730208:56
zygamborzecki: don't change that please08:57
zygamborzecki: my suggestion is to respect indent only on new code08:57
mborzeckizyga: hm ok08:57
zygaand not change existing files exactly because indent is unstable08:57
zygamborzecki: and new files, if possible, should be formatted with clang-format08:57
pstolowskizyga: can you also re-review #7287?08:59
mupPR #7287: hookstate/ctlcmd: snapctl unset command <Created by stolowski> <https://github.com/snapcore/snapd/pull/7287>08:59
zygapstolowski: enqueued08:59
pstolowskizyga: fifo or lifo? ;)09:00
zygapstolowski: life-o09:02
diddledanlipo? last-in, pooped-out? :-p09:04
Chipacalipo is the opposite of pooped-out tho09:06
Chipacahoovered-out more like09:07
Chipacamvo: did you see #1841001 ?09:08
mupBug #1841001: removing docker snap leaves apparmor misconfigured <Snappy:New> <https://launchpad.net/bugs/1841001>09:08
zygamvo: I saw that09:09
zygamvo: it's not easy to fix09:09
zygamvo: we discussed that at the last sprint09:09
zygawe can only remove apparmor profiles after all processes using them are gone09:09
zygabut that's hard to measure now09:10
mvoChipaca: I did not see it :/09:10
zygamvo: https://github.com/snapcore/snapd/pull/730909:12
Chipacazyga: that's removing them from the kernel though, isn't it?09:12
mupPR #7309: tests: re-implement user tool in python <Created by zyga> <https://github.com/snapcore/snapd/pull/7309>09:12
zygaChipaca: can you re-state your question?09:12
zygaChipaca: we are not removing the profiles09:12
Chipacazyga: as opposed to removing them from disk? Or is this bug about in-kernel?09:12
mupPR snapd#7309 opened: tests: re-implement user tool in python <Created by zyga> <https://github.com/snapcore/snapd/pull/7309>09:12
zygaChipaca: because removing them would remove them from running processes09:12
zygaChipaca: it's about kernel09:12
zygaChipaca: they are gone from disk09:12
Chipacaah09:12
zygaChipaca: they persist in the kernel until you reboot09:12
zygayeah :/09:13
Chipacazyga: what's "any-python"?09:14
zygaChipaca: tests/lib/bin/any-python09:14
Chipacaah09:14
zygaI wish it wasn't needed09:14
zygaI wish unix had py09:14
zygabut ...09:14
zygawell :)09:14
zygamvo: https://twitter.com/rbtcollins/status/116432771326962073709:16
mvozyga: uh09:21
mvozyga: thanks09:21
mvozyga: we had this discussion before, we suck and we need to fix it :(09:22
zygathere are three bugs there09:22
zygaI'm going through them now09:22
mvozyga: thank you09:23
mvozyga: nice picture of robert, haven't seen a picture of him in years, I'm quite impressed :)09:23
zygahttps://bugs.launchpad.net/snappy/+bug/184100109:23
zygahttps://bugs.launchpad.net/snappy/+bug/184024409:23
zygahttps://bugs.launchpad.net/snappy/+bug/165697609:23
mupBug #1841001: removing docker snap leaves apparmor misconfigured <Snappy:Triaged> <https://launchpad.net/bugs/1841001>09:23
mupBug #1840244: docker snap cannot bind mount ssh sockets correctly <Snappy:Triaged> <https://launchpad.net/bugs/1840244>09:23
mupBug #1656976: classic mode cannot start services <Snappy:Triaged> <https://launchpad.net/bugs/1656976>09:23
zygaall triaged, the last one is easy-ish09:23
zygathe other two are not09:23
zygathe middle one is an UX usability bug09:24
mvomaybe we need to make twitter our bts?09:24
zygathe first one are two bugs in one09:24
zygaone needs to be handled by docker snap09:24
zygathe other by us eventually09:24
zygaI'll raise this at the standup09:24
zygamvo: who wants to triage the remaining NEW bugs?09:25
zygaI need that coffee09:26
mvozyga: I think we should talk in the standup but to make this work we will need something like bug triage duty on specific days09:26
mvozyga: I think09:26
mvozyga: like the security team is doing09:26
zygayeah09:26
zygait cannot be knee-jerk reactionary like that09:26
mvozyga: or we need to put someone on it (like sergio) and make it his reposonbility09:26
diddledancoffee sounds like a plan, zyga09:30
zygayeah09:30
* zyga goes to make some09:30
mupPR snapd#7310 opened: devicestate: add missing test for remodeling possibly removing required flag <Created by pedronis> <https://github.com/snapcore/snapd/pull/7310>09:39
pedronismvo: ^ there's a bit of doSetModel that was not unit tested that I need to tweak in the core20 model work09:39
Chipacamvo: is #1579268 really an issue with snapd? I thought it was an issue with the snaps themselves09:39
mupBug #1579268: Mouse cursor is different inside graphical windows of snaps (snaps not using system theme) <Snappy:New> <snapd (Ubuntu):Triaged> <https://launchpad.net/bugs/1579268>09:40
diddledanhah, we've just had that mentioned in the Ubuntu Podcast Telegram channel :-)09:42
mvoChipaca: I think its a issue with the snaps but iirc zyga was looking into this a while ago, not sure if we need to tweak anything on our side09:43
Chipacamvo: there's also the issue that if people use themes that aren't packaged they're not usable from the snap09:44
Chipacamvo: that aspect i'd say is wontfix? or did we have plans for that? or is that what zyga was looking at09:44
mvoChipaca: we had plans for this, the idea was to have theme-snaps that would be auto-downloaded09:46
mvoChipaca: this was a colaboration with the desktop team, there should be a forum post somewhere09:46
* mvo looks09:46
mvoChipaca: jamesh is a good POC I think09:47
diddledanonly a POC? I think james might claim to be GA/RTM09:48
diddledanat least MVP09:48
Chipacadiddledan: I don't think jamesh is an airport in Colombia09:49
diddledanreally?09:49
Chipacadiddledan: 87% sure09:49
diddledanI think this needs more investigation09:50
mupBug #1579268 changed: Mouse cursor is different inside graphical windows of snaps (snaps not using system theme) <Snappy:Invalid> <snapd (Ubuntu):Invalid> <https://launchpad.net/bugs/1579268>09:55
mupBug #1581188 changed: How to run snappy from inside Docker - systemd issues? <Snappy:Won't Fix> <https://launchpad.net/bugs/1581188>09:58
tomwardillI'm doing `snap set snap-store-proxy.internal.store.id=''` but the value does not appear to change. Is this likely to be a problem with the snap-store-proxy configure hook, or am I doing something wrong?10:00
tomwardillideally, I'd like to set it to null/no value10:01
Chipacaogra: you around?10:02
ograyes10:02
Chipacatomwardill: doesn't =null do that?10:02
ograand no, i have no idea about that nextcloud box :P10:03
Chipacaogra: #1587453, i'm not sure if that's an Invalid or a Won'tFix or a Confirmed Wishlist10:03
mupBug #1587453: Reduce write to SD cards <raspberry-pi> <Snappy:New> <https://launchpad.net/bugs/1587453>10:03
tomwardillChipaca: `=null` will work on another key, but the value doesn't change on the key I care about10:03
tomwardillso I guess it's my problem somewhere :)10:03
Chipacatomwardill: sounds like a validation bug yeah10:04
Chipacatomwardill: also note there's going to be 'snap unset' soon10:04
tomwardillChipaca: ah, that sounds like what I'm after :)10:05
Chipacapstolowski: what release is snap unset scheduled for?10:05
diddledanis it even meant to be user changable considering it's marked internal?10:05
ograChipaca, wontfix unless you plan to hack up disk cache settings randomly10:05
pstolowskiChipaca: it partially landed for 2.41 (and what landed is fully usable), however 'snapctl unset' didn't make it10:06
mupBug #1587453 changed: Reduce write to SD cards <raspberry-pi> <Snappy:Won't Fix> <https://launchpad.net/bugs/1587453>10:07
mupBug #1593151 changed: Snapd should support custom servers <Snappy:Won't Fix> <https://launchpad.net/bugs/1593151>10:07
mupBug #1593435 changed: snap install will go get store version instead of sideload <Snappy:Invalid> <https://launchpad.net/bugs/1593435>10:10
mupBug #1593558 changed: sox not configured for pulseaudio when packaged in a snap <Snappy:Invalid> <https://launchpad.net/bugs/1593558>10:13
mupBug #1593915 changed: Ad the "snap all refresh" command <Snappy:Fix Released> <https://launchpad.net/bugs/1593915>10:13
mupBug #1593958 changed: Downloading snaps takes too long <Snappy:Fix Released> <https://launchpad.net/bugs/1593958>10:16
mupBug #1593960 changed: snap refresh unfriendly error message <Snappy:Fix Released> <https://launchpad.net/bugs/1593960>10:16
mupBug #1593989 changed: snap installed .desktops collide with .deb installed .desktops in unity7 <Snappy:Fix Released> <https://launchpad.net/bugs/1593989>10:19
diddledanall the bugs!10:20
mupPR snapd#7311 opened: snap/naming: introduce SnapRef, Snap, and SnapSet <Created by pedronis> <https://github.com/snapcore/snapd/pull/7311>10:20
mupPR snapd#7312 opened: tests: use user-tool to remove test user in the non-home test <Created by mvo5> <https://github.com/snapcore/snapd/pull/7312>10:22
mupBug #1594328 changed: snappy keeps several copies of the same snap <Snappy:Fix Released> <https://launchpad.net/bugs/1594328>10:22
mupPR snapd#7313 opened: many:  add the start of Core 20 extensions support to the model assertion <Created by pedronis> <https://github.com/snapcore/snapd/pull/7313>10:24
=== pedronis_ is now known as pedronis
pedronismvo: ^10:25
mvopedronis: nice10:26
diddledandid someone turn on the firehose? http://www.belch.com/img/firehose.jpg :-p10:28
mupBug #1580738 changed: exec in desktop file should be app name and not include the friendly (current) package name <snapd:Confirmed> <https://launchpad.net/bugs/1580738>10:28
mupBug #1594842 changed: Docs have "revision" as an int <Snappy:Fix Released> <https://launchpad.net/bugs/1594842>10:28
mupBug #1600140 changed: App indicator adds an entry for each snap launch <snap-desktop-issue> <Snappy:Fix Released> <snapd (Ubuntu):Fix Released> <https://launchpad.net/bugs/1600140>10:31
mupBug #1600489 changed: freecad after being installed with snap doesn't exists <Snappy:Invalid> <https://launchpad.net/bugs/1600489>10:31
Chipacamvo: #1606539 is fixed, yes?10:33
mupBug #1606539: handler errors from `snap create-user` gracefully <Snappy:New> <https://launchpad.net/bugs/1606539>10:33
mupBug #1601859 changed: Need a way to autostart applications (not services) <Snappy:Fix Released> <https://launchpad.net/bugs/1601859>10:34
mupBug #1607252 changed: User data is missing or lost when utilizing a snap instead of a traditional package <Snappy:Fix Released> <https://launchpad.net/bugs/1607252>10:37
mupBug #1607744 changed: "snap install <filename>" over an already installed snap doesn't copy the user data <lxd> <Snappy:Fix Released> <https://launchpad.net/bugs/1607744>10:37
mupBug #1609757 changed: Enable ordering of services provided by a snap <cpc> <Snappy:Fix Released> <https://launchpad.net/bugs/1609757>10:37
Chipacapedronis: were you aware of the request in #1609864 ?10:39
mupBug #1609864: Enable a command to be run on machine shutdown <cpc> <Snappy:New> <https://launchpad.net/bugs/1609864>10:39
zygapstolowski: https://github.com/snapcore/snapd/pull/730610:41
mupPR #7306: overlord/configstate: sort patch keys to have deterministic order with snap set <Created by stolowski> <https://github.com/snapcore/snapd/pull/7306>10:41
pstolowskizyga: ty10:41
mupPR snapd#7290 closed: tests: allow test user XDG_RUNTIME_DIR to phase out <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/7290>10:42
pstolowskizyga: otoh, i'm slightly scared of loosing 'green' spread status on that PR...10:43
zygahaha, sure10:43
zygafollow up +110:43
pstolowskitough times10:44
zygapstolowski: https://github.com/snapcore/snapd/pull/7287#pullrequestreview-278333771 +110:44
mupPR #7287: hookstate/ctlcmd: snapctl unset command <Created by stolowski> <https://github.com/snapcore/snapd/pull/7287>10:44
zygapstolowski: I'm mid-way writing that spread test for batch profiles but I went upstairs for a moment and doing reviews from a laptop now10:45
pstolowskizyga: sure, thanks for trying to break it10:45
mupBug #1611526 changed: temp directories not deleted when snap fails to start <lxd> <Snappy:Fix Released> <https://launchpad.net/bugs/1611526>10:47
mupBug #1611530 changed: can't install devmode snap from store <landscape> <Snappy:Won't Fix> <https://launchpad.net/bugs/1611530>10:47
mupBug #1611706 changed: Test suite failures on Arch <Snappy:Fix Released> <https://launchpad.net/bugs/1611706>10:47
pstolowskiah, 7287 is actually rebuilding anyway for previous changes...10:47
zygapstolowski: 7287 can land now10:47
zygaoh10:47
zygabummer10:47
pstolowskinah it can't10:47
pedronisChipaca: no10:47
pstolowskilet's see, if it fails for random reason, i'll make the spread test tweak as well10:48
zygajdstrand: can you please enqueue https://github.com/snapcore/snapd/pull/725210:49
mupPR #7252: interfaces/network-manager: allow using org.freedesktop.DBus.ObjectManager <Created by alfonsosanchezbeato> <https://github.com/snapcore/snapd/pull/7252>10:49
pstolowskizyga: ah, no, 7287 can land indeed, ty, i confused my two PRs10:50
mupBug #1611837 changed: all-snaps: Boot breaks on reboot <Snappy:Invalid> <https://launchpad.net/bugs/1611837>10:50
mupBug #1612783 changed: snapd requires U1 account to install local packages <Canonical System Image:Fix Released> <Snappy:Fix Released> <snapd (Ubuntu):Fix Released> <https://launchpad.net/bugs/1612783>10:50
mupBug #1614730 changed: dpkg: dependency problems prevent configuration of snapd -  snapd depends on ubuntu-core-launcher (>= 1.0.23) <oil> <Snappy:Fix Released> <https://launchpad.net/bugs/1614730>10:50
mupPR snapd#7287 closed: hookstate/ctlcmd: snapctl unset command <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/7287>10:50
mupPR snapd#7225 opened: tests: don't repeat checks <â›” Blocked> <Created by zyga> <https://github.com/snapcore/snapd/pull/7225>10:51
* zyga hugs Chipaca!10:51
mupBug #1616508 changed: snap install overwrites its own output <Snappy:Fix Released by chipaca> <https://launchpad.net/bugs/1616508>10:53
mupPR snapd#7234 closed: tests: make sure snapd is built against new gorilla mux <Simple 😃> <Created by stolowski> <Closed by stolowski> <https://github.com/snapcore/snapd/pull/7234>10:53
Chipacazyga: what's the status of #1620592 ?10:55
mupBug #1620592: if your first installed snap contains a binary needing sudo ~/snap is created with root.root ownership <snap-confine:Triaged> <Snappy:New> <https://launchpad.net/bugs/1620592>10:55
mupBug #1618239 changed: console-conf uses 20+MB memory at rest on embedded systems <subiquity (Ubuntu):Fix Released by mwhudson> <https://launchpad.net/bugs/1618239>10:56
zygaChipaca: I'd have to re-check, I don't remember10:56
Chipaca:)10:56
Chipacazyga: same question wrt #1620650 although that one might be for mborzecki these days10:56
mupBug #1620650: After installing krita from beta channel, krita crashes when opening the snap. <Calligra:Unknown> <Snappy:New> <https://launchpad.net/bugs/1620650>10:56
zygaChipaca: I don't know either, I could check but I'd need to update to 19.10 as my gpu doesn't work on ubuntu today (2080s)10:57
Chipacai set it to confirmed because even if it's better than what it was in the bug, it's still not perfect10:58
Chipaca(wrt PRIME setup)10:58
mupBug #1620771 changed: when /home is somewhere else, snaps don't work <link> <snap> <symlink> <Snappy:Won't Fix> <https://launchpad.net/bugs/1620771>11:02
pedronismvo: I'm getting:  groupdel: cannot remove the primary group of user 'snap_daemon'11:04
pedronisis that fixed somewhere?11:04
pedronis(in spread to be clear)11:04
mvopedronis: yes, should be fixed with current master11:05
mvopedronis: https://github.com/snapcore/snapd/pull/7288 was the relevent pr11:06
mupPR #7288: tests: cleanup "snap_daemon" user in system-usernames-install-twice <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7288>11:06
mupBug #1621132 changed: Porting guide is out of date <Snappy:Fix Released> <https://launchpad.net/bugs/1621132>11:08
mupBug #1621142 changed: no "please press enter" message shown on serial console <subiquity (Ubuntu):Fix Released> <https://launchpad.net/bugs/1621142>11:08
mupBug #1621144 changed: serial console is not cleared before console-conf runs <subiquity:Triaged> <https://launchpad.net/bugs/1621144>11:08
pedronispstolowski: if I understood zyga correctly #7081 can be merged?11:09
mupPR #7081: ifacestate: optimize auto-connect by setting profiles once after all connects <Needs Samuele review> <Created by stolowski> <https://github.com/snapcore/snapd/pull/7081>11:09
pstolowskipedronis: no, he is working on some kind of test to verify it11:12
pedronispstolowski: did you speak again? I thought he said in the standup that he wasn't blocking it anymore11:12
zygapstolowski: can we merge it now and adjust if my test finds something11:12
zygapstolowski: it's just a spread test11:13
pstolowskipedronis: yes we talked about it this morning11:13
zygaif it works we can merge it anyway11:13
zygaand this way we get more exposure during the dev cycle11:13
pedronisyea, we just cut 2.4111:13
pedronisit's a good time as any11:13
pstolowskizyga: ok, sounds good11:13
zygamerge away11:13
mupPR snapd#7081 closed: ifacestate: optimize auto-connect by setting profiles once after all connects <Needs Samuele review> <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/7081>11:14
mvozyga: I get this error in the (new) lxd test:11:27
mvo+ lxd.lxc exec my-ubuntu -- su -c '/snap/bin/test-snapd-tools.echo from-the-inside' ubuntu11:27
mvosnap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks11:27
mvozyga: do you have any idea ? its strange but maybe something missing inside the container or crazyiness like this?11:28
zygathat's odd, do you have a debug shell?11:28
zygacan you check aa-status11:28
* zyga is still upstairs, reading https://github.com/snapcore/snapd/pull/727111:28
mupPR #7271: many: generalize assertstate.Batch to asserts.Batch, have assertstate.AddBatch <Created by pedronis> <https://github.com/snapcore/snapd/pull/7271>11:28
pedronisfwiw it will be tweaked a bit, given mvo input, it had a bit of  along gestation/back and forth on my part on details11:30
mvopedronis: thanks! I was wondering how useful my ramblings were, glad it seems they were :)11:30
* mvo lunches 11:30
zygamvo: ping me about the lxd failure11:30
zygamvo: after lunch11:30
mupPR snapd#7298 closed: tests: clean up after NFS tests <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/7298>11:31
mupBug # changed: 1621147, 1621304, 1621323, 1621339, 162137811:35
Chipacamvo: what's your opinion on #1621666 ?11:37
mupBug #1621666: It is possible to install the classic snap in a classic system <classic> <Snappy:New> <https://launchpad.net/bugs/1621666>11:38
mupBug # changed: 1621380, 1621550, 1621568, 162162311:38
Chipacapedronis: is #1621769 accurate? care to comment there?11:38
mupBug #1621769: impossible to create a model assertion compatible with both snapd 2.13 and 2.14 <Snappy:New for mvo> <https://launchpad.net/bugs/1621769>11:38
Chipacapedronis: otherwise i'll tag it wontfix11:38
pedroniswe would have to change the past11:39
mupBug #1621805 changed: sudo snap abort <change-id> won't abort snap install process before downloading full package <snap> <snapd> <snappy> <Snappy:Fix Released> <https://launchpad.net/bugs/1621805>11:41
mupBug # changed: 1623120, 1623802, 1625605, 162569811:44
mupPR snapcraft#2680 opened: spread tests: minor performance improvements <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2680>11:46
mupBug #1626617 changed: console-conf does not allow to set up dns for static ip <plano-acan> <verification-done-yakkety> <netplan:Fix Released by pitti> <nplan (Ubuntu):Fix Released by pitti> <subiquity (Ubuntu):Fix Released> <nplan (Ubuntu Xenial):Fix Released> <subiquity (Ubuntu Xenial):Won't Fix>11:47
mup<nplan (Ubuntu Yakkety):Fix Released> <subiquity (Ubuntu Yakkety):Won't Fix> <https://launchpad.net/bugs/1626617>11:47
ChipacaOK, I'm done triaging for today11:47
Chipacamore tomorrow (and every friday from now until forever)11:47
zygaChipaca: fantastic stuff, thank you11:54
zygaChipaca: I can happily work on triage every friday as well11:54
Chipacazyga: question: does /v2/interfaces?doc=true&select=all return all even cross-arch?11:54
zygacross-arch?11:55
Chipacazyga: maybe better if we choose different days11:55
Chipacazyga: like, are there armhf-only interfaces, and if so do those appear in that11:55
zygainterfaces don't model architecture11:55
Chipacagood :)11:55
Chipacaok11:55
zygaso yeah11:55
* zyga eats a snack qucikly11:59
zygaback to that integration test pawel :)11:59
pstolowskizyga: you're not giving up easily, i give you that ;)12:00
zygapstolowski: it's mainly because I suck at reading the code well enough to have confidence in that12:01
zygaso black box tests FTW12:01
zygapstolowski: btw, I updated to catalina12:01
zygait's neat12:01
pstolowskizyga: it's stil beta isn't it?12:01
zygayeah12:01
zygacoming out in fall as usual12:01
pstolowskizyga: yeah, it has know problems affecting x-plane, so no-no for me atm12:02
pstolowski*known12:02
mborzeckizyga: pushed changs to #730212:13
mupPR #7302: cmd/snap-confine: add support for parallel instances of classic snaps <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7302>12:14
ograparallel insanity ...12:18
pedronispstolowski: about 7207, I don't think we have any tests about using seed.yaml to install multiple instance, I wouldn't consider it supported atm12:38
=== ricab is now known as ricab|lunch
pstolowskipedronis: right, that's why my initial changes were happy.. but if we want to address this (i.e. actively prevent), i'd opt for a separate PR12:43
mupPR snapd#7300 closed: interfaces/network-{control,manager}: allow 'k' on /run/resolvconf/** <Created by jdstrand> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7300>12:45
mupPR snapd#7301 closed: interfaces/network-{control,manager}: allow 'k' on /run/resolvconf/** - 2.41 <Created by jdstrand> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7301>12:46
zygamborzecki: https://github.com/snapcore/snapd/pull/7302#pullrequestreview-27839439312:51
mupPR #7302: cmd/snap-confine: add support for parallel instances of classic snaps <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7302>12:51
pstolowskipedronis: thanks for the suggestions under #700512:52
mupPR #7005: debug: state-inspect debugging utility <Created by stolowski> <https://github.com/snapcore/snapd/pull/7005>12:52
pstolowskipedronis: nice idea with 'state' as the main sub-command12:52
zygamvo: I have a solution to all our problems ;-)12:54
zygamvo: https://github.com/snapcore/snapcraft/pull/267612:54
mupPR snapcraft#2676: spread: 64 workers for each system <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2676>12:54
mvozyga: hehe12:56
zygaon the other hand I'd love to see the numbers if we tried that12:56
zygajust really curious12:56
mupPR snapd#7308 closed: tests: add new "user-tool" helper and use in system-user tests <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7308>12:58
mupPR snapd#7285 closed: httputil: improve http2 PROTOCOL_ERROR detection <Squash-merge> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7285>13:00
mupPR snapd#7314 opened: tests/main/mount-ns: account for clone_children in cpuset cgroup on 18.04 <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7314>13:20
zygathis is scary https://lwn.net/Articles/796951/13:40
pedronisthis needs a 2nd review: https://github.com/snapcore/snapd/pull/713513:41
zygagit diff not showing changes because timestamps13:41
mupPR #7135: image: support prepare-image --classic for snapd snap only images <Created by pedronis> <https://github.com/snapcore/snapd/pull/7135>13:41
=== ricab|lunch is now known as ricab
* zyga child care break14:01
Saviqpstolowski: hey, I think you know about hooks ;) is there any way to know, in a pre-refresh hook, what revision we're getting refreshed to? we'd like to fail the refresh if someone tries to go from core18-based Multipass to a core16-based one if they have any instances running (as they will fail to resume again)14:12
Saviqit's a corner case, but if there is something we could do to let users know how to go about it, we would :)14:13
ijohnsonSaviq: I don't think there's anything like that currently available in hooks, but you could use epochs14:16
ijohnsoncore16 based multipass could be epoch 0, and core18 multipass could be epoch 1, and as long as you never publish a epoch 1* (or maybe 0* I don't recall) a refresh between them will never be allowed or happen automatically14:17
Saviqijohnson: right, I know, but that's too strict, we can refresh both ways, it's a runtime check whether it's ok or not14:17
pstolowskiSaviq: as ijohnson says.. no way of knowing that right now.. that's not the first request for something like this we get14:18
Saviqack, thanks guys :)14:18
ijohnsonI suppose you could do something like write to a file in $SNAP_DATA or $SNAP_COMMON that says if there are instances running in pre-refresh, then in post-refresh check if that file is there and if you switched bases, then exit 1 from the post-refresh hook forcing a revert back to the previous one14:19
pstolowskiSaviq: i have very vague memories of a forum topic about this, but can't find it...14:19
ijohnsonSaviq: do multipass instances currently continuing running during a refresh?14:20
Saviqijohnson: they get suspended and resumed14:20
Saviq(because they're actually child processes of multipassd)14:20
ijohnsonokay, so then the instance would get resumed when multipassd starts up again?14:21
ijohnsonif that's the case then the file method I mentioned above should work, it's a bit of a hack/workaround, but would have the desired affect I think14:22
Saviqijohnson: yeah it sounds workable indeed14:29
Saviqthanks :)14:29
ijohnsonSaviq: I prototyped a similar type of thing before and can share some example code if you're interested14:30
=== chesty_ is now known as chesty
mupPR snapd#7315 opened: store, image, cmd: make 'snap download' leave partials <Created by chipaca> <https://github.com/snapcore/snapd/pull/7315>14:55
ijohnsonjdstrand: from a gut feeling do you think that providing net_admin and sys_admin to daemon-notify is ack'able ? if your gut feeling is no, then I'm just gonna close #669715:21
mupPR #6697: interfaces/daemon_notify: add {net,sys}_admin capabilities, update spread test <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/6697>15:22
jdstrandijohnson: gut feeling is no. I still have an item for it, but it is going to take a while for a full investigation (sorry it is lingering)15:24
jdstrand(ie, it is in trello so won't be forgotten)15:24
zygaijohnson: sorry for lagging on older PRs, quick question on https://github.com/snapcore/snapd/pull/6697/files#r31674145315:24
mupPR #6697: interfaces/daemon_notify: add {net,sys}_admin capabilities, update spread test <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/6697>15:24
ijohnsonjdstrand: okay that's fine I think I'll leave it open in case you can find a workaround or something in your investigation, it would still be a nice to have15:27
ijohnsonzyga: thanks I'll take a look, perhaps network isn't actually necessary there I have a habit of just shotgunning network access for every snap I write :-)15:28
zygaijohnson: I asked because it tends to hide missing permissions in the actual interface being tested15:30
ijohnsonright15:30
zygaif there's a legitimate reason for it please add a comment there15:30
ijohnsonyep, running spread right now to see15:33
jdstrandijohnson: you could still close it with a note that you will reopen pending investigation15:36
=== pstolowski is now known as pstolowski|afk
mupPR snapcraft#2680 closed: spread tests: minor performance improvements <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2680>17:08
mupPR snapcraft#2676 closed: spread: 64 workers for each system <Created by cjp256> <Closed by cjp256> <https://github.com/snapcore/snapcraft/pull/2676>17:17
* ijohnson lunches17:25
mupPR snapd#7316 opened: tests: add unit tests for cmd_whoami <Created by ardaguclu> <https://github.com/snapcore/snapd/pull/7316>18:35
ardaguclu_hi, is there any mocking for logging?18:39
ardaguclu_I created PR 731618:39
mupPR #7316: tests: add unit tests for cmd_whoami <Created by ardaguclu> <https://github.com/snapcore/snapd/pull/7316>18:39
mupPR snapd#7315 closed: store, image, cmd: make 'snap download' leave partials <Created by chipaca> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7315>18:48
mupPR snapcraft#2681 opened: spread: fix unbound variable error <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2681>21:38
mupPR snapcraft#2682 opened: tests: change default spread provider to lxd outside of travis <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2682>21:41

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