/srv/irclogs.ubuntu.com/2022/04/20/#snappy.txt

mupPR snapcraft#3694 opened: autotools v1 plugin: fix fatal crash when running autogen.sh or bootstrap <Created by mtmiller> <https://github.com/snapcore/snapcraft/pull/3694>00:52
mborzeckimorning06:14
mupPR snapd#11688 closed: tests/nested/manual/core20-early-config: disable netplan checks <Simple 😃> <Run nested> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/11688>06:28
amurrayjdstrand_ zyga[m]: hey am wondering if either of you could give any background as to why we run classic snaps in complain mode? why not just run them unconfined?06:47
zyga[m]As a means for "advice"06:48
zyga[m]I think it is not very useful bit IIRC that was the original rationale 06:49
amurrayyou mean to advise the user/system that the process is a snap etc? ie to label it as such? I ask since I am hitting a weird issue with the emacs snap https://github.com/alexmurray/emacs-snap/issues/3606:50
amurrayI am planning to "fix" this by making the emacs snap unconfine itself but I am wondering if it would be worth doing this for all classic snaps?06:50
zyga[m]I think it was not for the system but instead for the developer 06:53
zyga[m]That decision predates portals 06:53
zyga[m]We also had an idea for some sort of classic interfaces so, whatever that might be, if my memory serves me right 06:53
zyga[m]Perhaps there is more in the git history 06:54
zyga[m]I think it would be good to unconfine all classic snaps as that goes against portal detection logic 06:54
amurrayzyga[m]: cool - thanks for your help mate, I think this may be a worthwhile change - hope all is well 07:00
zyga[m]Yeah I think the chance for regression is low07:00
zyga[m]What was the original motivation unconfining emacs? Is it the cost of the audit messages?07:01
amurrayno, it seems that if emacs spawns say firefox, the firefox window gets associated with the emacs icon on the dock - and this all comes down to firefox then running under the "snap.emacs.emacs (complain)" profile07:02
amurrayso the easiest fix for this is to have emacs itself run unconfined and then anything it spawns will also be unconfined07:03
zyga[m]Oh that is even more the reason to change this 07:04
zyga[m]I think this will also help vocode07:04
amurrayyep - basically any dev tool which launches other things, esp desktop apps, would benefit from this07:05
zyga[m]Indeed 07:05
zyga[m]I would love if apps switched to some xdg app launcher portal but that will take a decade to address 07:06
zyga[m]Thank you for looking into this Alex 07:07
pstolowskimorning07:07
amurrayno worries zyga[m]  - thanks again for your guidance :)07:17
zyga[m]:-)07:22
pstolowskimborzecki: hey, can you take a look at https://github.com/snapcore/snapd/pull/11644 ?07:23
mupPR #11644: image, store: move ToolingStore to store/tooling package <Created by stolowski> <https://github.com/snapcore/snapd/pull/11644>07:23
mupPR snapd#11666 closed: i/b/custom_device: fix generation of udev rules <Needs Samuele review> <Created by mardy> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11666>07:23
mupPR snapd#11654 closed: seed: return all essential snaps found if no types are given to LoadEssentialMeta <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11654>07:28
mupPR snapd#11691 closed: HACKING: update info for snapcraft remote build <Simple 😃> <Skip spread> <Created by mardy> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/11691>07:54
mupPR snapd#11692 opened: gadget: drop unused code in unit tests <Simple 😃> <Skip spread> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/11692>07:54
mupPR snapd#11644 closed: image, store: move ToolingStore to store/tooling package <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/11644>08:04
bdmurrayWhat is the status bug 1969162?08:07
mupBug #1969162: bad interaction between snapd and update-notifier when snapd package is being upgraded <snapd (Ubuntu):In Progress by mardy> <update-notifier (Ubuntu):Confirmed> <https://launchpad.net/bugs/1969162>08:07
bdmurrayIf that isn't fixed I think we'd want to delay release upgrades to Jammy.08:08
mardybdmurray: thanks for the heads up, I pinged Samuele to review it08:12
mardybdmurray: maybe you can help me with this: do you know if it's possible to test this without actually running a downgrade followed by an upgrade? Maybe there's a way to trigger the dh_systemd_start behaviour manually?08:15
mupPR snapd#11692 closed: gadget: drop unused code in unit tests <Simple 😃> <Skip spread> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/11692>08:44
=== alan_g_ is now known as alan_g
=== bandali_ is now known as bandali
mupPR snapd#11693 opened: tests: add invariant check for leftover cgroup scopes <Test Robustness> <Created by stolowski> <https://github.com/snapcore/snapd/pull/11693>12:10
jdstrand_amurray: hey, I recall it was so that they had a label and thus could be tracked by the system like other snaps. It also affords putting guardrails on classic snaps ("I know you could break out of this, but you can do everything except ...", though we aren't taking advantage of that12:52
=== jdstrand_ is now known as jdstrand
jdstrandjdstrand: when classic snaps were introduced, many concepts were not yet in place and we felt that the apparmor label could help tie things together and help with consistency. new concepts like cgroups and systemd scopes were introduced into snapd that can be and are used for tracking snaps. iirc, we aren't taking advantage of the apparmor label with classic snaps12:55
jdstrandjdstrand: (eg, snapd isn't using it for lifecycle management or anything). It was thought early on that it would use it. It's possible the profile could be removed, but someone would have to verify we aren't using it for anything. If you did, you'd lose the ability to add guardrails.12:57
jdstrandzyga[m]: ^12:57
jdstrands/If you did/if you did remove it/12:58
jdstranddo note that the exec rules use pix, so the system is keeping tracking of everything the snap is doing (will unless the classic snap exec something that triggered the 'p' transition and that new profile has a Ux/ux rule13:13
jdstrands/will/well/13:16
mupPR snapd#11694 opened: i/apparmor: remove leftover comment <Simple 😃> <Skip spread> <Created by mardy> <https://github.com/snapcore/snapd/pull/11694>14:20
mupPR snapd#11695 opened: libsnap-confine-private: show proper error when aa_change_onexec() fails <Simple 😃> <Created by mardy> <https://github.com/snapcore/snapd/pull/11695>14:41
mupPR snapd#11694 closed: i/apparmor: remove leftover comment <Simple 😃> <Skip spread> <Created by mardy> <Merged by MiguelPires> <https://github.com/snapcore/snapd/pull/11694>15:06
mupPR snapcraft#3692 closed: legacy storeapi: use craft-store <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3692>15:13
=== popey0 is now known as popey
mupPR snapd#11696 opened: tests: test fresh install of core22-based snap <Created by MiguelPires> <https://github.com/snapcore/snapd/pull/11696>16:16
mupPR snapcraft#3693 closed: projects: adoptable fields are optional if adopt-info used <Created by cmatsuoka> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3693>16:23
mupPR snapd#11697 opened: seed: support parallelism when loading/verifying snap metadata <Preseeding 🍞> <Created by pedronis> <https://github.com/snapcore/snapd/pull/11697>19:12
mupPR snapcraft#3695 opened: meta: add appstream metadata extractor <Created by cmatsuoka> <https://github.com/snapcore/snapcraft/pull/3695>21:19

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