/srv/irclogs.ubuntu.com/2016/06/06/#snappy.txt

=== attente_ is now known as attente
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== stevebis1uit is now known as stevebiscuit
didrocksgood morning!06:24
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
noizerHi guys08:20
noizerI have just a question for my boss. when will Snappy be released on the raspberry pi 3?08:21
jamiebennettHi noizer, you can roll your own image today using our tools. There was a post about this recently on the mailing list - https://lists.ubuntu.com/archives/snapcraft/2016-May/000021.html08:41
jamiebennettnoizer: Official images will come later08:41
noizerjamiebennett: But is it officialy released because its to know when we can go in production08:43
jamiebennettnoizer: Official releases are not available yet, we are still working on solidifying the apis08:44
noizerBut i just needs a average date (month) when it will be official08:45
jamiebennettnoizer: At the moment we are still putting a lot into the images. Something more stable will be available at the end of the month but we will continue to work on them beyond that.08:48
jamiebennettnoizer: What is the device you are taking to production?08:49
jamiebennettnoizer: Feel free to shoot me an email if you want to discuss specifics08:49
jamiebennettjamie.bennett@canonical.com08:49
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
wligtenbergHi, I have created a snap, from a package. I have installed it, but how do I run it? (I also have the same application installed normally on my system)09:12
wligtenbergDo I run it by the name of the snap, or the exported command, or the name of the application in apps: ... (in the snapcraft.yaml)?09:15
gouchiwligtenberg: according to the article app.command https://developer.ubuntu.com/en/desktop/examples09:36
matteohi09:55
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
davidcallegouchi: wligtenberg , one thing that's not mentioned yet on this doc: if "app"=="command", you only need to run app, to run the app.command.10:06
wligtenbergdavidcalle, thanks that is where I got confused.10:07
wligtenbergIt is running the right command now, but that currently has an issue. Thanks!10:07
davidcallewligtenberg: np :)10:09
gouchidavidcalle: thank you for the info10:25
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== oparoz_ is now known as oparoz
=== oparoz is now known as Guest42276
=== oparoz_ is now known as oparoz
=== yofel_ is now known as yofel
_morphisjdstrand: ping13:23
ogra_pitti, i'm poking around with locales in snaps since the weekend ... do you have an idea why http://paste.ubuntu.com/16925059/ works in trusty but not in xenial (doesnt seem like the bindtextdomain function changed in gettext, so i dont get why it stopped working)13:27
jdstrand_morphis: hi!13:28
_morphisjdstrand: you had time to get the modem-manager interface another review round?13:29
pittiogra_: not off the top of my head; xenial has a much newer glibc version, perhaps LOCALEDIR doesn't exist any more? it doesn't appear in strings libc.so.6 at least13:29
jdstrand_morphis: oh, I thought we were waiting on the ppp interface... is there more for me to review as it stands?13:29
_morphisabeato: as I said, deadlock :-)13:30
ogra_pitti, well, the preloading of the bindtextdomain.so binary should simplay add it13:30
_morphisjdstrand: abeato is currently adding that but can you look at the other parts already?13:30
ogra_it replaces the gettext function dues to the perloading13:30
pittiah, it's from that13:30
ogra_*pre13:30
jdstrand_morphis: ok13:31
* ogra_ glares at his fingers 13:31
_morphisjdstrand: thanks13:31
jdstrandmvo: hi! iirc, you marked snapd 2.0.6 as verification-failed (for the systemd timer issue I think)13:40
jdstrandmvo: I don't believe 2.0.6 had home autoconnect in place (at least, I didn't see it in the changelog)13:41
jdstrandmvo: not sure what your plan was for the next xenial upload, but whatever it is, can you include the home autoconnect commit?13:41
jdstrandniemeyer_: fyi ^13:42
mvojdstrand: the plan is to do a new 2.0.7 today that fixes the systemd unit and also fixes an issue with nvidia13:46
jdstrandmvo: cool, so that sounds like it will have the commit since it was in last week. thanks! :)13:50
mvojdstrand: yeah, once I get my two bugfix branches in I'm ready to release13:51
niemeyer_jdstrand, mvo: +114:34
mvojdstrand: do you remember if there was a bug associcated with home autoconnect14:41
jdstrandmvo: I don't think so. let me check something though14:43
mvojdstrand: ta14:43
jdstrandah there was14:43
jdstrandmvo: bug 158888614:44
ubottubug 1588886 in Snappy "no indication that a user needs to connect the home Plug to the home Slot to make a snap access files in the homedir" [High,Fix committed] https://launchpad.net/bugs/158888614:44
mvojdstrand: \o/14:44
=== Aria22 is now known as Aria22|away
=== Aria22|away is now known as Aria
didrockssergiusens: elopio: hey! I guess you saw that I fixed the unit tests btw!14:59
elopiodidrocks: haven't seen that yet, but yay. I'll take a look after the meeting.14:59
=== chihchun_afk is now known as chihchun
sergiusensdidrocks yes, I'm still trying to get an archive admin to accept 2.10 into xenial-proposed though (I am a one thread person) :-P15:03
didrockssergiusens: one thread? so much disappointment :)15:06
ysionneauHi15:06
sergiusensdidrocks yes, bureaucracy makes me go single thread ;-)15:06
sergiusensdidrocks thanks btw15:07
ysionneauI'm trying to use "kernel-initrd-firmware" for kernel snaps15:07
ysionneautldr: the firmwares do not end up being embedded in initrd15:07
didrockssergiusens: yw! :-)15:08
ogra_ysionneau, siunds like a bug in the kernel plugin15:09
ogra_ysionneau, why do you need the firmware in the initrd though ... the initrd should only make sure you find your rootfs15:09
ysionneauhttp://pastebin.com/zV2Q8i31 <=15:09
ogra_do you actually need any extra firmware for your disk controller ?15:09
ysionneauogra_: my kernel seems to need the usb host controller FW very early15:10
ysionneauit doesn't work if it's in the rootfs15:10
ysionneauit works when it'sin the initrd15:10
ysionneauthat's what we do on our proprietary firmware15:10
ysionneaus/on/in.15:10
ogra_hmm15:10
sergiusensysionneau this should just work, have you seen my 96boards example?15:11
ogra_well, first of all, file a bug ...15:11
ogra_looking at your paste it seems that some fw is actually installed15:11
ysionneauyes15:12
ysionneauI added some print() for shutil.copy15:12
ysionneauit's copied somewhere, but definetely not in the initrd15:12
ysionneaubtw, the snapcraft.yaml http://pastebin.com/baN37dPF15:14
ysionneaumaybe I should just stop using kernel-initrd-firmware and use the tar or copy plugin like sergiusens in 96boards ?15:14
sergiusensysionneau all it does is select firmware already built and puts it in initrd15:15
=== Aria is now known as Aria22
ogra_sergiusens, but does it copy full paths ?15:16
ysionneauweird because I've used the correct relative path and it does not end up in initrd15:16
ogra_looks like ysionneau tries that in his snapcraft.yaml15:16
sergiusensogra_ not full paths15:16
ogra_right, thats what i thought15:16
ysionneauah, ok I guess I understand, because of my ../../.. prefix, the fw don't end up in the correct destination directory15:17
ysionneauand don't get embedded15:17
ysionneauright?15:17
netphreakHi, guys! when is snapd 2.0.6 ready for test?15:17
sergiusensysionneau it should be relative to the part's installdir15:18
ysionneausergiusens: I mean, my path is indeed a relative one, and it is indeed pointing to the correct files15:19
ysionneauso I should be OK15:19
ysionneaubut I'm not :o15:19
sergiusensysionneau yeah, relative as in 'firmware/bcm43602'15:19
ysionneauand by reading the code I understand why : https://github.com/ubuntu-core/snapcraft/blob/master/snapcraft/plugins/kernel.py#L24815:20
ysionneauby looking at how dst is constructed15:20
sergiusensysionneau or else we need to introduce a new key to say source->destination15:20
sergiusensysionneau right now it is implied for the path in that list and that is where it lands15:20
ysionneaushould I file a bug? or am I just doing things not supposed to work at all?15:20
sergiusensysionneau you can log a bug if you manage to tell me how that firmware file is supposed to make it in initrd into the correct path within initrd15:22
sergiusensysionneau I would use the organize keyword I guess15:22
sergiusensysionneau or is this unmanaged source?15:22
sergiusensth organize keyword seems to be the way to go15:22
alm_why am i SOL with my PI 3 without a 64bit ARM?15:22
ogra_"SOL" ?15:24
alm_Sh*t Outof Luck15:26
dougbHello All--On BeagleBone Black, only ttyO0, the console serial, is enabled. How do I enable the other available serial ports in Snappy?15:26
ysionneausergiusens: I honestly don't know, or maybe by using the "copy plugin" like syntax15:28
ogra_alm_, the only arm64 builds we have today are for the 96boards dragonboard ... and afaik not even broadcom plans to actually support arm64 on the pi3, you can use ubuntu-device-flash to roll armhf pi3 images today though15:28
ysionneauogra_: you want to use arm64 kernel + armhf user space ? :)15:28
ogra_ysionneau, what would be the benefit of that ?15:30
sergiusensysionneau we want to kill the copy plugin syntax in favor of organize15:30
ysionneausergiusens: I don't know what that is :/15:30
ogra_sergiusens, but everybody *loves* the copy plugin !15:30
sergiusensysionneau it shuffles bits around15:30
sergiusensogra_ the plugin is staying, the syntax is going to be deprecated15:30
ogra_(just teasing ;) )15:31
alm_yes and no - i need to install apache Cassandra db and found it challenging to say the least. Someone told me that i have to wait for a new kernel to be compiled for armel15:31
elopiofgimenez: can we skip today?15:31
ysionneauogra_: dunno, rpi3 comes with armhf kernel when you buy it?15:31
ogra_ysionneau, i think so, yes15:31
fgimenezelopio, sure, np15:31
elopiothanks.15:32
=== olli| is now known as olli
ogra_ysionneau, the only area where arm64 would actually be helpful would be if you have >3GB RAM really ...15:32
ogra_or if you have to use binary blob drivers that are arm64 only ...15:33
ogra_effectively 64bit binaries will be bigger and consumke more ram though ... so it is only helpful if you actually *have* more ram :)15:33
ogra_(armhf can handle up to 3GB just fine)15:34
alm_yes i see the point about ram..and since i don't have the >3GB..but i have been trying for 2 weeks to get it working trying every distro and ugh15:35
ysionneauso far we only compile our nvidia kernel as arm64, never tested as armhf15:35
ysionneaudunno if it even works :o15:35
ysionneauit's not upstream, it's nvidia code release15:35
ysionneauso most likely crappy code15:35
ogra_i dont think the kernel cares actually15:36
ysionneauif the nvidia SoC device code is not 64/32 bit proof I guess you can have surprises15:37
ogra_your userspace would fall over if you tried arm64 on an armhf only kernel, but never the other way round15:37
ysionneaunote, I'm only talking about kernel here15:37
ogra_right, whatever gets you booting :)15:37
ysionneauI know that I can use armhf user space, that's what I'm using in fact15:37
ysionneaubut i'm just saying I never tried an armhf-toolchain compiled kernel on my 64 bit soc15:38
ogra_:)15:38
alm_going to try one more time tonight -  and try snappy core - see if works15:39
ogra_well, i dont think tegh kernel is actually picky in any way in that regard15:39
ogra_alm_, well, there is no arm64 for the pi3 in snappy ... so you will have to live with armhf15:39
alm_ya that's the trouble15:40
* ogra_ doesnt get why 15:40
alm_cause everytime i go to install says will not support the arch15:41
ogra_"go to install"15:41
ogra_what exactly do you try to install ?15:41
ysionneaualm_: do you use an arm64 kernel snap with an armhf ubuntu-core with ubuntu-device-flash ?15:41
alm_yes - ysionneau - i dl from ubuntu..dont have all the info here as i am at work15:43
alm_orga - the apache cassandra db15:43
ysionneaualm_: please, paste what you're doing, with the error message15:43
ogra_well, you would have to create snap packages of that first if you want to use it under snappy15:43
ogra_an armhf image that can run on the pi3 is at http://people.canonical.com/~mvo/all-snaps/rpi2-all-snap.img.xz15:44
ogra_just uncompress it and dd it to an SD card ... then boot the board15:44
ogra_(ignore the pi2 in the name, it runs fine on the pi3)15:44
ogra_but then youz will still need to produce a cassandra/apache snap package for it to use it15:45
ogra_(there is no apt or dpkg in snappy)15:45
alm_dont have error or would post..somthing like can not find armhf arch..15:46
alm_thanks for this though..got to go15:47
ogra_just come back again if you sit near the board :)15:47
ogra_ah ... there he goes15:47
ysionneausergiusens: so, I guess that if I use this https://github.com/ubuntu-core/snapcraft/blob/master/demos/96boards-kernel/snapcraft.yaml#L29 , it won't end up in initrd, right? :(15:48
sergiusensysionneau no it would not15:49
ysionneauhmmm maybe I can just copy my firmware directory inside linux-x1/firmware15:50
ysionneauand use the normal kernel fw mechanism15:51
sergiusenselopio you are not on #ubuntu-release15:51
elopioI didn't know that was a thing.15:52
=== Aria22 is now known as Aria22|away
ogra_ysionneau, well, i think "kernel-initrd-firmware:" will just work if you give it the right options (full path to .bin files instead of declaring directories)15:59
ogra_your issue is simply that you dont define the files but directories16:00
ysionneauogra_: hmmm I don't think so, I've just tried, it does the same16:08
ysionneauthe ../../.. prefix makes my file end up out of the initrd-staging directory16:08
ysionneauhere is the os.link log :16:08
ysionneauos.link(/home/fallen/dev/packages/paros_kernel/parts/kernel/install/../../../firmware/tegra21x_xusb_firmware, /home/fallen/dev/packages/paros_kernel/parts/kernel/build/initrd-staging/../../../firmware/tegra21x_xusb_firmware)16:09
ogra_ysionneau, and tegra21x_xusb_firmware is actually a file ?16:14
ogra_also, where exactly  does the firmware end up in your kernel snap (default path is /lib/firmware)16:15
ysionneauogra_: yes16:19
ysionneauright now, the fw does not end up at all in the kernel snap16:19
gnosyshi all16:35
gnosyslooking for a good discussion of environment variable configuration in the snapcraft.yaml file16:36
gnosystrying to work on building a snap for gimp-git as an alternative to the gimp-edge ppa16:36
sethjmhall119, is the snappy playpen today or tomorrow? The blog post says tomorrow, but the Google calendar on the G+ post you shared says today.16:52
mhall119sethj: it is tomorrow16:55
mhall119the calendar might be having timezone fun16:55
sethjOkay. Probably can't make it then :/16:55
sethjmhall119, hah, must be. Although how it made that jump is beyond me.16:55
mhall119hmm, it shows today for me too16:56
mhall119I wonder if dholbach set it for midnight his time16:58
mhall119is CET UTC+2?16:58
mhall119yeah, I bet that's it17:00
mhall119sethj: what time does it show for you?17:01
sethjmhall119, June 6th, 1500.17:01
mhall119it shows 6pm today for me, which is 0:00 CEST17:01
sethjI'm in GMT-8 (or -7, I can't remember 'cause DST)17:01
mhall119yeah, that looks to be what's happening17:02
rharperif one wanted to grant a snap access to a system dir in say var, is there a way to express that in snapcraft.yaml ?  any examples would be helpful to this snapcraft noob17:43
sethjrharper, sounds like a job for an interface, but you might have to write your own. Take a read through zyga's nice 3 part blog series on them: Zygmunt Krynicki17:46
sethjoops, copy paste fail. Here's the link: http://www.zygoon.pl/2016/04/snappy-snapcraft-and-interfaces.html17:46
rharpersethj: cool, I'll give that a read and see how far I get17:47
rharpersethj: thanks, I think the key for me was --devmode runs complain mode, but won't help a user do let's say root things.  for example, I'll looking to read/write to a var dir which is owned by the system;  are there any plans to work on an interface for those sorts of things?17:53
sergiusensrharper there is a content sharing interface in the pipeline, kyrofa I think will be working on it17:56
sergiusensrharper but I am not so sure this is intended for "writing"17:56
rharperright; I guess this would be more a long the lines of say firewall-control which would delegate some system level config to a trusted snap17:57
kyrofasergiusens, rharper indeed, I agree, I'm not sure on the writing aspect, though it's not yet been spec'd17:57
sergiusensrharper then the matter gets interesting as in, are you looking into writing to a classic system (desktop) or the core snap itself17:57
rharpersergiusens: I'm playing around with cloud-init; which is already part of the os snap IIUC, which runs and inits some stuff;  if it were to run as a snap and called via hooks, then it would be confined as a snap rather than running in the system17:58
rharperso I'm trying to poke on the various points in the system that cloud-init would like to (as it's current written) to muck with etc.  all to help tease out which sorts of interfaces we might want to have for other "system config" style snaps that would have hooks called17:59
sergiusensrharper so cloud-init as a snap to run on a regular server install is what you are trying to do?18:00
rharpersergiusens: yeah, for now;18:00
rharperhttp://paste.ubuntu.com/17065056/ is as far as it goes, which runs into non-root wanting to poke at /var/lib/cloud/data18:00
sergiusensrharper if this is to get the seeds in place, have you considered being able to provide an alternate path for that?18:00
rharpercloud-init expects to run as root18:00
rharpersergiusens: that's possible, the cloud-init code owns that path but it could be changed if needed;18:01
sergiusensit can run as root, well, at least it believes it does, we're are slowly making our ways to the "root" role solaris once had18:02
rharperinteresting18:02
sergiusensrharper if it can check for $SNAP_DATA it would be free to dump anything there18:02
rharpersergiusens: right;  I think the integration might need to be deeper than that;  rather, think of this as a gadget or os snap delegating configuration control to this snap;  the data it generates likely wants to be retained in the gadget or os snap independent of the delegated snap itself18:03
rharperfor example if you wanted to switch out the snap that runs the delegated hook for "configure networking" or whatever that hook may be18:04
sergiusensrharper yeah, that I cannot answer as lightly as the previous question :-)18:04
sergiusensrharper there's an interface for snapd management which could hook you into all that but I am far away from that problem space these days18:05
rharperyeah; I didn't expect there is an answer yet;  I suppose next I'm wondering how much further one can explore on the snap app side18:06
sergiusensrharper I think Chipaca should be your goto person there, but he's off for today to bbq some meat I've been told18:06
rharpermmm, bbq18:06
rharperbest excuse ever18:06
sgclarkHi all. I am making good progress on kde snaps, but I am haing issues with apparmor failures and home plug. Is there some good doc on how plugs actually work? I was under the impression home plug would allow acces the /home/user but that does not appear to be case.18:29
sergiusenssgclark it does indeed allow access to $HOME18:31
sergiusenssgclark what it doesn't do today but should be added soon is autoconnection18:31
sergiusenssgclark you can run `snap interfaces` to see what is currently connected18:31
sgclarkahh ok.18:32
sergiusensthen just run `<snap>:<plug> <snap>:<slot>`18:32
sgclarkit seems to create a snap directory in home but like for example digikam cannot access Pictures in home so I am confused18:33
sergiusenserr `snap connect ...`18:33
sgclarkok18:33
sergiusenssgclark yeah, it is rather confusing, the only thing the app can see by default now (without home) is $HOME/snaps/<snap-name>/<snap-revision>18:34
kyrofasgclark, that $HOME/snaps/<snapname>/<revision> directory is the $SNAP_USER_DATA environment variable for the snap18:35
sgclarkok but with home it should be able to see Pictures? what did I do wrong?18:35
kyrofasgclark, can you pastebin the output of `snap interfaces` ?18:36
jdstrandsgclark: if you haven't yet, run: sudo snap connect <your snap name>:home ubuntu-core:home18:37
jdstrandand if that doesn't work, yes, give the output of 'snap interfaces'18:38
sgclarkok will do, thanks all18:38
sgclarkOk so that worked..18:41
sgclarkbut expecting users to do that... lol18:41
sgclarkanyway to auto achieve that?18:41
kyrofasgclark, yeah it's in progress18:42
sgclarkcool :) I accept that answer.18:44
kyrofajdstrand, do the review tools currently allow spaces, colons, periods, or underscores in the app names?19:16
jdstrandnope19:16
kyrofaNice, okay. That's what I was trying to ask in that bug-- same page now19:17
jdstrandkyrofa: http://bazaar.launchpad.net/~store-reviewers/click-reviewers-tools/trunk/view/head:/clickreviews/sr_common.py#L16519:18
jdstrandthat is for snap name, the next function is for app name19:19
jdstrandsnapd and the review tools should definitely be made to agree on this point :)19:19
kyrofaNice, okay that's pretty close19:19
kyrofasnapd won't allow a trailing hyphen (or two hyphens), nor will it allow a +19:20
kyrofaActually the package name isn't quite right either19:20
jdstrandkyrofa: in either?19:20
kyrofaIndeed19:21
jdstrandok, I can fix that19:21
kyrofajdstrand, package name: ^[a-z](?:-?[a-z0-9])*$19:21
kyrofajdstrand, app name: ^[a-zA-Z0-9](?:-?[a-zA-Z0-9])*$19:22
jdstrandok19:22
mhall119jdstrand: have you seen this before? File: /usr/bin/scmp_sys_resolver (read)19:29
mhall119Suggestions:19:29
mhall119* adjust snap to ship 'scmp_sys_resolver'19:29
mhall119* adjust program to use relative paths if the snap already ships 'scmp_sys_resolver'19:29
jdstrandmhall119: snappy-debug?19:29
jdstrandmhall119: what is generating that?19:30
mhall119jdstrand: plank, the Elementary dock19:32
mhall119and yes, that output is from snappy-debug19:32
mhall119Log: apparmor="ALLOWED" operation="file_mprotect" profile="snap.snappy-debug.security//null-/usr/bin/scmp_sys_resolver" name="/usr/bin/scmp_sys_resolver" pid=1589 comm="scmp_sys_resolv" requested_mask="r" denied_mask="r" fsuid=0 ouid=019:33
jdstrandmhall119: that isn't plank19:34
jdstrandmhall119: profile="snap.snappy-debug.security...19:34
mhall119oh, hmmm19:34
jdstrandmhall119: you can filter by specifying: snappy-debug scanlog plank19:35
jdstrander19:35
jdstrandsnappy-debug.security scanlog plank19:35
jdstrandmhall119: once 2.0.7 lands, log-observe will be fixed for snappy-debug btw (ie, you can run it without --devmode)19:36
mhall119ok19:36
mhall119jdstrand: ok, on to the next one:19:41
mhall119Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.1688" (uid=1000 pid=8133 comm="/snap/plank/100009/bin/plank ") interface="org.freedesktop.DBus" member="RequestName" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus)19:41
mhall119also, is there any interface or setting that will let it read files from /usr/share/icons/?19:42
jdstrandmhall119: /usr/share/icons is allowed by unity719:51
jdstrandmhall119: the other denial is that it is trying to be a dbus service. that isn't allowed without creating an interface. I think this is likely it trying to create a well-known name for other apps to connect to it, but again, that isn't allowed. please file a bug with snapd-interface, but I don't know how that will be fixed in a generic way19:53
jdstrandmhall119: (what the app is doing is at odds with what the system design allows-- it is trying to create a session service for anything to use. snappy is about isolating apps and letting them connect in controlled ways)19:54
jdstrandthere might be something we can do with attributes... please file a bug19:55
qenghoHi. Suppose I have a upstream that doesn't need building, just unpacking. How can I include that?19:56
qengho"nil" doesn't take a source. "copy" overwrites source to ".".19:56
popeyqengho: see my flightgear fgdata part http://bazaar.launchpad.net/~popey/+junk/flightgear/view/head:/snapcraft.yaml19:57
popeyshould be able to put source: http://example.com/foo.tgz19:57
popeyI _think_19:57
popeymaybe with source-type tar19:57
qenghoTar has a big warning that tells me I'm likely to be eaten by a grue.19:58
qenghotar contents plugin, that is.19:58
popeyjdstrand: oh.19:58
popeyer, qengho oh19:58
qenghoI like tar_contents. It does what I think it should.19:59
popeyjdstrand: for you though... http://paste.ubuntu.com/17071527/ - udev one first - is there anything I can do there, or does it really need patching in the upstream program? The pulse one I imagine is fixed in snapd at some point?19:59
qenghoI get that un-tarring is built in to ever source: line, though. It's orthogonal. But JUST UNTAR sounds like "nil" functionality, and that hates source lines.20:00
mhall119jdstrand: does the unity7 interface also give access to /usr/share/applications/?20:02
jdstrandpopey: the first one is problematic. can you file a bug against the opengl interface adding the snapd-interface tag?20:03
jdstrandpopey: with snapd 2.0.7 you can add 'pulseaudio' to your plugs20:03
jdstrandmhall119: no, that is almost always non-fatal though20:04
popeyjdstrand: looking forward to that!20:06
jdstrandpopey: I suspect your udev access may be non-fatal as well20:07
popeywell, the app segfaults20:07
popeybut I don't know why20:07
jdstrandthat might be because of pulseaudio denials20:08
popeyah20:08
popeywhere do you want the bug filed?20:08
popeyhttps://bugs.launchpad.net/snappy ?20:08
jdstrandthe pulseaudio denials are fixed in 2.0.7 when you plugs: [ pulseaudio ]20:08
popeyok20:08
jdstrandfor opengl, yes, https://bugs.launchpad.net/snappy20:09
jdstrandpopey: are you on yakkety or xenial?20:09
popeyxenial20:09
jdstrandyeah, 2.0.7 isn't in xenial-proposed yet20:09
popeyk20:10
jdstrandlet me get you some rules to workaround it20:10
popeydone https://bugs.launchpad.net/snappy/+bug/158967120:10
ubottuLaunchpad bug 1589671 in Snappy "apparmor failure on udev with opengl interface" [Undecided,New]20:10
mhall119jdstrand: yeah, plank is a bit of an edge case, since it's a dock20:10
jdstrandpopey: add this to /var/lib/snapd/apparmor/profiles/snap.your.app: http://paste.ubuntu.com/17071856/ (in between the {})20:11
jdstrandpopey: then do: sudo apparmor_parser -r /var/lib/snapd/apparmor/profiles/snap.your.app20:12
popeyok20:12
popeyjdstrand: ok, progress, no errors, but still segfaults :)20:16
jdstrandpopey: then my job is done! :P20:19
jdstrandpopey: note I left a question for you in the bug20:20
jdstrandpopey: does mame work with --devmode?20:20
jdstrandthis may be related to the opengl issues mvo and zyga have been working on (iirc)20:21
popeyjdstrand: will i have to undo what you suggested I do to apparmor to test that?20:22
jdstrandpopey: no. just do that from a terminal outside of the snap20:23
jdstrandpopey: you are talking about the 'cat' command, right?20:23
popeyno, you asked me if it works with --devmode20:23
popeynot looked at the question on the bug20:23
jdstrandah20:24
jdstrandpopey: you have to uninstall, then install with --devmode20:24
jdstrandpopey: if you do that, it will remove those changes, yes20:24
popeyokay20:24
popeydoing20:24
popeyjdstrand: well, i get no errors now with --devmode20:26
popey(but still the segfault ㋛ )20:27
popeyjdstrand: added output of cat to bug20:31
jdstrandright, so it is probably the opengl issue that mvo and zyga are (I think) working through20:31
jdstrand(as a guess)20:31
popeysweet20:31
* popey leaves that with you20:32
sabdflhello all20:51
sabdflgreat to see 200 folks here :)20:51
vejmariegood evening everybody, I just have a quick question does snap distribution is integrated within ubuntu-software GUI ?21:41
vejmarieOr does the GUI is still "deb" dependant21:41
kallisti5"Building images for ubuntu-core 16.04 will be supported by this tool soon.22:41
kallisti5:-D22:41
kallisti5any preview versions of the tool that supports making an ubuntu-core image22:41
kallisti5https://people.canonical.com/~mvo/all-snaps/22:44
kallisti5:-DF22:44
ayanis there a way to write a plugin that extends an existing plugin (like nil or copy)?23:47

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