/srv/irclogs.ubuntu.com/2020/04/01/#snappy.txt

mupPR snapd#8373 closed: tests/lib/prepare.sh: use only initrd from the kernel snap <UC20> <Created by anonymouse64> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/8373>00:43
=== luk3yx` is now known as luk3yx
mborzeckimorning05:39
mborzeckiand back05:42
mupPR snapd#8376 closed: daemon: make POST /v2/systems/<label> root only <Simple 😃> <Created by bboozzoo> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/8376>05:52
mborzeckiyay05:52
jameshThe travis jobs are precariously close to the 50 minute timeout06:01
mborzeckijamesh: trying to squeeze every minute of that test runs ;)06:03
mborzeckimvo: hey06:03
jameshmborzecki: I've had a few test runs that seem to have just been unlucky and were killed06:04
mborzeckijamesh: yeah, the margin is just below 5 minutes now, if anything gets delayed (such as lxd test) we may easily hit the limit06:05
mvohey mborzecki06:06
mvomborzecki: this all sounds we really want to move to GH06:08
mvomborzecki: are tests failing a lot this morning?06:10
mborzeckimvo: 2 of my prs had their travis jobs restarted (or they did not run since yday)06:11
jameshmvo: not particularly more than usual.  I was just commenting on one of my runs getting failed by Travis's 50 minute timeout06:11
jameshand that the usual successful runs aren't enormously shorter than that limit06:12
mvoright :/06:12
jameshmaybe we should stop adding new tests06:13
jamesh:-)06:14
mvoheh :) remove one exiting for each new test06:14
mvohm, looking at 8392, what does "shealding" mean? "This is because the cloud team is shealding by default all the ubuntu06:17
mvoimages on gce "?06:17
* mvo maybe just did not had enough tea06:17
mupPR snapd#8391 closed: tests: fix cross build tests when installing dependencies <Simple 😃> <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8391>06:19
mupPR snapd#8387 closed: store: search v2 tweaks <Simple 😃> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8387>06:21
zygao/06:30
zygamvo: github-has-no-50-minute-limit (just saying)06:31
zygawe could move all travis spread jobs over06:31
zygaand leave some boring checks for next06:31
mvozyga: yeah06:33
jameshI don't know.  A "remove two tests for each new test added" policy sounds appealing06:33
jameshget rid of that regulation06:34
mvojamesh: if I want to report a bug on GH actions to support "fail-ignore" or something, what's the most appropriate place/component in their issues, do you have a suggestion?06:44
zygaTheir community thing06:45
zygaBut that is reported already06:46
jameshmvo: I've seen some general bugs filed against https://github.com/actions/toolkit/.  The forum is also worth looking at06:46
jameshmvo: given that each job shows up as a separate check suite, is it needed?06:46
mvojamesh: I would like to see the overall tickmark green or red06:49
mvojamesh: it's kind of annoying to have to go to the details, it's minor, agreed :)06:49
mvojamesh: we have a bunch of "unstable" systems that have frequent e.g. package manager mirror issues and it would be nice to not count those in the overall "is-green" assesment on the GH pull overview page06:50
mupPR snapd#8386 closed: many: support immediate reboot <UC20> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/8386>06:58
pstolowskimorning07:03
mvopstolowski: good morning - do you think you could have  a quick look at 8383 ? needs a review07:03
pstolowskimvo: yes, of course07:04
mvojamesh: looks like 8289 is ready, it's just spread that's not quite there?07:04
mvojamesh: but it has two plus one etc? can I squash merge it?07:04
jameshmvo: yes.  This was the one that hit the 50 minute kill timeout on the travis jobs07:06
jameshmvo: I think it is good to go07:06
mvojamesh: thanks, merged07:06
mupPR snapd#8289 closed: xdgopenproxy: forward requests to the desktop portal <Squash-merge> <Created by jhenstridge> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8289>07:07
mborzeckiyay!07:07
jameshyay!07:07
mborzeckimvo: 44.2? :)07:08
mvomborzecki: there will be a .2 for the search-v2 :)07:09
mborzeckimvo: cool, can we include the portal proxy as well?07:09
mvomborzecki: I just cherry picked it, I think we want it07:12
mvounless pedronis feels it's too much of a change to include the portal-proxy in 2.44.207:12
pedronismvo: jamesh: what are the risks? it will not be tested much if it goes into .207:15
jameshpedronis: that snaps calling /usr/bin/xdg-open will fail.  The PR's spread tests provide decent confidence for the systems it runs on.  It probably works on the older systems where the test fixture doesn't run.07:19
jameshpedronis: it should make no difference on systems that don't have xdg-desktop-portal installed at all07:19
pedronismvo: when are you cutting .2 ?07:20
jamesh(the spread test runs against the system's real xdg-desktop-portal daemon)07:21
mborzecki#8305 needs a 2nd review07:33
mupPR #8305: cmd/snap-recovery-chooser: add recovery chooser <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8305>07:34
mvopedronis: soon, today ideally07:34
mvopedronis: I would like to go over the 2.44 marked PRs today, i.e. I'm trying to get the seed warning done07:35
mvopedronis: eh, seed-failed warning07:35
=== pedronis_ is now known as pedronis
pedronismvo: there's a small risk of needing a .3 which would be annoying07:37
mvopedronis: yeah, I don't have super strong opinions, we could be conservative and punt the portal stuff to 2.4507:41
* zyga switches to reviews 08:08
* zyga reads 830508:13
mvopedronis, degville I updated the warning text in 8372, I think we should move forward with the warning as a start08:14
degvillemvo: thanks, I'll take a look.08:15
zygatimes are interesting08:37
zygamy kids are doing more video calls than I do08:37
zygamborzecki: what is the marker file for again, to trigger the whole workflow of selection?08:40
mborzeckizyga: to indicate that we detected the trigger during boot08:40
zygaand then run the chooser?08:41
mborzeckiyes08:41
mborzeckithe console conf integration bits only start the chooser iff the marker file is present already, but the extra sanity checks in the chooser do not harm08:43
zygamborzecki: https://github.com/snapcore/snapd/pull/8305#pullrequestreview-38535904908:43
mupPR #8305: cmd/snap-recovery-chooser: add recovery chooser <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8305>08:44
zygamborzecki: I'll pick up another review but please ping me for more iteration on this, even if you just reply to my comments08:46
abeatohey, I am trying to run the UC20 image from cdimage with kvm+tianocore, but kvm crashes on me when selecting install/recovery option, are there any instructions on how to test UC20?08:47
mvoabeato: hm, kvm+uefi (OVMF) should work, did you enable virtio? without virtio on the disk grub is incredible slow in uefi mode08:49
abeatomvo, I'm using this command line (no virtio, I'll try that): kvm -m 1024 -redir :8022::22 -drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF_CODE.fd -drive if=pflash,format=raw,file=OVMF_VARS.fd ubuntu-core-20-amd64.img08:50
zygaactually08:55
zygado we have a single place that explains how to run core2008:56
zygaI'd love to try it08:56
zygabut it seems that at least for now it's a bit of black magic and goat sacrifice08:56
jameshzyga or mvo: could I trouble you to merge https://code.launchpad.net/~jamesh/snappy-hub/test-snapd-dbus-service/+merge/364742 ?  -- this is for a snap used by my dbus-activation branch.08:57
zygasnappy-hub :)08:57
jamesh(unfortunately it is probably a little more effort than just hitting a button though)08:57
zygasure08:57
jameshthanks08:58
zygado we need to rebuild the snap and publish it08:58
zygaor just merge the branch08:58
zygaoh, it's bzr08:58
jameshthe snap needs rebuilding, but that might happen automatically08:58
* zyga checks if bzr is in focal08:58
jameshit is08:58
jameshwell, brz is08:58
abeatozyga, re: UC20, +1 on that :)09:00
mvojamesh: in a meeting right now, if zyga can help that would be great09:02
zygajamesh: it's merged09:02
zygamvo: done09:02
zygajamesh: let me know if the snap needs poking to build09:02
zygabut https://code.launchpad.net/~mvo/+snap/test-snapd-dbus-service claims it's building automatically09:02
jameshI'll keep an eye on it to make sure it starts.  Thank you09:05
mborzeckihmm has the pi kernel grown?09:13
zygacheers: )09:13
zygamborzecki: how big is it?09:13
mborzecki22M09:15
zygafor pi 4?09:19
zygaor pi 2-3?09:19
mborzeckiidk, pi-kernel09:20
mborzeckiwhicheven tht supports09:20
mupPR snapd#8369 closed: boot, overlord/devicestate, daemon:  implement requesting boot into a given recovery system <Needs Samuele review> <UC20> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/8369>09:38
zygamvo: https://github.com/snapcore/snapd/pull/8390#pullrequestreview-38540036509:40
mupPR #8390: state: add state.CopyState() helper <Created by mvo5> <https://github.com/snapcore/snapd/pull/8390>09:40
zygamvo: https://github.com/snapcore/snapd/pull/8382#issuecomment-60714863509:45
mupPR #8382: packaging: detect broken seed during focal and disable it <Created by mvo5> <https://github.com/snapcore/snapd/pull/8382>09:45
zygapstolowski: https://github.com/snapcore/snapd/pull/8378/files#diff-459c7505a1a8a6c804c8a0cf9032350eR82 is unused, is usage of opts coming later?09:49
mupPR #8378: o/configcore: introduce core config handlers (3/N) <Created by stolowski> <https://github.com/snapcore/snapd/pull/8378>09:49
pstolowskizyga: it's needed because all methods must implement common interface now. but perhaps it can be unnamed there09:52
zygaah, I see09:52
pstolowskinot every method will use opts internally09:52
zygaI'm mid-way through so perhaps it gets clear as I go down09:52
zygathanks09:52
zygaI see09:52
zygajust asking :)09:52
pstolowskizyga: sure!09:53
mupPR snapd#8393 opened: cmd/snap,seed: validate full seeds (UC 16/18) for 2.44 <Created by mvo5> <https://github.com/snapcore/snapd/pull/8393>09:55
mvozyga: thanks, looking09:56
zygamvo: ping me for a follow-up of any kind please09:56
mvozyga: thanks10:01
mupPR snapd#8383 closed: store: support for search API v2 <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8383>10:03
mupPR snapd#8394 opened: snap: add `snap debug state --is-seeded` helper <Created by mvo5> <https://github.com/snapcore/snapd/pull/8394>10:15
zygapstolowski: https://github.com/snapcore/snapd/pull/8378#pullrequestreview-38543083810:17
mupPR #8378: o/configcore: introduce core config handlers (3/N) <Created by stolowski> <https://github.com/snapcore/snapd/pull/8378>10:17
zygamvo: https://github.com/snapcore/snapd/pull/8394#pullrequestreview-38545068210:19
mupPR #8394: snap: add `snap debug state --is-seeded` helper <Created by mvo5> <https://github.com/snapcore/snapd/pull/8394>10:19
* zyga breaks to take the dog out10:19
jameshmvo: when you're not busy, could you flip this snap build recipe over to building against Bionic? https://code.launchpad.net/~mvo/+snap/test-snapd-dbus-service10:21
pstolowskizyga: thanks, replied. i'll check if opts can be left unnamed10:25
mvojamesh: do you have the link at hand? happy to do that10:26
mupPR snapd#8343 closed: config, features: move and rename config.GetFeatureFlag helper to features.Flag <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/8343>10:34
mvopedronis: when you have a moment, could you please have a look at 8372 ? hopefully very simple10:39
mvojamesh: nevermind, updated and triggered a rebuild10:40
mupPR snapd#8395 opened: o/ifacestate: handle interface hooks when preseeding <Created by stolowski> <https://github.com/snapcore/snapd/pull/8395>10:45
pedronismvo: there some preexisting comments by zyga there that are not answered, also I think we can remove the XXX11:08
zygare11:34
zygaback, sorry for the lag, $events at home11:34
pedronispstolowski: made some suggestions in 837811:48
pstolowskity11:52
zygamborzecki: FYI https://wiki.archlinux.org/index.php/Talk:Snap11:54
pstolowskipedronis: yep, sounds good11:54
mborzeckizyga: yeah, it's a known thing, we have a forum topic about that too11:54
mborzeckizyga: imo the 'workaround' doesn't make sens anymore, but we don't know what's wrong yet11:55
zygayeah, just wanted to let you know about the talk page11:55
mborzeckizyga: mhm, i get email notifications about edits there :)11:55
zygaah, ok11:55
* zyga too :)11:55
mborzeckibut than's for poking me :)11:55
mborzeckithanks ;)11:55
zygaFYI https://bugs.launchpad.net/snapd/+bug/187012312:30
mupBug #1870123: Panic: unlocking unlocked mutex in unit test <snapd:New> <https://launchpad.net/bugs/1870123>12:30
pstolowskizyga: pushed the changes to #8378, per Samuele's suggestions12:33
mupPR #8378: o/configcore: introduce core config handlers (3/N) <Created by stolowski> <https://github.com/snapcore/snapd/pull/8378>12:33
zygalooking12:33
cachiomvo, debian sid is failing to update https://travis-ci.org/github/snapcore/spread-cron/builds/66859984512:36
cachioI tried many things to correct that but the repo is not consistent12:37
pedronispstolowski: the validateOnly where not core only, no?12:37
cachiomvo, any idea about a workaround?12:37
zyga clang : Depends: clang-9 (>= 9~) but it is not going to be installed12:37
pedronispstolowski: otherwise looks good12:37
zygahmm12:38
zygathe debian image has weird repos:12:38
zygaW: GPG error: http://dl.google.com/linux/chrome/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD1312:38
zygawhy do we have a chrome PPA in a test image?12:38
pedronispstolowski: btw we the tests were passing, maybe we need to mock release.OnClassic a bit more carefully12:41
pedronisthat's old, not really related to the new code12:42
pstolowskipedronis: yes, you're right, thanks for catching!12:49
mupPR snapcraft#3006 opened: repo: always use host release and arch for Ubuntu <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3006>12:52
cachiozyga, hi12:54
cachioI saw that today12:54
cachio+ rm -rf /tmp/snap.rootfs_SwGmI3 /tmp/snap.test-snapd-sh /tmp/snap.test-snapd-simple-service12:54
cachiorm: cannot remove '/tmp/snap.rootfs_SwGmI3': Device or resource busy12:54
cachiois it similar to what you sent yesterday12:55
cachiothe issue in postrm12:55
cachio?12:55
mupPR snapd#8372 closed: devicestate: generate warning if seeding fails <Needs Samuele review> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8372>12:56
zygacachio: no, that's not the same issue13:05
mupPR snapcraft#3007 opened: go: support projects with multiple binaries when using go.mod <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3007>13:31
zygapedronis: I will review the user session daemons PRs13:34
zygaso the pi 4 heatsink without fans for folks in .pl: https://botland.com.pl/pl/obudowy-do-raspberry-pi/15107-obudowa-do-raspberry-pi-4b-aluminiowa-czarna-lt-4b03.html13:34
zygaand the version with fans https://botland.com.pl/pl/obudowy-do-raspberry-pi/15106-obudowa-do-raspberry-pi-4b-aluminiowa-z-dwoma-wentylatorami-czarna-lt-4b02.html13:35
zygaI bought both and I think the fans are useful, the heatsink got pretty hot otherwise13:35
zygathe same product can be obtained in other countries13:35
zygait's brand new so should be coming in stock13:36
ijohnsonabeato: just for the record are you also specifying the -bios option to ovmf ?13:37
abeatoijohnson, I tried that later and it crashed too - maybe the daily had some problem13:39
ijohnsonmmm like you don't even get to the kernel ?13:39
abeatoijohnson, no - but later I created a UC20 image myself with some help from lool and I could get it to run13:40
* zyga will grab some food and get back to reviews13:40
ijohnsonabeato: ok were you using the image from cdimage originally?13:40
abeatoI found other problems though - the network interface was not found by console-conf13:40
abeatoyes13:40
ijohnsonabeato: ok yeah I think there's something wrong with the images on cdimage, needs some investigation13:41
abeatook13:41
ijohnsonabeato: fwiw I just booted a fresh image I built with all edge or 20/edge snaps and it had a network connection fine, my qemu parameters are this:13:50
ijohnsonhttps://www.irccloud.com/pastebin/C5EmaXnz/13:50
abeatoijohnson, thanks, will give that a try13:50
ijohnsonand I built from this model: https://github.com/snapcore/models/blob/master/ubuntu-core-20-amd64-edge.model with these snaps:13:51
ijohnsonhttps://www.irccloud.com/pastebin/nkoV2isM/13:51
abeatocool!13:52
cachiozyga, something insteresting13:54
cachioin bionic and focal we install evolution-data-server pkg13:54
cachiozyga, but https://paste.ubuntu.com/p/YSxvmGnSRK/13:54
zygammm13:54
zygamaybe do rdepends gdm313:55
zygaand see what's there13:55
zygasomething is pulling it in for sure13:55
cachioyes13:55
cachio1 minutes, I am starting the instance13:55
loolabeato: how did you resolve the network connection issue?13:56
zygacachio: rdepends you can check locally13:57
abeatolool, I've not solved it yet :) - I was about to try ijohnson stuff13:57
lool    -device virtio-net-pci,netdev=mynet0 \13:57
loollet's see  :-)13:57
cachiozyga, https://paste.ubuntu.com/p/BxZvWzWV99/13:59
zygacachio: try this command14:00
zygaapt-cache rdepends gdm3 https://www.irccloud.com/pastebin/fVU2NVJt/14:00
zygacachio: we must have got one of those installed14:00
zyga_or_ it's a recommends that is followed14:00
cachioI'll try that14:03
mupPR snapcraft#3004 closed: storeapi: add channel-map endpoint <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3004>14:19
ijohnsonabeato: any luck?14:20
cachiozyga, none of them is installed https://paste.ubuntu.com/p/vHqV7gK2Tk/14:20
mborzeckizyga: ijohnson: pstolowski: which of you would like to take a look at https://github.com/CanonicalLtd/subiquity/pull/655 ?14:20
mupPR CanonicalLtd/subiquity#655: console_conf: implement UC20 recovery chooser <Created by bboozzoo> <https://github.com/CanonicalLtd/subiquity/pull/655>14:20
mborzeckiit might not match exactly our python formatting/naming rules, but tried to make it as close to what is already in subuiquity as i could14:21
ijohnsonmborzecki: I can take a look at it, but I'm far from a python expert so I'll really just be reviewing for logic and not style or pythonicness14:21
ijohnsonalso wow that PR keeps growing :-)14:21
mborzeckithanks!14:22
ijohnsonlast I looked it was like 500 lines14:22
mborzeckiijohnson: tests made it grow a lot14:22
mupPR snapcraft#2995 closed: Add gcc to the build-packages for the gnome-3-34 extension <Created by hellsworth> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2995>14:22
cachiozyga, I think –no-install-recommends should be used as you suggested14:23
cachioy14:23
cachiozyga, https://paste.ubuntu.com/p/bPVYwr9cgt/14:25
cachiozyga, I'll create a new PR in snapd to address that, thanks14:25
pstolowskimborzecki: i can take a look too, with same remark as Ian14:26
mborzeckipstolowski: thanks!14:26
mvothanks zyga for help with this --no-intsall-recommends14:28
zygaI can look soon14:31
mvozyga: I updated 839414:33
zygacachio: yeah, that's great14:35
* zyga checks backlog14:35
mupPR snapd#8396 opened: tests: install dependencies with apt using --no-intsall-recommends <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/8396>14:42
zygamborzecki: as a meta-comment, it would be great to have some type annotations there14:44
abeatoijohnson, I just see a "Create bond" option, is that expected?14:45
pstolowskizyga: can you take another look at #8378?14:45
mupPR #8378: o/configcore: introduce core config handlers (3/N) <Created by stolowski> <https://github.com/snapcore/snapd/pull/8378>14:45
zygapstolowski: sure14:45
ijohnsonabeato: no :-/14:45
ijohnsonabeato: what version of qemu are you using ?14:45
zygawe should snap qemu14:45
ijohnsonabeato: I have QEMU emulator version 4.2.0 (Debian 1:4.2-3ubuntu4)14:45
ijohnsonzyga: someone did I think? but it was not qemu directly it was one of the higher level things14:46
abeatoijohnson, I wonder if it is OVMF_CODE.ms.fd, I do not have that14:46
abeatoijohnson,  2.11.1(Debian 1:2.11+dfsg-1ubuntu7.23 - bionic, I guess I need to upgrade14:47
ijohnsonoh wow yeah I think you need a new qemu version, can you try with a focal machine qemu ?14:47
ijohnsoncmatsuoka: do you remember what the oldest version of qemu we have successfully booted uc20 with is? I seem to remember you had an old version for a while14:47
ijohnsonabeato: re: OVMF_CODE I don't think that's an issue you wouldn't have made it to booting kernel and such if that was the issue14:48
cmatsuokaijohnson: it was the stock bionic qemu I think14:48
abeatoijohnson, will try newer qemu, thanks14:48
cmatsuokaijohnson: but with a newer ovmf14:48
cmatsuokafrom... eoan?14:49
ijohnsonahhhh14:49
ijohnsoncmatsuoka: but again that wouldn't affect networking would it?14:49
cmatsuokanever had problems with networking14:49
cmatsuokamm wait, I think in early images we did have some problems with network options in console-conf14:55
cmatsuokabut it's already fixed14:56
ijohnsoncmatsuoka: yeah I've never had problems with no network save when I wasn't able to boot it at all, but the oldest version of qemu I used was disco15:11
ijohnson(the version of qemu from disco)15:12
zygamvo: https://github.com/snapcore/snapd/pull/8394#discussion_r40169721315:18
mupPR #8394: snap: add `snap debug state --is-seeded` helper <Created by mvo5> <https://github.com/snapcore/snapd/pull/8394>15:18
zygapstolowski: https://github.com/snapcore/snapd/pull/8378#pullrequestreview-385691376 +115:20
mupPR #8378: o/configcore: introduce core config handlers (3/N) <Created by stolowski> <https://github.com/snapcore/snapd/pull/8378>15:20
pstolowskizyga: thanks!15:21
zygahmm15:26
zygalatest lxd is not working on arm15:26
zygafresh install fails15:26
zygaError: Get "http://unix.socket/1.0": dial unix /var/snap/lxd/common/lxd/unix.socket: connect: permission denied15:26
zygaah, on core we're not adding the user to the lxd group15:26
zygabummer15:26
zygaI'll resume reviews in an hour15:29
zygamy family needs some help15:29
zygao/15:29
mvozyga: thanks, in meetings but looking now15:31
* ijohnson takes a break15:33
mvozyga: please reload 8394, looks ok to me, looks like the comment thing stale detection was not working15:35
zygamvo: I reloaded and it's still saying "Output if seeding was successful"15:35
zygais that expected?15:35
mvozyga: yeah, it's different from before15:36
zygaoh15:36
mvozyga: do you think this should be different?15:36
zygaI mean the word output is weird15:36
zygaoutput what?15:36
mvozyga: "Output true/false if seeding was successful"?15:36
zygayeah but the help message just says "output if seeding was succesful"15:36
zygawhat you said above is better15:36
mvozyga: ok, will update15:38
zygait's ok15:38
zygaI can send a follow up15:38
zygajust wasn't sure if github is broken15:38
zygaor if we are talking about separate things without knowing it15:38
zygamvo: LGTM and I'll send a patch15:38
zyga+115:39
mvozyga: updated15:39
zygathank you :)15:40
mvozyga: slightly changed but hopefully good15:40
mvozyga: let me know :)15:40
zygayeah, that's good :)15:40
zygathanks!15:40
mvozyga: thank you!15:40
mvozyga: this will unblock 2.44.2 :)15:40
mupPR snapd#8394 closed: snap: add `snap debug state --is-seeded` helper <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8394>16:16
cachiocmatsuoka, zyga reboot loop in digital ocean also happens16:21
cachiosame bahaviour16:21
cachioso it is not related to gce16:21
mvozyga, ijohnson I updated 8382 to use the snap debug validate-seed to properly fix/disable this16:24
ijohnsonmvo: nice looking now16:25
mvoijohnson: indeed, I'm much happier with this than with what we had before16:26
ijohnsonyes this will hopefully make it a much better experience for users who run into this16:26
ijohnsonmvo thanks, approved16:27
mvo\o/16:27
mvothank you!16:27
mupPR snapd#8393 closed: cmd/snap,seed: validate full seeds (UC 16/18) for 2.44 <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8393>16:28
mvocachio: do we need anything for 2.44.2, any test fixes or anything? if not I will most likely finalize it tonight/tomorrow morning16:29
cachiomvo, no16:30
cachiomvo, no so far16:30
mvocool16:34
mupPR snapd#8384 closed: tests: run "lxd" test again (reverts PR#8381) <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8384>16:35
zygamvo: looking16:46
mupPR snapd#8370 closed: snap-bootstrap: fix disk layout sanity check <UC20> <Created by cmatsuoka> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8370>16:47
zygamvo: https://github.com/snapcore/snapd/pull/8382#pullrequestreview-38576843816:49
mupPR #8382: packaging: detect/disable broken seed in the postinst <Created by mvo5> <https://github.com/snapcore/snapd/pull/8382>16:49
mvozyga: replied17:06
zygamvo: approved, thanks17:07
mvozyga: \o/17:07
jdstrandmvo (cc ijohnson): I reviewed PR 8304 (and removed the blocked tag)17:09
mupPR #8304: usersession/userd: add zoommtg url support <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8304>17:09
jdstrandijohnson: note, there is a non-blocking comment in there about zoomus://17:09
ijohnsonthanks jdstrand I haven't seen that before, have you ever seen zoomus:// ?17:10
jdstrandijohnson: no, just in that blog. it seems like it is just for iOS/android17:10
ijohnsonjdstrand: ack17:10
jdstrandijohnson: but I don't know for sure17:10
mupPR snapd#8304 closed: usersession/userd: add zoommtg url support <Created by anonymouse64> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/8304>17:12
ijohnsonmvo: do you want to cherry-pick 8304 on top of release/2.44  ?17:20
ograjdstrand, snap install zoom-client ;) (sadlyy i cant make it register a mime type to open zoomus:// urls yet)17:27
jdstrandogra: https://forum.snapcraft.io/t/allow-snaps-to-register-new-mime-types/6467/1017:30
jdstrandogra: I suggest Wimpress or someone raise this in stakeholders meetings to see if it can get roadmapped17:30
ograwell, it isnt urgent and i know there are more pressing tasks on the TOD of the snapd team ... but yeah, i saw that17:31
ogra*TODO17:31
ograiirc that thread is pretty old already17:32
* ogra checks again17:32
jdstrandogra: it is, but with new comments17:32
jdstrandish17:32
ograyeah17:33
cjp256stgraber: came across an random failure `aa-exec: Permission denied` during `lxd waitready` following snap install: https://travis-ci.org/github/snapcore/snapcraft/jobs/666847835#L403  I'm not sure if it's an LXD issue or maybe a snapd issue?  Any idea?  Happy to submit a bug report, just wanted to send it to the right place :)17:42
stgrabercjp256: sounds like the lxd-support interface wasn't properly connected or applied17:43
cjp256stgraber: thanks!17:44
cjp256stgraber: fwiw, reported at https://bugs.launchpad.net/snappy/+bug/187020117:57
mupBug #1870201: lxd-support interface doesn't appear to get properly connected/ready <Snappy:New> <https://launchpad.net/bugs/1870201>17:57
mupBug #1870201 opened: lxd-support interface doesn't appear to get properly connected/ready <Snappy:New> <https://launchpad.net/bugs/1870201>17:58
interfectHey, what directories does snapd store state in?18:36
interfectI'm trying to run snapd inside Docker, and I need to set up volumes wherever snapd writes files it expects to read later, so I can destroy and recreate the container and not lose installed snaps.18:37
interfectApparently preserving /var/run/snapd and /var/cache/snapd is not sufficient. Where else does snapd write to?18:38
ogra/etc/systemd/system ....18:39
ograand /varLib/snapd18:39
ogra*/var/lib/snapd18:39
ograand if you have users also ~/snap and all the data therein18:40
interfectHm. It looks like it drops files in /etc/systemd/system which need to be preserved, next to a bunch of files from the base image that also need to be there. So you can't just mount an empty host directory there to hold snapd's files, because that would hide all the files from the base system.18:48
zygastgraber, cjp256 we've seen this randomly in tests as well19:09
zygabut I'm skeptical it's on snapd side, we really don't run any commands before confinement is set up19:09
zygaas for the case that an interface is not connected we would have to look19:10
zygastgraber: when does lxd use aa-exec? super early on?19:10
mupPR snapd#8392 closed: tests: remove google-tpm backend from spread.yaml <Simple 😃> <Skip spread> <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8392>19:11
mupPR snapd#8396 closed: tests: install dependencies with apt using --no-install-recommends <Simple 😃> <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8396>19:11
stgraberzyga: in this case, cjp256 is running the "lxd" command from the snap which does use the a--exec wrapper logic19:12
zygacjp256: in the case when it failed, did it work just a moment later19:13
zygacjp256: or did you have to do something to fix it?19:13
cjp256zyga: it was on google spread, i couldn't really do anything to test that unfortunately19:13
zygaaha19:13
zygayeah, same as we saw :/19:13
zygait's rather infrequent, maybe once a week19:13
cjp256but i expect that it worked fine on the next attempt19:13
cjp256i imagine we can just write a simple script to loop the same steps and maybe repro19:14
interfectOK I worked out how to get the volume to initialize from the container with https://github.com/MatchbookLab/local-persist but preserving /etc/systemd/system and /var/lib/snapd and /home isn't enough to make snapd keep its state across destruction and recreation of the container.19:18
interfectOr rather it seems that the snap stays installed but the command it sets up on the PATH goes away19:18
interfectIs /snap/bin bind-mounted over from somewhere else on the filesystem or something?19:19
ijohnsoninterfect: unfortunately snapd inside docker does not really work, because snapd needs lots of permissions to run, so even if you can get all the files in place, snapd would probably not start successfully19:24
interfectNo I have it starting successfully, and I can even run snaps!19:27
interfectIt looks like mounting /snap as a Docker volume also solves the persistence problem.19:28
interfectI'm working on top of https://github.com/ogra1/snapd-docker19:28
interfectBut I'm adding the bits I need to also grant X11 access19:28
interfectIt manages to turn off enough of Docker's confinement that snapd can run and do its confinement.19:29
interfectThe only problem I have left is that I need to start a snap as root before it runs properly as my user.19:29
interfectOtherwise I get something like: cannot preserve mount namespace of process 875 as teatime.mnt: Permission denied19:30
interfectThe only Google result for that error is the snapd source code; can anyone explain why it needs to preserve a mount namespace and why it would only work if root is running the `snap` binary? `snapd` is running as root the whole time.19:31
ijohnsoninterfect: ah well if you're using the bits from ogra's snapd-docker then you've already probably read the large security caveats there20:18
ijohnsoninterfect: why can't you run snaps outside of docker anyways?20:18
ijohnsoninterfect: I don't know exactly what you need to allow to make that mount namespace error go away, but it's quite likely that things have changed in snapd enough that ogra's project doesn't fully work there20:19
mupPR snapcraft#3008 opened: cli: use the channel-map api for status <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/3008>20:32
interfectijohnson: My home directory isn't under /home on my system, so I'm trying to work around the lack of any support in snapd for this: https://forum.snapcraft.io/t/support-for-non-home-homedirs/1120921:06
interfectijohnson: If I run snapd and all the snaps in a Docker container, I can mount my real home directory as /home/$USER in the container, and also provide a /etc/passwd that claims that that is my home directory.21:07
interfectThe recommended workaround of bind mounting your home directory into /home isn't sufficient, because it looks at /etc/passwd instead of $HOME for the user executing the snap to try and figure out where the home directory is.21:08
interfectSo in addition to doing the bind mount you would still have to actually change your home directory to /home/$USER, as far as I can tell.21:09
interfectThere must be a much lighter-weight way to trick snap/snapd into thinking your home directory is actually set to /home/$USER, but I haven't found one, and putting the whole thing in Docker seems to actually mostly work.21:10
interfectIMHO if Snap apps just saw my home directory as /home/$USER wherever it *really* was, it would save me a lot of headaches. I'm not sure having a consistent view of file paths between snap apps and the rest of the system is really that important.21:21
mupPR snapd#8397 opened: cmd/snap-confine/mount-support-nvidia.c: add libnvoptix as nvidia library <Simple 😃> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8397>22:37
=== Bruce is now known as Guest39351
mupPR snapd#8254 closed: usersession/userd: add "zoommtg" to the white list of URL schemes handled by xdg-open <â›” Blocked> <Created by troyready> <Closed by troyready> <https://github.com/snapcore/snapd/pull/8254>23:17

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