/srv/irclogs.ubuntu.com/2018/08/24/#snappy.txt

mojibakeCan someone help me with a problem. On 16.04(Unity). I like to lock apps to the launcher. However I have noticed for snaps everytime a snap (such as firefox) updates, I lose it off the launcher and my muscle memory is disrupted. Any workarounds, or known issue?01:33
=== ahasenack is now known as Guest4879
=== kirkland is now known as Guest54596
=== tyhicks is now known as Guest8831
mborzeckimorning05:13
mupPR snapd#5697 closed: overlord/snapstate: fix UpdateMany() to work with parallel instances <Parallel installs> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/5697>05:52
mvozyga: you have (good) feedback on 530706:05
mborzeckimvo: hey, left a small suggestion in 570406:13
mvomborzecki: ta, looking06:13
mupPR snapd#5708 closed: snapstate: use new "snap.ByType" sorting <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5708>06:13
mborzeckiuh and obviously forgot to +1 : )06:15
mvomborzecki: ta, I like your suggestion a lot, pushed. lets hope tests are less unhappy than yesterday06:23
mborzeckimvo: yeah, i think it was better towards the evening06:23
mupPR snapd#5673 closed: ifstate: extra common code into checkAutoConflicts() <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/5673>06:39
zygagood morning :)\06:54
mborzeckizyga: hey06:56
zygajdstrand: thank you for the reviews! I know you are very busy so I'm extra grateful that you did so :)06:59
* zyga has feedback on two updated PRs and jumps into iteration :)07:00
=== pstolowski|afk is now known as pstolowski
pstolowskimornings07:08
mborzeckipstolowski: hey07:17
mborzeckiwow, didn't know that sigrok is packaged as snap07:39
mvomborzecki: what is it?07:41
mborzeckimvo: it's for logic analyzers, dumping, viewing the traces and so on07:41
mborzeckimvo: sigrok can also do basic protocol analysis, eg i2c or spi07:42
mborzeckiwonder if they ship the firmware for open source selae ripoffs too :)07:42
mvonice07:44
zygamborzecki: do you have any hardware like that?07:44
zygaI managed to boot my opensuse insallation07:45
zygaI don't know if it will work after reboot07:45
mborzeckizyga: yeah, the low end 8 channel selae ripoff is < $5 on aliexpress, got 2 of those07:45
zygabut it's closer than before07:45
zygaI'm rebalancing btrfs now, apparently, so I'll leave it be07:45
mborzeckion a side note, the 'new' selae analyzers can do analog signals too and iirc those were not supproted by sigrok at all07:46
zygamborzecki: nice07:46
zygamborzecki: I used to have an Agilent scope but I sold it as I didn't have time to really use it the way I wanetd07:46
zyga*watned07:46
zyga*wanted07:46
mborzeckiwe also had some lecroy analyzers, but those had windows only software, because 'professioanl', the pricing was also 'professional' level, sigh07:47
mvozyga: I added a comment to 5621 - please have a look, I think the whole attempt to support this strange apparmor lxd setup is fruitless, I will go with a selftest instead07:54
mvozyga: a selftest that will simply error07:55
zygaAck, looking07:56
zygahmmm08:00
zygayeah, it looks like Alice is still falling08:00
mvozyga: I ran out of ideas08:01
mvozyga: which is sad, I had hoped to make it work08:01
mvozyga: but if we can't run snap-update-ns because of outside strange interferences not much left we can do, can we?08:01
zygayeah, I'm surprised how that happens08:02
zygaI need to read the fine details08:02
zygabut I think that doesn't change the outcome08:02
zygait's all hopeless at that point08:02
mvozyga: *despair*08:02
zygahey, despair is when the sky falls down08:02
zygathis is just something we made :)08:02
mvozyga: well, at least we will now give a clear error message (well, not now but *soon*)08:02
zygayeah08:02
zyga+1 for a self-test08:03
zygaif we can make a reliable one08:03
mvozyga: I think we can08:03
mvozyga: I mean, we can just use the same detection we would have used otherwise08:03
niemeyerGood morning!08:16
mupPR snapd#5715 opened: selftest: detect if apparmor is unusable and error <Created by mvo5> <https://github.com/snapcore/snapd/pull/5715>08:17
mupPR snapd#5621 closed: release: detect when apparmor is available but not usable <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/5621>08:18
mvohey niemeyer ! good morning08:30
mvozyga: I also added a forum post about this, feel free to add details, I wonder if I should link to it from the error message in the selftest08:31
zygayeah, anything that helps people google it08:31
mvozyga: +108:31
mvozyga: I was actually thinking that the selftests should provide data to snap (the command) as well, let me try to sketch something out08:32
zygahmm08:32
zygaso snap version08:32
zygacan say "but not functional"\08:32
zyga?08:32
zygabut selftest makes the daemon stop08:32
mvozyga: something like "snap install foo" would return "snap cannot talk to snapd because: selftest-message"08:32
zygaaha08:33
mvozyga: yeah, it needs to life in e.g. /run/snapd/selftest-fail or something08:33
zygawe could drop a file in /run/snapd/selftest08:33
zygahaha08:33
zyganice ;D08:33
zygawe thought about the same idea :)08:33
mvozyga: *or* we could go into degrated mode in the daemon but that seems overkill08:33
* mvo hugs zyga 08:33
zygayeah, I agree, I think the file is sufficient08:33
mvozyga: I wonder if thats a good or a bad sign ;) I mean group-think and allthat08:33
zygaand we need to unlink that file if snapd starts :)08:33
mvozyga: thanks, I add a quick PR08:33
zyga:)08:33
zygaI think it's good because it is simple08:34
mvozyga: yeah - we could also only look for it if we can't talk to the daemon but unlink is even easier08:34
zygaoh, good idea08:34
zygayeah08:34
mupPR core#38 closed: Add another pi-config option <Created by sergey-borovkov> <https://github.com/snapcore/core/pull/38>08:49
mupPR core#83 closed: move most of the ubuntu-core config deb into the snap snap build <Created by mvo5> <https://github.com/snapcore/core/pull/83>08:49
mupPR core#93 closed: hooks: unwind /etc/alternatives <Created by mvo5> <https://github.com/snapcore/core/pull/93>08:49
mupPR core#38 opened: Add another pi-config option <Created by sergey-borovkov> <https://github.com/snapcore/core/pull/38>08:50
mupPR core#83 opened: move most of the ubuntu-core config deb into the snap snap build <Created by mvo5> <https://github.com/snapcore/core/pull/83>08:50
mupPR core#93 opened: hooks: unwind /etc/alternatives <Created by mvo5> <https://github.com/snapcore/core/pull/93>08:50
mupPR snapd#5716 opened: tests: spread test for parallel-installs desktop file handling <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5716>09:04
mborzeckithere's a forum topic about docker from snap and LD_LIBRARY_PATH and it looks a bit weird, https://forum.snapcraft.io/t/ld-library-path-in-snapped-docker/6903/4 the problem seems to appear on ubuntu only, arch, opensuse, debian are fine09:11
mupPR snapd#5700 closed: tests: significantly reduce execution time for managers test <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/5700>09:20
mupPR snapd#5717 opened: snapd: go into degraded mode when the selftest fails <Created by mvo5> <https://github.com/snapcore/snapd/pull/5717>09:39
zygamvo: reviewed09:47
zygamborzecki: hmm09:50
zygamborzecki: LD_LIBRARY_PATH is managed by apparmor09:50
mvozyga: thanks, thats good stuff09:50
zygamborzecki: it's one of the special flags managed by AT_SECURE09:50
mupPR snapd#5718 opened: overlord/ifacestate: remove "old-conn" from connect/undo connect handlers <Created by stolowski> <https://github.com/snapcore/snapd/pull/5718>09:50
mvozyga: fwiw, I tried the /run/snapd/selftest.err first but it was more convoluted09:50
zygamborzecki: in essence, it doesn't traverse setuid-rooot binaries09:51
zygamvo: this is nice :)09:51
niemeyerpstolowski: #5618 reviewed10:00
mupPR #5618: overlord: instantiate UDevMonitor <Hotplug> <Created by stolowski> <https://github.com/snapcore/snapd/pull/5618>10:00
mborzeckizyga: thanks for leaving a note under the topic ;)10:02
pstolowskiniemeyer: great, thank you!10:03
mborzecki#5716 is an easy win if anyone's interested10:04
mupPR #5716: tests: spread test for parallel-installs desktop file handling <Parallel installs> <Simple> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5716>10:04
niemeyerI'm 100 PRs behind that still, in  #5623 now :)10:05
mupPR #5623: advise-snap: add --dump-db which dumps the command database <Created by shawnl> <https://github.com/snapcore/snapd/pull/5623>10:05
mborzeckizyga: pushed an update to #571310:06
mupPR #5713: many: mount namespace mapping for parallel installs of snaps <Parallel installs> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5713>10:06
zygamborzecki: added small review10:12
mborzeckizyga: aa haha ok10:15
mupPR snapd#5719 opened: strutil: add new ParseValueWithUnit <Created by mvo5> <https://github.com/snapcore/snapd/pull/5719>10:46
=== Guest4879 is now known as ahasenack
mborzeckizyga: on arch with linux-hardened kernel and apparmor userland bits: https://paste.ubuntu.com/p/FQ9TyxXkjB/10:57
zygamborzecki: nice10:57
zygamborzecki: but not fully enabled (since we only do the fully enabled apparmor-in-snapd in tumblweed)10:57
mborzeckizyga: yup, will need to tweak that a little10:58
mborzecki[  336.086774] audit: type=1327 audit(1535108348.381:97): proctitle=61707061726D6F725F706172736572002D2D7265706C616365002D2D77726974652D6361636865002D4F006E6F2D657870722D73696D706C696679002D2D63616368652D6C6F633D2F7661722F63616368652F61707061726D6F72002D2D736B69702D726561642D6361636865002F7661722F6C69622F736E6170642F61707011:00
mborzeckiwow, not very useful11:00
niemeyerpstolowski: Enumeration reviewed as well11:03
* niemeyer => lunch11:03
pstolowskiniemeyer: ty!11:04
zygamborzecki: yeah, processes put garbage there11:05
zygathat's seccomp though11:05
zygado you have more ?11:05
mborzeckizyga: the profiles appear to be loaded https://paste.ubuntu.com/p/3VGgW5bwRQ/11:07
zygamborzecki: no, I mean, the error is from seccomp11:07
zyganot from apparmor11:07
mborzeckizyga: ther was just some STATUS following that11:08
zygacan you paste more please?11:08
mvopedronis: did I read your comment in 5606 right that you prefer a download options parameter instead of using the context? I can kill the context entirely when using the download options, it will just be a bit noisy because of the test updates11:13
mborzeckizyga: https://paste.ubuntu.com/p/cK3FG7WJP4/11:13
zygamborzecki: this is interesting: [  928.212558] audit: type=1300 audit(1535108940.553:100): arch=c000003e syscall=1 success=yes exit=2953 a0=6 a1=f980dd043a0 a2=b89 a3=0 items=0 ppid=3853 pid=3854 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="apparmor_parser" exe="/usr/bin/apparmor_parser" subj==unconfined key=(null)11:14
zygathat's seccomp telling us that write is okay?11:14
jdstrandzyga: seccomp is type=1326 (unless that recently changed?) I wonder if auditd is installed with rules to log writes to all files11:16
zygaahh11:16
zygathank you! so it's not seccomp at all11:17
zygaI was confused by arch and syscall numbers11:17
zygaI was confused by arch and syscall numbers11:17
jdstrandmvo: fyi, I approved 5715 (thanks!). that is indeed a weird configuration and am happy with the new approach11:17
jdstrandmvo: did you see my question yesterday about the -18 gadgets? do you want me to adjust the review tools for those?11:18
zyganiemeyer: I'm using the spread snap and while google works now I was wondering if you could special case running from a snap and use $SNAP_COMMON to look for qemu images. I don't know if there are other dependencies (interfaces) for this at this time (probably)11:20
mvojdstrand: I did see it and I thought I had replied. apparently not :) sorry for that, please wait a little bit with the update of the review tools, we will discuss this today (or Monday). I think we want bases for gadgets in the new world but we could also simply always assume gadgets use the model.base. so its a bit of a policy decision if we want implicit or explicit bases for gadgets11:22
pstolowskioh my, travis is like rolling a dice nowadays11:23
=== pstolowski is now known as pstolowski|lunch
mvopstolowski|lunch: yeah, its rather annoying11:24
* mvo lunch11:24
mborzeckizyga: jdstrand: https://paste.ubuntu.com/p/WWb3rXGskG/ well, hello-world.evil does not seem to be getting policed by apparmor, the profile is http://paste.ubuntu.com/p/8czF54H45C/11:36
zygamborzecki: because we don't enable apparmor11:36
mborzeckiaah damn11:36
mborzeckiright11:36
zygamborzecki: you need to patch apaparmor/backend.go11:36
mborzeckizyga: that's the first pase11:36
mborzeckizyga: but i still need to rebuild s-c11:36
zygano, I think you are OK11:36
zygas-c no longer plays any role11:36
zygaunless you built it without apparmor entirely ;)11:37
mborzeckizyga: yeah, i did :P it's a default install, i'm replacing the binaries i need11:37
jdstrandmborzecki: what is the output of 'sudo aa-status'?11:40
mborzeckijdstrand: http://paste.ubuntu.com/p/2f42M3D5Zv/11:40
jdstrandmborzecki: can you run 'snap run --shell hello-world_foo.evil' in one terminal, then while that shell is open, run aa-status and see if a process is add to the profile (ie, look at the bottom of the output)?11:42
jdstrandmborzecki: or do it with the non-_foo one11:44
mborzeckijdstrand: zyga: wohoo, had to install s-c profile and load it, hello-world.evil is not getting blocked https://paste.ubuntu.com/p/Hn8tCkcxQs/11:44
mborzeckis/not/now/11:45
jdstrandyeah, I figured snap-confine was not performing the transition11:45
jdstrandfyi, this could've been used to confirm the kernel was working right: aa-exec -p snap.hello-world.evil -- /snap/hello-world/current/bin/evil11:45
jdstrandbut you don't need that now of course11:46
mborzeckijdstrand: zyga: i'll put that bit for interfaces/apparmor/backend.go up for review and post a topic in the forums11:46
mborzeckianything else i could try here?11:46
zygamborzecki: is this a default config for arch now?11:46
zygamborzecki: run spread ;)11:47
mborzeckizyga: no, it's linux-hardened kernel, it's not the default, but it is avaialble in community repo, i only had to grab apparmor from aur11:47
zygaooooh11:48
zygaI fixed my opensuse install :)11:48
zygawoooot11:48
zygaand learned a lot while doing that :011:48
zyga:)11:48
jdstrandmborzecki: it does seem like there is a problem though. whatever happened on that system it was failing open11:49
jdstrandmborzecki: normally we see the 'snap-confine is running with elevated privileges but without and apparmor profile" (or whatever)11:49
jdstrandan*11:50
mborzeckijdstrand: 'snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks' this?11:50
jdstrandyes11:50
jdstrandas I understand what you did to make it work, you loaded the snap-confine profile11:51
mborzeckijdstrand: i go that before i dropped snap-confine in /etc/apparmor.d (it wasn't there before)11:51
jdstrandI would've expected that message if the profile wasn't loaded. instead, hello-world.evil ran without the profile change to the apparmor profile11:51
zygaI think what happened is that we load the permissive profile11:52
mborzeckijdstrand: hm it didn't run after i got that message11:52
zygayou probably didn't rebuild snapd with the fix11:52
cachiomvo, hey11:52
cachiomvo, https://paste.ubuntu.com/p/sFhhhBzkQh/11:52
jdstrandmborzecki: ok, so you didn't have the profile at all, then you got the message and it failed to run? if so, 'good'11:52
cachiothe output got from dragonboard11:53
mborzeckijdstrand:  i rebuilt snapd with the fix, but s-c was not rebuilt with apparmor and there was no profile for it (basically the default build on arch), then in rebuilt s-c but forgot the drop the profile in /etc/apparmor.d (that's when it got blocked) and last thing i did is to copy the profile and load it, and that's where .evil got blocked and so on11:53
pedronismvo: are you going to work on landing #5234  ?  it has +1s but has conflicts and needs some tweak11:53
mupPR #5234: snap: add `snap list --format=...` option <Created by mvo5> <https://github.com/snapcore/snapd/pull/5234>11:53
jdstrandmborzecki: ok, that makes sense and it sounds like there is no snapd problem. that was a 'packaging problem', if you will11:54
mborzeckijdstrand: yes11:54
jdstrandmborzecki: thanks for confirming that11:54
pedronismvo: yes,  I prefer a download options,  context is not really meant to replace function arguments, it's more to cross unrelated layers or deal with cross-cutting concerns11:59
mupPR snapcraft#2222 closed: lxd: support new style snap injection <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2222>12:14
mupPR snapd#5720 opened: interfaces/apparmor: do not downgrade confinement on arch with linux-hardened 4.17.4+ <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5720>12:18
mborzeckizyga: jdstrand: ^^12:18
zygadone12:19
mvopedronis: I'm updating 5234 (and the others) now that they all have reviews, no new PR from me until the others are landed, promised12:21
pedronismvo: :)12:21
pedronisthx12:21
mvopedronis: thank you for the review(s)12:22
mvocachio: meh, that lookds not encouraging12:22
pedronismvo: I think Chipaca added some helper to show Publisher now12:23
pedronisrelated to #523412:23
mupPR #5234: snap: add `snap list --format=...` option <Created by mvo5> <https://github.com/snapcore/snapd/pull/5234>12:23
cachiomvo, yes12:24
cachiomvo, similar problem than the last time12:25
mvopedronis: yeah, also the verified publishers ansi and all that, that pr needs some serious work12:25
mvopedronis: I'm working through my pile, at least this one has clarity now12:25
mvocachio: I will have to dig into it12:26
mborzeckiheh, super dark outside, huuge storm coming my way12:28
zygamborzecki: oh12:28
mborzeckizyga: it seems to be going east, so you're next :)12:29
ackkhi, I have a json-schema question (asking here sice snapcraft uses it): does anyone know if it possible to define constants for the patterns used in patternProperties?12:29
zygamborzecki: yeah12:29
zygaackk: constants as in what?12:29
mborzeckizyga: http://pogodynka.pl/polska/radary12:29
zygadefault values12:29
zygaor what?12:29
* zyga is somewhat familiar with JSON schema12:29
ackkzyga, I have the same value for the regexp used in patterProperties used in different objects, is there a way to avoid repeating it?12:30
zygamborzecki: I'm considering skipping standup to go for that one last bike ride this week12:30
zygaah12:30
sergiusensdoes anyone know if chipaca is back next week?12:30
zygaackk: I see, last time I checked there was no other way than $ref12:30
mvosergiusens: he will be back tuesday iirc12:30
ackkzyga, yeah but ref doesn't work in a key12:30
zygaso if you can use types/refs (however that was called) to somehow define what you want12:30
zygaotherwise no12:30
ackkzyga, I see, that's what I thought but I was hoping I was wrong :)12:31
ackkzyga, thanks12:31
mborzeckizyga: did ~35km yday and ~27km day before that :) it's a pity it's getting dark around 8pm now12:32
=== pstolowski|lunch is now known as pstolowski
mborzeckiand it's gonna be worse only12:32
zygamborzecki: I did just 23km yesterday and 14 the day before12:34
zygaI would like at least a 10km minimal run :(12:34
zygabut once it rains that's out of the question12:34
zygaackk: if you find out otherwise do let me know :)12:34
ackkzyga, the little I found on the internet seems to confirm you can't12:35
zygaackk: it's like with css, people invent ${extra_letter}css to add variables and then compile it to css using piles of javascript ;)12:35
ackkheh12:35
niemeyerzyga: Sounds reasonable.. we might just check if $SNAP_COMMON is set and if so use that path in addition to the default location12:37
zygayeah12:37
zygaand also a very nice use of $SNAP_COMMON :)12:37
zygaexactly the sort of data we don't want to repeat12:37
niemeyerzyga: Yeah.. let's just be careful to use a subpath there, instead of assuming the snap is necessarily spread12:38
niemeyerSince people can embed spread in their own snaps12:38
zygammm12:38
sergiusensniemeyer: hey there. Wanted to ask if we can move today's meeting to Monday12:54
mupPR snapd#5638 closed: interfaces: basic spread test for udev monitor <Blocked> <Hotplug> <Created by stolowski> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/5638>12:59
niemeyersergiusens: Sure thing12:59
niemeyersergiusens: Morning13:00
sergiusensthanks, this will give us time to prepare better for a couple of discussion points.13:00
sergiusensniemeyer: and good afternoon for you!13:00
zygamborzecki: hmm13:01
zygamborzecki: can you checkout master and then go test ./... in interfaces13:01
zygaI get errors related to the new file checker13:01
zygabut they are clearly bogus13:01
zygathe checker is used as in Not(testutil.FileContains)13:02
zyga    c.Assert(profile+".src", Not(testutil.FileContains), "# complain mode logging unavailable\n")13:02
zygaso we just want to check that something is not in the file13:02
mborzeckizyga: works fine13:02
zygaand then it says "failed"13:02
zygabut the searched string is _not_ in the file13:02
mborzeckizyga: you need to update vendored deps13:02
zygaaaah13:03
zygathanks13:03
mborzeckizyga: that's a bug in go-check that's fixed in master and included in the version we vendor13:03
zyganice13:03
mupPR snapd#5721 opened: interfaces: retain order of inserted security backends <Created by zyga> <https://github.com/snapcore/snapd/pull/5721>13:04
zygastandup!13:05
zygasorry13:05
mupPR snapd#5593 closed: tests: new test for hostname-control interface <Created by sergiocazzolato> <Closed by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5593>13:09
mborzeckizyga: why doesn't it boot?13:48
zygait was using a snapshot to load grub modules13:48
zygaa btrfs subvolume snapshots13:49
zygaand that snapshot is corrupted13:49
zygathe rest is ok :D13:49
mborzeckiheh, nice feature btw13:49
zygait was reliably failing even after I fixed it13:49
zygafor a reason :D13:49
zygahaha13:49
mborzeckii still think it's crazy to use btrfs by default, but whatever ;)13:49
zygafor _grub_13:49
zygaanyway13:49
zygaI'm happy now13:49
zygaI need to fix this but it's clear why it is broken13:49
mborzeckidid snapper complain at least?13:50
diddledancan I get some tests of gimp from the edge channel please? I want to push stable if it is working fine13:50
zygasnapper used all the space13:50
zygasnapper didn't care13:50
diddledanping @popey @Wimpress ^^^^^13:50
mborzeckigib me all your space ;)13:50
popeyoooh13:51
popeydiddledan: 2.10.6?13:52
diddledanpopey: I've added a banner image to the gimp store listing, so it can be a big-banner-featured at some point :-)13:52
diddledanyup 2.10.613:52
popey\o/13:52
popeydiddledan: full screen splash intentional?13:54
diddledanhave you got a low-res screen? :-p13:54
diddledanI've not changed anything regarding the splash13:54
diddledanso that'll be whatever gimp does normally?13:54
diddledanlooks like the splash image from upstream is 1920x108013:55
popeyah, i'm 1080p :)13:56
diddledanI've got 1080p and it doesn't go fullscreen for me :-/13:57
diddledanhttps://usercontent.irccloud-cdn.com/file/SzjUD61N/Screenshot_20180824_145404.png14:00
zygaI need a small break to walk the dog and eat something14:05
mvojdstrand: yeah, please allow bases for gadgets14:24
mvojdstrand: we just discussed this and agreeded its the right approach14:25
Wimpressdiddledan: gimp 2.10.6 "worked for me"15:00
diddledanyey, thankyou15:00
zygare15:04
zygamy dog is much happier now15:04
zygaas am I :)15:04
zygagood food, nice walk15:04
* zyga welcomes rain16:04
mupPR snapd#5655 closed: snap,snap-exec: support command-chain for hooks <Created by kyrofa> <Merged by kyrofa> <https://github.com/snapcore/snapd/pull/5655>16:31
danieru98how can i install a snap in my home directory?16:43
popeyWe don't support that.16:48
danieru98is installation for only one user possible?16:51
popeyNot currently, no.16:52
danieru98would be nice if snaps supported that, is that feature planned for the future? should i suggest that feature in Launchpad?16:54
mupPR snapd#5722 opened: tests: test for the hostname interface <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5722>16:55
popeydanieru98: probably something to discuss on the forum, I think?16:56
mupPR snapd#5723 opened: cmd: remove --skip-command-chain from snap run and snap-exec <Created by kyrofa> <https://github.com/snapcore/snapd/pull/5723>16:58
kyrofaniemeyer, ^ there you go17:00
danieru98popey, ok i'll create a thread explaining my use case and why snaps won't work for me without this feature.17:01
* cachio afk17:07
om26ercan anyone tell why this snap review failed https://dashboard.snapcraft.io/snaps/xbr-dashboard/revisions/1/ ?17:37
om26erpopey: ^17:38
om26erjdstrand: Hi!18:17
mupPR snapcraft#2224 opened: snapcraftctl: run in isolation mode <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2224>18:26
om26erhttps://forum.snapcraft.io/t/my-snap-failed-needs-manual-review/704418:34
niemeyerkyrofa: Thanks!18:40
niemeyerom26er: Heya18:40
om26erniemeyer: hey18:41
niemeyerom26er: jdstrand is a bit overwhelmed in the last few days, but he'll get to it for sure18:41
om26erniemeyer: sure, no problem. The dashboard seems to have regressed (or this is a special case), previously it did mention the reason for automatic review' failure.18:42
niemeyerom26er: It doesn't look like it failed the automated review18:43
niemeyerom26er: It says not completed from what I can see18:43
niemeyerom26er: It's definitely supposed to mention, but it seems to say the review hasn't finished yet for this case18:43
niemeyerWhich is a bit atypical given it's been there for an hour18:44
niemeyernessita, noise][: Anything you can see from your end here? ^18:44
noise][roadmr: nessita: there was an issue earlier with reviews timing out, likely related18:47
roadmrohai18:49
jdstrandniemeyer: thanks for that18:50
roadmrom26er: this looks consistent with what we saw earlier; reviews are bumping against a too-strict timeout and end up being retried and eventually fail. We're tuning the timeout and I'll re-autoreview your snap once it's ready18:50
om26erroadmr: sounds good, thanks18:51
jdstrandwhoops, I just pressed 'perform automated review again'18:51
om26erwell maybe it won't timeout this time ;)18:51
jdstrandroadmr: ^ fyi18:51
roadmrjdstrand, om26er : well maybe - if it makes it under the X-second threshold it'll be ok, but if not... pain :(18:52
roadmrwhich is why we're increasing the timeout, so it's not such a race against fate18:52
jdstrandroadmr: iirc, this is a new thing related to the xenial upgrade?18:53
jdstrandor rather, it is aggravated by the xenial upgrade?18:54
roadmrjdstrand: there're two causes18:54
* jdstrand listens18:54
roadmrjdstrand: the first is the l1tf mitigations cutting our servers' performance in half :( yay it's like it's 2006 and we're all running on Intel Core 32-bit 1st-gen :)18:54
roadmrjdstrand: but interestingly - we're seeing this because matiasb *fixed* things - if he hadn't, those reviews would end up in limbo18:55
roadmrjdstrand: before, when a review hit the timeout, it would just end up stuck and need manual intervention from us18:55
jdstrandah, yes. I recall that is was like we were time warping. I think I used 2010, hehe :)18:55
roadmrjdstrand: now, it hits a *soft* timeout, so it gets retried in hopes it'll pass this time18:55
roadmrif it consistently fails up to X number of retries, it gets flagged for manual review18:55
roadmrwhich is at least an actionable state18:56
jdstrandI'm glad to hear about those fixes18:56
roadmrjdstrand: this was deployed today but unfortunately it coincided with the world becoming a slower place for VMs :(18:56
jdstrandsounds good and a good data point18:56
jdstrandoh boo18:56
jdstrandroadmr: well, thanks for taking the time to describe it to me. I guess you have twice as much idle time to chat now that computers take twice as long to do things ;P18:57
roadmrhaha I type just as fast, so poor computer has twice as much trouble keeping up with me :D18:57
jdstrandhehe18:57
roadmrjdstrand: I think it's a conspiracy theory to boost sales, since conveniently the only true fix is to buy new hardware18:58
jdstrandroadmr: I know, right? it's a great strategy. put flaws in, fix them to make things slow, buy new hardware that will only get slower. buy new hardware that has cpu fixes to not be vulnerable to old flaws, but introduce new flaws. rinse and repeat19:02
jdstrandwe should be hardware guys :)19:02
om26erwell, ok the review failed again. Lets wait for the actual fix :)19:05
nessitaom26er, what's the snap?19:07
om26ernessita: https://dashboard.snapcraft.io/snaps/xbr-dashboard/revisions/1/19:07
roadmrjdstrand: yes we're in the wrong business.19:10
roadmrnessita: I have it on a list of snaps to retry19:10
om26ernessita: now it seem the review actually run19:12
diddledanplanned obsolescence for the win!19:12
nessitaroadmr, sorry I did not know, I retried it19:16
jdstrandnessita: hehe, I did the same thing :)19:16
om26erwell this time there is a warning, so "progress" :)19:16
om26erthat brings me to the question: If automatic review gets back up, will I be able to push my snap with that pending warning ?19:17
om26er"desktop interfaces (x11) specified without a corresponding meta/gui/*.desktop file..."19:18
jdstrandom26er: no. you need to ship a desktop file19:18
jdstrandthen it will pass review (assuming no other errors/warnings)19:19
roadmrnessita: not a problem! with these new softtimeout things, retrying should be harmless19:19
jdstrandroadmr: not at all urgent, but can you schedule pulling in r1121 of the review tools?19:35
roadmrjdstrand: sure thing!19:36
jdstrandcachio: that has the cifs-mount addition ^19:36
jdstrandcachio: I'll go approve the snap now19:36
cachiojdstrand, thanks19:36
roadmrom26er: I think your snap is unwedged now, though you still need to take care of the desktop file thing.19:52
om26erroadmr: working on the desktop file, almost there :)19:52
roadmr\o/ once it's ready, it should auto-review nicely19:52
roadmrjdstrand: hi! so :( I had to disable resquashfs enforcement, because the extra time needed to process that was causing a lot of snaps to go over threshold and fail automated review.19:59
roadmrjdstrand: do you mind if I leave it off during the weekend? we'll have a closer look on Monday19:59
mupPR snapcraft#2225 opened: build providers: environment setup for projects <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2225>20:29
jdstrandroadmr: well, if that is the best option considering the time, 'ok'. I definitely want to get out of the habit of turning them off20:38
* jdstrand realizes it is friday and I don't want to make people work over the weekend for this20:38
jdstrandbut, (and I know we're in sync on this point), I'd like to get to the point where we never turn them off again20:39
roadmrjdstrand: yes, I recognize it's not ideal :( but we know for sure it makes things take longer, and we are seeing these odd timeouts, so it seemed like the only way to cut review times20:55
roadmrjdstrand: this is abnormal, for sure: it was all working mostly OK, so next week we'll have a closer look and turn this back on as soon as feasible20:55
jdstrandroadmr: I understand. as a member of the security team I had to say something :)21:02
jdstrandbut it's fine21:02
roadmrindeed :)21:03
jdstrandroadmr: I'm going eow, so if you need something, holler and I'll check back later21:03
roadmrsure thing! enjoy your weekend21:03
tyhicksrescanning all unscanned snaps might be a good idea next week21:03
mupPR snapcraft#2226 opened: templates: reimplement templates as python classes <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2226>23:20

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