/srv/irclogs.ubuntu.com/2022/10/12/#ubuntu-desktop.txt

=== rs20096 is now known as rs2009
didrocksgood morning05:49
dufluHi didrocks 05:52
=== rs20092 is now known as rs2009
didrockshey duflu 05:55
=== tjaalton_ is now known as tjaalton
seb128goood morning desktopers! I think I forgot to say hey on IRC earlier?07:58
dufluHi seb128 08:23
seb128duflu, hey, how are you?08:30
dufluseb128, not bad. How are you?08:30
seb128I'm alright thanks!08:31
lissyxI'm stuck trying to build firefox snap on arm64 ...08:32
lissyx"launch failed: Unable to find an image matching "core20". Please use `multipass find` for supported remotes and images."08:32
lissyx"multipass find" does not help that much ...08:33
lissyxhttps://paste.debian.net/1256758/08:33
bittinmorning desktoppers08:38
lissyxon my amd64 build machine "multipass find core20" does not find anything either ...08:42
seb128lissyx, what are you trying to do? get a snap core20 env?08:58
jameshlissyx: IIRC, snapcraft uses special multipass VM images rather than the default ones. Perhaps they weren't built for arm64?08:58
lissyxseb128, build on arm6408:58
lissyxjamesh, yes well, maybe, but since there's no doc, and no explanation of what to do, I have no idea how to check ...08:58
jameshlissyx: it's possible you'll have more luck using "snapcraft --use-lxd"08:59
seb128lissyx, multipass find snapcraft:core2008:59
lissyxseb128, yes, it is not there08:59
seb128on amd64 it is08:59
seb128at least for me08:59
lissyxwhich is what the first error message already said, but as you can notice, the error only mentions "core20" and not "snapcraft:core20" which is already confusing09:00
lissyxyes, on amd64 it is as well09:00
jameshwhich uses default LXD images rather than special Snapcraft ones.09:00
lissyx"multipass find" does not yield more info about where those images are coming from09:00
seb128right, multipass could do better there. But what James said, try with --use-lxd maybe (and why is that mode still not the default?)09:01
seb128https://github.com/canonical/multipass/pull/2395 also09:02
-ubottu:#ubuntu-desktop- Pull 2395 in canonical/multipass "[custom] add `core20` on LXD" [Open]09:02
jameshseb128: It is the default if your snapcraft.yaml says "base: core22", but isn't otherwise...09:02
lissyxjamesh, seb128, lxd fails with some permissions errors ...09:03
jameshsince there's effectively two Snapcrafts for now, selected based on the base version.09:03
seb128jamesh, I see09:03
jameshlissyx: if you've just installed lxd, you'll need to add yourself to the lxd group (creating it if it doesn't exist). You'd need to log out and in again for your processes to have that group membership though (or use sg or newgrp)09:04
lissyxjamesh, and yet snapcraft suggested to set it up for me ...09:05
lissyxso it's a snap09:05
jameshlissyx: lxd is shipped as a snap, yes. But even if it was shipped as a .deb, it likely wouldn't go adding users to a new group.09:06
jameshthe group membership is used to control access to the lxd control socket.09:06
lissyxyes ...09:07
jameshlissyx: and I agree that this is more painful than it should be.09:07
lissyxAn error occurred with the instance when trying to launch with 'LXD': Failed creating instance record: Failed initialising instance: Invalid devices: Failed detecting root disk device: No root device could be found.09:08
lissyxEnsure that 'LXD' is setup correctly and try again.09:08
jameshlissyx: you need the "sudo lxd init" bit from https://snapcraft.io/docs/build-on-lxd09:09
lissyxfinally  maybe it is working?09:11
lissyxthat's still super inconvenient instead of cross-compiling ...09:11
lissyxseb128, ok so on another front, I have a patch for https://bugzilla.mozilla.org/show_bug.cgi?id=178527809:18
-ubottu:#ubuntu-desktop- Mozilla bug 1785278 in Core "AutoConfig in snap" [S3, Reopened]09:18
lissyxseb128, that would require to allow /etc/firefox, not just /etc/firefox/policies09:18
lissyxbut I think with mkaply we are open to the path to allow there?09:18
jameshlissyx: it'd need an update to the etc-firefox-policies plug in the snapcraft.yaml, and a change to the snap-declaration on the store to let the updated plug autoconnect09:27
seb128what James said09:28
seb128lissyx, also I mentioned the core image missing to one of the multipass maintainers, it's tracked in https://github.com/canonical/multipass/issues/2776 now09:29
-ubottu:#ubuntu-desktop- Issue 2776 in canonical/multipass "Support Ubuntu Core 20 and 22 images" [Open]09:29
jameshseb128: it's not clear that bug is the same issue: that seems to be about running Ubuntu Core 20/22 in a multipass VM. But the Snapcraft VMs are classic Ubuntu09:44
jameshi.e. snapcraft:core20 is just the classic Ubuntu 20.04 image with a few customisations.09:45
seb128jamesh, I joined mid-discussion, that was about adressing the fact that 'multipass find core20' doesn't find anything09:45
seb128but yes that seems orthogonal to what Alexandre was trying to achieve09:46
jameshah. But even if "multipass find core20" found something, Snapcraft would probably still give the same error message :-(09:46
seb128jamesh, right, the name overload is a bit confusing, would have been nice to have an image snapcraft-core20 09:56
lissyxthe build failed because of not enough disk space11:25
lissyxeven though the arm64 instances has 80GB of disk ...11:26
lissyxI've lost enough time and money on that for now11:26
diddledanithis is waaay above my head ("is HDR harder?" at the Xorg Developers Conference this past week)13:35
diddledanihttps://youtu.be/nDnbWaIMJJA13:36
diddledani... forgot to paste the yootoobe13:36
lissyxseb128, I need your opinion14:02
lissyxseb128, for https://bugzilla.mozilla.org/show_bug.cgi?id=178527814:03
-ubottu:#ubuntu-desktop- Mozilla bug 1785278 in Core "AutoConfig in snap" [S3, Reopened]14:03
lissyxseb128, I have https://phabricator.services.mozilla.com/D159059 that: adds reading defaults/pref from under /etc/firefox on Snap ; can source the file pointed by general.config.filename in /etc/firefox (for now)14:03
lissyxseb128, but for the latter, that means we need to allow the snap package whole /etc/firefox ; maybe this is not something we want to do?14:04
lissyxseb128, would it be better to search for  this file under some other subdirectory we grant at snap plugs level? e.g., /etc/firefox/autoconfig14:04
seb128lissyx, I think it's fair that the firefox snap can access anything to /etc/firefox , the directly is named after the software and shouldn't contain any data that shouldn't be accessible to firefox right?14:06
seb128shrug, typos14:06
seb128lissyx, I think it's fair that the firefox snap can access anything in /etc/firefox , the directory is named after the software and shouldn't contain any data that shouldn't be accessible to firefox right?14:07
lissyxseb128, that would be my assumption, but you might want to restrict as much as possible14:07
lissyxsince right now it grants specific access to /etc/firefox/policies14:07
seb128lissyx, I don't know what the directory can be used for, but I feel like that if something is in there and the snap doesn't have access then we will end having a report asking to grant access because if a file has been put in /etc/firefox that's probably because firefox needs it for something14:08
seb128so I lean torward just giving access to /etc/firefox now14:09
lissyxok14:14
ograyou will end up in manual review anyway and the security team will review it if you change a path in a system-files interface14:15
ograso just let them worry about it 😉14:15
lissyxogra, it's just that whether or not /etc/firefox is fully open or more fine-grained has impacts on my patch :)14:17
lissyxand given /etc/firefox/policies current handling, I was unsure :)14:18
ograyeah, i dont think it is a bad idea to just allow the whole dir ... but you have a saftey net due to the review in any case 14:21
ogra(and dont forget to adjust the interface name, the name must match the path by policy)14:21
lissyxwhat interface?14:22
lissyxseb128, https://github.com/canonical/firefox-snap/pull/814:23
-ubottu:#ubuntu-desktop- Pull 8 in canonical/firefox-snap "Bug 1785278 - Allow reading from /etc/firefox" [Open]14:23
ogralissyx, the one you changed in that commit 🙂 all good 🙂14:27
lissyxogra, so nothing else required, right?14:27
lissyxand then autoconnect will be taken care of on snap store level14:28
ograright ... except forum post and discussion once it goes into manual review14:28
lissyxwhy?14:28
ograbecause it is a super privileged interface and it wont auto-connect by default either ... 14:29
ograso security team needs to take a look if/how it is dangerous to grant it ... and you surely want it to aut-connect at install time too 14:30
ograshould be a no-brainer for such a change 14:30
ograbut paperwork s involved 14:30
lissyxI dont really care as long as I dont land the change on our side and then people want to change the directory we source autoconfig file from14:31
seb128ogra, does it require a forum post to discuss tweaking an existing permission?14:46
ograseb128, i would hope so ... else you could just switch from /etc/firefox to /etc without anyone noticing 15:01
seb128ogra, ?15:01
ograif it does not trigger a manual review that'd be a bug in the review tools15:02
seb128ogra, I didn't say it shouldn't go to manual review and be reviewed15:02
seb128ogra, read again what I wrote15:02
ograwell, if it goes to manual the reply you get from the str is in general "please file a forum post" 15:02
ogra*store15:02
seb128which makes sense for a new permission15:03
ograyou can perhaps use a short-cut and ask internally or so 15:03
seb128I was just expecting that for an obvious change the reviewed would make you go through more paperwork15:03
seb128but let's see15:03
ograyeah15:03
seb128reviewer wouldn't*15:03
ograif you widen the permissions like above it should definitely block you 15:03
seb128ogra, oh, I've no doubt it will go to manual review, I was just arguing over using the forum to do paperwork15:08
ograwell, that is where we keep the paper-trails ... perhaps you can fast-track it though ... 15:09
seb128let's follow the process15:16
ogra(i dont think anyone has ever exercised a change to an existing system-files interface FWIW)15:17
seb128it's easy to post, at least gives context to the reviewer15:19
seb128on that note going to drop from IRC as I'm changing location and we still don't have a messaging system which deals with that nicely :(15:20
KGB-2gnome-shell signed tags dcbebd3 Jeremy Bicha ubuntu/43.0-1ubuntu2 * gnome-shell Debian release 43.0-1ubuntu2 * https://deb.li/sx2R16:10
KGB-0gnome-terminal signed tags 4a89b69 Jeremy Bicha ubuntu/3.46.2-1ubuntu1 * gnome-terminal Debian release 3.46.2-1ubuntu1 * https://deb.li/Whge18:11
KGB-0gnome-terminal ubuntu/master 2fd1936 Jeremy Bicha * pushed 19 commits (first 5 follow) * https://deb.li/3ZGI018:12
KGB-0gnome-terminal ubuntu/master 65167e7 Christian Persch meson.build * build: Post release version bump * https://deb.li/AdlA18:12
KGB-0gnome-terminal ubuntu/master c7daa25 Sabri Ünal po/tr.po * Update Turkish translation * https://deb.li/30Nai18:12
KGB-0gnome-terminal ubuntu/master 5c01679 Christian Persch src/ meson.build terminal-prefs-process.cc terminal-settings-utils.cc terminal.cc * prefs: Move prefs binary to libexecdir * https://deb.li/dTxv18:12
KGB-2gnome-terminal pristine-tar eae37a6 Jeremy Bicha gnome-terminal_3.46.2.orig.tar.bz2.delta gnome-terminal_3.46.2.orig.tar.bz2.id * pristine-tar data for gnome-terminal_3.46.2.orig.tar.bz2 * https://deb.li/ihpF18:12
KGB-0gnome-terminal ubuntu/master 1142420 Christian Persch data/meson.build po/POTFILES.in data/org.gnome.Terminal.Preferences.desktop.in * prefs: Add NoDisplay desktop file for the prefs binary * https://deb.li/3YKen18:12
KGB-0gnome-terminal ubuntu/master b19b82b Christian Persch src/ (5 files) * client: Use verified schema * https://deb.li/34kEs18:12
KGB-0gnome-terminal upstream/latest 3f8e75d Jeremy Bicha * pushed 13 commits (first 5 follow) * https://deb.li/ijLuU18:12
KGB-0gnome-terminal upstream/latest 65167e7 Christian Persch meson.build * build: Post release version bump * https://deb.li/AdlA18:12
KGB-0gnome-terminal upstream/latest c7daa25 Sabri Ünal po/tr.po * Update Turkish translation * https://deb.li/30Nai18:12
KGB-0gnome-terminal upstream/latest 5c01679 Christian Persch src/ meson.build terminal-prefs-process.cc terminal-settings-utils.cc terminal.cc * prefs: Move prefs binary to libexecdir * https://deb.li/dTxv18:12
KGB-0gnome-terminal upstream/latest 1142420 Christian Persch data/meson.build po/POTFILES.in data/org.gnome.Terminal.Preferences.desktop.in * prefs: Add NoDisplay desktop file for the prefs binary * https://deb.li/3YKen18:13
KGB-0gnome-terminal upstream/latest b19b82b Christian Persch src/ (5 files) * client: Use verified schema * https://deb.li/34kEs18:13
KGB-0gspell pristine-tar 4e6b3aa Jeremy Bicha gspell_1.12.0.orig.tar.xz.delta gspell_1.12.0.orig.tar.xz.id * pristine-tar data for gspell_1.12.0.orig.tar.xz * https://deb.li/BE4e18:56
KGB-2gspell upstream/latest 877c49c Jeremy Bicha * pushed 17 commits (first 5 follow) * https://deb.li/jQyI18:56
KGB-2gspell upstream/latest 8d57e56 Zurab Kargareteli po/ LINGUAS ka.po * Add Georgian translation * https://deb.li/3DzDA18:56
KGB-2gspell upstream/latest 0723975 Zurab Kargareteli po/ka.po * Update Georgian translation * https://deb.li/3V63N18:56
KGB-2gspell upstream/latest 6cf279d Sébastien Wilmet README.md * readme: add link to gspell for GTK 4 * https://deb.li/D6rc18:56
KGB-2gspell upstream/latest 2473b48 Sébastien Wilmet configure.ac * build: replace use of deprecated macro * https://deb.li/3LrTy18:56
KGB-2gspell upstream/latest cd76632 Sébastien Wilmet gspell.doap * doap: small update/simplification * https://deb.li/0QYG18:56
KGB-2glib pristine-tar d6c10ab Jeremy Bicha glib2.0_2.72.4.orig.tar.xz.delta glib2.0_2.72.4.orig.tar.xz.id * pristine-tar data for glib2.0_2.72.4.orig.tar.xz * https://deb.li/3lQcl19:01

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