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

zygao/06:35
zygaday of apple updates06:39
zygaeverything has an update today06:40
mborzeckimorning06:44
mborzeckimvo: mroning06:59
mborzeckimvo: could you take a look at https://github.com/snapcore/snapd/pull/8289 ?07:00
mupPR #8289: xdgopenproxy: forward requests to the desktop portal <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/8289>07:00
mvomborzecki: good morning07:01
mvomborzecki: sure07:02
zygagood morning guys07:39
zygaI need to help with breakfast07:39
zygathank you for reviewing the actions PR07:41
zygaI'll be around soon07:41
mvozyga: good morning07:55
mvomborzecki: what is the best snap to test the xdg branch with? just want to give it a quick test run for realz on my focal system07:56
mborzeckimvo: hm i think some browser, download a file and then choose to open it or open the download directory, firefox or chromium should work07:57
mborzeckimvo: or just a snap with desktop plug, run xdg-open <somefile>07:58
mborzeckior <some-dir>07:58
mvomborzecki: ok07:59
pstolowskimorning08:05
mvohey pstolowski08:06
mborzeckipstolowski: pedronis: hey08:07
mborzeckihm soemthing broken with travis <-> gh08:07
zygare08:08
mborzeckithe travis job in #8333 was green, but the status in gh page was still in-progress, i've restarted one of the jobs to see if the status will get updated, but we should monitor whether this is a wider problem :/08:08
mupPR #8333:  wrappers: fix timer schedules that are days only <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8333>08:08
zygamvo: can you please land https://github.com/snapcore/snapd/pull/833108:08
mupPR #8331: github: run spread via github actions <Skip spread> <Created by zyga> <https://github.com/snapcore/snapd/pull/8331>08:08
zygathere's a 2nd run of travis pending there08:08
zygaand it's just a waste of time to wait08:08
mvozyga: if we land it as is, don't we generate twice the GCE cost?08:09
zygamvo: hmm hmm08:09
zygaindeed08:09
zygawhat do you suppose we should do08:09
mvozyga: if we switch to GH action we should disable travis integration tests08:10
zygamvo: how do we do that?08:10
zygajust edit the yaml?08:10
mborzeckizyga: yeah, i think so08:11
zygaok, let me08:11
zygamvo: I can move the macos build over as well08:12
mvozyga: I think that makes sense, can GH actions do that?08:13
zygayes08:13
mvozyga: if we don't disable this we still have to wait for travis08:13
zygamvo: libzt has tests for windows, macos and linux this way08:14
mvozyga: we also need to make sure we don't regress08:14
zygamvo: little by litte, let me move travis spread over first08:14
zygayeh08:14
zygaI won't do it in one big change08:14
mvozyga: in the sense that the static tests need to run shellcheck and all that08:14
mvozyga: sure08:14
zygayeah08:14
mvozyga: just stating the obvious I guess :)08:14
zygabeing careful is good :)08:14
zygabut I'm happy that this will save the team a *lot* of time08:15
pedronismborzecki: I'm going to pick #8336, if I understand correctly you reviewed the one after, and are mostly happy with it?08:16
mupPR #8336: boot,many: add modeenv.WriteTo, make Write take no args <Simple 😃> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8336>08:16
zygamvo: pushed https://github.com/snapcore/snapd/pull/833108:17
mupPR #8331: github: run spread via github actions <Skip spread> <Created by zyga> <https://github.com/snapcore/snapd/pull/8331>08:17
zygajust watch how they run08:17
ijohnsonpedronis: sorry I missed your ping last night I am working now and will address your comments in that PR if you are not already done08:18
zygaijohnson: good morning? !08:18
ijohnsonhey zyga08:18
zygahow are you up at this time?08:18
pedronisijohnson: well, I didn't expect you to be up at this time08:19
ijohnsoneh it's not a big deal, didn't get much done last night so making up the time now08:19
pedronisijohnson: I'm kind of half way, if you can work continue downstream it's fine, I also want to remove DeviceManager.modeEnv in an immediate follow up08:20
pedroniss/work continue/continue work/08:20
zygacould someone please tell me how google-tpm backends used?08:21
zygado we only run them manually?08:22
mborzeckipedronis: yeah, i think it looks ok, devicemgr seems to be the only place where we may need add a consistency check08:27
pedronismborzecki: I'm just going reread it, as I said I want to remove it08:44
pedronisin the next one08:44
mborzeckiok08:44
pedronismborzecki: ijohnson: pushed, please take a look08:58
pstolowski#8335 needs a second review if anyone has a moment, and it will help with one of my PRs09:12
mupPR #8335: many: introduce naming.WellKnownSnapID <Created by pedronis> <https://github.com/snapcore/snapd/pull/8335>09:12
zygaI'm seeing failures on core16 reboot test09:16
zygakill timeout reached09:16
zygais anyone else seeing this?09:17
pstolowskimborzecki: #8333 can land?09:18
mupPR #8333:  wrappers: fix timer schedules that are days only <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8333>09:18
mborzeckipstolowski: it's finally green?09:19
pstolowskiyes09:19
mborzeckisquash merged it09:19
mvomborzecki: \o/ will cherry-pick (in a meeting right now)09:20
mupPR snapd#8333 closed:  wrappers: fix timer schedules that are days only <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/8333>09:20
mborzeckimvo: ^^09:20
mvomborzecki: done09:22
mborzeckimvo: thank you!09:22
mvomborzecki: thank *you* :)09:22
* mborzecki is just fixing the bugs he introduced ;)09:23
pedronisyes #8335 needs a 2nd review09:45
mupPR #8335: many: introduce naming.WellKnownSnapID <Created by pedronis> <https://github.com/snapcore/snapd/pull/8335>09:45
pedronismborzecki: ijohnson: thanks for looking 8336, will work on a follow up to remove DeviceManager.modeEnv09:45
Laneyhi, I've got a snap that is complaining about $XDG_RUNTIME_DIR not existing09:53
Laneythat is true, but I'm wondering what I'm supposed to do about it; shouldn't snapd be creating this?09:53
zygaLaney: do you have some more details, is is a strict orclassic snap?09:54
Laneyhey zyga09:54
zygaLaney: how are you running it (ssh/desktop/etc)09:54
zygahey :)09:54
LaneyIt's a strict one that I've been working with ximion on creating over the last few days (we've been running with dev mode up until now)09:54
Laneyok, so I created an LXD container running bionic, used `lxc shell` to get into that, installed the snap and then tried to run its binary09:55
Laneyas the 'ubuntu' user09:55
zygaok09:56
zygahow did you do that?09:56
Laneyrun the binary?09:56
zygaspecifically the last past09:56
zyga*part09:56
LaneyI just ran the thing that is in $PATH09:56
zygaas the ubuntu user09:56
Laneyappstream-generator <some arguments>09:56
zygalxc shell drops you as a root into the container09:56
zygawhat did you do next?09:56
Laneysudo -u ubuntu -i09:56
zygaok09:57
Laneyah ok, are you saying that I didn't get a full PAM sessino and the snap requires that?09:57
zygadid that define $XDG_RUNTIME_DIR?09:57
zygaI suspect that's the case09:57
zygait's a mess/zoo, depending on how one looks09:57
Laneywell no, but snapd sets it anyway ;-)09:57
zygayes but we assume it was there to begin with since we use a subdirectory09:58
zygaLaney: can you try with runuser -l ubuntu please09:58
zygaor runuser -l - ubuntu09:58
zygait's gimmicky09:58
jameshLaney: it's probably because snap-confine modifies XDG_RUNTIME_DIR (setting it to $XDG_RUNTIME_DIR/snap.$SNAP_NAME), but doesn't create that directory09:59
jameshthat would be my guess09:59
zygajamesh: yeah, I'm sure it's that09:59
Laneycorrect09:59
zygaI guess we could be smarter09:59
Laneyso I've been given an invalid value there09:59
jameshthere is a workaround in snapcraft-desktop-helpers to try and create it09:59
zygaby not setting it09:59
zygaif it's unset09:59
zygait's not like we're pam09:59
zygawe don't want to be09:59
zygawe're in self-isolation mode10:00
jameshsnap-confine used to create it, but the setup_user_xdg_runtime_dir call is commented out for some reason10:01
zygajamesh: it's been dead for years10:01
jameshyep10:01
zygajamesh: I think we cannot really create it because it's a part of a bigger setup process10:01
zygaI would prefer to understand why we're not getting one10:01
jameshand been tripping people up for years10:01
mupPR snapd#8336 closed: boot,many: add modeenv.WriteTo, make Write take no args <Simple 😃> <UC20> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8336>10:04
Laneygot a call, hang on, I'll be back with you in a little minute10:05
pstolowskii need to do some shopping while it's quiet in the shops. will be back in ~1h10:05
* pstolowski goes to grocery10:06
Laneyzyga: Right, ok, so if I have a PAM session then the regular $XDG_RUNTIME_DIR is created but the snap-specific one isn't - is it up to me to make that atm?10:11
zygaLaney: hmmm10:11
zygaLaney: no, that's a known bug :)"10:11
zygabut usually apps kind of handle that (sometimes010:12
zygathat bug we should fix10:12
zygait was in the dark days of how do we fix this10:12
zygaand endless discussions on how to proceed10:12
zygamvo: offtopic, unstable workers actually pass10:12
Laneyheh10:12
Laneyok10:12
mvozyga: haha10:13
mvozyga: nice10:13
zygacan you merge 833110:17
zygaI think waiting for travis there is not useful10:17
zygaespecially that reboot test seems to be failing10:17
zygaLaney: not to leave you hanging, I think this is our bug10:17
mupPR snapd#8331 closed: github: run spread via github actions <Skip spread> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8331>10:22
Laneyzyga: ok, thanks, that part is at least not too hard to deal with though10:28
mupPR snapd#8338 opened: boot/bootstate20: rm bootState20Base.loadModeenv() <Simple 😃> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8338>10:29
mupPR snapd#8339 opened: dirs,many: add EarlyBootUbuntu{Data,Boot,Seed} <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8339>10:30
mupPR snapd#8340 opened: boot, snap-bootstrap: move initramfs-mounts logic to boot pkg <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8340>10:34
ijohnsonpedronis: ok, I finished the middle ground implementation, see ^ it is stacked on 8339, so I'd recommend looking at that one first10:34
* ijohnson needs to go eat something, biab10:35
mupPR snapd#8326 closed: [wip] boot: move initramfs-mounts logic to boot pkg <UC20> <Created by anonymouse64> <Closed by anonymouse64> <https://github.com/snapcore/snapd/pull/8326>10:37
mupPR snapd#8019 closed: [RFC] interfaces/apparmor: don't emit deny rules in devmode confinement <Created by anonymouse64> <Closed by anonymouse64> <https://github.com/snapcore/snapd/pull/8019>10:38
zygabrb10:43
mupPR snapd#8341 opened: github: don't fail-fast <Simple 😃> <Skip spread> <Created by zyga> <https://github.com/snapcore/snapd/pull/8341>11:19
pstolowskire11:24
mupIssue core20#27 closed: iptables is missing <Created by alfonsosanchezbeato> <Closed by xnox> <https://github.com/snapcore/core20/issue/27>11:37
mupPR core20#28 closed: Add iptables package <Created by alfonsosanchezbeato> <Closed by xnox> <https://github.com/snapcore/core20/pull/28>11:37
mupPR snapd#8342 opened: client, daemon, overlord/devicestate: request system action API and stubs <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8342>11:49
mborzeckipedronis: ^^11:49
zygauh11:58
zygagetting a qemu image on focal run into this bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=95176611:59
mupPR snapd#8343 opened: config, features: move and rename config.GetFeatureFlag helper to features.Flag <Created by stolowski> <https://github.com/snapcore/snapd/pull/8343>12:03
pedronisijohnson: mborzecki: https://github.com/snapcore/snapd/pull/834412:06
mupPR #8344: overlord/devicestate,boot: do not hold to the originally read modeenv <Created by pedronis> <https://github.com/snapcore/snapd/pull/8344>12:06
mupPR snapd#8344 opened: overlord/devicestate,boot: do not hold to the originally read modeenv <Created by pedronis> <https://github.com/snapcore/snapd/pull/8344>12:06
pedronis#8309 needs a 2nd review12:09
mupPR #8309: o/configcore: FilesystemOnlyApply method for early configuration of core (1/N) <Created by stolowski> <https://github.com/snapcore/snapd/pull/8309>12:09
=== facundo__ is now known as facubatista
zygabrb12:16
mupPR snapd#8341 closed: github: don't fail-fast <Simple 😃> <Skip spread> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8341>12:28
zygata12:28
pedronispstolowski: I have quite a few meetings today after the standup, can we talk about the code reorg in conficore before the standup?12:28
mupPR snapcraft#2972 closed: catkin plugins: remove bash workaround for catkin cmake args <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2972>12:34
pedronismborzecki: some initial quick comments on #834212:37
mupPR #8342: client, daemon, overlord/devicestate: request system action API and stubs <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8342>12:37
mborzeckipedronis: thanks, let me see12:39
mborzeckipedronis: hm sytem label isn't part of SystemAction but we could use /v2/systems/{label}, wdyt?12:41
pedronismborzecki: ah, sorry12:42
pedronismborzecki: yes, that would be fine. you can do snap install foo  with /snaps/foo action=install12:43
mborzeckicool12:44
pedronismborzecki: so DoSystemAction(sysLabel, sysAction) ?12:44
mborzeckipedronis: yes, and {"action":"do", "mode": "<action>"} POST'ed to /v2/systems/{label}12:45
mborzeckipedronis: we can probably skip the "title" bit which is part of SystemAction in the request12:46
pedronismborzecki: I think is much easier to give back what we received12:46
pedroniswe just can make some bits optional12:47
pedronisbut I doube we just simply  pass mode along forever12:47
pedronis*doubt12:47
mborzeckiok12:49
pstolowskipedronis: yes, i'm having a quick lunch atm, will be available in ~20 minutes12:52
pedronispstolowski: ok, ping me13:10
* zyga is happy to see green spread on unstable systems so often13:14
pstolowskipedronis: i'm ready13:14
pedronispstolowski: going to the standup13:14
zygaI think I know why session-tool _sometimes_ fails its spread test13:25
mupPR snapd#8345 opened: boot/overlord: rename operating mode to system mode  <Created by pedronis> <https://github.com/snapcore/snapd/pull/8345>13:56
pedroniszyga: got some apt failure there ^ with gh actions13:58
pedronisdo I need to merge master?13:58
zygaijohnson saw this once as well13:58
zygalet me look13:58
zygahmm13:58
zygano, no need13:58
zygaI have an idea how to avoid this entirely13:59
zygaoh, standup13:59
zygapedronis: I'll send a patch after the call13:59
mupPR snapd#8346 opened: github: try caching apt archive <Created by zyga> <https://github.com/snapcore/snapd/pull/8346>14:10
zygapedronis: fixed14:14
zygaI added apt-get update14:14
zygaand added caching so we should only fetch it once for now14:14
zygauntil debian/control changes14:14
mvopstolowski: please try https://paste.ubuntu.com/p/73PbWvsTfy/14:49
mvopstolowski: looks like a very silly bug if it's that14:49
mupPR snapcraft#2993 opened: repo: remove dead code from deb implementation <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2993>14:50
mborzeckiso azure.archive.ubuntu.com is still out of sync now?14:55
pedronispstolowski: I forgot, this is the PR to pick up: https://github.com/snapcore/snapd/pull/8160 once the configcore stuff is a bit more settled (target is 2.45)15:00
mupPR #8160: overlord/configstate: add backlight option <Created by EthanHsieh> <https://github.com/snapcore/snapd/pull/8160>15:00
pstolowskipedronis: ack15:03
pstolowskimvo: yes, that fixes it!15:07
ijohnsonugh well I guess I have to live with 100% scaling on my high dpi monitors for a little while :-/15:11
cachiomvo, which is the lp for the upgrade error?15:17
pstolowskimvo: are you going to propose that fix?15:18
ijohnsoncachio: it's https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1865063 and/or  https://bugs.launchpad.net/snapd/+bug/186870615:18
mupBug #1865063: snapd package hangs on deb postinst <focal> <snapd (Ubuntu):Fix Released> <https://launchpad.net/bugs/1865063>15:18
mupBug #1868706: Snapd postinst script hangs <snapd:Triaged> <dpkg (Ubuntu):New> <systemd (Ubuntu):New> <https://launchpad.net/bugs/1868706>15:18
cachioijohnson, thanks15:18
pstolowskimvo: nb, it's this bug https://bugs.launchpad.net/snapd/+bug/186419715:20
mupBug #1864197: errtracker unit tests interact with real whoopsie.service <snapd:Confirmed> <https://launchpad.net/bugs/1864197>15:20
mborzeckiijohnson: i use the 1.25 scaling factor in gnome tweaks in my 4k setup15:23
mvopstolowski: thanks, will do a PR shortly15:24
mborzeckiijohnson: otherwise it's too small, and can't really use fractional scaling as that's wayland only and then sharing windows doesn't work :/ yay for linux desktop15:24
* zyga breaks for lunch15:26
mupPR snapcraft#2994 opened: repo: move filtered package list from manifest.txt into a python list <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2994>15:26
ijohnsonmborzecki: I use 150% normally with the experimental x11 fractional scaling which worked great for me up until an update this morning15:29
mborzeckiijohnson: heh, abandon all hope ;)15:30
ijohnsonsomeone is helping me debug the issue in #ubuntu-desktop though, so probably can at least figure out what to revert for now :-)15:30
mborzeckiijohnson: hm you're using wyaland right?15:31
ijohnsonmborzecki: no x1115:32
mborzeckiijohnson: hmmmm assumed that when you wrote x11 you actually meant wayland :) but that's interesting, do you know if it's part of upstream mutter on x11 or just patched in ubuntu?15:33
mborzeckii remember upstream was wayland only15:33
ijohnsonI don't remember, but I've been using the experimental scaling since like 17.10 I think ?15:33
mupPR snapd#8347 opened: errtracker: add missing mocks <Simple 😃> <Skip spread> <Created by mvo5> <https://github.com/snapcore/snapd/pull/8347>15:49
ijohnsonpedronis: ok so I have the dirs refactored, one question though, should the callback take the new rootdir as an arg, I assume yes, but also I have a test to make sure it works to just reference a derived var (i.e. dirs.RunMnt) in the callback and that works too, since I think that will be the most common case15:55
pedronisijohnson: yes, it should take the rootdir, that seems the natural thing15:56
ijohnsonpedronis: ok sure15:56
ijohnsonwill push up changes shortly then15:56
pedronisijohnson: but do we use RunMnt for anything that is not boot related?15:57
pedronisbecause otherwise it should move too15:57
ijohnsonoh did you want me to remove RunMnt too15:57
ijohnsonsorry I missed that, I just renamed it to RunMntDir15:58
ijohnsonlet me look and see where all we use it15:58
pedronisijohnson: sorry, but we it's only use cases, yes I would move it until we have a reason to do otherwise15:58
pedronis*if boot is the only use case15:58
ijohnsonso RunMnt is used in devicestate for cloud-init config dirs during install mode, as well as snap-bootstrap and boot15:59
ijohnsonbut in devicestate we could refactor to use boot.EarlyUbuntuSeed instead16:00
ijohnsonso yeah I think we could safely move RunMnt to boot as well16:00
pedronisijohnson: it's used to make one of those dirs16:01
pedronisI think16:01
pedronisyes16:01
ijohnsonright devicestate does `cloudCfg := filepath.Join(dirs.RunMnt, "ubuntu-seed/data/etc/cloud/cloud.cfg.d")` but it could just as easily do:16:02
ijohnson`cloudCfg := filepath.Join(boot.EarlyUbuntuSeed, "data/etc/cloud/cloud.cfg.d")`16:02
pedronisyes16:02
ijohnsonack ok I will work a bit more to untangle these then16:03
pedronisijohnson: did you fix sysconfig , just checking ?16:09
ijohnsonpedronis: yes like this https://pastebin.ubuntu.com/p/V6cqksVFm5/16:10
ijohnsonwell, am fixing need to fix some unit tests too16:10
pedronisijohnson: ok16:10
pedronisanyway I'll be around hacking a bit and doing review for a while today16:11
pedronisbut off tomorrow16:11
ijohnsonokay sure I am trying to wrap up the dirs thing ASAP for you to look at16:11
mborzeckimvo: conflicts in https://github.com/snapcore/snapd/pull/801016:15
mupPR #8010: snap-bootstrap: add support for "recover" mode <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/8010>16:15
ijohnsonpedronis: should we have a helper var in boot for `filepath.Join(boot.EarlyUbuntuData,"system-data")` ?16:19
ijohnsonI'm having to write that a lot in fixing things to not use dirs.RunMnt16:19
pedronisijohnson: yes, if we find a good name for it, maybe mvo as a suggestions, that's basically writable inside data ?16:22
ijohnsonto pedronis what about `EarlyWritableDir` ?16:24
pedronissounds okish16:24
ijohnsonalright I'll go with that for the PR, if anybody thinks of something different it's easy to rename later16:25
* mvo is not good with names16:32
pedroniszyga: mvo: can we reach some conclusion here: https://github.com/snapcore/snapd/pull/8346  , I'm getting an email about each of my PRs saying it failed16:33
mupPR #8346: github: cache Debian dependencies for unit tests <Skip spread> <Created by zyga> <https://github.com/snapcore/snapd/pull/8346>16:33
mvopedronis, zyga we should do one that just adds "apt update"16:33
mvozyga, pedronis this will make the failure go away16:33
zygamvo: let me do that quickly16:34
mvota16:34
clmsyhi everyone16:36
clmsyi am in need of a bit help16:36
clmsyi am building an image that contains some snaps (with the ubuntu-image tool)16:36
clmsythis image is going to be an image to flash other images to devices16:36
clmsythus i want to include godd with it16:36
clmsyand i can do this by16:36
clmsy--snap godd=beta16:36
zygahttps://github.com/snapcore/snapd/pull/8348/files16:37
mupPR #8348: github: apt-get update before installing build-deps <Skip spread> <Test Robustness> <Created by zyga> <https://github.com/snapcore/snapd/pull/8348>16:37
clmsygiving this arg to ubuntuimage tool16:37
mupPR snapd#8348 opened: github: apt-get update before installing build-deps <Skip spread> <Test Robustness> <Created by zyga> <https://github.com/snapcore/snapd/pull/8348>16:37
clmsybut this doesnt work for me because it somehow ends up in strict confinement16:37
zygamvo: I love how those tests just start *instantly*16:37
zygaI feel so discouraged by travis sometimes16:37
clmsythe tool says i can describe risk with the decleration ( ubuntu-image snap --help)16:38
clmsyit says i need to do this ===>   <snap>=<channel|risk>16:38
clmsy 16:38
clmsyso i tried a lot of things16:38
clmsy--snap godd=beta/devmode16:38
zygamvo: it passed the github action, please merge it16:38
clmsy--snap godd=beta|devmode16:38
clmsynon of it works16:39
zygaclmsy: risk level is not devmode16:39
zygaclmsy: you are asking to install a snap in devmode16:39
mvoclmsy: it sounds like godd should get an update, i.e. to non-devmode and using the home and block-devices interfaces or something like this16:39
clmsyyeah so the image is in /writable/system-data/snap/blahblah16:39
clmsygodd cannot see this path16:39
clmsy:(16:39
clmsyi was trying to give it global access16:40
clmsyso when i do sudo godd if=/writable/blahblah it can access it16:40
zygahmm16:40
zygaso you put some extra files in /writable?16:40
clmsyyes basically i am baking an image that has an image already included in it16:41
clmsythis image will be used to flash the inside image to devices permanently16:41
clmsythere is an .img file there under writable16:41
clmsyi need to make godd access it16:41
clmsybut audit logs show that its kinda restricted16:41
clmsyi thought i can just do --snap godd=beta/devmode16:42
zygaI understand16:42
zyganope, IIRC there's no switch for that16:42
mvoclmsy: would using good old "dd" as a workaround work for you?16:43
clmsyill try that i guess16:43
mupPR snapd#8348 closed: github: apt-get update before installing build-deps <Skip spread> <Test Robustness> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8348>16:49
zygapedronis: it should be better now16:52
mupPR snapd#8349 opened: tests: cleanup security-private-tmp properly <Simple 😃> <Test Robustness> <Created by mvo5> <https://github.com/snapcore/snapd/pull/8349>16:58
ijohnsonpedronis: #8339 is updated now, it grew quite a bit though17:02
mupPR #8339: dirs: rm RunMnt; boot: add vars for early boot env layout <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8339>17:02
ijohnsonshould be pretty simple to review though17:02
pedronisthx17:02
ijohnsonhey folks, my travis <-> github link isn't working, so I can't restart jobs, can someone restart https://travis-ci.org/github/snapcore/snapd/builds/666710776?utm_source=github_status&utm_medium=notification for me? debian-sid just failed because a network error17:09
mupPR snapd#8346 closed: github: cache Debian dependencies for unit tests <Skip spread> <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/8346>17:10
mupPR snapd#8350 opened: github: cache Debian dependencies for unit tests <Skip spread> <Created by zyga> <https://github.com/snapcore/snapd/pull/8350>17:14
mvopedronis: is 8010 something you want to review too or are the existing +2 it has enough? it has a conflcit right now so I need to do some work on it anyway first :)17:24
ijohnsonmvo: note that 8010 will conflict with 8339, just fyi. I'm happy to fix my branch if that one lands first17:25
pedronismvo: sorry, I need to talk what is 801017:26
pedroniss/talk/look/17:26
pedronismvo: it needs my +1, you need to answer my question in the check-list actually :)17:27
mvopedronis: uh, I missed this question, trying to find it now17:29
pedronismvo: maybe my reasoning in the check-list is off, but we need to agree what are the constraints on recover17:29
mvopedronis: looking now, sorry17:29
mvoijohnson: thanks, yeah, it sounds like someone needs to do some more conflict resolving :)17:30
pedronisijohnson: at this point 8010 needs probably to wait next early next week17:30
ijohnsonpedronis: ack, mvo if you're okay with it I can re-de-conflict 8010 when my PR lands to make it use the new shiny things, it should be easy17:31
mvopedronis: replied17:31
mvoijohnson: sure, works for me17:31
pedronismvo: I suppose that the sealing will put a lock on things so maybe we are safe anyway17:34
pedroniswe will not enable it until we add the right command line to the policies17:34
mvopedronis: aha, good idea17:34
pedronisbut we need to be careful17:34
mvopedronis: really nice idea :)17:34
mvo+1 for careful17:34
pedronisijohnson: I did a pass on #8339,  my biggest (naming) wondering there is this: https://github.com/snapcore/snapd/pull/8339#discussion_r39804357817:43
mupPR #8339: dirs: rm RunMnt; boot: add vars for early boot env layout; sysconfig: take targetdir arg <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8339>17:44
ijohnsonhmm yes I did forget to add a Dir suffix on all of those17:44
ijohnsonI'm not sure how else to rename the vars to make it clear they are meant to be used in early boot, I guess we could say something like InitramfsRunMnt maybe ?17:45
ijohnsonerr InitramfsRunMntDir17:45
ijohnsonpedronis: ^17:45
mupPR snapd#8351 opened: config: apply vitality-hint immediately when the config changes <Created by mvo5> <https://github.com/snapcore/snapd/pull/8351>17:45
pedronisyes, it's boring and long, but maybe it's what we need17:45
mvo:like: fwiw - even though it's long17:47
ijohnsonok I will rename to InitramfsRunMntDir17:48
pedroniss/Early/Initramfs/ basically17:48
pedronisto be clear17:48
pedronisnot just the first one17:48
ijohnsonyes17:48
pedronisthe rest of comments should be more directly applicable17:49
ijohnsonpedronis: but I should add a Dir suffix to all of them, correct ?17:49
pedronisyes17:49
ijohnsonso we have InitramfsUbuntuSeedDir for example17:49
pedronisit's consistent with what dirs itself does17:50
ijohnsonyes good point17:50
pedroniszyga: should we land https://github.com/snapcore/snapd/pull/8265 ? and then replace it when we can?17:54
mupPR #8265: tests: add regression test for MAAS refresh bug <Created by zyga> <https://github.com/snapcore/snapd/pull/8265>17:55
zygapedronis: yeah, that sounds acceptable17:55
zygapedronis: I can look quickly tomorrow morning at changing the test, the snap content is not that complex IIRC17:55
zygajust "curious"17:55
mvogrrr travis gree - 8347 is green since a while but travis did not report this back to GH17:57
mupPR snapd#8347 closed: errtracker: add missing mocks <Simple 😃> <Skip spread> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8347>17:57
mupPR snapd#8352 opened: wrappers: generate service files with EnsureDirState [WIP] <Created by zyga> <https://github.com/snapcore/snapd/pull/8352>18:02
zygamvo: travis just loves us today18:05
ijohnsonpedronis: ok renamed everything in 8339, do you need to re-review it or is it okay if I get 2 other +1s while you're off the rest of the week ?18:06
* zyga EODs18:07
zygapedronis: I cleared up the archive issue with IS18:07
zygapedronis: apt-get update is correct, the archive just moved and the worker wakes up with older cache18:07
pedronisijohnson: I need to go have dinner, but then I'll be around some more, I can try to give it a look18:07
zygapedronis: so that's good, it's not (hopefully) unreliable18:07
ijohnsonok, thanks, I will break for lunch now too18:07
=== ijohnson is now known as ijohnson|lunch
pedronisijohnson: yes, I would close #8338 for now, I'm not completely against but also not super +118:08
mupPR #8338: boot/bootstate20: rm bootState20Base.loadModeenv() <Simple 😃> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8338>18:08
mupPR snapd#8338 closed: boot/bootstate20: rm bootState20Base.loadModeenv() <Simple 😃> <Created by anonymouse64> <Closed by anonymouse64> <https://github.com/snapcore/snapd/pull/8338>18:09
mupPR snapd#8265 closed: tests: add regression test for MAAS refresh bug <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/8265>18:10
zygapedronis: I'd like to land https://github.com/snapcore/snapd/pull/808918:10
mupPR #8089: features: enable robust mount ns updates <Created by zyga> <https://github.com/snapcore/snapd/pull/8089>18:10
zygagiven that 2.45 is open18:10
zygapedronis: also, but this is potentially a longer read, https://github.com/snapcore/snapd/pull/8123 given that it's 2.45 and we landed the simple version for 2.4418:11
mupPR #8123: interfaces/network-control: bring /var/lib/dhcp from host (approach b) <Bug> <Created by zyga> <https://github.com/snapcore/snapd/pull/8123>18:11
zygapedronis: but no rush on this one, not a priority18:11
pedroniszyga: yes, #8123 is on my queue18:47
mupPR #8123: interfaces/network-control: bring /var/lib/dhcp from host (approach b) <Bug> <Created by zyga> <https://github.com/snapcore/snapd/pull/8123>18:47
pedronisijohnson|lunch: done, +1 with some final comments19:18
pedronishttps://www.traviscistatus.com/19:27
mvopedronis: fun19:29
pedronisnot19:29
mvo:P19:30
mvoit seems like this whole GH actions comes at the right time19:30
=== ijohnson|lunch is now known as ijohnson
ijohnsonthanks pedronis19:33
mupPR snapd#8353 opened: interfaces/docker-support: make containerd abstract socket more generic <Simple 😃> <Created by jdstrand> <https://github.com/snapcore/snapd/pull/8353>20:14
* ijohnson EODs early21:22

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