/srv/irclogs.ubuntu.com/2020/01/16/#snappy.txt

mupPR snapcraft#2877 closed: [3.9 backport] meta: handle plug & slot string objects <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2877>00:46
mupPR snapcraft#2879 closed: [3.9-backport] meta: ensure Snap's `assumes` is initialized as a set <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2879>00:46
mupPR snapcraft#2881 opened: meta: fix missing provider case for get_provider_content_directories() <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2881>02:43
mborzeckimorning06:29
mvohey mborzecki06:32
mborzeckimvo: hey06:33
mupPR snapd#7998 closed: httputil: use shorter timeout in TestRetryRequestTimeoutHandling <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7998>06:40
zyga-laptopo/06:52
zyga-laptopmborzecki hey06:52
zyga-laptopI will be back shortly, the office is still super cold after the night06:52
mborzeckizyga-laptop: hey06:52
zyga-laptopI need to catch up with things from yesterday07:06
zygaoh, iCloud is back!07:08
zygaircloud07:08
* zyga builds 2.43.1 update07:17
zygamborzecki: we have a new dependency on Suse?07:24
zygawe need fake root for tests07:24
mborzeckizyga: hm?07:24
zygamborzecki: without fake root dependency07:26
zygahttps://www.irccloud.com/pastebin/08hHDzfx/07:26
zygaI'll send a patch shortly07:26
zygahttps://github.com/snapcore/snapd/pull/800907:28
mborzeckizyga: yeah, we shuld porbably skip those tests07:28
mupPR #8009: packaging/opensuse: build-depend on fakeroot <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/8009>07:29
mupPR snapd#8009 opened: packaging/opensuse: build-depend on fakeroot <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/8009>07:29
mborzeckizyga: otoh, fakeroot is mocked in those tests, the test will fail if it's called and not mocked by some useful code07:31
zygahmm?07:32
zygawhat?07:32
mborzeckizyga: 2 lines up from the first point it failed07:32
mborzeckizyga: https://github.com/snapcore/snapd/blob/master/gadget/mkfs_test.go#L6007:33
zygadunno07:34
mborzeckizyga: was this on obs?07:35
zygano, in "osc build"07:36
mborzeckizyga: can you run those tests with -check.work and inspect the test dir afterwards?07:37
zygamborzecki: in osc build or manually?07:37
zyga(in either case, later, updating TW now)07:39
zygaI'll grab some food, see you after breakfast07:46
pstolowskimorning08:02
mborzeckimvo: side note, does it make sense to start console-conf in install mode at all?08:02
mvomborzecki: it does not08:09
mvopstolowski: good morning08:09
mborzeckipstolowski: hey ;)08:09
pstolowskio/08:10
sdhd-saschagood morning,08:14
sdhd-saschazyga: yesterday, i solved it. i found in glibc, that dlvsym is like dlsym with version equal null. So i add a PR for snapcraft-preload. And it works for sway :-)08:14
mvomborzecki: do you remember if we had a forum top to the parallel seccomp setup?08:19
mborzeckimvo:  let me check08:21
mvomborzecki: no need to create it if it's not there, I'm just updating the snapd roadmap with interessting bits of 2.4308:22
mborzeckimvo: no, i don't think we had a topic for that08:22
mvothat's fine, thanks for checking08:23
mborzeckihm wonder whether we could build an image with systemd.debug-shell=1 out of the box08:24
zygaback now08:41
zygasdhd-sascha: cool, I'm glad you solved it :)08:41
zygahey mvo :)08:41
zygahey pawel :)08:41
sdhd-saschazyga: thank you. Just talk about the problem with you, was a great help to choose a solution ;-)08:42
zygamvo: I published the render code and will try to sync with chipaca about it08:42
zygamvo: I need to send some tweaks that I thought about while sleeping but it's mostly enough what I need for explain08:42
zygamvo: I published 2.43.1 in suse, shall I do fedora/debian before jumping into regular PR work?08:43
Chipacazyga: your implementation of RuneWidth is rather optimistic :)08:44
zygaChipaca: I was sure you'd be interested in that one :)08:44
zygaChipaca: yeah, that's why it is in the heuristic package08:45
zygaChipaca: happy to take feedback on every part08:45
zygaChipaca: if you are reading it already, the two changes I was thinking about are: relative positioning (d'oh, why did I do absolute) and changing Pre widget to Paragraph that I also implemented but left out - paragraph does text folding08:46
zygaI think it's just generally better than a fixed text thing08:47
pstolowskihey zyga08:47
zygahey pawel :)08:47
mvohey zyga, good morning08:47
Chipacazyga: does it support truncation / elision of text?08:47
zygaChipaca: no, it supports folding into available width - the whole design of this is like printer paper08:48
zygayou have a fixed with08:48
zygabut all the height you want08:48
zygaChipaca: it supports clipping though, so you can force it to occupy some space08:48
Chipacazyga: thinking of things we are doing that would benefit from something like this, find and list come directly to mind08:48
Chipacabut both of them require elision08:48
zygaChipaca: I think the thing you should look at is the signature of Widget.Pack08:49
mvozyga: release> not super urgent to release 2.43.1, I think it's fine to release when it hits our candidate channel08:49
zygaif we give it information about what the constraints are (currently it's just the remaining width) we could do what you just described08:49
zygamvo: ok08:49
zygaChipaca: do you have time now? we could jump into a HO and talk about this08:52
Chipacazyga: I'm having breakfast, now :)08:52
zygaChipaca: ah, sorry08:52
Chipacazyga: for 'snap list' one problem you have is that almost every field needs shrinking, and some are more 'important' than others08:53
zygaindeed, I was thinking about tabular widget08:53
Chipacadoing that in a generic way is doable, but you might need to be knuth08:53
zygaright now vbox and hbox are insufficient to perfectly replicate a table08:53
zygaChipaca: heh, I remember reading that paper a few years ago - about table layout problems08:54
zygait's a surprisingly hard problem08:54
mupPR snapd#8010 opened: snap-bootstrap: add support for "recover" mode <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/8010>08:54
Chipacazyga: the good news is fixed-width makes it a little simpler :)08:55
Chipacathe bad news is double-width characters make it hard again08:55
mupBug #1655376 changed: Add support for android/touch type images <personal> <Canonical System Image:Invalid by pat-mcgowan> <Snappy:Won't Fix by ogra> <https://launchpad.net/bugs/1655376>09:09
mupPR snapd#7997 closed: overlord: increase settle timeout for slow machines <Created by mvo5> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/7997>09:22
mborzeckizyga: heh, pstolowski correctly spotted that those tests are in snap-bootstrap09:37
zygamborzecki: hmm?09:38
mborzeckizyga: https://github.com/snapcore/snapd/pull/8009#pullrequestreview-34377464409:38
mupPR #8009: packaging/opensuse: build-depend on fakeroot <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/8009>09:38
zygapstolowski: thanks pawel!09:38
sdhd-saschaWhat is you opinion. What should happened if a symlink couldn't created. I think the snap shouldn't abort installation.09:39
sdhd-sascha`cannot update snap namespace: cannot create symlink in "/etc/sway": existing file in the way`09:39
zygahmm09:39
zygaso do we use fakeroot in the real code?09:39
zygasdhd-sascha: layouts are required, if it cannot be created and there are install hooks or configure hooks then installation is aborted09:39
pstolowskiyw, good!09:40
sdhd-saschaI have to handle two case's. Case 1: no desktop packages are installed on the host. Case 2: a desktop installation exists on the host.09:40
sdhd-saschaE. g. openGl drivers are on the host. Then the snap don't need to deliver them.09:41
sdhd-sascha...09:41
sdhd-saschaWould it make sense, to add "try-symlink" to layouts ?09:42
sdhd-saschaAnd/Or "try-bind" mount09:43
mborzeckizyga: yes, we do, but that's relevant only for uc20 atm09:44
mborzeckizyga: got a fix, can open a PR09:46
mborzeckiit's a single patch, so you should be able to cherry pick it without trouble09:46
zygamborzecki: cool, thank you!09:46
zygasdhd-sascha: I don't know, can you give me an example please?09:47
zygasdhd-sascha: but it feels like unrelated to layouts09:47
zygasdhd-sascha: layouts cannot grab data from the host09:47
zygasdhd-sascha: what you are describing seems more like interface connections09:48
sdhd-saschazyga: currently i used this:09:50
sdhd-saschalayout:09:50
sdhd-sascha  /etc/sway:09:50
sdhd-sascha    symlink: $SNAP/etc/sway09:50
mupPR snapd#8009 closed: packaging/opensuse: build-depend on fakeroot <Simple 😃> <Created by zyga> <Closed by bboozzoo> <https://github.com/snapcore/snapd/pull/8009>09:50
mupPR snapd#8011 opened: cmd/snap-boostrap: add mocking for fakeroot <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8011>09:50
sdhd-saschazyga: but this is not urgent.09:50
mborzeckimvo: posted a little guide for working with vm cloud images (incl. uc20) and feedimg some quick setup via cloud-init https://gist.github.com/bboozzoo/a1303a1e4deb516c2ad9a1e64835c34109:51
sdhd-saschai had another case in the past. But can't remember, so i can give more examples in the next days. Current i test, sway on both case's.09:51
zygamborzecki: maybe mention the gist on the forum09:52
zygamborzecki: it will be easier to find09:52
mvomborzecki: nice!09:53
mupPR snapd#8012 opened: o/devicestate: do not create perfTimings if not needed inside ensureSeed/Operational <Simple 😃> <Created by stolowski> <https://github.com/snapcore/snapd/pull/8012>09:54
mvomborzecki: did you end up with network in the qemu vm?09:56
pstolowskiChipaca: hey, conflict in #800409:56
mupPR #8004: cmd/snap: print full channel in 'snap list', 'snap info' <Created by chipaca> <https://github.com/snapcore/snapd/pull/8004>09:56
mvomborzecki: I remember there was an issue yesterday?09:56
mborzeckimvo: we got it resolved once the system booted into the run mode and kernel module were mounted at the right location09:57
pstolowskipedronis: boot speed ho?10:01
mupPR snapcraft#2881 closed: [backport] meta: fix missing provider case for get_provider_content_directories() <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2881>10:03
zygabrb10:13
zygare10:22
Chipacagoing to take a break in a few minutes. Nothing particularly noteworthy in triage today.10:24
mupPR snapd#8002 closed: tests/core18/snapd-failover: collect more debug info <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/8002>10:28
mborzeckimvo: this will help a little https://i.imgur.com/86JdDRU.png10:41
mborzeckinot sure why the quantity got badly formatter, maybe it's not bytes (?)10:42
mborzeckiheh, the conversion is wrong ;)10:44
mvomborzecki: nice!10:45
mvomborzecki: you rock10:45
mborzeckibtw. u-i should probably create an image large enough to fit the layout too10:45
mvomborzecki: yes, probably something for sil2100 to make ubuntu-image smarter so that it knows how much space to reserve when building a uc20 image (right now it creates an image that is too smalll to fit the partitions)10:46
* Chipaca afk10:46
pedronismvo: I'm looking at #7992, yes I think the issue is that all the fixture code is recovery oriented but shouldn't for this new stuff10:52
mupPR #7992: bootloader: add ExtractedRunKernelImageBootloader interface, implement in grub <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/7992>10:52
pedronismvo: I'll see if I can untangle that a bit10:53
mvopedronis: nice, thank you!11:00
zygaChipaca: hey, is this a good time?11:23
pedronismvo: done, but there is probabably a bit more to do there11:30
mborzeckiChipaca: there's no code for format MiB/GiB quantities in the tree, is there?11:32
zygapedronis: I'd like to merge https://github.com/snapcore/snapd/pull/7875 as-is11:33
mupPR #7875: interfaces: refactor path() from raw-volume into utils with comments for old <Created by jdstrand> <https://github.com/snapcore/snapd/pull/7875>11:33
zygado you think it's possible to get your review today?11:34
* zyga jumps to another PR11:39
pstolowskiijohnson: hi, thanks for the insight into the root cause of https://github.com/snapcore/snapd/pull/7871 failures! i got it working (i don't know yet if it passes on all systems, waiting for travis, but as far as this denial is concerned, it should be fine now)11:53
mupPR #7871: tests: add spread test for hook permissions <â›” Blocked> <Created by stolowski> <https://github.com/snapcore/snapd/pull/7871>11:53
popeyI have asked this before, sorry. When are we getting the "don't update me please, I'm running" for applications?11:56
pstolowskii think zyga worked on this ^11:57
zygapopey: it's stuck in review for ... months?11:59
zygapopey: I just resolved a merge conflict https://github.com/snapcore/snapd/pull/782512:00
mupPR #7825: many: use transient scope for tracking apps and hooks <Created by zyga> <https://github.com/snapcore/snapd/pull/7825>12:00
mupPR snapd#8013 opened: cmd/snap-bootstrap: check device size before boostrapping and produce a meaningful error <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8013>12:00
pstolowskizyga: i'll take a look at it later today12:01
zygapstolowski: super, thanks!12:01
zygaI'll push a small tweak for older merge breaking after test rename12:01
mupPR snapd#8011 closed: cmd/snap-boostrap: add mocking for fakeroot <Simple 😃> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/8011>12:15
mborzeckizyga: you can cherry-pick the patch now ^^12:16
zygamborzecki: I released a variant with fakeroot build-dep12:16
zygamborzecki: I'll get this for 2.44 :)12:16
mborzeckiah, ok12:16
zygamborzecki: or I can do a -2 if there's some other things to cherry pick12:16
* pstolowski lunch+errand, bbl12:19
ograzyga, should all layouts be set up when i use snap run --shell for a daemon ?12:25
zygaogra: yes12:26
ograhmm, weird12:26
ograls prime/etc/dbus-1/system.d/12:27
ograorg.freedesktop.DisplayManager.conf12:27
ograroot@localhost:/home/ogra# ls /etc/dbus-1/system.d/12:27
ograwpa_supplicant.conf12:27
ograthe above is from the packaging dir ... the below one from snap run --shell ... i have a bind layout defined for /etc/dbus-112:27
ograi dont get any error when installing or anything ... so i'd expect to find that org.freedesktop.DisplayManager.conf file somehow ...12:28
mupBug #1859974 opened: failing to release devmode revisions to edge/beta channels <Snappy:New> <https://launchpad.net/bugs/1859974>12:28
zygaogra: can you show me the relevant parts of snap.yaml please12:30
* zyga jumps to setgid branch12:31
zygalooking at those failures now12:31
sil2100mvo, mborzecki: on it! (soon)12:36
mvosil2100: thank you12:36
mvosil2100: not a blocker but certainly will improve the experience :) (all of us ran into this problem)12:36
sil2100mvo: yeah, when I switched to the 'cleaner' way of handling system-seed, I guess I forgot about the image-size calculation12:38
mborzeckisil2100: thanks!12:42
mborzeckimvo: uc20 rite of passage12:42
* zyga sighs at inability to stop spread12:43
mborzeckizyga: ^\ doesn't work?12:48
mborzeckizylop: i mean sigquit12:48
mborzeckizyga: ^ :)12:49
zygamborzecki: yeah but that leaves garbage12:51
mborzeckizyga: you need to spread -discard -spread-pid=<..> later12:51
zygayeah but ... why do I need to :/12:51
mborzeckicmatsuoka: mvo: do you have any notes on runnnig qemu with tpm?12:55
=== ricab is now known as ricab|lunch
cmatsuokamborzecki: once you have the tpm simulator installed, you must run qemu the the appropriate parameters13:14
cmatsuokamborzecki: see them here: https://github.com/snapcore/spike-tools/blob/master/run-test.sh13:14
mborzeckicmatsuoka: thanks13:14
cmatsuokamborzecki: it's the line with tpms in it13:14
zygabrb13:56
ijohnsonmorning folks13:56
ackkhi, I'm seeing an issue when using snapcraft candidate. it seems the command-*.wrapper files are not being created. did something change there?13:56
Chipacasergiusens: ^13:58
ackkoh I'm not on the latest candidate, I guess it just got udpated14:00
zygadegville: please ping me when you look at the content interface docs, there's some rarely known features there14:13
zygas/'s/are14:13
mupBug #1859974 changed: failing to release devmode revisions to edge/beta channels <Snap Store:New> <https://launchpad.net/bugs/1859974>14:14
degvillezyga: will do, thank you!14:14
sergiusensackk: wrappers are now gone, instead what used to be in the wrapper is now part of the command-chain, this allows for "snap run --shell <snap.app>" to have the right command from the get go14:24
=== ricab|lunch is now known as ricab
mupPR pc-amd64-gadget#33 closed: grub.cfg-boot: use $prefix/kernel instead of $ubuntu-boot/kernel <Created by anonymouse64> <Merged by xnox> <https://github.com/snapcore/pc-amd64-gadget/pull/33>14:25
ackksergiusens, is there a way from inside the snap to run stuff as if it were from the outside? we currently call the wrapper script explicitly since we need to call stuff under snapcraft-runner for the LD_PRELOAD/PATH exports14:26
ackksergiusens, I guess we can wrap everything with our wrapper otherwise14:26
mupPR core20#18 closed: static: try using /run/mnt/snapd first in run-snapd-from-snap <Created by mvo5> <Merged by xnox> <https://github.com/snapcore/core20/pull/18>14:26
sergiusensackk: hmm, that wrapper was always an implementation detail, that said, "$snap/command-chain/snapcraft-runner" will have most of what you need14:27
mupPR core20#17 closed: Drop encoding digits in units and code paths.  <Created by xnox> <Merged by xnox> <https://github.com/snapcore/core20/pull/17>14:28
ackksergiusens, I see, thanks14:28
ackksergiusens, is snapcraft-runner used both for apps and daemons?14:30
ackkah yeah it is, cool14:31
* zyga goes to grab lunch14:32
=== mborzeck1 is now known as mborzecki
sdhd-saschasil2100: hi. Is there a tool to use, to generate the changelog entry's for ubuntu-image ?14:37
ijohnsonpedronis: thanks for the patches to 7992, I guess I never quite understood what you meant by NoSlashBoot option when you mentioned it in our meetings but I see what you meant now.14:43
pedronisnp14:44
mupPR snapd#8007 closed: tests: remove execution of ubuntu 19.04 from google backend <Simple 😃> <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/8007>14:48
mupPR snapd#8014 opened: tests: run `uc20-snap-recovery-encrypt` test on 20.04-64 as well <Simple 😃> <Created by mvo5> <https://github.com/snapcore/snapd/pull/8014>14:52
cachiomvo, pedronis should I enable ubuntu 20.04 tests?14:53
cachioas 19.04 is gone14:53
cachioI already have an image14:53
cachioor should I make it once I am back from my vacactions14:54
cachio?14:54
sil2100sdhd-sascha: hey! I usually just add one with dch for that - but I can also create those for you, as long as everything else is good to go14:58
Girtabluluwhen I try to start snap-store voa terminal, I get no protocol specified and Unable to init server: Could not connect: Connection refused - what's the issue?15:00
sdhd-saschasil2100: i cleaned up, rootfs_size ( 182 ) and added one test.15:02
ChipacaGirtablulu: and if you try to launch it in a different way?15:07
* cachio lunch15:07
GirtabluluStart menu and terminal both dont work15:08
ChipacaGirtablulu: sounds like a bug to me15:08
Girtablulummmh okay15:10
roadmrGirtablulu: https://launchpad.net/snap-store to report it maybe15:11
Girtabluluyea will do15:11
mvocachio: yeah, I think we should enable 20.04-64, maybe to unstable at first15:11
ChipacaGirtablulu: please include the output of 'snap version' there15:13
Girtabluluwill do15:13
cachiomvo, sure, I'll add this after lunch15:13
ChipacaGirtablulu: thanks15:20
zygafd16:13
zygare :)16:13
zygamvo: can we merge https://github.com/snapcore/snapd/pull/7238 ?16:17
mupPR #7238: usersession: add systemd user instance service control to user session agent <Needs Samuele review> <Security-High> <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/7238>16:17
zygamvo: +3 and green16:18
zygaI can merge master into it to ensure tests passed recentlty16:18
zyga*recently16:18
pedroniszyga: it can be merged, but yes best to merge master first16:24
zygaok16:24
zygajd16:25
mvozyga: looks like samuele and jamie are happy so I see no reason not to merge it16:33
zygacool, I'll merge it after it passes one round of tests16:33
mvook16:33
pstolowskizyga: i did one pass over #7825, i'll continue tomorrow morning17:06
mupPR #7825: many: use transient scope for tracking apps and hooks <Created by zyga> <https://github.com/snapcore/snapd/pull/7825>17:06
pstolowskicachio, ijohnson can you take another look at #7871 if/when it gets green (just had to restart the job, it seemed to be stuck)17:08
mupPR #7871: tests: add spread test for hook permissions <Created by stolowski> <https://github.com/snapcore/snapd/pull/7871>17:08
ijohnsonpstolowski: sure17:09
pstolowskithanks17:09
pstolowskieod, cu17:09
mupPR snapd#8015 opened: [RFC] daemon, store: support download resume from /v2/download <Created by mvo5> <https://github.com/snapcore/snapd/pull/8015>17:37
pedroniszyga: I pushed a tweak to #7875 along the last comments, it can go in if it gets green18:04
mupPR #7875: interfaces: refactor path() from raw-volume into utils with comments for old <Created by jdstrand> <https://github.com/snapcore/snapd/pull/7875>18:04
mupPR snapcraft#2882 opened: extensions: change extension merge-strategy to fix build-environment <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2882>19:09
=== blackboxsw_ is now known as blackboxsw
mupPR snapd#8016 opened: gitignore: ignore snap files <Simple 😃> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8016>20:43
mupPR snapd#8004 closed: cmd/snap: print full channel in 'snap list', 'snap info' <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/8004>20:51
cjp256on a 16.04 system using the snapd deb (2.34.2),  should one be able to just run `sudo snap install snapd` to get the latest?20:57
cjp256or would there other steps to take?20:58
mupPR snapd#8017 opened: tests: add ubuntu 20.04 to the tests execution and remove tumbleweed from unstable <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/8017>21:05
ijohnsoncjp256: I'm not sure about 16.04, but I know on 18.04 if you don't have snaps, it will use the snapd snap when you first install a snap21:09
ijohnsoncjp256: if you wanted to get the latest on 16.04 I'd just say do `sudo snap refresh core`21:10
ijohnsoncjp256: though I did just check on 16.04 and it should be fine to install snapd like you have it21:13
cjp256thanks ijohnson.  i did a similar test and was OK, but recalled a conversation between sergiusens and Chipaca about some flag I can't  recall, wanted to make sure it wasn't generally relevant :D21:17
cjp256my test is on a fresh lxd image, so it's probably much newer base than theirs21:17
ijohnsoncjp256: as long as you are doing this fresh without any snaps installed it is okay to install snapd, otherwise you would need to migrate from core -> snapd which does require a flag21:18
ijohnsonerr "okay to install the snapd snap" is what I meant21:18
cjp256oh, what flag is that?21:18
ijohnsonlet me find it, it's an experimental flag21:18
cjp256ijohnson: https://github.com/snapcore/snapcraft/blob/master/snapcraft/internal/build_providers/_snap.py#L332 ?21:20
ijohnsoncjp256: ah yep there it is21:20
cjp256tried searching for it earlier and couldn't find it because I was checked out on an old tag 🤦21:21
ijohnsonthat's the flag you need to use if you have the core snap installed, and want to use the snapd snap instead21:21
=== Girtablulu is now known as Girtablulu_
Chipacaijohnson: cjp256: snapcraft needs to work on the un-updated snapd that didn't know about the snapd snap22:33
cjp256Chipaca: thanks! ijohnson gave me a lot of background info and I just confirmed running an old version of snapd (2.34.2): `error: cannot install "snapd": cannot install snapd snap on a model without a base snap yet`  so the two options they have are `apt update; apt install snapd` or `sudo snap install core` to get working.22:38
Chipacacjp256: that's why snapcraft sets an experimental flag22:39
Chipacacjp256: but even that needs a new enough snapd22:39
cjp256if eventually installing core snap anyways, is the apt update/upgrade wasting cycles?22:39
Chipacacjp256: the experimental.snapd-snap=true22:39
Chipacacjp256: I can't answer that question with enough confidence one way or the other22:40
Chipacacjp256: it depends22:40
Chipacacjp256: an update would bring in apparmor updates also hopefully, which would be good22:41
Chipacabut, given it's a throwaway, maybe it's fine as long as the snapd in the original deb understands that experimental flag22:41
Chipacabecause at one point it didn't22:41
cjp256yeah no dice on that flag: `Run configure hook of "core" snap (run hook "configure": cannot set "core.experimental.snapd-snap": unsupported system option)`22:41
cjp256not with their version anyhow22:42
Chipacaso you had to install core first to get a new enough snapd to install snapd22:42
Chipacaand that always results in the conflict22:42
Chipaca(#1859469 is a conflict error)22:42
mupBug #1859469: snapcraft lxd + snapd transition in progress <Snapcraft:Confirmed for sergiusens> <https://launchpad.net/bugs/1859469>22:42
Chipacaso, in that sense, if you use apt to refresh the packaged snapd, and that way get a new enough snapd that it doesn't need the flag (or at least understands the flag!), then it's slower but safe22:43
ChipacaOTOH it's a conflict, all you have to do is retry22:43
cjp256gotcha, thanks!  i'll just stick with the `apt` route and encourage them to update their image :D22:45
ijohnsonThanks Chipaca22:46
Chipacaat the same time, i need to discuss with pedronis about snap returning a particular return value on conflict22:46
Chipacacjp256: i thought running on that particular image was a requirement, as it's what you got from some clouds and we wanted snapcraft to work well there22:47
Chipacaanyhoo, I shouldn't be on here :-)22:47
Chipacabut it's raining so i didn't take the dog for a walk22:48
Chipaca👋22:48
ijohnsoncjp256: so did you get it all sorted out?22:48
ijohnsonI'm still around for a bit if you need to discuss22:48

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