/srv/irclogs.ubuntu.com/2021/02/02/#snappy.txt

dariballcan someone tell me where I can find the sources for the "pi-kernel" snap? core18 and pi-gadget are on github, but cannot find pi-kernel there00:17
cjwatsondariball: I'm not an expert here but https://code.launchpad.net/~canonical-kernel-snaps/+git/kernel-snaps-uc20/+ref/pi seems to be set up to build that snap00:22
cjwatsonAnd I guess the "master" branch there is the actual kernel code that gets built; the "pi" branch seems to just be the snapcraft.yaml00:23
cjwatsonoh, or maybe just some Makefiles ... I'm out of my depth at this point00:24
tianonI have no idea how releases for the "legacy" branch of snapcraft are managed (appears to be manually backported to xenial and bionic uploads?) but it'd probably be good to get https://github.com/snapcore/snapcraft/pull/3429 into a release soonish ("plugin: python" is unusable on "base: core" without it /o\)00:27
mupPR snapcraft#3429: plugins: Pin pip to supported versions <Created by philroche> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3429>00:27
tianon(I manually applied that patch locally to fix my own dev environment, but I imagine my GitHub Actions are probably gonna fail too)00:29
dariballcjwatson: mmmh more than I found, but can't really find the kernel sources there, just makefile using apt & snapcraft.yamls ... but at least a point to start, thanks00:32
sbeattiecjwatson, dariball: I'm no expert in the kernel snaps, but my understanding is that is repackaging the linux-raspi (https://launchpad.net/ubuntu/+source/linux-raspi2) archive package; the source tree would be https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-raspi/+git/focal?h=master though it seems master is behind what's in the archive (though the appropriate tag is on master-next)02:20
mborzeckimorning06:50
mborzeckimvo: hey07:24
mvogood morning mborzecki07:35
mborzeckimvo: snapd apaprently ftbfs on rawhide, looking into it07:59
mborzeckipstolowski: hey08:00
pstolowskimorning08:00
mborzeckihm so go modules are for real this time when 1.16 gets released08:31
mborzeckirawhide already has 1.16beta what broke building snapd08:32
pedronismborzecki: let's chat in the standup I suppose08:43
mborzeckipedronis: for now i'm using GO111MODULE=off which allows the build to complete successfuly, i'm not aware of plans to remove the switch (yet)08:43
mupPR snapd#9682 closed: data: fix case when $PATH has spaces in snapd.sh.in <Created by ExE-Boss> <Closed by bboozzoo> <https://github.com/snapcore/snapd/pull/9682>08:48
pstolowskipedronis: hi, i've rebased #985308:50
mupPR #9853: api: validate snaps against validation set assert from the store <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9853>08:50
pedronispstolowski: thx, I saw that, I put it in my queue08:51
pstolowskity08:51
mupPR snapd#9888 opened: data/env/snapd: use quoting in case PATH contains spaces <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9888>08:58
mborzeckiany clue who creates /run/netns? is it lxd?09:07
mupPR snapd#9830 closed: Clarify error message <⛔ Blocked> <Created by SeanColombo> <Closed by bboozzoo> <https://github.com/snapcore/snapd/pull/9830>09:08
mborzeckiheh: [43451.411268] audit: type=1400 audit(1612257161.339:593): apparmor="DENIED" operation="open" profile="/usr/lib/snapd/snap-confine" name="/proc/457397/attr/apparmor/current" pid=457397 comm="snap-confine" requested_mask="r" denied_mask="r" fsuid=0 ouid=009:15
mborzeckibut the profile has: `@{PROC}/[0-9]*/attr/{,apparmor/}current r,`09:16
mupPR snapd#9766 closed: interfaces/fwupd: allow any distros to access fw files via fwupd <Created by woodrow-shen> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9766>10:03
pstolowskipedronis: does revision 0 in asserts have any meaning anywhere? i'm wondering wrt RevisionNotKnown = -1, and if for sequences we should have an equivalent SequenceNotKnown = -1, or simply > 0 and anything <=0 is unset10:03
pedronispstolowski: revision 0 is a valid revision for assertions, it's the default value10:09
pedronispstolowski: sequences start at 1 though10:10
pstolowskipedronis: i see, great, thanks10:10
mborzeckimvo: can you take a look at https://github.com/snapcore/snapd/pull/9878 ? should be quite trivial10:10
mupPR #9878: tests/core/uc20-recovery: move recover mode helpers to generic testslib script <Simple 😃> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9878>10:10
pedronispstolowski: it's a bit confusing because snap revision start at 1 as well, otoh the reason for this default is that some assertions should never get a 2nd revision, so having revision: 1 in them would be a bit misleading10:11
pstolowskigot it10:12
=== benfrancis0 is now known as benfrancis
pedronismvo: I reviewed the dtbs PRs10:36
mvopedronis: \o/10:41
mvomborzecki: sure, looking (was in meetings, sorry)10:42
mborzeckimvo: also, i think we can land https://github.com/snapcore/snapd/pull/9883 the failures are unrelated10:45
mupPR #9883: cmd/snap-preseed: initialize snap.SanitizePlugsSlots for gadget in seeds <Bug> <Preseeding 🍞> <Squash-merge> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9883>10:45
mborzecki(needs your superpowers tho)10:45
mvomborzecki: failures are unrelated? or shall I check?10:46
mborzeckimvo: unrelated, tests/unit/go failed on gpg, snap-mgmt on fedora failed in restore :/10:46
mborzeckisame for sid10:47
mupPR snapd#9878 closed: tests/core/uc20-recovery: move recover mode helpers to generic testslib script <Simple 😃> <UC20> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9878>10:48
mvomborzecki: thanks, merged and cherry-picked10:51
mborzeckiand our snap-mgmt --purge is spotty, not sure how to fix that nicely, if user services are running, we'll miss them when cleaning up10:52
mborzecki(that's what happened in the failed snap-mgmt spread test)10:52
ograhmm, wasnt UC20 supposed to hold back the starting of snaps until console-conf is done ?10:53
mupPR snapd#9883 closed: cmd/snap-preseed: initialize snap.SanitizePlugsSlots for gadget in seeds <Bug> <Preseeding 🍞> <Squash-merge> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9883>10:53
ogratrying to build an RPi kodi appliance image i always end up with the kodi UI without a chance to set up network and user10:54
ogra(note that kodi runs natively on the GPU, no Mir or anything)10:55
pedronisogra: we don't have any feature that blocks services based on console-conf. we do have a feature nowadays to have services that arer not started/enabled by snapd by default, in which case you can use a different service and snapctl to control when they start11:44
ograpedronis, i just found that my snap can see /var/lib/snapd/hostfs/var/lib/console-conf/complete without creating denials, so i'll simply check if i'm on core and let the service sleep until the file appears from a wrapper11:46
ograbut i thougth holding back snap startup after console-conf was theer in UC18 ... that's why i was surprised to have it just start11:47
ogra(though i admittedly only played with Mir in UC1😎11:48
ogratsk11:48
pedronisI'm not aware of such a feature11:48
ogra*UC1811:48
ograk, then perhaps something was slow back in my testing 🙂11:48
ogra(and i was just lucky or so)11:49
pedronisI'm surprised that you don't get a denial for that file though11:49
ogra if [ -e "/var/lib/snapd/hostfs/var/lib/console-conf/completes" ]; then echo "console-conf done !"; fi11:50
ografrom within "snap run --shell ..." ... journal stays quiet11:50
ograi can *not* ls the dir without denial ... seems only thet specific filenale is allowed11:51
ogra*that11:51
ogra*filemane11:51
ogra*GOD !11:51
* ogra stamps foot about his typing11:52
mupPR snapcraft#3430 closed: More improvements for using python3.8 from within a snap <Created by kenvandine> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3430>12:05
ograbah .. except that on my appliance image console-confi doesnt create the "complete" file anymore !12:39
pedronispstolowski: I did a pass on #985313:06
mupPR #9853: api: validate snaps against validation set assert from the store <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9853>13:06
pstolowskipedronis: ty13:06
mupPR snapd#9887 closed: seed: add LoadEssentialMeta to seed16 and allow all of its implementations to be called multiple times <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/9887>13:09
pedronispstolowski: mborzecki: thansk for the reviews13:09
mborzeckiyw13:09
jdstrandmborzecki: that might suggest the profile is using an old cache file or wasn't applied (eg, another one was being used) at the time of access13:56
mborzeckijdstrand: hm maybe it's something about cache, the problem went away after i restarted the apparmor.service13:58
mupPR snapd#9545 closed: devicestate: keep log from install-mode on installed system <Run nested> <UC20> <Created by mvo5> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9545>13:59
mborzeckijdstrand: anyways, i'll try find out under what conditions this happens, also maybe it's something about the setup on my dev box, i haven't seen reports from users with a similar problem14:00
jdstrandmborzecki: re users> that's good to hear14:52
ijohnsonmvo: I landed #9885 but forgot to squash-merge sorry /o\ do you want me to open a backport pr?14:54
mupPR #9885: snap/info.go: ignore unknown daemons in SortSnapServices <Bug> <Squash-merge> <⚠ Critical> <Created by anonymouse64> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/9885>14:54
mupPR snapd#9885 closed: snap/info.go: ignore unknown daemons in SortSnapServices <Bug> <Squash-merge> <⚠ Critical> <Created by anonymouse64> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/9885>14:54
ijohnsonmvo: for what it's worth, I just tested cherry-picking the 3 commits from that pr to release/2.49 and they all cleanly applied there14:55
mvoijohnson: no problem14:57
ogramy first UC20 appliance attempt ... : https://people.canonical.com/~ogra/UC20/pi-mediacenter-appliance/14:57
mvoijohnson: feel free to cherry-pick/push yourself to the branch but I can do it as well14:57
ogra(still need an interface that allows /dev/input without Mir/X11 so i can switch kodi to strict mode)14:58
ijohnsonmvo: I don't have permissions to push to the release branches, so maybe you could cherry-pick for me14:59
mvoijohnson: sure, will do15:00
mvoijohnson: all four commits from https://github.com/snapcore/snapd/pull/9885/commits - right?15:05
mupPR #9885: snap/info.go: ignore unknown daemons in SortSnapServices <Bug> <Squash-merge> <⚠ Critical> <Created by anonymouse64> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/9885>15:05
ijohnsonmvo: only 3 of them are necessary, e563dd413875a556a9eff6e0276f6ab57a672c16, 88d1e8aa5a00e7071bfc0449ab40b799c0d07da6 and f41ed8094010e74c691f4368aec7d547d286fbff, but the last one is just a typo fix15:06
ijohnsonso up to you if you wanna cherry-pick the typo fix on 2.4915:06
ijohnsonI'd say yes simply because it reduces likelihood of conflicts15:06
mvo+215:06
mvoor +4 even ;)15:06
mvoanyway, done15:06
zygamvo did I hear that core 20 is out?15:08
mvozyga: I did!15:08
zygahey guys, I worked from the kitchen all day, so I was not on IRC15:09
zyga(worked from windows laptop)15:09
zygacongratulations!15:09
zygais there any publicity going on as well?15:09
pedroniszyga: yes, https://ubuntu.com/blog/ubuntu-core-20-secures-linux-for-iot15:11
zygareally nice work!15:14
mvozyga: thank you! but congrats to you as well, you helped make this happen :)15:18
zygaI'm sorry I didn't endure to stay till the end15:18
zygaI'm looking into some zmk patches for bitbake compatibility, too bad Debian freeze is in effect, I cannot even upload things nwo15:19
zyga*now15:19
=== seb128_ is now known as seb128
pedronisactually there were tests for what I mentioned in the SU but the suite was never hooked up :/16:51
ogramvo, is there a bug open about the fact that pi-config options do not seem to work at all anymore in UC20 (pre-seeding disable-overscan sets the config but does not change config.txt)17:18
pedronisogra: there is a bug,  ijohnson has been looking into it17:44
ograperfect, then i dont need to file one 😉17:45
sbeattiedariball: [I think you dropped when I wrote this yesterday] I'm no expert in the kernel snaps, but my understanding is that is repackaging the linux-raspi (https://launchpad.net/ubuntu/+source/linux-raspi2) archive package; the source tree would be https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-raspi/+git/focal?h=master though it seems master is behind what's in the archive (though the appropriate tag is on master-next)17:50
sbeattiebah, actually https://launchpad.net/ubuntu/+source/linux-raspi (not raspi2)17:50
ijohnsonogra: pedronis the bug is https://bugs.launchpad.net/snapd/+bug/190935318:02
mupBug #1909353: pi-config not working in UC 20 <snapd:Triaged by pedronis> <https://launchpad.net/bugs/1909353>18:02
ijohnsonI was hoping to get a little bit more free time and propose what I think is a more useful fix to get the pi gadget fixed instead of hacking in snapd, but alas I have not gotten my fix to work on 32-bit armhf yet, mainly due to no time to test it out yet18:02
=== ijohnson is now known as ijohnson|lunch
ograthx !18:04
* ogra hits "me too"18:05
mupPR snapd#9889 opened: cmd/snap-bootstrap/initramfs-mounts: write realistic modeenv for recover+install <Needs Samuele review> <Run nested> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9889>21:46
=== ijohnson|lunch is now known as ijohnson
ijohnsonwhoops forget to leave lunch mode :-)21:46
mupPR snapd#9890 opened: misc: little tweaks <Simple 😃> <Skip spread> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9890>22:36

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