/srv/irclogs.ubuntu.com/2019/12/12/#snappy.txt

mupPR snapcraft#2835 closed: colcon plugin: support ROS 2 Eloquent <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2835>00:20
kyrofa\o/00:22
mupPR snapd#7893 opened: Remove screenshot deprecation notice <Created by robert-ancell> <https://github.com/snapcore/snapd/pull/7893>02:54
mupPR snapd#7892 closed: many: pass a Model to the gadget info reading functions <UC20> <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7892>05:44
mupPR snapd#7884 closed: snapstate: check gadget model constraints in checkSnap <UC20> <β›” Blocked> <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/7884>05:45
mupPR snapd#7891 closed: devicestate: use correct model constraints in remodel/gadget updates <UC20> <β›” Blocked> <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/7891>05:48
mborzeckimorning06:29
mvomborzecki: good morning!06:48
mborzeckimvo: hey06:50
mborzeckiand it's bug triage duty for me today07:06
mborzeckiquick errand07:24
zygagood morning07:39
mvohey zyga07:39
* zyga needs to spend time debugging a few spread tests that show signs of more complexity than just the reboot07:39
zygahey pedronis07:41
zygaI'll grab a quick breakfast while checking email07:42
mborzeckire07:59
pstolowskimorning08:03
mvohey pstolowski08:06
mborzeckipstolowski: hey08:24
zygapstolowski: hey hey :)08:27
mupPR snapd#7594 closed: tests: replace "test-snapd-base-bare" with real "bare" base snap <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7594>08:41
zygadegville: good luck on this historic day08:41
degvillezyga: thank you! I'm not too hopeful tbh, but we'll see.08:44
pstolowskipedronis: hey, what do you mean by the comment to #7830: "Maybe you are thinking a snap with plugs and slots of interfaces that needs this?" ?08:57
mupPR #7830: interfaces: include hooks in plug/slot apparmor label <Bug> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7830>08:57
pedronispstolowski: that's a question of jdstrand08:57
mupPR snapd#7894 opened: tests/main/parallel-install-remove-after: spread test <Simple πŸ˜ƒ> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7894>08:58
mborzeckizyga: ^^08:58
zygayup08:59
pedroniszyga: I'm probably confused about something,  does a layout bind-file  /etc/foo.conf -> $SNAP_DATA/etc/foo.conf also grant read access to /etc/foo.conf ?09:03
zygapedronis: AFAIK yes, for a weird way the kernel handles sockets09:03
zygalet me double check09:03
pedronissockets ?09:03
zygagive me a moment please09:04
pedroniszyga: np, I don't think it's bad, but I'm trying to use something like this and want to understand if the layout is enough09:04
zygapedronis: I misread your question, the real layout would be $SNAP_DATA/etc/foo.conf -> /etc/foo.conf09:05
zygapedronis: so yes, we do add the permission for /etc/foo.conf as well09:05
pedronisok09:05
pedronisthx09:05
zygapedronis: that's on apparmor/spec.go:35709:06
zygapedronis: the thing I mentioned about sockets is unique to content interface09:06
zygapedronis: where because of apparmor/lsm weirdness we grant additional permission to connect to a socket at the location it was bound to09:07
zygaso if two snaps want to share an unix socket09:07
zygaand snap one makes it in /var/snap/foo/common/socket09:07
zygathen snap two gets it via content in /var/snap/bar/common/foo.socket09:07
zygait gets permission to connect to "/var/snap/foo/common/socket" as well, because otherwise connect doesn't work09:07
zygathat's in content.go:22609:08
zygawith a comment describing it above09:08
mupPR snapd#7895 opened: many: add DeviceCtx.OperatingMode() <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/7895>09:10
pedroniszyga: where is the layout blacklist ? is /etc/systemd restricted ? (it doesn't seem to be in my testing)09:27
zygapedronis: it is in snap/validate.go AFAIR, I don't believe /etc/systemd is restricted, it won't affect the host09:28
zygapedronis: it may only affect systemd running inside your snap09:28
pedroniszyga: thanks09:29
zygabrb, power brick09:29
zygaI think I will need to think about a "winter office" :/ in the kitchen09:30
zygaas soon as real winter kicks in the office will become a fridge09:30
zygare09:41
mvosil2100: I uplloaded 2.43~pre1 to focal, so hopefully you have all you need there once its build10:07
zygabrb10:23
zygaat least working from the kitchen means tea is made quickly :)10:24
sil2100mvo: \o/10:31
* sil2100 hugs mvo 10:31
zygare10:34
mupPR snapd#7879 closed: devicestate: use httputil.ShouldRetryError() in prepareSerialRequest <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7879>10:39
mborzeckipstolowski: is https://github.com/snapcore/snapd/pull/7658 next for landing in the preseed series?10:50
mupPR #7658: cmd/snap-preseed: add snap-preseed executable <Preseeding 🍞> <Created by stolowski> <https://github.com/snapcore/snapd/pull/7658>10:50
pstolowskimborzecki: yes10:59
mborzeckipstolowski: ok11:00
sdhd-saschaHey, will 18.04 get the next snapd version ?11:08
ograsnapd is a rolling release ... everyone always gets the latest everywhere ;)11:09
sdhd-saschaogra: good to know. Then lesser trouble with lxd and snap-confine11:10
mborzeckiogra: rolling release where it reexecs ;)11:17
jameshsdhd-sascha: if you want to test the new version with your snap, try running "snap refresh --beta core"11:18
jameshsdhd-sascha: you can switch back by refreshing to --stable11:18
ogramborzecki, well, other distros usually update too, just a bit later11:18
pokkcachio: Hi, did you get your fix for rsync updated? Looking at https://snapcraft.io/rsync it seems like it's not been updated?11:38
mborzeckido google:ubuntu-{16,18}.04-64:tests/main/interfaces-audio-playback-record fail for anyone else?11:38
zygamborzecki: pull master11:42
zygamborzecki: it's been fixed yesterday11:42
zygabrb, let's use that tea and have a short break11:42
mborzeckizyga: heh, ok, need to merge master to my branch then :/11:42
cachiopokk, I'll update it, I didn't try11:43
sdhd-saschajamesh: thank you. i only run "snap refresh --candidate snapd" and the apparmor DENIED is gone11:47
sdhd-saschaHave now updated the core too11:48
mupPR snapd#7896 opened: interfaces/wayland: Add access to Xwayland's shm files <Created by AlanGriffiths> <https://github.com/snapcore/snapd/pull/7896>12:06
sdhd-saschaalan_g: +1 for 789612:08
alan_gsdhd-sascha, I don't think voting here helps. ;^)12:12
mborzeckizyga: heh, inside lxd container with 18.04 on 18.04 host: Dec 12 12:11:31 my systemd[1]: system.slice: Failed to reset devices.list: Operation not permitted12:21
zygamborzecki: that's expected12:21
zygais this causing any failures?12:22
mborzeckizyga: for a second there i thought it does, but looks like just a log in the systemd source code12:22
zygayep12:22
zygaI remember reading that12:22
pstolowskikjackal: hello, question under your old report: https://forum.snapcraft.io/t/restarting-services-from-configure-hook-race-condition/2513/1312:25
mborzeckibtw. jdstrand's fix for deny unix also fixed journal logging?12:26
zyga15 minute break12:26
zygamborzecki: how so?12:26
kjackalpstolowski: looking12:26
mborzeckizyga: i'm seeing [  698.940015] audit: type=1400 audit(1576153071.478:187): apparmor="DENIED" operation="file_inherit" namespace="root//lxd-my_<var-snap-lxd-common-lxd>" profile="/snap/core/8213/usr/lib/snapd/snap-confine" name="/run/systemd/journal/stdout" pid=7017 comm="snap-confine" requested_mask="wr" denied_mask="wr" fsuid=1000000 ouid=1000 without the fix12:27
jdstrandmborzecki: are you referring to my comment later in the bug or something else?12:27
jdstrandmborzecki: yes, it does12:27
jdstrandmborzecki: that is a named unix socket12:27
jdstrandmborzecki: (even though it is mediated by 'file', that provides an additional clue on the bug since it is unix in the kernel12:28
jdstrand)12:28
jdstrandmborzecki: https://bugs.launchpad.net/apparmor/+bug/1855355/comments/312:30
mupBug #1855355: Nested LXD install fails with snapd 2.42.4 (current stable core snap) <AppArmor:New> <snapd:Fix Committed> <https://launchpad.net/bugs/1855355>12:30
jdstrandmborzecki: 2.42.5 should fix it12:30
mborzeckijdstrand: looks like i was to eager to mark https://bugs.launchpad.net/snapd/+bug/1856057 as fix released instead of committed12:31
mupBug #1856057: Missing daemon service logs in LXD containers <snapd:Fix Released> <https://launchpad.net/bugs/1856057>12:31
mborzeckipstolowski: zyga: can you check whether paintsupreme-3d snap does not segfault for you?12:33
pstolowskimborzecki: checking12:33
zygachecking12:34
pstolowskimborzecki: yep, segfault12:34
pstolowskiIllegal instruction (core dumped)12:35
zygasame here12:35
zyga /snap/paintsupreme-3d/2/bin/desktop-launch: line 204: 348665 Segmentation fault      (core dumped) $RUNTIME/usr/lib/$ARCH/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders > $GDK_PIXBUF_MODULE_FILE12:36
zygaBΕ‚Δ™dna instrukcja (zrzut pamiΔ™ci)12:36
pstolowskiyep, same error from desktop-launch12:36
mborzeckiheh12:39
mborzeckilooking at the backtrace it fails somewhere in libnode12:39
zygait's always libnode ;)12:39
zygaok, I'll really take that break I was planning to before12:39
mborzeckihttps://bugs.launchpad.net/snapd/+bug/1855969/comments/1 if you're interested in the backtrace12:40
mupBug #1855969: paintsupreme-3d does not run on Ubuntu 18.04 <18.04> <paintsupreme-3d> <snapd:Invalid> <https://launchpad.net/bugs/1855969>12:40
sdhd-saschazyga: i already seen an segmentation fault on sway snap with gdk-pixbuf before...12:41
sdhd-saschai think it's gone with gnome-extension in snapcraft.yaml or the right env's12:42
ograpedronis, see my last comment of the logsync thread ... i got it working, but not the way you suggested ... is it a bug that layouts fail for non-existing files ?12:42
pedronisit should create them12:44
pedronisogra: maybe zyga can help12:44
ograwell, it definitely doesnt, i tested on 16.04, core16 and core1812:44
zygaogra: can you describe what you mean12:44
ograthe current solution works for me though12:44
zygaogra: what you did12:44
zygaogra: what you expected12:44
zygaogra: what you got12:44
ograzyga, see https://forum.snapcraft.io/t/manual-review-of-logsync-snap/14059/2612:45
ograthe last few entries12:45
zygaogra: I _think_ this is a known bug, let me find it12:45
zygaogra: does this sound familiar https://bugs.launchpad.net/snapd/+bug/184342312:46
mupBug #1843423: snap-update-ns fails to construct a layout in /etc/test-snapd/foo when /etc/test-snapd exists <snapd:Confirmed> <https://launchpad.net/bugs/1843423>12:46
ograthats a weird bug description but yeah, seems similar12:47
ograi didnt use a tmpfs indeeed12:48
ogra(but bind mount)12:48
zygaogra: tmpfs is just a way to trigger it, the mechanics of the bug is the say12:48
zyga*same12:48
ograyeah, tought so12:48
ograayway, bind-mounting the whole dir seems to be a valid workaround12:49
zygaafk for 15 minutes12:50
ogra(funnily the dir is get in the 2snp run --shell" setup is completely empty ... but i can create the file i need and the app sees it in the right place)12:50
ogra*snap run12:50
mupPR snapd#7897 opened: overlord/snapstate: tweak assumes error hint <Simple πŸ˜ƒ> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7897>12:54
mborzeckihah https://bugs.launchpad.net/snapd/+bug/1855155 is nice13:00
mupBug #1855155: snap install hangs if internet is disconnected exactly right after err upload starts <snapd:New> <https://launchpad.net/bugs/1855155>13:00
mborzeckizyga: google:ubuntu-{16,18}.04-64:tests/main/interfaces-audio-playback-record keeps failing on #7894 with the latest master merged13:07
mupPR #7894: tests/main/parallel-install-remove-after: parallel installs should not break removal <Simple πŸ˜ƒ> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7894>13:07
zygamborzecki: how does it fail?13:12
mborzeckizyga: https://api.travis-ci.org/v3/job/624112055/log.txt13:12
mborzeckiweird13:12
zygahmmm13:14
zygais that reproducible?13:14
zygaor just on a PR?13:14
zyga(as in is that reproducible as a single run on master)13:14
mborzeckizyga: heh, got a debug shell with master branch13:16
pstolowskijdstrand: hey! thanks for taking a look at https://github.com/snapcore/snapd/pull/7830 (and sorry it landed without your review, was an oversight, i marked you as reviewer but probably should marked it Blocked as well). does it make sense what i wrote in the reply to your comment?13:17
mupPR #7830: interfaces: include hooks in plug/slot apparmor label <Bug> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7830>13:17
pstolowskibbiab13:18
mborzeckihmm pulseaudio mediates recording access itself?13:29
mborzeckiok, so13:36
mborzeckimodule-snappy-policy is not being loaded by pulseaudio in 18.04 and 16.04 images13:36
mborzeckianyone know why?13:36
mborzeckijdstrand: quick question, do you know if module-snappy-policy is still needed in pulseaudio?13:38
zygamborzecki: yes13:38
zygamborzecki: that's super weird because this test passed yesterday13:38
mborzeckiit passed in the morning too13:38
zygamborzecki: literally because it was failing in the opposite way13:38
zygamborzecki: so wtf13:38
zygas/f/h13:38
mborzeckizyga: according to travis logs, it was still passing like 3h ago13:39
mborzeckinothing in the package changelog13:40
ijohnsonmorning folks13:51
ijohnsonmborzecki: always happy to find such interesting and fun bugs13:51
mupPR snapcraft#2839 opened: plugs: add passthrough; check plug_dict is not empty <Created by sd-hd> <https://github.com/snapcore/snapcraft/pull/2839>13:52
mborzeckibwt. the standup doc is becoming really slow for me in FF13:54
ijohnsondegville: I looked over your glossary doc and it looks really good! I think it would also be a good idea to add "snappy" there and explain that can mean multiple things, i.e. snapd, ubuntu core, etc. and that AFAIK the term should be kinda deprecated now13:54
mupPR snapcraft#2839 closed: plugs: add passthrough; check plug_dict is not empty <Created by sd-hd> <Closed by sd-hd> <https://github.com/snapcore/snapcraft/pull/2839>13:55
=== ricab is now known as ricab|lunch
degvilleijohnson: thanks, and great idea about snappy. It's most definitely in a preliminary state, but I just wanted to get something up so we/I can iterate over it a little.13:58
ijohnsondegville: yes, understood, but I think it's looking great so far :-)13:58
Wouter0100Hmmm, I've send a request for a Brand Store a week ago, but haven't received anything back. Is that normal? And, for my information, is a Brand Store paid? I haven't read much about this on the forums, but I could imagine it's paid due the way its requested (through sales :-P). This because I need to ship a package with access to `snapd-control`14:24
Wouter0100for managing the snaps on the device.14:24
ograyes, brand stores are commercial things and need to be paid ... sales should reply to you soon14:33
Wouter0100Ah, okay. Thanks, than let's have a look if we're able to make some deal work with you guys for my customer :).14:34
jdstrandmvo (cc mborzecki): sigh, seb128 emergency reverted the pulseaudio SRU since there was a snapd-glib issue that was affected users so now we need to revert the PRs to mediating pulseaudio14:38
jdstrands/to mediating/for mediating/14:39
mborzeckijdstrand: whole PR or just disabling the tests until things are fixed again?14:39
jdstrandmvo (cc mborzecki): ie, just the testsuite update from yesterday14:39
jdstrandor was it tuesday14:39
jdstrand|R 7885 and PR 788614:40
jdstranderf PR 7885 and PR 788614:40
mupPR #7886: tests: 16.04 and 18.04 now have mediating pulseaudio - 2.43 <⚠ Critical> <Created by jdstrand> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7886>14:40
mupPR #7885: tests: 16.04 and 18.04 now have mediating pulseaudio <⚠ Critical> <Created by jdstrand> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7885>14:40
mvojdstrand: ok, thanks14:41
jdstrandmvo (cc mborzecki): they are working to fix that, so the tests will break again when it goes through14:41
mvoI think I will directly revert on master without  a PR14:41
jdstrandmborzecki: you said something elsewhere about making them manual?14:41
mvomborzecki:  I think I will directly revert on master without  a PR> WDYT?14:41
mborzeckijdstrand: yeah, we can skip that test on 16.04 and 18.04 specifically (mvo?)14:42
mborzeckijdstrand: manual would make the whole test non-runnable on travis14:42
jdstrandwe at least know the test works: it caught that the mediation patches were dropped14:42
jdstrand(and added)14:42
jdstrandso, 'yay'?14:42
jdstrand:)14:42
mvomborzecki: manual on 16/18 works for me too, no strong opinion14:43
mvomborzecki: if we switch it to manual we just need a card that reminds us to re-enable it agian once the dust settled14:44
mborzeckimvo: reverting 0552bf0ad62dfad0a92db01350774e77aa82f428 will save 2 spread runs (or more if we need to restart)14:44
jdstrandmborzecki: well, I would prefer a revert and reapply after the new SRU since they are working as designed and it is just a one line change. unless you foresee a back and forth and don't want them to break up over and over until the dust settles14:44
jdstrandwhich is a fair stance14:44
* jdstrand has no strong opinion14:44
mvomborzecki: ok, I will revert on master14:44
mvoboth reverted14:45
mvowell, the patch is reverted on both master and release/2.4314:45
mborzeckimvo: cool, thank you!14:45
mupPR snapcraft#2840 opened: plugs: plugs can have no element <Created by sd-hd> <https://github.com/snapcore/snapcraft/pull/2840>14:46
jdstrandmvo: thanks14:46
mvoyw14:46
mupPR snapcraft#2841 opened: plugs: add passthrough <Created by sd-hd> <https://github.com/snapcore/snapcraft/pull/2841>14:49
jdstrandmvo: I'm trying to get info in #ubuntu-release on the timing of the update to add it back again14:50
jdstrandmvo: it would be a shame if the sru landed late next week or during the break14:50
jdstrandI guess it would be easy enough to revert the revert, but still14:51
* cachio lunch15:01
jdstrandmvo: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1781428/comments/2115:05
mupBug #1781428: please enable snap mediation support <patch> <verification-failed> <verification-failed-bionic> <verification-failed-xenial> <pulseaudio (Ubuntu):Fix15:05
mupReleased by jamesh> <pulseaudio (Ubuntu Xenial):Fix Committed by jamesh> <pulseaudio (Ubuntu Bionic):Fix Committed by jamesh> <https://launchpad.net/bugs/1781428>15:05
mvojdstrand: thanks, reading this now15:05
jdstrandmvo: trying to have your back :)15:06
mvojdstrand: yeah, thanks for that!15:07
jdstrand:)15:07
sdhd-saschazyga: just have a discussion on snapcraft. Is it possible to add "wayland" to the global plugs and then it's for all apps ? I thought you wrote this to me on the first days15:08
zygasdhd-sascha: yes, please open a topic abou tit15:09
zyga*about it15:09
sdhd-saschai opened a PR on snapcraft... ok, i wait15:09
zygano no15:09
zyganot a pr on snapcraft15:09
zygaplease open a thread on the forum15:09
* zyga goes for another meeting15:10
=== ricab|lunch is now known as ricab
sdhd-saschazyga: done. But until i got answer. I have to work with my patched version.15:13
sdhd-saschathe PR was, because snapcraft 3.9.x crash. So something have to be done there15:26
ijohnsondegville: it occured to me I forgot to type up a little blurb for you about how global plugs and explicitly delcared plugs interact, but I responded to sdhd-sascha on the forum about how this works here: https://forum.snapcraft.io/t/plugs-in-global-position-in-snapcraft-yaml/14618/215:34
ijohnsonhope that helps in writing up a doc on how to do this properly15:34
degvilleijohnson: great, thank you! looks good.15:35
sdhd-saschadegville: ijohnson: thanks. my snapcraft is know 60 line longer :-(15:35
sdhd-sascha*now15:35
ijohnsonsdhd-sascha: can't you just declare them globally once and not declare any plugs for apps/hooks ?15:36
sdhd-saschaoh, wait15:36
sdhd-saschasorry15:36
ijohnsonsdhd-sascha: the thing you want to avoid is having both the global plugs and the per-app / per-hook plugs15:36
sdhd-saschathe global case crashes in 3.9.x if the plug is empty15:36
ijohnsonoh well that's unfortunate15:36
sdhd-saschait's since interface is in snapcraft/internal/meta/plugs.py15:37
sdhd-saschahttps://github.com/snapcore/snapcraft/pull/2840/commits/0dc7ab09f4b7e0f7744a7606b8b7a80553c89dac15:38
mupPR snapcraft#2840: plugs: plugs can have no element <Created by sd-hd> <https://github.com/snapcore/snapcraft/pull/2840>15:38
sdhd-saschaijohnson: just overwrite None15:38
sdhd-saschaabove15:38
sdhd-saschabut, then another validation fails... :-(15:38
sdhd-saschaafk15:39
sdhd-saschathe error with my patch: "failed to validate plug=hardware-observe: plug has no defined interface"15:40
sdhd-saschanow, afk15:40
ijohnsonsdhd-sascha: not sure about why snapcraft fails that way, I'd recommended asking about why snapcraft dies like that over in #snapcraft15:40
mborzeckimeh, multipass lanch failed, apaprently qemu-img grashed or sth, and there's a denial in the logs:15:43
mborzeckiapparmor="DENIED" operation="file_mmap" profile="multipass.qemu-img" name="/var/lib/snapd/snap/multipass/1425/usr/bin/qemu-img" pid=649663 comm="qemu-img" requested_mask="rm" denied_mask="rm"15:43
pokkok, next stupid question. Should rsync over ssh not work on ubuntu core? Doing `rsync me@1.2.3.4:/path` I get "rsync: Failed to exec ssh: Permission denied (13)" followed by "rsync error: error in IPC code (code 14) at pipe.c(85) [sender=3.1.1]"15:43
mborzeckihmm, but multipass is classi, wth15:44
ijohnsonmborzecki: that doesn't look like a snap profile? `profile="multipass.qemu-img"` ?15:53
ijohnsonmborzecki: also what's the status of https://github.com/snapcore/snapd/pull/7570 shall I review that?15:53
mupPR #7570: [RFC] snap-mount-dir: add mount unit for snap-mount-dir <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7570>15:53
mborzeckiijohnson: yeah, looks like something internal to multipass15:53
mborzeckiijohnson: it's on hold now, we found a problem that we don't know how to address in a clean way yet15:53
ijohnsonmborzecki: ack I added the blocked label to show this15:54
mborzeckiijohnson: cool thanks15:54
pokkcachio: would you happen to know why ssh isn't allowed to be used with rsync as well? I'm guessing it's some kind of permission problem as well, but I know way to little about it to debug it15:56
cachiopokk, do you see any denial when you do journalctl -u snapd?15:57
ograpokk, how did you get rsync installed in the first place ?15:57
ogra(i dont think it is in the core snap (definitely not in core18)15:57
ogra)15:57
pokkogra: using https://snapcraft.io/rsync but the test version of it15:58
ograpokk, well, i doubt that has access to your credentials on the host15:59
pokkogra: No I would buy that, but wouldn't that give me a different error?16:00
ograwell, it tells you permission to access credentials are denied :) doesnt it ?16:00
pokkwell that highlight didn't really work, cachio https://pastebin.com/K4XTRt7U16:01
pokkI don't see any errors16:01
ograwell, in fact it tells you it cant exec ssh16:01
ograso thats even before checking credentials16:01
ograthe rsync snap would have to ship its own openssh copy i guess (so the binary is there) and then would need allowance to access your credentials16:02
pokkogra: right, that's the part that I'm very new to how it works.16:03
pokkand having a hard time googling16:03
pokkI guessed it was something along those lines tho :/16:03
ograwell, snap applications run under confinement ... they can not see most of the os by default16:03
pokkright, but for me it would make sense to have rsync be able to access at least ssh. Given it's wide use together16:04
ogratypically a snap should ship all binaries it needs inside the snap16:04
jdstrandmborzecki: notice the profile name is multipass.qemu-img16:05
ografor the credentials there are two interfaces ssh-keys and ssh-public-keys ... but for the binary itself there is nothing i think16:05
jdstrandmborzecki: multipass loads a profile to launch vms under16:05
pokkogra: right, but how would one know what is shiped? Looking at https://snapcraft.io/rsync or https://snapcraft.io/rsync-leftyfb there's very little information abut that16:05
jdstrandmborzecki: it is that profile that would need adjusting16:06
ograpokk, you'd have to either look at the snapcraft.yaml inside the snap (if it ships one, not all of them do) or ask the packager16:06
ogratechnically you can indeed just snap download any snap and run unsquashfs on it to inspect the content16:07
ogramvo, setting/unsetting a proxy does not restart snapd ? (so the change isnt picked up on core until i reboot) ... is that wanted ?16:10
mvoogra (in a meeting, so a bit slow). snapd should pick this up dynamically, i.e. not look at the environment but instead at the config16:11
mvoogra is it not working for you?16:11
ogramvo, i had a non-existent proxy set for a demo ... did a snap unset on it and snapd still tried to use the proxy url until i ran  sudo systemctl restart snapd16:12
ograprobably the unset itself is the issue ... i dont think i had to restart it when i used the set command16:12
ograhmm, no, snap set has the same issue ...16:13
ogramvo, https://paste.ubuntu.com/p/KrmBQjyMZp/16:15
ograsmells like a bug then16:15
mborzeckijdstrand: filed a bug, looks like it's being generated on the fly? aa-status doesn't list it, can't really switch it to complain mode16:20
mvoogra: yeah, that sounds like a bug, that's a bit depressing16:20
ograi'll file it before EODing16:21
mvoogra thank you16:22
jdstrandmborzecki: I don't know if it is stored on disk, but:16:23
jdstrand$ sudo aa-status|grep multipass16:23
jdstrand...16:23
cachiopokk, sorry, I was in a meeting16:23
jdstrand   multipass.snapcraft-znc-cs.qemu-system-x86_6416:23
* zyga goes for another meeting16:23
cachioso, what you can't do with rsync?16:23
* zyga should not alt-tab up-enter16:23
zygaeh16:23
zygaheh16:24
jdstrandmborzecki: you can aa-exec -p multipass.snapcraft-znc-cs.qemu-system-x86_64 -- your command16:24
jdstrandmborzecki: of course, that is for a non-failed stopped vm16:25
mborzeckijdstrand: aa-status |grep multipass only lists the profiles generated by snapd :/16:26
cachiomborzecki, hey, when you have time, could you please take a look to this one? https://bugs.launchpad.net/snapd/+bug/185607316:26
mupBug #1856073: Snap services not being removed correctly after snap removal <snapd:New> <https://launchpad.net/bugs/1856073>16:27
mborzeckiguess, i'll just use my qemu wrapper instead16:27
jdstrandmborzecki: I'm still on beta. maybe it is a difference between 0.9 and 0.1016:27
marcustomlinsonijohnson: hey, on the topic of snap startup performance: https://forum.snapcraft.io/t/an-investigation-into-snap-startup-speed/1461916:33
ijohnsonhi marcustomlinson thanks, I will try to take a look at that today16:34
marcustomlinsoncool :)16:35
pokkcachio: no worries :) As ogra suggested I'm guessing it's a permission error due to rsync not having access to ssh?16:36
cachiorsync does not an interface for ssh16:36
pokkogra, cachio I'm not sure if I'm abusing what Core is intended for. To me it seemed like a really good fit. I just want a minimal install with simple updates to keep it safe. For a super small remote backup service. Something that will ssh into my NAS and rsync over a backup.16:37
pokkit seems like an ideal use of Core. But maybe not16:37
cachiopokk, this is the definition of the rsync snap https://bazaar.launchpad.net/~snappy-dev/snappy-hub/rsync/view/head:/snapcraft.yaml16:38
ijohnsonmvo: is there maybe an issue with the changelog script? https://github.com/snapcore/snapd/commit/d5d937e2f4c2f90de564beaff78a1742e7e5bd2c#diff-72a2d7a5614a41a35eaf22c94697dbf0R37416:38
pokkcachio: right, so just the removeable-media that we disussed last time around :)16:38
cachiopokk, yes16:39
cachiopokk, could you try the ssh which is not working and then execute "dmesg | grep DENIED"16:40
cachioand show the output16:40
cachioso I can see which interfaces are needed16:40
mvoijohnson: uh, yes - nice catch16:45
mvoijohnson: thanks, let me fix that, sometimes it gets confused, it's not super high-tech16:45
ijohnsonnp, just thought I'd make you aware :-)16:45
mvoijohnson: thanks! and fixed in 2.4316:46
Saviqmborzecki: hey, re: https://github.com/CanonicalLtd/multipass/issues/1223 - if you can suggest a fix to the profile, we'd love to know!16:46
cachiopokk, I'll be afk 20 minutes, please leave the info you get and I'll read it once I am back16:47
mborzeckiSaviq: sure, i need to take a look where the profiles come from first ;)16:48
Saviqmborzecki: https://github.com/CanonicalLtd/multipass/blob/master/src/platform/backends/shared/linux/qemuimg_process_spec.cpp#L3916:48
mborzeckiSaviq: thanks!16:49
* cachio afk16:50
ograpokk, core should be great for that but you probably need to create your own application snap for the backup solution you want16:52
* zyga -> supper 16:53
pokkogra: I sort of assumed rsync would already be doing all I needed. But yeah, I can try and figure out how to create my own rsync snap16:55
ograi fear that rsync can simply do rsync and nothing more :)16:55
pokkcachio: not sure what more info you need? If needed I can try and create my own snap for it. If you don't think it's reasonable to add ssh to rsync16:55
pokkrsync without ssh seems a bit limited imho, but it might be due to how I've always been using it16:56
ograme too ... but i havent had any need to use it on core yet ...16:56
* zyga went to explain browser security basics to his 10yo daughter17:13
zygaprompted by "cat following the browser" icon at school17:13
* ogra files https://bugs.launchpad.net/snapd/+bug/185621217:18
mupBug #1856212: setting/unsetting proxy requires snapd restart on core18 <snapd:New> <https://launchpad.net/bugs/1856212>17:18
* ijohnson has managed to break installing the most basic of test snaps on his machine17:22
mupPR snapd#7898 opened: overlord: replace DeviceContext.OldModel with GroundContext  <Created by pedronis> <https://github.com/snapcore/snapd/pull/7898>17:24
mupPR snapd#7899 opened: many: pass consistently boot.Device state to boot methods <UC20> <Created by pedronis> <https://github.com/snapcore/snapd/pull/7899>17:56
cachiopokk, I think in this case initially you could copy the snapcraft.yaml and add the ssh17:56
cachioand use it, I'll talk tomorrow to the team to see which is the best way to cover all the alternatives for rsync and I'll add a new snap version17:57
pedronismvo: proposed #7898 following up on #7895, and then #789917:58
mupPR #7898: overlord: replace DeviceContext.OldModel with GroundContext  <UC20> <Created by pedronis> <https://github.com/snapcore/snapd/pull/7898>17:58
mupPR #7895: many: add DeviceCtx.OperatingMode() <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/7895>17:58
mupPR #7899: many: pass consistently boot.Device state to boot methods <UC20> <Created by pedronis> <https://github.com/snapcore/snapd/pull/7899>17:58
* zyga -> coffee17:59
* genii 's ears perk up momentarily at the mention of coffee, then he wanders back to work18:04
mvopedronis: cool, I started with 789818:20
mvopedronis: and will see how far I get18:20
mupPR snapcraft#2842 opened: rust: add support for workspaces <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2842>19:41
pokkcachio: cool, I'll play around with it. Haven't done any snaps before19:42
cachiopokk, just copy that file and run snapcraft command19:51
cachioit  will create the snap19:52
cachiothen you can add the interface you want and try to create the snap again19:52
cachiopokk, just ping me if you need any help19:52
mupPR snapcraft#2841 closed: plugs: add passthrough <Created by sd-hd> <Closed by sd-hd> <https://github.com/snapcore/snapcraft/pull/2841>20:02
mupPR snapd#7895 closed: many: add DeviceCtx.OperatingMode() <UC20> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7895>20:38
mupPR snapd#7898 closed: overlord: replace DeviceContext.OldModel with GroundContext  <UC20> <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7898>20:38
mupPR snapd#7897 closed: overlord/snapstate: tweak assumes error hint <Simple πŸ˜ƒ> <Created by bboozzoo> <Merged by cmatsuoka> <https://github.com/snapcore/snapd/pull/7897>22:11
mupPR snapd#7894 closed: tests/main/parallel-install-remove-after: parallel installs should not break removal <Simple πŸ˜ƒ> <Created by bboozzoo> <Merged by cmatsuoka> <https://github.com/snapcore/snapd/pull/7894>22:37
mupPR snapcraft#2843 opened: snap: only ship .pyc files, strip shared objects <Created by om26er> <https://github.com/snapcore/snapcraft/pull/2843>22:47

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