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

mupPR snapcraft#2968 opened: git: always fetch specified source-commit before using <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2968>00:08
=== diddledan5 is now known as diddledan
mupBug #1857358 changed: Not yet operational on Fedora systems <fedora> <Snappy:Expired> <https://launchpad.net/bugs/1857358>04:18
mborzeckimorning06:20
mvohey mborzecki06:20
mupPR snapd#8240 closed: tests: just remove user when the system is not managed on create-user-2 test (2.44) <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8240>06:20
mvomborzecki: a second review for 8231 would be great06:35
mborzeckimvo: wow, that AARE for nvme is scary ;)06:37
mupPR snapd#8231 closed: interfaces/{docker,kubernetes}-support: updates for lastest k8s <Created by jdstrand> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/8231>06:38
mborzeckischool run, back in 3006:40
mvomborzecki: aare?06:40
mupPR snapd#8243 closed: o/snapstate: set base in SnapSetup on snap revert <Bug> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8243>07:07
mborzeckire07:08
mborzeckimvo: apparmor regular expressions07:08
mvomborzecki: aha, right07:10
mborzeckiand with the latest regulations, parents can no longer enter school buildings, at least in my area07:11
mborzeckiwouldn't be surprised if they close down all schools for a week or so07:12
mvomborzecki: that's likely to happen07:14
mvoI think07:14
mborzeckihm the failures in 8185 that pedronis saw yday is probably services-watchdog test state leaking into subsequen tests07:20
mupPR snapd#8185 closed: tests: add uc20 kernel snap upgrade managers test, fix bootloadertest bugs <Test Robustness> <UC20> <Created by anonymouse64> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/8185>07:28
mupPR snapd#8238 closed: many: fix a pair of ineffectual assignments <Simple 😃> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8238>07:48
mvomborzecki: I think 8206 is ready for a review too and hopefully an easy win07:52
mvomborzecki: we are at 52 now, maybe we can hit 50!07:52
mupPR snapd#8237 closed: interfaces/{docker,kubernetes}-support: updates for lastest k8s - 2.44 <Created by jdstrand> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8237>07:53
mvomborzecki: we have some simple ones like 8220 pending (unfortunately I think this one needs a security review)07:53
mborzeckimvo: ha, so it was a hanging sleep command07:53
mvomborzecki: yes07:55
zygagood morning07:58
zygahow are things?07:58
mborzeckimvo: maybe we should set Ptdeahtsig to syscall.SIGKILL for most commands, not sure we use it at all07:58
mborzeckizyga: morning07:59
mvomborzecki: I think we don't08:02
mvohey zyga08:02
pstolowskimorning08:06
mborzeckipstolowski: hey08:06
mborzeckimvo: #8206 is green!08:07
mupPR #8206: travis.yml: run unit tests on arm64 as well <Skip spread> <Created by mvo5> <https://github.com/snapcore/snapd/pull/8206>08:07
mvozyga: want to double check 8100 ? it got your +1 already but it changed a bit since (more abstractions mostly)08:21
zygayeah sure08:22
mvozyga: shoudl be simple08:22
zygaI am in despair08:22
zygafound my gpg key08:22
zygaand it's locked08:22
zygaand I don't recall the password :)08:22
mupPR snapd#8206 closed: travis.yml: run unit tests on arm64 as well <Skip spread> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8206>08:26
mvoone more and we are down to 50! maybe 8197? no code change just a refactor for snap downloads via snapd?08:26
mvozyga: oh no!08:27
zygasome heavy rain today08:33
mborzeckimvo: i'm not dropping SetRecoverySystemEnv from uboot struct yet, for now i've updated ExtractedRecoveryKernelImage.. iface08:46
mborzeckimvo: although i don't expect needing to use SetRecoverySystemEnv, we'll know for sure after the meeting with the foundations08:47
mvomborzecki: +108:54
mvomborzecki: I also added samuele as optional, not sure if he wants to join or not08:55
mborzeckiok08:55
mborzeckipedronis: hi, #8224 has conflicts now08:58
mupPR #8224: many: clean separation of bootenv mocking vs mock bootloader kinds  <UC20> <Created by pedronis> <https://github.com/snapcore/snapd/pull/8224>08:58
pedronismborzecki: yes, saw that, will try to merge master and address at least partially the XXXs soon08:59
pedronismborzecki: thx08:59
mvopstolowski: thanks for your update to 8201!09:01
pstolowskimvo: np. i'm nervous to see if it passes09:01
mvopstolowski: heh :)09:02
mvopstolowski: *fingers crossed*09:02
zygamvo: can you please refresh my memory09:02
zygahow is snap-repair updated?09:02
mvozyga: snap-repair is part of the snapd snap and gets updated when snapd gets updated, was that the question?09:04
zygayes, that's mostly it09:04
zygaI recall we had a copy of snap-repair in core16 systems09:04
zygasomewhere in writable09:04
zygais that the case?09:05
mvozyga: I think we talked about it, I don't recall we did it09:05
pedronismvo: it's still a todo09:06
zygaok, that's what I was curious about thanks09:06
pedronismvo: there are still current todos:  https://forum.snapcraft.io/t/repair-capability-emergency-fixes/311/39 and https://forum.snapcraft.io/t/repair-capability-emergency-fixes/311/4209:07
pedronisso the packaging bits, the task for this cycle, plus consider how early it can be run09:08
mvoyeah :/09:10
zygaI wonder if snap-repair makes sense in core 20 world09:11
pedronisit has a role, going through a recovery reboot is not always acceptable especially if there are other solutions09:14
pedronisotoh it hasn't been used yet for real, so hard to judge09:14
zygamvo: reviewed09:18
pedronispstolowski: I reviewed 8201, it needs a 2nd review09:20
pstolowskipedronis: ty09:22
mvopedronis, pstolowski I did a pass on 820109:41
pstolowskimvo: thanks!09:42
mvopstolowski: hope it's not too annoying09:43
pstolowskimvo: no worries09:43
pedronismvo: the extra ticks might be do go through Ensure as well09:54
pedronisit's not just about prune09:54
pstolowskiyes. but i'll add a comment09:54
mvopedronis: thanks, could be, I am just puzzled because AIUI we only mock the ticks for the pruneC and that calls st.Prune() directly, so not sure how Ensure() comes into play. but it's fine, it's so much nicer than before, just tried to get a good understanding what is going on10:03
pedronismvo: aborting might need two passes through Ensure10:04
pedronismvo: each time we tick prune we also go throgh Ensure10:04
pedronisor something like that10:04
mvopedronis: ok10:05
mvocachio: good morning! if you still see this failure of importing the user assertion on uc20 even in the second boot, could you please pastebin/take-a-picture of "journalctl -u systemd-udevd" from the second boot in run mode?10:10
* zyga feels so so and goes for some tea/coffee upstairs10:22
zygapedronis: when I'm back I'll attack env again10:22
zygapedronis: I read your comments and I'll go and simplify the expression logic and combine it all into Apply10:22
cachiomvo, sure10:35
cachiomvo, good morning, I just triggered a new run10:35
cachiomvo, yesterday it was not goind the run mode, just install mode10:36
cachioI was waiting for the new core snap that should help on that10:36
mvocachio: ok10:37
mvocachio: thank you10:37
cachiomvo, today it is going into the run mode10:41
cachiohttps://paste.ubuntu.com/p/n6GJpXNjwQ/10:41
cachiobut still it is not importing the user assertion10:41
pedroniszyga: I added some more comments about further simplifications I would like to see for now10:42
zygapedronis: ok10:42
zygaI'll read them now10:42
pedroniszyga: let me know if you have questions10:44
zygaack10:44
mvocachio: can you do a reboot once it's in run mode and paste me the output of "journalctl -u systemd-udevd" please?10:44
zygaweird10:45
cachioyes, waiting for the reboot10:45
zygagithub comments I mean10:45
zygaI can respond to some of your comments but not all10:45
zygapedronis: I was thinking and I'm very happy with []osutil.ExpandableEnv10:45
zygabecause that removes the need for some extra glue logic10:45
zygaand expresses more naturally what is really going on10:46
pedronismvo: do we have a formatting problem in interfaces/policy/basedeclaration_test.go or it's just different go versions10:46
cachiomvo, https://paste.ubuntu.com/p/GZsNPyNRCC/10:46
mvopedronis: I'm not aware of one, but it could be go version screw10:46
zygapedronis: I ony edit that file in nano10:47
pedroniszyga: as far as I know there's no way to "merge" those envs before applying them, that would do what we need10:47
zygapedronis: yeah, I came to the same conclusion10:47
zygapedronis: I'll get to it :)10:47
pedroniszyga: we can probably also leave out the Overrides bit from those methods, and just call them Envs() []osutil.ExpandableEnv10:48
zygapedronis: I just wanted something that is distinct from the field (Environment)10:49
zygapedronis: perhaps we don't need a real method after all10:49
zygapedronis: if we change the type to ExpandableEnv10:50
zygawe can just reach out to app.Snap.Environment and app.Environment10:50
zygabut we'll see10:50
zygafirst some of the big moves10:50
pedronismborzecki: I merged master and updated #8224, the last changes need a new pass10:51
mupPR #8224: many: clean separation of bootenv mocking vs mock bootloader kinds  <UC20> <Created by pedronis> <https://github.com/snapcore/snapd/pull/8224>10:51
mvocachio: thanks, do you see /lib/udev/rules.d/66-snapd* in your image?10:53
cachioI cant login to the image10:54
cachiobut let me check if I can unsquash it10:55
mvocachio: oh, so the journal output is also not from inside the image?10:55
cachiono10:55
cachiothe journal output is from the host machine10:55
cachioin that case let me try to shell on it10:56
mvocachio: ok, we probably need to somehow create an image that you can add "systemd.debug-shell=1" to the kernel commandline so that you get a root-shell10:57
mvocachio: the output of the udevd would be great to have, that hopefully gives us clues what is brekaing10:57
* mvo needs to leave for a wee bit10:57
cachio{10:58
cachiook10:58
zygakid invasion11:01
zygasilly stuff is lucyasd=ad11:01
zyga4WT~WWW11:01
pstolowskinoo, #8201 failed on google:ubuntu-core-20-64:tests/core/snapd-failover. and on prepare for fedora. and on google-unstable:opensuse-15.1-64:tests/main/session-tool11:03
mupPR #8201: tests: mock prune ticker in overlord tests to reduce wait times <Squash-merge> <âš  Critical> <Created by stolowski> <https://github.com/snapcore/snapd/pull/8201>11:03
pstolowski^ zyga11:04
pstolowskizyga: https://api.travis-ci.org/v3/job/660982235/log.txt11:04
zygapstolowski: ack,11:04
zygapstolowski: there must be something I'm missing there11:05
zygaas it only fails infrequently, there must be some kind of race that makes PAM module which sets up XDG_RUNTIME_DIR fail11:05
pstolowskizyga: grab the log if you need it, i'm going to restart the tests soon11:07
zygadone11:07
cachiomvo, https://pastebin.com/Gh8rrwNP11:19
cachiofor some reason it is getting stuck in that line11:20
cachiothe shell never appeards11:20
mborzeckihmm arm64 unit tests still hanging?11:20
cachiomvo, could you chekc pleaseif I did it correctly?11:20
cachiomvo, https://paste.ubuntu.com/p/fHTdPT2j6Q/11:20
mvocachio: please try setting it in  ï¿½*Run Ubuntu Core 20                                                         �11:22
mvocachio: so when the second grub screen is there you need to press "e" for edit11:22
mvocachio: and it in the line with the chainload...kernel.efi there11:22
mvocachio: does that make sense?11:22
cachiomvo, ok, thanks11:23
mvocachio: not sure if it gives you a debug shell on the serial console though, gives you one on vt9 for sure11:23
cachiomvo, I did what you said but it is getting stuck in the same line11:26
cachiomvo, https://paste.ubuntu.com/p/S8gQq64WPq/11:27
mvocachio: oh no! maybe you just don't get a debug shell on the serial port :/ that's sad11:37
cachiomvo, do you want to connect?11:41
mvocachio: not right now, I need to ponder a bit, I will probably need to try to run this locally in qemu to have the full vritual console access :/11:41
cachiook, just ping me in case you need the image11:42
mvomborzecki: I pushed https://github.com/snapcore/pi-gadget/pull/3411:46
mupPR pi-gadget#34: gadget.yaml: move ubuntu-boot to VFAT <Created by mvo5> <https://github.com/snapcore/pi-gadget/pull/34>11:46
mupPR snapd#8100 closed: httputil: add support for extra snapd certs <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8100>11:55
mupPR snapd#8244 opened: [RFC] config: add system.certs.[a-zA-Z0-9] support <Needs Samuele review> <Created by mvo5> <https://github.com/snapcore/snapd/pull/8244>12:07
zygamvo: commented on the pi-gadget PR12:21
* pstolowski lunch12:24
mupPR snapcraft#2963 closed: project: add fallbacks for os.sched_getaffinity <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2963>12:25
mvozyga: thanks12:27
cachiomvo, hey12:44
cachioI am trying from serial port and I get this12:44
cachiohttps://paste.ubuntu.com/p/6RkcpYd4TV/12:44
cachiomvo, the following run I did't see tha terror https://paste.ubuntu.com/p/Cfkv2w7mfT/12:49
mvocachio: this looks like a OVMF bug, I wonder what version is available in gce12:53
cachioovmf:12:56
cachio  Installed: 0~20191122.bd85bf54-212:56
cachio  Candidate: 0~20191122.bd85bf54-212:56
cachio  Version table:12:56
cachio *** 0~20191122.bd85bf54-2 50012:56
cachio        500 http://us-east1.gce.archive.ubuntu.com/ubuntu focal/main amd64 Packages12:56
cachio        100 /var/lib/dpkg/status12:56
cachiomvo, is it ok?12:57
pedronismvo: can we turn off arm tests again, they timeout: https://travis-ci.org/github/snapcore/snapd/jobs/661020356?utm_medium=notification&utm_source=github_status13:04
pedronissometimes13:04
zygapedronis: type Foo *Bar behaves in odd ways in go13:17
zygathat hides the entire method set of Bar13:17
zygais there any way to "reach" it?13:17
pedroniszyga: that's annoying, I missed this detail, or forgot it13:21
mupPR snapcraft#2969 opened: snap: re-add xml development packages for non x86 <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2969>13:22
pedroniszyga: anyway the text here https://golang.org/ref/spec#Method_sets has that implication13:23
zygathanks13:30
pedroniszyga: so embedding the OrderedMap seems the only solution13:30
zygayeah, I see that13:30
zygaI think type a = b would be nicer13:31
zygabut we cannot for now13:31
zygaok, I'm not blocked, thank you13:31
zygasuspend resume on linux with fractional scaling in gnome resizes everything, clipping parts of windows13:49
zygaoh well13:49
mvopedronis: sure, let me do that13:57
mupPR snapd#8245 opened: travis: disable arm64 again <Created by mvo5> <https://github.com/snapcore/snapd/pull/8245>13:59
mupPR snapd#8244 closed: [RFC] config: add system.certs.[a-zA-Z0-9] support <Needs Samuele review> <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/8244>14:40
mupPR snapd#8246 opened: client, daemon, overlord/devicestate: structures and stubs for systems API <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8246>14:40
mborzeckipedronis: ^^14:40
mupPR snapd#8245 closed: travis: disable arm64 again <Skip spread> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8245>14:52
* cachio lunch14:52
* zyga lunch as well15:03
zygaand small break to fix backup server15:03
mupPR snapd#8247 opened: .travis.yml: enable arm64 again as unstable <Skip spread> <â›” Blocked> <Created by mvo5> <https://github.com/snapcore/snapd/pull/8247>15:04
pedronismborzecki: I queued it15:59
pedronisthx15:59
* zyga is back to finish work16:07
mvopstolowski: 8201 is green, do you want to squash merge it and edit the description? I will cherry pick to 2.44 then16:08
zygaofftopic, firefox is really really fast16:09
pstolowskimvo: yes, let's squash merge16:13
pstolowskimvo: doing16:14
mvopstolowski: thank you!16:14
mupPR snapd#8201 closed: tests: mock prune ticker in overlord tests to reduce wait times <Reviewed> <Squash-merge> <âš  Critical> <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/8201>16:15
mupPR snapd#8248 opened: snap: introduce Container.RandomAccessFile <Created by pedronis> <https://github.com/snapcore/snapd/pull/8248>16:21
pedroniszyga: I looked at the uio fix, one question, also I notice that one of jdstrand comment isn't addressed, it didn't sound just a nice to have from him, in one form or the other16:33
mupPR snapd#8249 opened: interfaces: make gpio robust against not-existing gpios in /sys <Created by mvo5> <https://github.com/snapcore/snapd/pull/8249>17:06
zygapedronis: hmm, which comment was that?17:07
zygapedronis: the one about ordering?17:07
* zyga looks17:07
pedronisyes17:07
zygapedronis: I would not do that in this PR, as I explained in my response that's not a new property and doing anything better (for auditing) would require a smaller dive into the apparmor backend. Doable but not for 2.44 IMO17:09
mupPR snapd#8250 opened: tests: mock prune ticker in overlord tests to reduce wait times (2.44) <Created by mvo5> <https://github.com/snapcore/snapd/pull/8250>17:10
pedroniszyga: I understand, let's see what he says17:10
zygaok17:11
zygaif needed I can probably implement that ordering tomorrow if I didn't take the swap day17:12
pedronisis he around today?17:12
zygaI haven't seen him yet, let me check mail17:12
zygano mail about absence (which he carefully sends each time) so I would assume he's around17:13
mupPR snapd#8251 opened: overlord: remove unneeded overlord.MockPruneInterval() mocks <Created by mvo5> <https://github.com/snapcore/snapd/pull/8251>17:16
zygaso17:25
zygapedronis: env question17:25
zygapedronis: snap run --shell foo17:25
zygaI guess we should apply the environment then, right?17:25
zygaI guess we should17:25
zygaI didn't look there deeply, just realized we do that "late" in snap-exec17:26
zygaand not in snap-confine17:26
jdstrandzyga: fyi, https://github.com/snapcore/snapd/pull/8241#pullrequestreview-37298388917:44
mupPR #8241: interfaces: work around apparmor_parser slowness affecting uio <Bug> <Created by zyga> <https://github.com/snapcore/snapd/pull/8241>17:44
zygajdstrand: checking17:44
jdstrandzyga: conditional ack provided one small change. while doing that, you might do: s/clariry/clarity/17:44
zygajdstrand: sure17:45
zygajdstrand: I get it, that's sensible,17:45
jdstrandthanks!17:45
* zyga needs to apologize to everyone, school is cancelled across the country and kids got crazy and are really bothering me all the time now17:46
pedroniszyga: we should apply the enviroment yes, don't we atm ?17:50
zygapedronis: I _hope_ so :)17:50
zygaI'll get there soon17:50
zygapedronis: just thinking about this17:50
zygathere's some discrepancy between hook and app environment17:51
zygaspecifically we don't perform the save-restore across setuid-lost environment17:51
zygathough _perhaps_ that's okay, but there's no comment to account for why17:51
pedroniszyga: as I mentioned, we should move that logic to osutil I think, though it's a bit of an orthogonal problem17:52
pedronisand not something I would try in this PR17:52
zygaok17:52
pedroniszyga: basically ForExec and OSEnviroment should grow flags or variants to deal with that17:55
zygammm17:55
zygaI'll stash that as a follow up, close to finishing the changes for the comments in the PR so far17:55
pedroniszyga: it's relates to this comment here: https://github.com/snapcore/snapd/pull/8242#discussion_r39088050817:57
mupPR #8242: many: improve environment handling, fixing duplicate entries <Bug> <Needs Samuele review> <Created by zyga> <https://github.com/snapcore/snapd/pull/8242>17:57
zygapedronis: so env, all but Transform is now done18:27
zygaI had to invent a method name EnvStack() so please look if you like it18:28
zygain any case it's just an implementation detail and doesn't change the big picture18:28
zygaI'll go after Transform and try to wrap up for today18:29
zygamvo: I'll send the paperwork tomorrow18:29
zygait's late today18:29
mvozyga: sure, see you18:36
cachiomvo, quick question, I am working tieh the snapd-failover16 test which fails randomly18:37
cachiomvo, I see this line Mar 11 18:36:27 localhost.localdomain systemd[1]: Started Failure handling of the snapd snap.18:37
cachiobut the service cant fix the dydtem18:37
cachiois any other source of information to take alook why?18:38
mvocachio: hm, journalctl -u snapd.failure  should have some info18:38
cachioI got that info from there18:39
cachioI just see that it tries to fix it but no mere info18:39
mvocachio: oh, so it tries to fix and fails :(18:40
mvocachio: snapd and snapd.failure are the relevant sources18:40
cachiomvo, right18:40
mvocachio: can you pastebin those two when the failure happens?18:40
cachiomvo, snapd https://paste.ubuntu.com/p/W67D9yf7PG/18:41
cachiosnapd-failure https://paste.ubuntu.com/p/SxGVRzn8YH/18:42
cachiomvo, it happens right after it installs the snapd broken snap18:42
mvocachio: interessting, is it random, i.e. does it sometimes work? or always failing currently?18:43
cachiofirst time worked, and 2nd failed18:45
cachioiwht this vm18:45
cachioI'll run again18:45
mvocachio: so it's essentially random?18:45
mvocachio: the logs are really not giving clues, that's a bit sad18:45
cachiomvo, not happening 100% of the times for sure18:45
cachiobut can't say if it random or not18:46
mvocachio: aha, could be another test polluting it?18:46
cachiomvo, yes, but still trying to figure out that18:46
mvocachio: thanks18:47
zygapedronis: done18:48
zygamvo: if you want to get https://github.com/snapcore/snapd/pull/8242 in to 2.44 please organize some review tomorrow18:51
mupPR #8242: many: improve environment handling, fixing duplicate entries <Bug> <Needs Samuele review> <Created by zyga> <https://github.com/snapcore/snapd/pull/8242>18:51
mvozyga: is it blocking someone18:51
zygamvo: I think it's affecting micro k8s18:51
mvozyga: ok,, I need to find out how badly18:52
mvozyga: I'm a bit worried that we delay too much18:52
mvozyga: but I will look at it tomorrow with fresh eyes and an open mind :)18:52
pedroniszyga: did you change SetExpandEnv to take multiple ExpandableEnvs ?18:54
zygano18:54
zygabecause it's not needed now, it's just applied in chain with the same result18:54
zygahave a look18:54
zygait's also simple, really just a thin wrapper to os.Expand18:54
zygaI did that briefly but it was just noisier18:54
pedronisok18:55
pedronisI'll look, the diff is smaller, there might be some naming stuff to tweak18:55
zygayeah, please feel free to push name tweaks directly to the PR18:55
zygaI believe everything essential is addressed18:55
zygaif you want it to take a list or varadic list strongly I don't mind18:56
pedronisalso I thought you weren't going to move the last bit to env18:56
zygawhich last bit?18:56
pedronis(transform), that might need some tweaks as well18:56
zygaI killed transform18:56
pedronisI know18:56
zygaand made it into a simple pair of helpers to escape/unescape18:56
pedronisI know18:56
zygado you mean that this was supposed to be in ForExec() ?18:56
pedronisI'm just not sure that the standalone helpers are the best way to encapsulate that18:56
pedronisbut I'll see18:56
zygaI see18:57
pedronisthey really matter at the process boundary18:57
zygait's interesting because look where we escape18:57
zyga(in snap/snapenv)18:57
zygaand where we use that (in cmd/snap/cmd_run)18:57
zygawe'd have to move that logic18:57
pedronisI know, I thought exactly about that18:57
zygathat's okay but that's a bigger change than just shoving a function around18:57
pedronisit's unclear that is placed right in the first place18:57
zygayeah18:57
zygaI think I'm too tired to give useful advice at this time18:58
zygaI tried to make both uio and exec env branches good today18:58
zygaand I think exec env should be re-reviewed with fresh head18:58
pedronisthank you, mostly saying that it might need some small tweaks18:58
zygaack18:58
zygaok, I'll EOD now18:58
pedronisthat we can do, I think most pieces are there, mostly a matter how to call them18:58
pedroniswhere they fit18:58
zygathis was a good day :)18:58
zygayeah18:59
zygaI think it's also interesting that we are not giving snap-confine the environment that we set in snap-exec18:59
zygaperhaps we should?18:59
zygaand snap-exec would not need to read that part of yaml at all18:59
zygawe could really move those few lines from snap-exec to snap-run with probably, no change at all19:00
zygabut perhaps that's simplistic, there's some extra interaction with non-run modes of snap-exec19:00
zygalike strace/gdb and the like19:00
pedronisyes, I wouldn't do that19:00
zygaanyway, something to ponder over19:00
zygaI think it's better than before :)19:00
pedronisI fear it would need jdstrand input19:00
pedronisit's a bit unclear what the consequences are19:00
pedronisalso with linker related stuff19:00
pedronisfor example19:00
zygawe escape those anyway19:00
zygaso linker would not see it19:00
pedronisthat is true19:01
zygabut it's indeed interesting19:01
zygabecause some things might affect snap-confine (perhaps) in ways we were not expecting19:01
zygae.g. SNAP_CONFINE_DEBUG: true19:01
zygaso perhaps we should document why we are not setting them outright19:01
zygasnap/snapexec has some silly copying because I kept the existing structure19:01
pedronisanyway that's not  a change I want to try right now :)19:01
zygabut nothing terrible, it's just a few keys anyway19:01
zygayes, agreed :)19:02
zygajdstrand: FYI I'm off till the end of the week19:04
* zyga waves19:04
* jdstrand is back from meetings and reads scrollback19:10
jdstrandzyga: have a nice rest of the week!19:10
jdstrandI don't see anything specifically required of me but I've read the context for if a PR comes though19:16
mupPR snapd#8224 closed: many: clean separation of bootenv mocking vs mock bootloader kinds  <Reviewed> <UC20> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/8224>19:51
mupPR snapd#8252 opened: tests: Update test to make snapd snap fixed twice <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/8252>19:51
mupPR snapcraft#2969 closed: snap: re-add xml development packages for non x86 <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2969>20:09
pedronisjdstrand: I marked a new PR for you to review, not related to the env stuff, I think there are some behavior changes in the env stuff, but nothing that effects the overall security design of what we had so far20:10
pedroniswe set the same king of env vars from the same places, and do the same kind of mangling/unmangling of some20:11
jdstrandpedronis: ok, is this urgent for 2.44?20:11
pedronisjdstrand: is this one https://github.com/snapcore/snapd/pull/824920:11
mupPR #8249: interfaces: make gpio robust against not-existing gpios in /sys <Security-High> <Created by mvo5> <https://github.com/snapcore/snapd/pull/8249>20:11
jdstrandpedronis: I see, it is small20:12
jdstrandok, let me look20:12
jdstrandpe20:26
jdstrandmeh20:26
jdstrandpedronis: done20:26
pedronisthanks20:30
mupPR snapd#8253 opened: snap-bootstrap: expand data partition on install <UC20> <Created by cmatsuoka> <https://github.com/snapcore/snapd/pull/8253>21:58

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