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

mborzeckimorning06:40
mborzeckischool run, back in 3007:28
mborzeckire07:48
mborzeckimvo: hey07:48
mvogood morning mborzecki07:49
mupPR snapd#9920 closed: many: add Delegate=true to generated systemd units for special interfaces (master) <⚠ Critical> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9920>07:50
mupPR snapd#9925 opened: release: snapd 2.49 <Skip spread> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9925>07:55
mborzeckimvo: can you upload the release tarballs to github releasese page?07:57
mvomborzecki: sure, just done07:58
mborzeckithanks!07:58
pstolowskimorning08:01
mvopstolowski: good morning08:18
mborzeckipushed out 2.49 to arch08:28
mborzeckimvo: btw. not really needed at this point, but i noticed the source tarballs for 2.48.1 are missing from github ;)08:29
mborzeckiit's probably for posterity only08:29
pedronis#9893 needs a 2nd review08:51
mupPR #9893: store: support validation sets with fetch-assertions action <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9893>08:51
pstolowskiyep, i was just going to ask for 2nd review :}09:00
mborzeckimvo: do you need me in the desktop sync?09:02
mvomborzecki: no, it's fine09:02
mborzeckiok09:03
=== mcphail2 is now known as mcphail
mupPR snapd#9926 opened: interfaces/seccomp: allow copy_file_range by default <Needs security review> <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9926>09:55
mborzeckimvo: ^^ quick fix09:55
pstolowskimborzecki: how do you feel about doing 2nd review of 9893?10:28
mborzeckipstolowski: have it open, but haven't looked in detail yet, will try to go through it today10:33
pstolowskity10:33
pstolowskiijohnson: lol @ your file range copy comment13:09
ijohnson:-)13:10
mupPR snapd#9927 opened: packaging/fedora: sync with downstream packaging in Fedora <⛔ Blocked> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9927>13:11
mborzeckiijohnson: hahaha, yeah, felt kind of familiar but i saw we only had it in the docker iface, so assumed that whatever we hd for master did not land13:12
mborzeckiijohnson: can we land it? :) node14 seems to use that syscall via libuv13:13
mborzeckii mean #970213:13
mupPR #9702: interfaces/seccomp/template.go: allow copy_file_range <Needs security review> <Simple 😃> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9702>13:13
mupPR snapd#9926 closed: interfaces/seccomp: allow copy_file_range by default <Needs security review> <Simple 😃> <Created by bboozzoo> <Closed by bboozzoo> <https://github.com/snapcore/snapd/pull/9926>13:16
ijohnsonmborzecki: still needs security review :-/13:17
mborzeckiamurray: gentle ping ^^13:19
mupPR snapd#9928 opened: boot: cmd/snap-bootstrap: handle a candidate recovery system <⛔ Blocked> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9928>13:51
mupPR snapd#9925 closed: release: snapd 2.49 <Skip spread> <Created by mvo5> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9925>14:06
pedronisijohnson: I think I found some go code that does what you where trying to do14:39
pedronis*were14:39
ijohnsonah nice14:39
ijohnsonwell as you mentioned what I ended up doing is actually not what we need to do so maybe it is all moot14:39
ijohnsonbut I would be curious to see in any case14:39
pedronisijohnson: it's a bit old so it nees changes but I can put it somewhere14:40
ijohnsonpedronis: in any case this is what I settled on to create a self-signed account-key, but I'll just ignore that for now https://gist.github.com/anonymouse64/22fd11b48676e1641eb51bd6d7fe403114:42
pedronisijohnson: https://gist.github.com/pedronis/d4ba5849e40814f1fa5ee22d8b52547114:43
ijohnsonpedronis: ah nice I missed some of those fuctions in assertstest I guess14:44
ijohnsonpedronis: is there one to output the private gpg encoded private key that can be imported by fakestore to sign the repair assertion ?14:45
pedronisijohnson: that's the dumpRSAKey thing,  see it's consumed later by ReadPrivKey14:48
pedronisto check it works14:48
ijohnsonah right got it14:49
pedronisijohnson: basically once fixed, the output would need to be embedded in systestkeys14:51
pedronisijohnson: tbh, I don't remember why I didn't do that at the time I wrote this14:53
pedronismaybe I used the result only locally14:53
ijohnsonanyways yes this seems to do what I need for the repair assertion account-key14:53
jdstrandijohnson: hey, requested a teensy change for copy_file_range14:54
ijohnsonhey jdstrand, thanks! I'll have a look in a bit, I have quite a few meetings this morning14:54
jdstrandijohnson: np at all. have a nice rest of the day :)14:55
jdstrandamurray: you may be interested in ^14:55
pedronisijohnson: I think it needs a couple of fixes because some assertstest helpers have changed14:56
jdstrandhey pedronis :)14:56
pedronisjdstrand: hi14:56
pedronisijohnson: if we haven't grown something like it since, it might be worth adding dumpRSAKey to assertstest14:58
ijohnsonpedronis: ack14:59
pedronisijohnson: are unblocked on this?16:11
ijohnsonsorry still in meetings16:11
pedronissorry, my fault16:14
ackkhi, snapcraft question: in a snap, I have libblas.so.3 (pulled in as a dependency of a stage-packages) ending up in $SNAP/usr/lib/x86_64-linux-gnu/blas, while on a regular install it's under /usr/lib/x86_64-linux-gnu. is that snapcraft doing?16:44
bandalihi, is it intentional that the 'current' symlink of a snap doesn't seem to be changed to the latest version until it's actually run?17:02
bandalii ask because i was hoping to jiggle a few things around in a snap's $XDG_CONFIG_HOME in a post-refresh hook, but i don't think it's working :-/17:04
bandaliany thoughts/suggestions diddledan?17:14
pstolowskibandali: no. current symlinks should be updated when post-refresh hook runs17:15
diddledanthe user-level ones aren't, pstolowski17:15
pstolowskididdledan: you're right!17:16
diddledanonly the non-user-specific ones are. i.e. $SNAP, $SNAP_DATA and $SNAP_COMMON are updated17:16
bandalierr, i'm kind of confused :-/  do you have an example for me to check, for how to update stuff in XDG_CONFIG_HOME in a post-refresh hook?17:16
bandali(if it's at all possible ?)17:16
diddledanit's not possible17:16
bandalioh, dang.. my use case was adding a symlink in XDG_CONFIG_HOME/autostart/ to a desktop file somewhere in $SNAP/17:17
bandalibut the symlink would need to be updated/fixed in each upgrade because $SNAP changes17:18
diddledansymlink it through /snap/$SNAPNAME/current instead of $SNAP17:18
bandaliohh okay cool that might work! thanks for the idea, i'll give that a shot17:20
mupPR snapcraft#3434 closed: build providers: clean environment if project directory is changed <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3434>19:05
mupPR snapcraft#3320 closed: python v2 plugin: consistent linking for interpreter <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3320>19:10
mupPR snapcraft#3363 closed: repo: apt sources management refactor <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3363>19:10
mupPR snapcraft#3370 closed: repo: address issue with fix_symlink() when pointed at directory <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3370>19:10
ijohnsonbandali: diddledan: mind filing a bug about only switching $SNAP_USER_* current symlinks at runtime?19:16
ijohnsonI know why we don't do it because it's $HARD but it would be nice to track that we don't do it in case it comes up again19:16
mvojust in case soneone wonders - snapd (and more) in hirsute broken because of https://bugs.launchpad.net/ubuntu/+source/fakeroot/+bug/1915250 - only happens if you run hirsute-proposed19:20
mupBug #1915250: buildd file owner/group for shared libraries  <binutils (Ubuntu):Confirmed> <debhelper (Ubuntu):Confirmed> <fakeroot (Ubuntu):Confirmed> <glibc (Ubuntu):Confirmed> <debhelper (Debian):Unknown> <https://launchpad.net/bugs/1915250>19:20
tianonis there a way to see what underlying event triggered builds in https://snapcraft.io/xxx/builds ? (whether it was a GitHub webhook, manual trigger, etc)20:40
ijohnsontianon: builds from snapcraft.io/builds will end up in launchpad at https://launchpad.net/~build.snapcraft.io/+snaps, so you could try to find the snap you are looking for in there, otherwise the #launchpad channel might have more tips21:57
cjwatsonI think this was a feature that the old build.snapcraft.io used to have that was lost in the rewrite.21:57
cjwatsonIIRC Launchpad was never told the triggering reason for the build - it was only ever stored on the BSI side.21:57
tianonright, the builds themselves show up there, but the trigger doesn't21:58
cjwatsonAnd I think the rewrite decided that they wanted to go from not much persistent state to no persistent state.21:58
tianonI can go into the build logs on snapcraft.io and see the launchpad link for a specific build even (it's the first line)21:58
cjwatsonTo restore the feature I guess we'd need to extend LP's data model to have some kind of a triggering-reason column, and have snapcraft.io/build pass it so that it could be stored and rendered21:59
tianonbut the issue I'm having is that my last commit was 5 days ago and there have been two all-architectures rebulid triggers since that I'm scratching my head about :)21:59
tianonmaybe there's a wishlist tracker somewhere this could be filed in? (or already is?) O:)22:00
cjwatsonhttps://github.com/canonical-web-and-design/snapcraft.io/issues22:02
cjwatsonI think22:02
cjwatson(Maybe they do have a database on the snapcraft.io side that could be used without a lot of complicated back-and-forth with LP.  I'm not sure - I was involved quite a bit with the old BSI but not much with the rewrite.)22:03
tianonsearching those now, and I'll file something if I don't find anything; thanks :)22:05
tianon(ended up with https://github.com/canonical-web-and-design/snapcraft.io/issues/3408 for anyone curious or interested)22:24

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