[01:55] <mup> PR snapd#10675 opened: tests: migrate tests that are only executed on xenial to bionic <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10675>
[03:10] <mup> PR snapd#10676 opened: cmd/snap-update-ns/change.go: sort needed, desired and not reused mount entries <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10676>
[05:27] <mardy> 'morning!
[05:28] <mardy> question of the day: what is the snappy-hub? https://code.launchpad.net/~alexmurray/snappy-hub/update-for-snapd-2.51.6/+merge/407651
[05:28] <mardy> is it the base-set of apparmor templates, starting from which snapd composes the final profiles?
[05:32] <mborzecki> morning
[05:34] <mborzecki> mardy: look like amurray's private of snappy-debug snap
[05:34] <mborzecki> private copy ofc
[05:34] <mborzecki> mardy: fwiw the base template which snapd uses is right here: https://github.com/snapcore/snapd/blob/master/interfaces/apparmor/template.go
[05:42] <mardy> mborzecki: good morning! Thanks, so I guess it's not for us to review?
[05:44] <mborzecki> mardy: no, i don't think so, i've never reviewed anythign there, but you can always ask amurray about snappy-debug
[06:18] <zyga> good morning :)
[06:18] <zyga> hello mvo
[06:19] <mborzecki> zyga: hey
[06:19] <mvo> hey zyga and mborzecki 
[06:19] <zyga> mvo, it's gotten cold here
[06:20] <zyga> when I was leaving the house today it was just 9C outside
[06:20] <zyga> brr
[06:21] <pstolowski> morning
[06:21] <zyga> hey pawel!
[06:21] <mborzecki> mvo: pstolowski and hey
[06:21] <mborzecki> yeah, it's cold here too, 10C at most
[06:21] <mborzecki> and it's not even september :/
[06:22] <mardy> hi zyga, mvo, pstolowski :-)
[06:22] <zyga> hey mardy 
[06:22] <mardy> mborzecki: ah! it's 11C here, so we win today :-)
[06:34] <mvo> good morning pstolowski and mardy 
[06:34] <mvo> zyga: yeah, same here (but I don't think 9C just yet), feels like the summer is on the way out
[06:35] <zyga> indeed :/
[06:51] <mup> PR snapd#10644 closed: o/snapstate: don't hold some snaps if not all snaps can be held by the given gating snap <Needs Samuele review> <Refresh control> <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/10644>
[06:51] <mup> PR snapd#10673 closed: .github/workflows/test.yaml: fix logic <Simple 😃> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10673>
[06:56] <mup> PR snapd#10647 closed: o/snapstate: fail remove with invalid snap names <Created by MiguelPires> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10647>
[06:56] <mup> PR snapd#10669 closed: o/hookstate/ctlcmd: correct err message if missing root <Created by MiguelPires> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10669>
[07:15] <mvo> mardy: 10606 is ready it seems, just needs a master merge to resolve a conflict and (maaaaaybe) consider my diff in there but that would be one more merged PR :)
[07:16] <mup> PR snapd#10107 closed: packaging: stop snapd.{socket,service} before purging data <Precious Logs> <Test Robustness> <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/10107>
[07:19] <mardy> mvo: I'll see if I can apply your suggestion without major changes (but I can't foresee any)
[07:21] <mvo> mardy: I tested locally and it seems unit tests are still happy
[07:22] <mvo> mardy: but I only looked very briefly :)
[07:29] <mardy> mvo: thanks, I applied it and also rebased+squashed the branch on top of the latest master, since it already got a few approvals
[07:31] <mardy> it's "funny", that on github you can make any changes to your branch, and you do not lose the approvals. On Gitlab one generally loses them (though it can also be configured to retain them)
[07:31] <mup> PR snapd#10677 opened: snapstate: fix misleading `assumes` error message <Simple 😃> <Skip spread> <Created by mvo5> <https://github.com/snapcore/snapd/pull/10677>
[07:46] <mup> PR snapd#10671 closed: o/assertstate,snapstate: refresh validation set assertions with snap declarations <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <Closed by stolowski> <https://github.com/snapcore/snapd/pull/10671>
[08:31] <mup> PR snapd#10678 opened: o/snapstate: enforce validation sets assertions when removing snaps <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10678>
[08:33] <pstolowski> mardy: yes it's a bit controversial
[08:33] <pstolowski> we should use common sense and if changes are not trivial, re-request reviews for already approved
[08:38] <mborzecki> mvo: quick question about remodel since pedronis isn't around yet and maybe you remember what the agreement was, we update the tracking channel of kernel and gadget snaps, do you think the tracking channel of application snaps should be updated too?
[08:42] <mvo> mborzecki: I think so, if it has changed we should probably do the same 
[08:43] <mborzecki> mvo: well, i extended the uc20 managers test that i have and we're not updating it ;)
[08:43] <mborzecki> i don't think that we do it for 18 remodels either
[08:44] <mborzecki> mvo: fwiw, we only add install tasks, but otoh it wasn't really possible to specify tracking channel in 18 remodels
[08:44] <mvo> mborzecki: but I also have a question for you: in https://github.com/snapcore/snapd/pull/10634 I made some progress and debian/ubuntu seems to be in reasonable shape with go-modules. but the rpm is giving me a bit of trouble, it looks when I run "spread fedora-34-64:tests/main/listing" locally that it still tries to GO111MODULES=off things even though in this branch there should be no GO111MODULE=off left. so it seems this is somehow implicit from the rpm macros?
[08:44] <mup> PR #10634: many: move to go modules gradually  <⛔ Blocked> <Created by mvo5> <https://github.com/snapcore/snapd/pull/10634>
[08:44] <mvo> mborzecki: woah, thanks for finding this
[08:45] <mvo> mborzecki: I guess that is something we need to fix eventually
[08:45] <mvo> mborzecki: :/
[08:45] <mborzecki> mvo: it may be the case that the go rpm packaging sets that, let me check
[08:52] <mborzecki> mvo: go packaging in fedora sets that
[08:53] <mborzecki> mvo: https://paste.ubuntu.com/p/CKTWyCGD2W/
[08:58] <mvo> mborzecki: hm, so it looks like this needs some deeper dive :/
[08:58] <mvo> mborzecki: thanks, good to know where to look
[09:02] <mborzecki> mvo: it's part of the distro marcos https://paste.ubuntu.com/p/hdKZZZvGYs/
[09:03] <mborzecki> so unless you redefine the marco it's not possible to drop it?
[09:05] <mborzecki> still, do we need to drop that?
[09:06] <zyga> hey miguelpires 
[09:08] <miguelpires> Hi =)
[09:23] <mborzecki> mvo: any clue who can fix/update the docs index while degville is away? some links are bad eg. https://snapcraft.io/docs/snapcraft-extensions
[09:24] <pstolowski> miguelpires: hi, if you could address the last remaining comment from https://github.com/snapcore/snapd/pull/10584 that would be great, would love to see it landed today
[09:24] <mup> PR #10584: o/assertstate: fix missing 'scheduled' header when auto refreshing assertions <Created by MiguelPires> <https://github.com/snapcore/snapd/pull/10584>
[09:26] <miguelpires> @psto
[09:26] <miguelpires> pstolowski pushing it now =)
[09:27] <pstolowski> miguelpires: awesome! thanks
[09:54] <degville> mborzecki / mvo: having a look at that issue now (I can spare some time).
[09:54] <mborzecki> degville: hey, no worries, you're on vac 😉 do you know who i can poke to take a look at this?
[09:55] <degville> mborzecki: first glance, and it looks like the webteam have swapped out the old  table of contents again.
[09:55] <degville> mborzecki: Fran on the webteam made the change.
[09:56] <degville> they're now using this as the source for all pages: https://forum.snapcraft.io/t/snap-documentation-pages/25750
[09:57] <mborzecki> degville: cool, i'll ping jkfran in the web channel
[09:59] <degville> mborzecki: thanks! worst case is he'll need to revert to the old style. It's very annoying they make these changes like without tests or letting us know.
[09:59] <pstolowski> miguelpires: +1, but I think there is a small vet problem
[10:00] <mborzecki> degville: yeah, thank you for looking into this 🙂
[10:02] <miguelpires> pstolowski Yeah, the static checks are failing but I can't reproduce it locally. Strange
[10:02] <degville> mborzecki: no problem, sorry you had to get involved. Thank you!
[10:03] <pstolowski> miguelpires: different go vet versions probably
[10:25] <zyga> hey degville :)
[10:25] <zyga> long time no see
[10:35] <mborzecki> pstolowski: can https://github.com/snapcore/snapd/pull/10243 be closed or do you plan to update the test?
[10:35] <mup> PR #10243: tests: failure of prereqs on content interface doesn't prevent install <Created by stolowski> <https://github.com/snapcore/snapd/pull/10243>
[10:37] <degville> zyga: hello!! yeah, it has been a while. Hope you're doing well.
[10:38] <zyga> :)
[10:38] <zyga> yeah, I'm fine
[10:38] <zyga> I miss sprints
[10:38] <zyga> and the people
[10:40] <degville> yeah. I think we all do, although we can hopefully get back to them next year. I really miss travelling too - stayed at home this year, which has been fun too, but I'm already looking forward to exploring further afield.
[10:42] <zyga> no Frankfurt in Sept?
[10:52] <pstolowski> mborzecki: no, it was unexpected discovery to me but works as designed, if you mean updating XXX comment then yes, i should update it. i think it makes sense to have this test
[10:53] <mborzecki> ok, sgtm
[10:53] <pstolowski> lemme do this right now
[10:58] <pstolowski> mborzecki: updated PR description as well
[10:58] <mborzecki> anyone using `hub` tool? damn thing doesn't want to checkout PRs anymore, getting 404
[11:00] <pstolowski> mborzecki: i do from time to time, let me check
[11:01] <pstolowski> mborzecki: works, hub 2.14.2
[11:01] <mborzecki> pstolowski: hm same version :/
[11:02] <pstolowski> mborzecki: hub pr checkout 10676, that's what i tried
[11:14] <mborzecki> pstolowski: ok, i'm a muppet, was calling that in a different repository
[11:14] <pstolowski> lol
[11:21] <pstolowski> mvo: can you land https://github.com/snapcore/snapd/pull/10617? random failures
[11:21] <mup> PR #10617: cmd/snap: add Size column to refresh --list <Created by MiguelPires> <https://github.com/snapcore/snapd/pull/10617>
[11:45] <pstolowski> i saw some PRs failing with https://codecov.io: 404 on CodeCov
[11:52] <mup> PR snapd#10679 opened: tests: fix restore in snapfuse spread tests <Created by MiguelPires> <https://github.com/snapcore/snapd/pull/10679>
[12:19] <mborzecki> miguelpires: hm something went south a bit: https://paste.ubuntu.com/p/9z2R25ZtSX/ can you check whether this happens on master too?
[12:19] <mborzecki> (that's after mergin master to #10241)
[12:19] <mup> Bug #10241: readline5: FTBFS: Missing Build-Depends on 'texinfo' <readline5 (Ubuntu):Fix Released by doko> <readline5 (Debian):Fix Released> <https://launchpad.net/bugs/10241>
[12:19] <mup> PR #10241: tests: set memory limit for snapd <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10241>
[12:23] <miguelpires> mborzecki: do you mean the error itself or the weird whitespace? I opened a PR to fix the spread test: https://github.com/snapcore/snapd/pull/10679 
[12:23] <mup> PR #10679: tests: fix restore in snapfuse spread tests <Created by MiguelPires> <https://github.com/snapcore/snapd/pull/10679>
[12:24] <mborzecki> miguelpires: the spread test, thanks for pushing a fix!
[12:29] <pstolowski> miguelpires: haha, funny how ---purge went unnoticed because of that other problem you fixed
[12:38] <mardy> are your PRs also affected by spread timeouts, or is it only mine? :-) https://github.com/snapcore/snapd/pull/10606
[12:38] <mup> PR #10606: o/hookstate/ctlcmd: unify the error message when context is missing <Squash-merge> <Simple 😃> <Created by mardy> <https://github.com/snapcore/snapd/pull/10606>
[12:42] <miguelpires> haha, I guess now we know the remove validation really works!
[12:44] <mvo> miguelpires: \o/
[12:49] <pstolowski> :)
[12:53] <ares1256> HI, I am working on a project to setup a hotspot and do a lot more things. So, I am using wifi-ap to create hotspot. I add it to stage snaps. How am I supposed to run a snap installed in my snap?
[12:53] <ares1256> i try running the executable in the $SNAP/bin folder but it does not work, am I missing something?
[12:55] <miguelpires> mardy: I noticed the same  "cannot provision XYZ: quota 'CPUS' exceeded"
[12:55] <zyga> ares1256, do you want to run an exported snap application from the system or an internal binary from a snap command 
[12:56] <ares1256> yeah I want to run an exported snap from my snap command
[12:56] <zyga> ?
[12:56] <zyga> wait, what is an exported snap?
[12:56] <zyga> do you want to run an app published by your own snap from another app in your own snap?
[12:56] <ares1256> like a snap which is already on the store'
[12:56] <zyga> ah
[12:56] <zyga> that's not possible unless your snap is using classic confinement
[12:56] <ares1256> ohh
[12:56] <zyga> that would introduce a dependency
[12:57] <zyga> and those must be modeled with interfaces 
[12:57] <zyga> but technically it's just hard/impossible to run an app from another app 
[12:57] <zyga> mainly because seccomp, by design, does not allow a process to shed past restrictions
[12:58] <ares1256> and that would also mean that the snap should have interfaces available to interact with it right?like slots availble to connect to...
[12:58] <zyga> and technically your snap sandbox would combine with the sandbox of the other app, resulting in breakage at best
[12:58] <zyga> right but even then you have to explicitly design for that
[12:58] <ares1256> ohh...
[12:58] <zyga> e.g. by offering a socket and having an interface that lets one of the snaps talk to the other
[12:58] <zyga> services are hard
[12:59] <zyga> the socket model is really the way forward but it requires some preparation
[12:59] <zyga> as each service runs with its own confinement
[12:59] <ares1256> so lets say there is a snap wifi-ap
[12:59] <zyga> and technically the interface is not about snap-to-snap communication
[12:59] <zyga> but about a snap-to-service
[12:59] <ares1256> and i can start wifi-sp by command start
[12:59] <zyga> and the service _can_ be replaced by another snap
[12:59] <ares1256> so i cant have a shell file saying "start"?
[13:00] <ares1256> to begin that wifi-ap snap?
[13:00] <zyga> no
[13:00] <ares1256> ohh
[13:00] <zyga> well, I can explain why
[13:00] <zyga> but no
[13:00] <zyga> for both technical and design reasons
[13:00] <zyga> you can run any command from the unconfined host process
[13:01] <zyga> but once you are inside a snap application, you are confined and you cannot, by design, execute apps from other snaps
[13:01] <zyga> (or most of the host apps for that matter)
[13:01] <zyga> on ubuntu-core devices this is strict, on classic devices you may use classic confinement to do more free-form snaps but those are notoriously hard to get right
[13:01] <zyga> (with apologies to sergiusens)
[13:02] <ares1256> yeah i was able to do it in devmode...but when i came to starict.....nothing was working
[13:02] <zyga> right
[13:02] <zyga> that's expecte
[13:02] <zyga> *expected
[13:02] <zyga> even in devmode you could easily hit a wall where it breaks though
[13:02] <zyga> because unless both snaps are in devmode
[13:03] <zyga> the "other" snap is still using normal confinement
[13:03] <ares1256> so my only option is to create my own hotspot snap?
[13:03] <zyga> or bundle both into one larger snap
[13:03] <ares1256> if i need full control over it
[13:03] <ogra> ares1256, have a look at https://github.com/ogra1/nm-wifi-hotspot-snap
[13:04] <ogra> (also in the store already) 
[13:04] <zyga> or work with the author of the other snap to create a control interface
[13:04] <zyga> (a socket and a matching snapd interface that allows you to use it)
[13:04] <zyga> hey ogra :-)
[13:04] <ogra> yo !
[13:04] <zyga> how have you been?
[13:04] <ogra> playing with kiosks recently again 
[13:05] <ares1256> thanks, i wil look into this @o
[13:05] <ogra> (trying to convince a browser to use accelerated video playback on a PI ... with a fun 5000 line patch to chromium 😛 )
[13:05] <ares1256> thanks ogra and zyga i will look into this
[13:06] <zyga> ares1256, good luck!
[13:06] <zyga> ogra, raspberry pi, how we all have to deal with it :)
[13:06] <ogra> ares1256, also, in case you are interested in a captive-portal setup https://github.com/ogra1/opennds-snap ... (https://snapcraft.io/opennds and https://snapcraft.io/nm-wifi-hotspot are the store pages for them)
[13:07] <ogra> zyga, yeah ... its a blessing and a curse at the same time 🙂
[13:07] <ares1256> Alright(y) 
[13:07] <zyga> ogra, I was looking for CM4 modules but availability is well into the Q2 2022
[13:07] <ogra> yeah, chip shortage 
[13:08] <zyga> at some point I can switch to pico :)
[13:08] <zyga> and play with zephyr 
[13:08] <zyga> but not yet
[13:08] <ogra> i luckily got my CM4 half a year ago ... running fine, booting off NVME PCIe 😉
[13:09] <zyga> ogra, I was looking for a model that doesn't suck, some ram, emmc and wifi
[13:09] <zyga> no luck
[13:09] <zyga> base boards are plentiful though
[13:09] <ogra> yeah
[13:10] <ogra> i guess the chip shortage will still last a while 😞
[13:11] <zyga> how come we have chip shortage and not beer shortage
[13:11] <zyga> can people really consume more silicon than alcohol? ;-)
[13:12] <ogra> lol
[13:25] <ares1256> hi ogra , just to be sure. If i can use nm-wifi-hotspot. I have to include the app inside my snap right?
[13:25] <ares1256> *inside my snapcraft.yaml
[13:25] <ogra> ares1256, as you like, you can just use the existing snap but will need to manually set the SSID and password
[13:26] <ares1256> yeah thats fine
[13:26] <ares1256> ok thanks
[13:26] <ogra> or you can include my snap via stage-snaps 
[13:26] <ogra> or you can just copy/paste the part and app bits from my snapcraft.yaml into yours 
[13:26] <ogra> all three should work
[13:26] <ares1256> if i stage snaps, can i run this command then " snap set nm-wifi-hotspot ssid="My Cool SSID""
[13:27] <ogra> it will be slghtly different since you likely wont call it nm-wifi-hotspot ... but yeah, the basics should be the same
[13:27] <ares1256> ohk(y) 
[13:28] <ogra> if you have any issues down the road, feel free to ask 
[13:29] <ares1256> ok, thanks
[13:32] <ares1256> just another small question of a different topic
[13:32] <ares1256> i want to modify a config file that i stored in $snap_data directory
[13:32] <ares1256> so i add a plug
[13:32] <ares1256>   config-files:
[13:32] <ares1256>     interface: system-files
[13:32] <ares1256>     read:
[13:32] <ares1256>     - $SNAP_DATA/AP_config
[13:32] <ares1256>     - $SNAP_DATA/lte_config
[13:33] <ares1256> when i compile this, it always gives an erro that it requires "/" first
[13:34] <ogra> you do not need an interface for accessing $SNAP_DATA ... 
[13:34] <ogra> that is always rw for the snap 
[13:35] <ares1256> ohh
[13:35] <ares1256> ok
[13:35] <ogra> and yes, system-files requires a full path on the filesystem, it is usually used to i.e. access something on the host filesystem you normally can not get access to with any existing interface
[13:41] <pstolowski> mvo: can you merge https://github.com/snapcore/snapd/pull/10584 ?
[13:41] <mup> PR #10584: o/assertstate: fix missing 'scheduled' header when auto refreshing assertions <Created by MiguelPires> <https://github.com/snapcore/snapd/pull/10584>
[13:48] <mvo> pstolowski: sure
[13:48] <mvo> thanks pstolowski and miguelpires 
[13:52] <mup> PR snapd#10584 closed: o/assertstate: fix missing 'scheduled' header when auto refreshing assertions <Created by MiguelPires> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10584>
[14:22] <mup> PR snapd#10680 opened: o/assertstate,daemon: refresh validation sets assertions with snap declarations <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10680>
[14:28] <mvo> ijohnson[m]: a second review for 10666 would be great
[14:29] <mardy> mvo: could you please use your magic powers on https://github.com/snapcore/snapd/pull/10606 ?
[14:29] <mup> PR #10606: o/hookstate/ctlcmd: unify the error message when context is missing <Squash-merge> <Simple 😃> <Created by mardy> <https://github.com/snapcore/snapd/pull/10606>
[14:29] <pstolowski> mvo: can you merge #10617 as well?
[14:29] <mup> PR #10617: cmd/snap: add Size column to refresh --list <Created by MiguelPires> <https://github.com/snapcore/snapd/pull/10617>
[14:29] <mup> Bug #10617: Multiple cd burning problems <Ubuntu:Fix Released> <https://launchpad.net/bugs/10617>
[14:42] <pstolowski> my old PR that is test-only needs a 2nd review: https://github.com/snapcore/snapd/pull/10243
[14:42] <mup> PR #10243: tests: failure of prereqs on content interface doesn't prevent install <Created by stolowski> <https://github.com/snapcore/snapd/pull/10243>
[14:47] <pstolowski> cachio_: could you merge master into #10443 to ensure it still passes (i was last executed 1 month ago)
[14:47] <mup> PR #10443: tests: check files and dirs are cleaned for each test <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10443>
[14:47] <mup> Bug #10443: X pointer persistent in middle of screen on login <xfree86 (Ubuntu):Invalid by daniels> <https://launchpad.net/bugs/10443>
[15:49] <miguelpires> mvo: can you merge #10679 please?
[15:49] <mup> PR #10679: tests: fix restore in snapfuse spread tests <Created by MiguelPires> <https://github.com/snapcore/snapd/pull/10679>
[15:49] <mup> Bug #10679: Use xdelta binary diffs in Ubuntu unstable release? <apt (Ubuntu):Invalid by mdz> <https://launchpad.net/bugs/10679>
[15:50] <mvo> miguelpires: sure
[15:53] <mup> PR snapd#10679 closed: tests: fix restore in snapfuse spread tests <Created by MiguelPires> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10679>
[16:46] <mup> PR snapcraft#3571 opened: [WIP] offline <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3571>
[20:36] <mup> PR snapcraft#3572 opened: cli & providers: pass part names for lifecycle commands <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3572>
[20:46]  * cachio_ afk
[23:59] <mup> PR snapd#10681 opened: interfaces/hardware-observe: add some dmi properties <Simple 😃> <Needs security review> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10681>