/srv/irclogs.ubuntu.com/2018/07/19/#snappy.txt

=== thibautr___ is now known as thibautr__
=== tedg_ is now known as tedg
=== TinoGuest_ is now known as TinoGuest
=== davidcalle_ is now known as davidcalle
=== clemensv_ is now known as clemensv
=== Dmitrii-Sh_ is now known as Dmitrii-Sh
=== iatrou__ is now known as iatrou_
=== mup_ is now known as mup
=== pstolowski|afk is now known as pstolowski
pstolowskimornings07:11
mvohey pstolowski07:12
pstolowski#5474 needs a 2nd review, would be great to land it07:43
mupPR #5474: many: finish sharing a single TaskRunner with all the the managers <Created by pedronis> <https://github.com/snapcore/snapd/pull/5474>07:43
mvopstolowski: I have a look in a bit07:43
pstolowskity07:43
pstolowskimvo can #5535 land, or is there more to it?07:54
mupPR #5535: tests: fix tests expecting old email address <Critical> <Simple> <Created by zyga> <https://github.com/snapcore/snapd/pull/5535>07:54
Chipacabuenos días, gente08:06
mvopstolowski: it can land, I fixed this 2h earlier but for some reason my PR was not visible, oh well08:09
mvopstolowski: s/not visible/not reviewed/08:10
mvopstolowski: if merged, please squash, we need it for the sru08:10
pstolowskimvo: yep, noticed that..08:10
mvoChipaca: hey, good morning08:10
pstolowskiouch, i merged a second ago, but not squashed08:10
pstolowskisorry about that08:11
mvopstolowski: no worries, its just three commits so not a big deal08:11
Chipacahmm08:20
ChipacaI've got a question about #553508:21
mupPR #5535: tests: fix tests expecting old email address <Critical> <Simple> <Created by zyga> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/5535>08:21
Chipacawhy the unknown|unset change?08:21
Chipacathat one's wrong08:21
Chipacaand backwards08:21
pedronispstolowski: thanks for the review08:22
mvoChipaca: unset is the new one right?08:22
Chipacayes08:23
Chipacathere should be nothing saying 'unknown' now, ever08:23
Chipacaif there is, it's a bug08:23
mvoChipaca: did the server side sent it?08:24
mvoChipaca: or is this entirely local?08:24
Chipacamvo: server side sends "unset"08:24
mvoChipaca: sounds like we need a PR then that removes the unknown08:24
Chipacamvo: for local snaps with no set license snapd sent "unknown" until #550808:24
mupPR #5508: cmd/snap: print unset license as "unset", instead of "unknown <Simple> <Created by chipaca> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5508>08:25
Chipacamvo: so I'm asking, before just pushing the PR to do it, because it was unset and obviously something broke, I need to understand what broke :-)08:25
Chipacai mean, i doubt cachio made the change just for fun08:26
pedroniswhen was this?   is this related to the reindex or was from before?08:27
* pedronis is going to spend the morning on reviews08:27
Chipacapedronis: same pr as the email change08:27
pedronisah08:27
pedronismaybe something is broken in the store and the reindex put unknown in places again?08:28
Chipacanope08:28
Chipacaunless this is the fake store?08:29
Chipacathe actual store is sending "Other Open Source"08:29
Chipacawhich wouldn't mach either of those :-)08:29
pedronismmh08:30
pedronisyes08:30
pedronisthis is test-snapd-tools ?08:30
Chipacacore, test-snapd-tools, and test-snapd-devmode08:30
pedronisChipaca: core says unknown here08:31
Chipacapedronis: where and how?08:31
pedronissnap info core08:32
pedroniswith beta08:32
pedronisI mean 2.34.108:32
Chipacapedronis: #5508 is recent,  probably only edge08:32
mupPR #5508: cmd/snap: print unset license as "unset", instead of "unknown <Simple> <Created by chipaca> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5508>08:32
pedronisChipaca: ah, but cachio is doing an SRU,  so it needs still the unknown08:33
Chipacamerged 3 days ago08:33
Chipacapedronis: on master?08:33
pedronisI'm not quite sure how is running things08:33
pedronisno clue08:33
Chipacayeah08:33
* Chipaca grumbles some more08:33
Chipacaanyhow08:33
Chipacapedronis: it's have-another-coffee o'clock08:33
pedronisme I'm fininish my first tea08:34
Chipacaafter that i'll be working on snapshotstate conflicts08:34
Chipacawish me luck :-)08:34
pedronisChipaca: it should be easy08:44
pedronisChipaca: afaiu just use AddAffectedSnapsByAttr08:45
pedroniswith snapshot-setup08:45
jameshwhen calling /v2/interfaces?select=connected&plugs=true&slots=true, is it normal that unconnected plugs and slots are returned?08:48
jameshit only seems to filter out interface types that have no connected plugs or slots08:48
Chipacajamesh: I'm not sure. That code was refactored recently, so we might've fudged it09:08
Chipacazyga: ^ jamesh's question is for you I fear09:08
Chipacajamesh: zyga is further west than normal so I wouldn't expect a response for a few hours09:09
jameshChipaca: Montreal?09:10
Chipacayah09:10
Chipacajamesh: OTOH the refactor is probably only on master (so on edge)09:10
Chipacajamesh: are you talking to edge?09:10
jameshgood point.  I'm on edge at the moment.  I'll check stable09:10
Chipacajamesh: even if we didn't change the behaviour it's possible it's wrong :-) i'd be surprised to get unconnected things when i ask for connected ones09:12
pedronismvo: I don't understand the localSnaps change in the kernel-track branch, it seems to be done for all snaps09:12
jameshChipaca: I want to find out if a particular snap has a connected plug for a particular interface, and didn't feel like sifting through the full list of connections.  This interface looked like it should do what I want, but didn't seem to be doing the filtering09:14
jameshChipaca: okay.  Stable  (2.33.1) also shows unconnected plugs09:14
Chipacajamesh: so 'snap interfaces -i theinterface thesnap', but via the api?09:15
mvopedronis: hm, let me double check, maybe there is a test missing :(09:15
pedronismvo: did you forget to check that the snap name is the kernel name?09:15
mvopedronis: yes, silly me. plus a test is missing that should have failed, let me check why this is not failing, I thought I had checked for the channel09:16
jameshChipaca: that command does client side filtering.  I was thinking of doing the equivalent of "snap interface pulseaudio" and then checking checking if the snap in question was listed as a plug09:17
pedronispstolowski: I tried to answer your doubt09:17
mvopedronis: aha, there is a test for two local snaps missing, let me fix that09:18
jameshthat's "interface" rather than "interfaces"09:18
Chipacajamesh: ah, right, interfaces is the old one09:19
Chipaca(what you get with select="")09:19
Chipacajamesh: looks like a bug to me09:20
Chipacajamesh: I have both vlc and firefox snaps, neither of which are connected to camera, yet 'snap interface camera' lists them09:21
Chipacajamesh: whereas i'd only expect them to appear under 'snap interface --all camera'09:21
jameshChipaca: I'd expect them to show with select=all and not with select=connected09:21
jameshyeah09:21
Chipacaexactly09:21
Chipacaso, yeah, this looks like a bug to me09:21
Chipacaalso the output with --all should probably say connected/disconnected09:22
jameshThe json doesn't currently tell you about the connection state, or what they are connected to09:23
jameshit'd kind of be nice if one of the output formats clearly had a superset of the data of the other09:23
mvopedronis: thanks again, fix pushed, can't wait to write integration tests for this09:25
Chipacajamesh: want to raise that last point in the forum?09:30
jameshChipaca: sure.09:30
Chipacajamesh: I know niemeyer had Opinions about this, but I'm not sure the current interface command is that, or if there was going to be a connections command09:30
Chipacapopey: is somebody working on a new minecraft snap?09:31
Chipacapopey: (because I'm going to be asked for it this weekend)09:32
popey@Chipaca looked at it last night, and mentioned to @Wimpress as I am on vacation starting today. he said he'd look at it if he gets time. Looks simple enough to dump the deb into a snap09:32
popeywe could put it in edge on the minecraft name09:32
Chipacapopey: there's a deb now?09:33
popeybut need to test that it migrates from old minecraft to new properly09:33
popeyyes09:33
popeyits a chromium embedded (electron like) app09:33
Chipacasaw that in the tarball, but didn't see a deb09:33
Chipacaanyway, good to know09:33
Chipacapopey: enjoy your holidays and your vacationdays09:33
popeythanks. give Wimpress a nudge later when he's online09:34
popey:)09:34
pedronismvo: not urgent, there's a couple of mispellings of "topic" in the roadmap entry for 2.34 in the forum09:36
mvopedronis: thank you, will fix in a bit09:36
ogra_hmm, does aynone know if layouts can be used on top of dirs that are imported via a content interface ?09:45
ogra_(i wonder if the ordering allows that)09:47
pedronismvo: 5533  looks good but I think it could be simplified a bit further09:50
pedronismvo: let me know if the comment/proposal are unclear09:53
* Chipaca afk for a while09:55
popeyChipaca: should snap pack foo/   create a valid snap?09:55
Chipacapopey: snap pack foo/ . should09:56
popeyit doesnt09:56
Chipacadunno how  good we are with the defaults09:56
popeyhttps://www.irccloud.com/pastebin/Q4A7E8gz/09:57
Chipacasigh09:57
Chipacapopey: i'll take a look when i get back09:57
popeyok :)09:57
popeysorry09:57
Chipacano probs09:57
popeyshall i file a bug?09:57
Chipacathis is part of why we want to have a single way to do this09:57
Chipacapopey: please09:57
popeyon snapd?09:57
Chipacayup09:58
popeykk09:58
popey on it09:58
popeyhttps://bugs.launchpad.net/snapd/+bug/178254509:58
mupBug #1782545: "snap pack" doesn't make a valid snap <snapd:New> <https://launchpad.net/bugs/1782545>09:58
mvopedronis: thanks, looking10:01
pedronismvo: btw I think the current code is probably even buggy (it would store the effective channel, instead of the tracking channel in some cases)10:07
pedronis(which I don't think is what we want)10:08
mvopedronis: oh, you mean the pre-existing code? I will check that too10:10
pedronismvo: yes,  because we store info.Channel in the side,  but if you ask for some channel that is closed you might get something different10:11
pedronisis not relevant if channel is stable anyway, that's why probably nobody noticed10:11
pedronisis not a serious bug, but it's conceptually off10:11
mvopedronis: good catch10:11
mvopedronis: I do a fix in a bit10:11
pedronismvo: basically we need to store in seed what we set in dlOpts , not what we got in the info (which then also means the code in localSnaps is not needed)10:13
pedronisshould simplify a bunch of code, some tests might need re-tweaks10:14
mvopedronis: I will do a separate PR for this10:15
jameshChipaca: here's the forum post: https://forum.snapcraft.io/t/should-v2-interfaces-select-connected-return-unconnected-plugs-slots/645510:49
mvopedronis: I looked now and it seems we don't need a separate PR, the changes needed look quite small10:50
mupBug #1619258 changed: netplan should allow NICs to be disconnected and not stall the boot <rls-aa-incoming> <Snappy:Fix Released> <nplan (Ubuntu):In Progress by cyphermox> <systemd (Ubuntu):Fix Released> <https://launchpad.net/bugs/1619258>10:58
pedronismvo: +1 with some small comments11:40
pedronismvo: thanks for the other changes11:42
mvopedronis: thank you, looking and tweaking :)11:49
* Chipaca wanders off in search of lunch12:04
zygao/12:08
pedronisChipaca: I reviewed the state bits of #551412:13
mupPR #5514: daemon, overlord/state: warnings pipeline <Created by chipaca> <https://github.com/snapcore/snapd/pull/5514>12:13
Chipacapedronis: saw that, thank you12:14
Chipacapedronis: the names of those things were (iirc) taken from the whiteboard, but yeah they're probably not the best12:14
Chipacaespecially because the lastSeen is from one pov and the lastShown from another12:14
Chipacaand they're practically synonymous12:15
pedronisyes, Seen doesn't work for me there12:15
Chipacapedronis: also was thinking we could drop the explicit delete method and just expire them on load12:16
Chipacaanyway, really must lunch12:17
pedronisChipaca: given that we call the method Add*  maybe s/seen/added/12:18
pedronisseems the most explicit12:18
pedroniscomment in the PR12:19
pedronisa 2nd review of #5474  would be great12:29
mupPR #5474: many: finish sharing a single TaskRunner with all the the managers <Created by pedronis> <https://github.com/snapcore/snapd/pull/5474>12:29
mvocachio: hey, 2.34.2 is uploaded into trusty,xenial,bionic, we need to do the validation this week for it to make it to 18.04.112:41
cachiomvo, sure12:57
cwaynemvo: +1 for beta core13:40
mvocwayne: yay, thank you13:40
mvocachio: -^13:41
cwaynemvo: once we get one of these kernel issues on a gateway figured out once and for all it'll go more quickly in the future :)13:41
cachiomvo, promoting13:56
zygapedronis: thank you for the review, I'm addressing the comments now14:07
zygamvo: do you have any news on the racy stop mode tests? is that a logging issue at this stage (after all the other fixes?)14:07
pedronismvo: I added some comments to #5537, it looks good overall14:14
mupPR #5537: snapstate: ensure kernel-track is honored on switch/refresh <Core18> <Created by mvo5> <https://github.com/snapcore/snapd/pull/5537>14:14
zygaI addressed stuff on https://github.com/snapcore/snapd/pull/5527 and it just needs a 2nd review14:18
mupPR #5527: overlord/ifacestate: support implicit slots on snapd <Core18> <Created by zyga> <https://github.com/snapcore/snapd/pull/5527>14:18
ogra_zyga, would layouts work on top of imported dirs from content interfaces (i suspect there might be ordering issues (if a layout symlink gets created before the interface connects etc))14:29
zygalayouts are first14:29
zygabut we should reject anything that is overlapping already14:30
zygaif we don't that's a bug14:30
ogra_k, note i didnt try it just asking conceptually14:30
ogra_so overlaps arent allowed anyway ... hmm14:30
zygayes14:31
zygamvo: can we talk about https://github.com/snapcore/snapd/pull/5518 quickly?14:31
mupPR #5518: systemd: fix snapd.apparmor.service.in dependencies <Created by mvo5> <https://github.com/snapcore/snapd/pull/5518>14:31
mvopedronis: thank you, will work on those14:32
mvozyga: stop mode is logging related but its not fully conclusive yet. my file based fix works for me(tm) as does decreasing the sleep14:32
mvozyga: aha, right, 551814:32
mvozyga: yeah, lets kill the requiste=14:33
zygathanks!14:33
zygamvo: should we merge the general fixes I did earlier14:33
zygamvo: and then pursue logging separately14:33
zygamvo: or do you want to get to the bottom of the issue entirely14:33
mvozyga: merging your fix is great14:34
mvozyga: it fixes a lot of problems already14:34
mvozyga: and then we can use that to get to the bottom of the issue itself14:34
zygawe need a 2nd review on https://github.com/snapcore/snapd/pull/552114:41
zygaChipaca: ^ perhaps14:41
mupPR #5521: snap-confine: mount internal tooling even for the core snap on core18 <Core18> <Created by mvo5> <https://github.com/snapcore/snapd/pull/5521>14:41
Chipacazyga: ok14:43
zygathank you!14:43
zygaChipaca: please have a look at my comment here https://github.com/snapcore/snapd/pull/5531#pullrequestreview-13871032614:53
mupPR #5531: cmd/snap: support `--last=<type>?` to mean "no error on empty" <Created by chipaca> <https://github.com/snapcore/snapd/pull/5531>14:53
popeyzyga: https://forum.snapcraft.io/t/spotify-doesnt-open-everytime-i-reboot/646014:53
ogra_popey, didnt you say your vacation starts today ? what are you doig here all day ?14:54
* popey disappears14:54
ogra_popey, here ... a poster for you ... https://www.kotzendes-einhorn.de/blog/wp-content/uploads/2014/04/smartwatch.jpg14:54
ogra_:)14:55
popeyI love that image14:55
zygapopey: looking14:55
zygaah,14:56
odchi there14:58
zygabut after the session14:58
zygahey there odc :)14:58
odcquestion: i have a C++ app that requires C++14 and thus, can only be compiled on ubuntu bionic (doesn't compile on xenial). I have managed to create a .snap from bionic. Will snapcraft.io accept my snap since it doesn not compile on xenial?15:01
popeyit may accept it but it will likely segfault on user computers15:02
popeybecause it will pull in core (ubuntu 16)15:02
odco.O it won't include the libstdc++ from bionic?15:02
ogra_well, depends how you build it ... you would need to override libc and stdc++ an also hack the snapcraft.yaml in a way to get a proper compiler/toolchan15:02
Chipacazyga: responded15:03
ogra_*and also hack15:03
odchm, i may be able to compile some libs as static15:03
ogra_not sure the ibc/stdc++ overriding works15:03
ogra_yeah, that might be ok15:03
odchow can i view what files are in my snap?15:04
ogra_i fthey are linked into your binary ... but even then you will execute on top of xenial15:04
ogra_unsquashfs -ls /part/to/snap15:04
ogra_*path15:04
popeyor look in prime/15:04
Chipacaor if you're using snapcraft, look in prime/15:04
popeywhich will be whats in the snap15:04
popeysorry15:04
ogra_right, if you have the source tree look in prime/15:04
* popey shuts up and closes irc15:04
popeycheerio :)15:04
ogra_haha15:05
odccool. thx all15:05
ogra_go watch planes :)15:05
* Chipaca kicks popey off15:05
Chipacasome people need help vacationing15:05
popeyctrl+q15:05
odcapparently, all the libs but libc are included in the snap :)15:09
odcgonna test on xenial15:10
Chipacaodc: libc is a problem15:11
Chipacaodc: but you can force it to be included as well15:11
Chipaca(i don't remember how though)15:11
Chipacaodc: it's a problem because you'll be getting xenial's libc everywhere, and you built against bionic's, and they have different ABIs15:12
Chipacaunless what you managed to do was build on xenial + backported libs, in which case i should shut up15:12
odcnope, i build my snap in a docker container15:13
odc(with bionic)15:13
Chipacaodc: OTOH, you could use base: core1815:14
Chipacaodc: in which case you might find bugs in core18 as it's not yet 'ready' :-) but it should work15:15
Chipacaodc: (core18 is bionic-based)15:16
odcinteresting ;)15:16
odcand indeed my snap does not work on xenial15:17
odcChipaca: is there documentation for "base"? I don't know where to put it15:19
pedronispstolowski: zyga: the issues with 5532 are I think about not checking for Undesired15:22
pedronisthere can be an entry in conns that still means the connection is not there15:23
pstolowskipedronis: yes i've a fix ready and testing atm15:23
Chipacaodc: it goes in the top level (next to 'name:'), but if snapcraft doesn't support it yet you might need to put 'passthrough: base: core18'15:23
Chipacaodc: (then once snapcraft supports it it'll let you know to drop it out of passthrough)15:24
Chipacazyga: I just wrote my longest commit message ever, and I'm blaming you15:24
Chipacazyga: (even though most of it was copy-paste of logs :-) )15:24
odcChipaca: it seems to have worked without passthrough15:25
Chipacaodc: yay15:25
odcit works!15:27
odcwell, kindof. The gtk theme is ugly and there is no font/text, but i guess that's because of isolation15:28
Chipacaodc: that should work though15:29
Chipacaodc: the snap should have access to the system's fonts15:29
Chipacawell, assuming the right interfaces15:29
ogra_just use one of the desktop helpers15:29
odc>Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory15:30
ogra_right, the desktop helpers help with that15:31
odcok15:31
ogra_but not sure what happens if you try to use them with "base: core18"15:31
ogra_that might badly explode in your face and leave marks ;)15:31
Chipacai'm sure there are gnome snaps using core18, but don't know which ones offhand15:33
Chipacamaybe mvo knows15:33
ogra_well, the questio is if the package names used by the desktop wrappers are still the same etc15:33
ogra_*question15:34
zygapedronis: mmm, interesting observation, I will check15:34
zygaChipaca: *thank you* very much, that really matters15:35
pedroniszyga: pawel said he is on it15:35
zygapedronis: perfect, I'm just catching up onw15:35
zyga*now15:35
odcok, i added these: plugs: [desktop, home, network, thumbnailer-service, x11]15:41
odcnow my app can load fonts, but i still get the gdk-pixbuf error and ugly theme15:41
ogra_you need to add a desktop helper15:42
odco.O15:42
* odc looks it up15:42
ogra_https://github.com/snapcrafters/wordpress-desktop/blob/master/snap/snapcraft.yaml#L3215:43
ogra_here is an example15:43
odcthanks!15:45
ogra_(the "after:" bit ...15:47
ogra_=15:47
ogra_)15:47
odcogra_: what will that do?15:47
odci understand it will build this part first15:47
odcnvm, i saw it in the traces15:48
ogra_its a remote part ... it pulls and builds it forst and puts everything into your snap15:49
ogra_*first15:49
ogra_details are at https://wiki.ubuntu.com/snapcraft/parts (scroll down to snapcraft-desktop-helpers)15:50
odcthe result is still the same, but this may be the cause:15:51
odcmain.go:192: cannot change mount namespace of snap "ahoviewer" according to change mount (/var/lib/snapd/hostfs/usr/local/share/fonts /usr/local/share/fonts none bind,ro 0 0): cannot create writable mimic over "/usr": cannot create path "/tmp/.snap/usr": cannot mkdir path segment ".snap": permission denied15:51
ogra_uh15:51
odcbbl15:56
Chipacazyga: ^ cannot create mimable writer16:02
Chipacaor writable mimic or sth16:02
pstolowski Mount snap "test-snapd-content-circular2" (2) ([start var-lib-snapd-snap-test\x2dsnapd\x2dcontent\x2dcircular2-2.mount] failed with exit status 1: Job for var-lib-snapd-snap-test\x2dsnapd\x2dcontent\x2dcircular2-2.mount failed.16:04
pstolowskithese kind of mount failures seem to be recurring16:05
=== pstolowski is now known as pstolowski|afk
zygaodc: hello16:22
zygaodc: sorry, I was busy, we please talk about this now16:22
zygaodc: can you tell me about the snap, what features are you using (content interfaces, layouts, etc)16:23
Chipacazyga: <odc> bbl16:26
zygaaha, thanks16:27
mvopedronis: I updated 5537 based on your comments, thanks for those!16:51
odcaaand i'm back @ zyga16:59
* odc switches computer16:59
Chipacaodc: he's having lunch17:02
Chipacaodc: he'll be back in 15'17:03
odcChipaca: which begs the question, why are you not having lunch?17:03
Chipacaodc: because I'm having tea17:03
ChipacaI'm in London, he's in … somewhere in the east of Canada17:04
mvoyummy tea yummy17:04
odcheh17:04
Chipacamontreal, i think17:04
odche's not gonna like me then. I'm a "maudit français"17:05
Chipacaodc: hes polish, so most probably dngaf17:05
odclol17:05
pedronismvo: +1, need a 2nd review17:12
zygare17:19
zygaodc: back, thank you for waiting17:19
odchi zyga17:19
zygaso, I think you pasted some basic information17:20
odci reproduced the previous error on my desktop17:20
odc1sec17:20
zygabut because of the risk that I just need to run to another meeting17:20
zygacan you paste all the details agin please17:20
zygaI will copy that and look into it after the event, if necessary17:20
odchttps://usercontent.irccloud-cdn.com/file/T6hxxsx5/snapcraft.yaml17:20
zygaI will definitely debug it as this part has to be just work and I'm on point for that17:21
odci see :)17:21
odcwell, the error happens both on ubuntu 16 and 1817:21
odci had no issue producing the snap17:22
odc(i build them inside docker)17:22
odcdo you need me to paste the output when i run the app?17:22
odcaloso, i got the error even before using "base: core18"17:24
pstolowski|afkzyga: #5532 is fixed17:27
mupPR #5532: api/connect: ignore connect if already connected <Created by stolowski> <https://github.com/snapcore/snapd/pull/5532>17:27
zygaodc: ideally I'd get:17:28
zygaodc: dmesg | grep DENIED # from the device where this just occurred17:28
zygaodc: yaml's for the snap that was used (just the snap yaml, I don't need the snapcraft one)17:28
zygaodc: I will inspect that and perhaps ask some follow up17:29
zygaodc: if you can please share the binary snap file17:29
zygaodc: (in private if you prefer)17:29
zygaodc: as  I can then explore this and ensure it's fixed17:29
odczyga: what is "the snap yaml"?17:29
zygaodc: the file meta/snap.yaml17:31
zygarelative to the snap itself17:31
zygaafter installation you can find it in /snap/$snap-name/current/meta/snap.yaml17:31
odczyga: i think you've found the problem: audit: type=1400 audit(1532020065.397:83): apparmor="DENIED" operation="mkdir" profile="snap-update-ns.ahoviewer" name="/tmp/.snap/"17:33
zygaodc: yes, that's quite what I was looking for17:33
zygaodc: what is your "snap version"?17:33
odchttps://www.irccloud.com/pastebin/brSCw3ar/snap%20version17:34
zygathank you17:34
zygaoh, that's interesting17:34
odcorly?17:34
zygagive me a moment please17:35
zygaahhh17:35
zygaI see17:35
zygabase: core1817:35
zygaI think I understand the problem now17:35
zygacan you share some more files:17:35
zygaplease collect: /var/lib/snapd/mount/snap.ahoviewer.fstab and /var/lib/snapd/mount/snap.ahoviewer.user-fstab17:36
odchttps://usercontent.irccloud-cdn.com/file/vRcLB7Sn/snap.yaml17:36
zygajust paste them here (thank you for using ircloud, much easier)17:36
zygajdstrand: security question: should devmode snap run snap-update-ns with a non-enforcing policy?17:37
odchttps://usercontent.irccloud-cdn.com/file/X28bldY6/snap.ahoviewer.fstab https://usercontent.irccloud-cdn.com/file/ImM9PvMu/snap.ahoviewer.user-fstab17:38
zygamvo: hey17:38
zygaodc: I know exactly what the problem is now17:39
zygaodc: can you do this to test my theory:17:39
odc\o/17:39
zygaodc: please edit the snap.ahoviewer.fstab file17:39
zygaodc: you can use sudo and any editor you like (e.g. nano)17:40
odcyup17:40
odcvi17:40
zygaodc: please remove the second row17:40
zygaodc: save the file17:40
zygaand restart your application17:40
zyga(not sure if it ran successfully or died on startup before)17:41
* zyga prepares a PR17:41
odczyga: it ran faster and i didn't get the error :)17:41
zygaodc: so that was it? that was preventing the startup?17:42
zygaodc: one more thing17:42
zygaodc: please top the app17:42
zygaodc: and run: sudo /usr/lib/snapd/snap-discard-ns  ahoviewer17:42
zygathen run the application again17:42
zyga(on command line perhaps)17:42
zygaand see if it starts17:42
odczyga: the main problem is that the app does not use my gtk theme and there are plenty of gdk-pixbuf errors17:43
zygaodc: the theme part is a separate issue,17:43
zygaodc: for that and the pixbuf issue please go to the forum; I think you need to use the desktop helpers to integrate with that17:44
zygabut I'm not the best person to talk about that so I don't know how to help you immediately17:44
odck17:44
zygaI will fix this issue for the next release17:44
odcwell snap runs fine now :)17:44
zygaon the forum kyrofa or popey can help you with the desktop intetgration17:44
zygaodc: *thank you*17:44
zygathank you for using core18 early17:45
odcnonono, thank YOU17:45
zyga(we haven't released it fully yet)17:45
zygasnaps would be nothing without people making and using them17:46
zygaI'll get to it now17:46
odcwell, i never really liked deb packaging ^^17:47
cachiomvo, sru is validated17:50
cachiobut there is a suite which wasn't executed17:50
jdstrandzyga: I don't see why it should be unconfined17:52
cachiomvo, the rest is everything ok17:52
cachiomvo, should we re-execute this one?17:52
jdstrandzyga: it's an equivalent question to ask if snap-confine should not be confined with devmode17:52
jdstrandzyga: well, roughly equivalent. I mean, we have the profile so that it is limited in what it should do since it is called by root running processes17:54
jdstrandzyga: and snap-confine calls snap-update-ns17:54
zygajdstrand: ack18:00
zygathank you18:01
zygamvo: https://github.com/snapcore/snapd/pull/5527 needs a 2nd review18:01
mupPR #5527: overlord/ifacestate: support implicit slots on snapd <Core18> <Created by zyga> <https://github.com/snapcore/snapd/pull/5527>18:01
zygaand I would love to see it in this week :)18:01
Chipacazyga: I added a comment in last.go, maybe it helps? (wrt the l==-1)18:10
Chipacazyga: this is in #553118:10
mupPR #5531: cmd/snap: support `--last=<type>?` to mean "no error on empty" <Created by chipaca> <https://github.com/snapcore/snapd/pull/5531>18:10
zygaChipaca: thanks, I'll check18:10
zygaI'm looking at another branch of yours18:10
zyga:-)18:10
Chipacazyga: is it very obvious I'm finding the ones I _should_ be doing to be challenging?18:11
Chipaca:-)18:11
zygaChipaca: I suspect it works in practice18:14
zygajust feels bad18:14
zygaChipaca: can you please please please review https://github.com/snapcore/snapd/pull/552718:14
mupPR #5527: overlord/ifacestate: support implicit slots on snapd <Core18> <Created by zyga> <https://github.com/snapcore/snapd/pull/5527>18:14
Chipacazyga: yes, now.18:14
Chipacazyga: is this the one you asked me before and i forgot?18:14
zygayes18:15
zygait's the most important one now18:15
zygaChipaca: actually, as a general comment, we could use all-hands-on-deck on core18 reviews18:16
zygawe have very little time left18:16
zygaanother useful PR to review is https://github.com/snapcore/snapd/pull/553718:16
mupPR #5537: snapstate: ensure kernel-track is honored on switch/refresh <Core18> <Created by mvo5> <https://github.com/snapcore/snapd/pull/5537>18:16
zygabut I can do that now18:16
=== Mirv_ is now known as Mirv
Chipacazyga: #5410 is good to go i think18:24
mupPR #5410: tests: update tests to work on core18 <Core18> <Reviewed> <Created by mvo5> <https://github.com/snapcore/snapd/pull/5410>18:24
zygaChipaca: yes, it was intertwined with the racy test but that got spun off18:24
bdxhello, where can I file a bug for snapcraft?18:43
bdxahh got it18:45
bdxsomehow I was ending up at https://bugs.launchpad.net/~snapcraft18:46
bdxI'm hitting https://paste.ubuntu.com/p/z8Cc2Pwv2x/18:47
bdxnot sure if its been handled yet ... looking through the bugs now18:47
bdxoooh, possibly thats my bad actually ...18:49
bdxlooks like the issue may have been that I left the source-type, source-depth, and source-branch configs set after switching my source to local ... https://paste.ubuntu.com/p/jBBr3rVkT9/18:51
pedronisChipaca: where does the "\n" in fron comes in your change to #553718:51
mupPR #5537: snapstate: ensure kernel-track is honored on switch/refresh <Core18> <Created by mvo5> <https://github.com/snapcore/snapd/pull/5537>18:51
pedronisthe template has kernel%s18:52
Chipacapedronis: look at how it's used18:52
Chipacaaaand i forgot the initial '\n' myself18:53
Chipacadangit18:53
* Chipaca fixes18:53
pedronisChipaca: that's what I'm asking about18:53
Chipacapedronis: soz18:54
Chipacapedronis: pushed18:54
pedronisbetter :)18:54
pedronisChipaca: you didn't run the tests locally I suppose :)18:55
Chipacapedronis: not for this one18:55
ChipacaI usually do :-)18:55
pedronisanyway better to stop, I might start to spot inexistent issues18:55
Chipacaotherwise you'd've seen this happen a lot more18:55
Chipacapedronis: "this PR has no dinner!"18:56
pedronisChipaca: anyway I was confused, because I thought you would indeed :) so I was wondering what I was missing18:56
mvozyga: will review either tonight or early in my morning18:56
zygamvo: thank you very much19:00
zygamvo: chipaca is helping with reviews19:00
zygamvo: I think we are very close now19:00
mvozyga: yay19:01
mvozyga: yeah, he pushed a very nice fix into 553719:01
* mvo hugs Chipaca 19:01
mvozyga: aha and you suggested it :)19:02
mvozyga: do you want to do a final pass on 5537 or shall I merge? it has two +1 already19:02
mvozyga: also, whats up with 5529 ? does this need a pass from gustavo? or can it go in?19:03
mvo5450 also needs a second review …19:03
zygare19:20
zygamvo: looking19:21
zygayeah, let's get it in19:21
zygathat is19:21
zygalet's get 5537 in19:21
zygamvo: as for 5529 - are you sure that is the PR you were thinking about? it's a integration / test PR that's not meant for landing19:22
zygamvo: I will review 545019:22
zygamvo: https://github.com/snapcore/snapd/pull/5530 has some conflicts but I didn't do anything to fix it yet19:25
mupPR #5530: tests: use file based markers in snap-service-stop-mode <Blocked> <Core18> <Created by mvo5> <https://github.com/snapcore/snapd/pull/5530>19:25
Chipacamvo: zyga: back from dinner, what needs reviewing?20:34
zygahey20:34
zygalet me re-check20:35
zygaI'm reading the hardlink PR20:35
zygabut anything core 18 I suspect20:35
zyga+ Chipaca's fantastic small PRs20:35
zygabut don't kill youself over this20:35
Chipacazyga: totally not killing myself20:35
zygaI'd love to know if we can (or maybe we do already) run main tests on core18 already20:35
zygaah20:35
zygaI just realized I'm dumb20:35
zygaI didn't understand it was you talking20:36
Chipacazyga: isn't that #5529 ?20:36
mupPR #5529: many: run all main tests on core18 <Blocked> <Core18> <Created by mvo5> <https://github.com/snapcore/snapd/pull/5529>20:36
zygaI thought that was mvo from his bbq20:36
zyga:D20:36
zygaChipaca: no, that is a fat integration with lots of (now gone) patches AFAIR20:36
Chipacamvo + bbq? does not compute20:36
zygaChipaca: see20:36
Chipacaunless this "bbq" has  no  meat20:36
zygamaybe they slowly burn potatoes20:36
Chipacazyga: so... what needs reviewing :-)20:43
Chipacazyga: now that you know I'm me20:43

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