/srv/irclogs.ubuntu.com/2021/09/23/#snappy.txt

mupPR snapcraft#3583 opened: build providers: snapcraft's new base is core20 (CRAFT-544) <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/3583>01:42
=== popey2 is now known as popey
mupBug #1944625 changed: snapctl returns EOF <snapd:Incomplete> <https://launchpad.net/bugs/1944625>05:56
pstolowskimorning07:03
mupPR snapd#10822 closed: spread: display information about current device cgroup in debug dump <Simple 😃> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10822>07:20
mupPR snapd#10823 closed: sysconfig: set TMPDIR in tests to avoid cluttering the real /tmp <Skip spread> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10823>07:20
mupPR snapd#10814 closed: o/ifacestate: don't lose connections if snaps are broken <Squash-merge> <Bug> <cherry-picked> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10814>07:30
mupPR snapd#10715 closed: secboot: move to new version <Run nested> <Created by xnox> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10715>07:35
mardypstolowski: hi!07:53
mupPR snapd#10815 closed: fde: add HasDeviceUnlock() helper <Simple 😃> <Skip spread> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10815>07:55
mupPR snapd#10830 opened: gadget: add `encryptedDevice` and add encryptedDeviceLUKS <Simple 😃> <Skip spread> <Created by mvo5> <https://github.com/snapcore/snapd/pull/10830>07:55
pstolowskimvo:  could you please merge https://github.com/snapcore/snapd/pull/10810 ?08:47
mupPR #10810: o/assertstate, api: update validation set assertions only when updating all snaps <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10810>08:47
mvosure08:47
mupPR snapd#10810 closed: o/assertstate, api: update validation set assertions only when updating all snaps <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10810>08:50
pstolowskithanks!09:46
miguelpiresHi. Can someone tell me why does snapd create directories under /root/snap/ when installing? Is it intended behavior or should it be using the user's home?10:16
pstolowskimiguelpires: are you sure? i just did a quick test and don't see it. this normally happens if you run the snap for the first case as the given user10:18
pstolowskis/case/time/10:18
miguelpiresYeah, I just tried installing again and it's there, so it's created during install (I assumed because installed as root). Then when doing snap run, the app's files are written to ~/snap so /root/snap is just empty10:21
miguelpiresAlso, I noticed this while testing my ~/.snap changes, there were AppArmor denials for /root/.snap10:22
pstolowskimiguelpires: ok, i think the first depends on whether the snap has hooks or not10:27
pstolowskimiguelpires: i can confirm /root/snap/skype gets created on install for skype, but not for hello-world snap10:27
pstolowskibecause skype has configure hook10:27
pstolowski(which does nothing :})10:27
pstolowskimiguelpires: these user directories get created by snap run (cmd_run.go) for the user who executes it, and hooks are run via snap run --hook=... by snapd as root user10:30
pstolowskimakes sense?10:30
miguelpiresAh, then it's intended for that case. I saw that snap-confine was getting permission denied during the install when writing to /root/snap because it was called by 'snap run --hook'. I wasn't sure why the directory was different10:30
miguelpiresyes, exactly. Makes sense. Thank you10:30
pstolowskiyw10:31
mupPR snapd#10831 opened: osutil: add new `CreateLinearMapper` helper <Skip spread> <Created by mvo5> <https://github.com/snapcore/snapd/pull/10831>11:05
miguelpiresmvo: can you please merge https://github.com/snapcore/snapd/pull/10630 ? AFAICT, the failures are unrelated11:45
mupPR #10630: o/snapstate: update default provider if missing required content <Created by MiguelPires> <https://github.com/snapcore/snapd/pull/10630>11:45
mvomiguelpires: sure12:00
mupPR snapd#10630 closed: o/snapstate: update default provider if missing required content <Created by MiguelPires> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10630>12:01
miguelpiresty12:04
mupPR snapd#10832 opened: tests: skip system-usernames-microk8s when TRUST_TEST_KEYS is false <Simple 😃> <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10832>12:21
pstolowskidamn, conflicts when merging large test files (here: snapstate_update_test.go) can be quite confusing12:45
miguelpiresmvo: can you merge https://github.com/snapcore/snapd/pull/10812 please? The test failures are unrelated 13:33
mupPR #10812: o/ifacestate: don't fail remove if disconnect hook fails <Created by MiguelPires> <https://github.com/snapcore/snapd/pull/10812>13:33
mupPR snapd#10833 opened: tests: fix error trying to create the extra-snaps dir which already exists <Simple 😃> <Run nested> <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10833>14:01
mupPR snapcraft#3583 closed: build providers: snapcraft's new base is core20 (CRAFT-544) <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3583>14:23
cachio_ijohnson[m], hi, I see this in the netplan test https://paste.ubuntu.com/p/sm7kP7Gzc3/14:28
cachio_should we skip it, right?14:29
cachio_core20 snap is not available on i38614:29
ijohnson[m]cachio_: yes good catch14:30
cachio_still don't know why it is not failing on ubuntu-18-3214:31
cachio_ijohnson[m], any idea?14:31
cachio_ahh, it is not executed tehre14:32
cachio_is in the core suite14:32
mvoijohnson[m]: thanks for your feedback about 10831 any opinion on the https://github.com/snapcore/snapd/pull/10831/files#r714698094 maybe?14:32
mupPR #10831: osutil/disks: add new `CreateLinearMapper` helper <Skip spread> <Created by mvo5> <https://github.com/snapcore/snapd/pull/10831>14:32
ijohnson[m]mvo did you mean more opinions? I left some opinions, not sure I have more I can try and think of some more if you like haha14:34
mvoijohnson[m]: I meant specifically about the suggestion from alberto what kind of "size" should be passed in - or did a miss a comment from you there maybe :) ?14:34
ijohnson[m]Oh sorry the link didn't work for me to see that comment14:35
ijohnson[m]Let me take a look 14:35
ijohnson[m]Maybe I do have more opinions for you 14:35
ijohnson[m]:-)14:35
mvoijohnson[m]: excellent, sorry if I pasted the wrong link!14:37
ijohnson[m]mvo: I think the link to the comment you pasted was before you pushed the updates, so it references a comment that doesn't exist, whereas if you grab the link from the main PR page and not the files one, that is more "persistent"14:39
ijohnson[m]mvo: oh noes though you are hard-coding the block size14:40
ijohnson[m]or wait was it sector size that was the problem14:40
mvoijohnson[m]: yeah, afaik blocks are ok14:43
mupPR snapd#10834 opened: tests: fix netplan test on i386 architecture <Simple 😃> <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10834>14:46
ijohnson[m]mvo: ok I left a review for you14:51
mupPR snapd#10828 closed: tests: cleanup the job workspace as first step of the actions workflow <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10828>14:51
mupPR snapd#10829 closed: tests: use our own image for ubuntu impish <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10829>14:51
ijohnson[m]cachio_: +1 to that PR thanks for catching that too14:51
cachio_ijohnson[m], yaw14:52
mvoijohnson[m], mardy pr updated14:57
mupPR snapd#10835 opened: tests: fix lxd-mount-units test which is based on core20 in ubuntu focal system <Simple 😃> <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10835>15:06
ijohnson[m]mvo: I think #7700 is ready to land now15:34
mupPR #7700: cmd/snap: wait while inhibition file is present <Needs Samuele review> <:birthday:> <Created by zyga> <https://github.com/snapcore/snapd/pull/7700>15:34
mvoijohnson[m]: yay15:34
ijohnson[m]🙂 15:35
mupPR snapd#7700 closed: cmd/snap: wait while inhibition file is present <Needs Samuele review> <:birthday:> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7700>15:41
ijohnson[m]\o/15:42
mvoijohnson[m]: I also updated the mapper one :)15:45
ijohnson[m]thanks!15:50
* mvo hugs mardy pstolowski ijohnson[m] for their excellent reviews15:57
zyga-mbpwoot, I'm so happy to see those branches finished and merged :)16:40
mupPR snapd#10836 opened: many: add experimental setting to move ~/snap to ~/.snap/data <Created by MiguelPires> <https://github.com/snapcore/snapd/pull/10836>23:28

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