=== devil is now known as Guest8411
=== chihchun_afk is now known as chihchun
=== Guest8411 is now known as devil_
mupPR snapd#2352 closed: tests: save/restore /snap/core/current symlink <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2352>07:28
dholbachgood morning07:50
zygagood morning07:55
didrockshey guys07:55
longsleepsergiusens: Hey do you have a minute? I have troube registering a key with snapcraft, only get "Key registration failed: The account-key-request assertion is not valid."08:43
=== markusfluer_ is now known as markusfluer
zygaogra_: hey09:28
zygaogra_: good morning, how are you?09:28
ogra_zyga, fine, whats up ?09:48
longsleepogra_: hey i played around with snappy on the weekend and on my outdated Kernel 3.10 i get some apparmor denies from snap-confine - is there a list/instructions of what a Kernel needs to support nowadays?09:59
longsleepogra_: The exact problem is [20615.733900] type=1400 audit(1480285192.166:21): apparmor="DENIED" operation="mount" info="failed mntpnt match" error=-13 profile="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" name="/run/snapd/ns/hello-world.mnt/" pid=2537 comm="snap-confine" srcname="/" flags="rw, bind" (essentially happens on running anything provided by a snap)09:59
ogra_longsleep, yeah, snapd uses namespaces now ... not sure what kernel feature you need there though10:03
zygaogra_: hey, I have a question about bug ...10:03
mupPR snapd#2362 opened: daemon: ensure `snap try` installs core if its missing <Created by mvo5> <https://github.com/snapcore/snapd/pull/2362>10:03
zygalongsleep: hmm, I may be able to help with that10:03
zygaone sec10:03
zygaogra_: do you recall this bug https://bugs.launchpad.net/snappy/+bug/1558944 ?10:03
mupBug #1558944: modprobe.d directory is created in /etc/modprobe.d/ <Snappy:In Progress by zyga> <https://launchpad.net/bugs/1558944>10:03
ogra_zyga, yep10:04
longsleepogra_: yeah i got user namespaces and stuff and lxc/lxd works just fine - this is Kernel 3.10 plus a lot of patches i did a while ago to get lxd running.10:04
zygalongsleep: this errors is about when snap-confine tries to capture the mount namespace via a bind mount on the nsnfs sfs file sye10:05
zygalongsleep: let me check the man page10:06
zygalongsleep: technically since 3.810:06
zygalongsleep: but this is not kernel itself but apparmor on snap-confine10:07
longsleepzyga: Kernel config: https://github.com/longsleep/linux-pine64/blob/pine64-hacks-1.2/arch/arm64/configs/sun50iw1p1smp_linux_defconfig + https://github.com/longsleep/build-pine64-image/blob/snappy/snappy/kernel/snapcraft.yaml#L15-L2010:07
zygalongsleep: does that kernel have the full apaprmor patch set applied?10:07
longsleepzyga: yes10:07
longsleepzyga: not sure how exactly "full apparmor" is defined though10:07
zygalongsleep: hmmm, can you file a bug on launchpad.net/snap-confine with the kernel config and the patches applied (perhaps git gree), I can try to check it out10:07
zygalongsleep: thre are two branches that are in review that would let you run snap-confine without confinement that would perhaps unblock this10:08
zygalongsleep: you can try those out10:08
longsleepzyga: yes tonight when i am at home again - do you have a link?10:08
zygalongsleep: yes, just opening10:08
ogra_zyga, your bug is a duplicate of Bug 163852410:08
mupBug #1638524: /etc/modprobe.d adds one to much directory level <Snappy:Fix Released> <ubuntu-core-config (Ubuntu):Fix Released> <https://launchpad.net/bugs/1638524>10:08
zygarebuild snap-confine with this10:09
zygaand remove the apparmor profile entirely10:09
zygaogra_: checking10:09
longsleepzyga: ok then it will run unconfined, this would help to know if that is the problem?10:09
zygaogra_: thank you! :)10:10
zygalongsleep: yes10:10
mupBug #1558944 changed: modprobe.d directory is created in /etc/modprobe.d/ <Snappy:In Progress by zyga> <https://launchpad.net/bugs/1558944>10:10
Odd_Blokeogra_: Any advance on https://bugs.launchpad.net/snappy/+bug/1639878 ?  That's currently blocking us from publishing Ubuntu Core to Azure.10:10
mupBug #1639878: pc-kernel.snap missing drivers necessary for Hyper-v <Snappy:New for ogra> <https://launchpad.net/bugs/1639878>10:10
longsleepzyga: if you scroll down a bit on https://github.com/longsleep/linux-pine64/commits/pine64-hacks-1.2?after=1od8aSrvwOrJAFEQq6ob8d%2FRHfIrMzQ%3D then you see what i merged for apparmor support back then10:11
longsleep(UBUNTU: SAUCE stuff)10:11
longsleepmaybe its too old or something was added since april10:11
zygalongsleep: maybe, but I'm not a kernel expert, you'd have to check again10:12
longsleepzyga: yeah will do thanks!10:12
mupBug #1645271 opened: User unable to disable service <Snappy:New> <https://launchpad.net/bugs/1645271>10:28
ogra_Odd_Bloke, on my TODO for this week10:41
Odd_Blokeogra_: <310:42
ogra_(this needs a bit per-arch love first, we dont want all these modules on arm images for example)10:45
=== hikiko is now known as hikiko|ln
mupPR snapd#2363 opened: snap: support "daemon: notify" in snap.yaml <Created by mvo5> <https://github.com/snapcore/snapd/pull/2363>11:50
jamespagemorning all11:54
gerry_hello all, has anybody hear of an issue of using the jdk plugin with a java swing gui?11:54
jamespageis it possible to use the install from a snapcraft part as part of the build env for another?11:54
jamespagespecifically I'd like to build libvirt-python (using the python module) against libvirt built in a previous part11:55
jamespagesergiusens, ^^ is that possible?11:56
gerry_I have been told that the jdk plugin is headless as I need the x11 server how do I cure this in my wrapper?11:59
ahasenackhi, is there a (trivial?) way to tell snapcraft cleanbuild to set a proxy for the lxd it creates?12:09
ahasenackI set a proxy for lxc, via lxc config, but that doesn't affect the ubuntu install running inside the lxd12:09
mupPR snapd#2362 closed: daemon: ensure `snap try` installs core if it's missing <Created by mvo5> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/2362>12:26
jamespageoh wait - that might actually be happening already12:29
gerry_I have been told that the jdk plugin is headless could this be the reason why my java program crashes when I try to start it with sudo?12:30
gerry_how would I load a part which contains the jdk headers ?12:41
=== hikiko|ln is now known as hikiko
gerry_how do I do this? "If you only need to embed a Java runtime, add a part with the jdk type."13:23
=== jamieben_ is now known as JamieBennett
zygagerry_: perhaps ask kyrofa or sergiusens when they are around or ask on the mailing list where others can google it easier13:28
gerry_zyga: thanks for the advice, on this list? snapcraft@lists.snapcraft.io13:31
zygagerry_: yes, this one13:33
zygagerry_: both of the gentelmen I mentioned are in US-ish timezones so it may be better if you are "far away" from them13:34
gerry_ok thank you very much for your help13:35
=== chihchun is now known as chihchun_afk
=== jgrimm-out is now known as jgrimm
zygajdstrand: hey14:04
zygajdstrand: are you around today?14:05
jdstrandzyga: hey, yes14:05
jdstrandI just got online14:05
zygajdstrand: hey :)14:06
zygajdstrand: how were your holildays?14:06
zygajdstrand: I have a few things I'd like your input on14:07
zygajdstrand: some are more trivial than others, I think the most important one is the XDG_RUNTIME_DIR design14:07
jdstrandzyga: they were pretty laid back but nice, thanks :) how was your weekend?14:07
zygajdstrand: can you please ping me when you have the time to talk about that?14:07
zygajdstrand: great, I was in a theme park with my family; lots of fun and memories :)14:07
jdstrandzyga: nice!14:07
jdstrandzyga: and sure-- it'll be a few minutes-- lots of pings and emails14:08
zygajdstrand: no worries, same here :)14:08
jdstrandand by a few minutes, I mean a little while14:08
mupPR snapd#2364 opened: overlord: increase test timeout and improve failure message <Created by mvo5> <https://github.com/snapcore/snapd/pull/2364>14:14
mupPR snapd#2365 opened: interfaces: fix system-observe interface to work with ps_mem <Created by mvo5> <https://github.com/snapcore/snapd/pull/2365>14:59
mupPR snapcraft#930 opened: Parser support remote dependencies <Created by 3v1n0> <https://github.com/snapcore/snapcraft/pull/930>15:02
=== devil is now known as Guest29760
alex-abreumvo, ping15:19
mvoalex-abreu: pong15:27
alex-abreumvo, just a quick question, just wondering if me & david can be added to the snappy dev team?15:27
mvoalex-abreu: in github? or in LP ? or both?15:29
alex-abreumvo, LP15:29
mupPR snapd#2366 opened: interfaces: apparmor support for classic confinement <Created by zyga> <https://github.com/snapcore/snapd/pull/2366>15:29
mvoalex-abreu: sure, done15:30
alex-abreumvo, thank you15:31
abeatojdstrand, I am getting this error in the automated review of the ofono snap: "not allowed by 'deny-connection/on-classic' in base declaration declaration-snap-v2_slots_deny-connection (service, ofono)", is that happening because latest snapd is still not used by the store?15:40
jdstrandabeato: no, that is because there is no snap declaration for it15:40
jdstrandabeato: let me add one15:41
abeatojdstrand, ack, thanks15:41
jdstrandabeato: done. you can press the publish button now15:44
abeatojdstrand, nice!15:46
abeatoand published :)15:47
mupPR snapcraft#931 opened: parser: add support for origin-{branch,commit,tag} <Created by 3v1n0> <https://github.com/snapcore/snapcraft/pull/931>15:50
iceyis it possible to poke the CI to have it run again without a new push? ref: https://github.com/snapcore/snapcraft/pull/90816:02
mupPR snapcraft#908: Let Rust plugin fetch dependencies in pull <Created by ChrisMacNaughton> <https://github.com/snapcore/snapcraft/pull/908>16:02
zygaicey: you should be able to rerun travis tests, as for other CI, I don't know16:03
iceyzyga: travis passes, autopkgtests failed16:03
zygaicey: AFAIK pitti was the one that set this up, I don't know how to restart that16:03
pittiicey: yes it is, you need the shared secret for that; mvo has it16:04
pittisorry, snapcraft, not snapd -- that would be sergiusens16:06
mupBug #1645377 opened: AppArmor policy error for networking at initialization, even with the correct network plug. <Snappy:New> <https://launchpad.net/bugs/1645377>16:09
mterryPoke about bug 1642669 -- it's preventing us from supporting snap installation in the unity8-session snap.  We're not sure this is supposed to work or if we should be using a different method of installation16:10
mupBug #1642669: PolicyKit doesn't work inside snaps, preventing snap installation in unity8 <snapd-glib:Confirmed> <Snappy:New> <https://launchpad.net/bugs/1642669>16:10
mupPR snapd#2367 opened: store: fix mismatch for snap download hash mismatch error message <Created by mvo5> <https://github.com/snapcore/snapd/pull/2367>16:17
mupPR snapd#2354 closed: release: releasing package snapd version 2.18 <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2354>16:19
mupBug #1645377 changed: AppArmor policy error for networking at initialization, even with the correct network plug. <snapd-interface> <Snappy:Invalid> <ubuntu-ui-toolkit-examples:New> <https://launchpad.net/bugs/1645377>16:21
mupPR snapd#2367 closed: store: fix mismatch for snap download hash mismatch error message <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/2367>16:23
zygajdstrand: will you be able to do a pass over snap-confine pull requests today?16:30
mupBug #1592901 changed: gvfs confinement issues <snapd-interface> <verification-done> <Snappy:Fix Released by jdstrand> <https://launchpad.net/bugs/1592901>16:30
flexiondotorgzyga, I've tried build a deb of snapd locally and in a PPA>16:45
flexiondotorgIt is failing :-(16:45
flexiondotorgdebian/rules:67: recipe for target 'override_dh_auto_build' failed16:46
flexiondotorgAnything familiar about that?16:46
flexiondotorgI've tried a local build too, same issue.16:46
flexiondotorgI'd like to test some of my changes before submitting a pr.16:46
longsleepIs anyone here who might be able to help me to get a key registered at the store with snapcraft? I only get "Key registration failed: The account-key-request assertion is not valid."16:48
zygaflexiondotorg: you need to run govendor AFAIK, look at how debian/gbp.conf file please16:59
flexiondotorgzyga, OK. I'll double check.17:00
mhall119oSoMoN: would you be willing to make a blog post about what you posted on G+ re: ubuntu-app-platform snap?17:28
oSoMoNmhall119, I don’t mind, where would that be published?17:30
mhall119developer.ubuntu.com would be appropriate for that17:34
mhall119do you have editor access to it?17:34
mupBug #1645407 opened: interface required: network namespace management <neutron> <snapd-interface> <snap-nova-hypervisor:New> <Snappy:New> <https://launchpad.net/bugs/1645407>17:43
mupPR snapd#2368 opened: tests: parameterize remote store <Created by fgimenez> <https://github.com/snapcore/snapd/pull/2368>17:46
mupBug #1645410 opened: interface required: openvswitch <snapd-interface> <snap-nova-hypervisor:New> <Snappy:New> <https://launchpad.net/bugs/1645410>17:49
mupBug #1645413 opened: gvfs confinement issues (directory listing) <Snappy:New> <https://launchpad.net/bugs/1645413>17:58
=== Guest29760 is now known as devil_
=== pmcg1 is now known as pmcgowan
oSoMoNmhall119, I don’t think so18:06
zygajdstrand: any chance for some reviews/chat?18:16
jdstrandzyga: I'm moving to that now18:17
zygajdstrand: great, I'll be here for a few more hours18:17
mupBug #1645407 changed: interface required: network namespace management <neutron> <snapd-interface> <snap-nova-hypervisor:Triaged> <Snappy:New> <https://launchpad.net/bugs/1645407>18:22
mupPR snapcraft#932 opened: Implement `enable-ci travis --refresh` command <Created by cprov> <https://github.com/snapcore/snapcraft/pull/932>18:35
mupBug #1645445 opened: Turtlebot needs /dev/kobuki <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1645445>19:07
mhall119oSoMoN: you should be able to login at https://developer.ubuntu.com/openid/login/ now19:24
mhall119go to (menu at the top) Zinnia->New Entry19:24
mhall119and include the categories English and Article19:24
mhall119ping me if you need help, the interface can be confusing19:25
longsleepzyga: added bug https://bugs.launchpad.net/snap-confine/+bug/1645457, going to give https://github.com/snapcore/snap-confine/tree/use-aa-support a shot now19:58
mupBug #1645457: cannot bind-mount the mount namespace file on Kernel 3.10 <Snappy Launcher:New> <https://launchpad.net/bugs/1645457>19:58
=== JanC_ is now known as JanC
zygalongsleep: ok20:07
zygajdstrand: I'd like to land https://github.com/snapcore/snap-confine/pull/197/files20:11
mupPR snap-confine#197: Fix spread tests preventing Ubuntu 16.04 i386 from passing <Created by zyga> <https://github.com/snapcore/snap-confine/pull/197>20:11
zygajdstrand: unless you want to spend some time reviweing it in detail I'll just merge it20:11
longsleepzyga: mhm - seems i cannot cross compile snap-confine for arm64 :/ 'no package 'glib-2.0' found20:16
longsleepzyga: any idea if i could do that somehow on the device even when snap-confine does not work?20:17
zygalongsleep: you probably need all the build-deps cross compiled20:17
longsleepzyga: yeah :/20:17
zygalongsleep: aka get the aarch64 version of them20:17
zygalongsleep: (it's pretty easy)20:17
zygalongsleep: if you don't know how to do that just build it natively on arm20:17
longsleepzyga: yes but i do not have enough disk space on my laptop :)20:17
zygalongsleep: install the classic snap20:17
zygalongsleep: no, I mean, you can just get them from the archive20:17
zygalongsleep: add arm64 arch to your apt sources20:18
longsleepzyga: yes but i have to install them - and rootfs is pretty much full :(20:18
zygathough I don't cross compile on arm often20:18
zygalongsleep: well, just wait then, I'll sort things out :)20:18
longsleepi can do it on arm64 - if i can install and run classic on my half working snappy install20:18
zygalongsleep: your shell is unconfined, remember that20:19
jdstrandzyga: looks fine to me20:20
longsleepzyga: yes but how to switch to classic now?20:20
longsleeproot@localhost:~# classic20:20
longsleepcannot bind-mount the mount namespace file /proc/3965/ns/mnt -> classic.mnt. errmsg: Permission denied20:20
longsleepchicken egg problem?20:21
zygalongsleep: classic is a snap, you don't need it if you have a rootfs20:21
zygalongsleep: just do it manually20:21
zygalongsleep: but again, if you don't want to figure out the chain of things that are required to check a potential fix then please just wait20:22
longsleepzyga: well i want to learn details as much as possible - so if i can figure out things without asking too many stupid questions then i will continue20:22
zygalongsleep: I'm happy to give you the answers if you want to dig deeper20:23
longsleepzyga: awesome ! so i did not follow you above, what do you mean "do it manually" if i have a rootfs?20:24
longsleepzyga: i mean i can download arm64 rootfs and chroot into it - somehting like that?20:24
zygaI didn't try it for a while20:24
zygabut that did do the trick before20:24
longsleepzyga: ah cool, let me try20:25
zygaand it can be used to learn what it takes to have "classic"20:25
longsleepzyga: looks about right and pretty much what i had done now manually20:27
mupPR snapd#2350 closed: tests: include /boot in saved state (including bootenv and any kernels) <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2350>20:30
longsleepzyga: so i got snap-confine compiled, any suggestion on how to replace it now for testing?21:48
longsleepzyga: i probably did something wrong, but the self-compiled snap-confine from use-aa-support branch segfaults when running it like /root/xenial/root/snap-confine/src/snap-confine snap.hello-world.env /snap/hello-world/27/bin/env22:30
longsleepSegmentation fault22:30
mupPR snapd#2348 closed: debian/rules: build with -buildoptions=pie <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/2348>23:26

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