/srv/irclogs.ubuntu.com/2017/02/14/#snappy.txt

mupPR snapcraft#1139 closed: plainbox-provider plugin: filter out sitecustomize <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1139>01:30
mupPR snapd#2843 opened: cmd/snap-confine: look for PROCFS_SUPER_MAGIC <Created by zyga> <https://github.com/snapcore/snapd/pull/2843>01:31
mupPR snapd#2844 opened: dirs: differentiate between "distro" and "core" libexecdir <Created by zyga> <https://github.com/snapcore/snapd/pull/2844>01:39
mupPR snapd#2845 opened: dirs: use the right snap mount dir for the distribution <Created by zyga> <https://github.com/snapcore/snapd/pull/2845>01:42
mupPR snapd#2846 opened: cmd: autoconf for centos <Created by zyga> <https://github.com/snapcore/snapd/pull/2846>01:43
=== markusfluer1 is now known as markusfluer
mupBug #1664427 opened: thefuck snap gets an apparmor denial even in classic confinement <classic> <Snappy:New> <https://launchpad.net/bugs/1664427>02:20
zygaPharaoh_Atem: around?02:37
mupPR snapd#2846 closed: cmd: autoconf for centos <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2846>02:50
Son_Gokuzyga: hm?02:53
Son_Gokuoh, btw, I think the Fedora EPEL buildroots are actually RHEL systems02:54
Son_Gokuthough I'm not sure about that02:54
Son_Gokuso you'll need to add "redhat"02:54
Son_Gokuand "rhel"02:54
Son_Gokuactually, I think the identifier is just "rhel"02:55
Son_Gokuyep, rhel02:55
Son_Gokuzyga: you need to add "rhel" otherwise snap-confine won't build right in epel03:16
=== chihchun_afk is now known as chihchun
mupBug #1650187 changed: Can't run any snap application on Mint 18 <Snappy:Expired> <https://launchpad.net/bugs/1650187>04:17
=== JanC is now known as Guest77653
=== JanC_ is now known as JanC
liuxgogra_, ping06:25
liuxgogra_, I cannot console-conf my pi3 device. it just shows that (Client.Timeout exceeded while awaiting headers).  error: while creating users: cannot create use 'xxxxx". I have sent an email titled with "Currernt config hook implementation scales very badly". There are some attached picttures there. how can I resolve this problem?06:28
liuxgogra_,  sorry, the email was tittled with "Issue with ubuntu OS snap first time boot."06:28
liuxglool ping07:14
=== chihchun is now known as chihchun_afk
mupPR snapd#2515 closed: snap run: create "current" symlink in user data dir <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/2515>08:30
mupBug #1664484 opened: Missing interface to record audio from pulseaudio <Snappy:New> <https://launchpad.net/bugs/1664484>09:16
ogra_liuxg, how is that related to the config hooks ?09:27
zygaPharaoh_Atem: hey, I've sent a few patches that make the code work on fedora/centos/rhel09:29
zygaPharaoh_Atem: I'll refresh the package once 2.23 which includes those fixes is out09:29
liuxgogra_,  ping09:59
ogra_yes09:59
ogra_i'm here :)09:59
didrockshe is here \o/10:00
ogra_lol10:03
liuxgogra_, currently I cannot get my pi3 device console-conf I just reported a bug at https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/166447110:04
mupBug #1664471: Creating user failed when doing console-conf for raspberry pi3 device <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1664471>10:04
liuxgogra_, is that a network problem?10:04
ogra_liuxg, sounds like a store bug to me10:04
ogra_or do you have some proxy in place10:05
liuxgogra_, interestingly, my pi2 device can get the job done.10:05
ogra_both through wired lan ?10:05
liuxgogra_, no, I do not have any proxy. my colleague in shanghai did get the work done.10:05
liuxgogra_, yes.10:05
ogra_and through the same lan specifically ?10:05
liuxgogra_, exactly, the same cable.10:06
ogra_and it is properly plugged ? :)10:06
liuxgogra_, I think so. otherwise, it cannot go the last step.10:06
ogra_true, you wouldnt get an IP10:06
ogra_(or do you use static ?)10:06
liuxgogra_, I tried it for the whole morning. I did not set anything, I think.10:07
liuxgogra_, I just attached the syslog file in the bug report.10:08
loolliuxg: pong10:29
loolppisati_: Hi!10:30
loolppisati_: one of the MWC demos is on RPis, and it breaks with a kernel backtrace when refreshing snaps:10:30
loolhttps://bugs.launchpad.net/snapd/+bug/166436810:30
mupBug #1664368: snap refresh hangs on arm architecture <snapd:New> <https://launchpad.net/bugs/1664368>10:30
liuxglool, I am now having a problem on console-conf my pi3 device. I reported a bug at https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1664471.. ogra_just now helped me to answer me.10:30
mupBug #1664471: Creating user failed when doing console-conf for raspberry pi3 device <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1664471>10:30
loolppisati_: would you mind scheding some light ont his?10:31
lool*this10:31
loolliuxg: oh cool, sorry for the delay10:31
loolhadn't opened IRC since yesterday morning10:31
liuxglool, it is ok. :)10:32
ogra_liuxg, your syslog looks fine, i really bet its a login.ubuntu.com issue10:32
liuxgogra_, yeah, it is a little bit weird. my colleague also experienced the same problem. but he tried a few times more, then it became successful..10:33
liuxgogra_, lool another colleague didrocks got 10 mins to configure a device.10:33
didrocks(that was in december, under the same network that I'm complaining snapd to regularly fail)10:34
ogra_yeah, thats rather normal ... still being researched (part of it is that the initial snapd configuration eats all CPU cores at 100% for a while)10:34
didrocksliuxg: btw, I know ogra_ and lool for years (almost 10), no need to present me :)10:34
loolisn't it a nice thing though?10:35
ogra_the system is under high load and very slow at that point ... sometimes you are lucky and it is fast ... but thats rather the exception10:35
ogra_lool, well, your CPU is completely eaten ... not sure IO nicing would change that10:35
loolhaha10:36
loolit took me a while to even get the joke, tells you how fried my CPU is10:36
ogra_bug 1632124 btw10:36
mupBug #1632124: snapd pegging cpu at 100% <Snappy:Expired> <https://launchpad.net/bugs/1632124>10:36
ogra_oh, mvo closed it ...10:37
didrocksI think you are mixing the snapd network issue with this, but yeah, it could be 2 separated things10:37
ogra_didrocks, if it succeeds it is the systerm load most likely10:37
didrocks(when snapd disconnect, it's really due to the network/snapd interactions, even when io load and CPU are next to 0)10:37
mvoogra_: it expired, looking at it again it looks like for the wrong reasons10:38
ogra_yeah10:38
ogra_i know someone dug into it (Chipaca ?) ... but i dont remember it being fixed10:39
zygao/10:40
zygahey guys, I've been here just busy with meetings10:40
ogra_stop having meetings then !10:40
ogra_:)10:40
zygaI moved all of them to one day10:40
zyga(next step is to take a day off on that day) ;-)10:41
ogra_do you call it the pain-day ? :)10:41
ppisati_lool: replied to that lp bug and assigned to me10:52
loolppisati_: <310:53
ogra_didrocks, mvo, hah, my bug search actually failed me ... i was actually meaning bug 1638537 above10:57
mupBug #1638537: snapd eats 100% CPU for about 5 minutes on first boot causing a load of >2.0 <Snappy:New> <snapd (Ubuntu):New> <https://launchpad.net/bugs/1638537>10:57
ogra_the classic does 100% cpu one is indeed in the works10:58
ogra_(silly me, was just searching for "100% CPU" and hit the wrong one)10:58
didrocksogra_: oh btw, is your classic snap a chroot or a lxd container?11:03
didrocksI was aked when reading the tutorial, I was telling it's a container11:04
ogra_chroot11:05
ogra_we dont have lxd support in the core snap by default11:05
ogra_(you need the lxd snap)11:05
didrocksogra_: ok, thanks for the clarification :)11:08
mupPR snapcraft#1127 closed: Release changelog for 2.27 <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1127>11:18
mupPR snapd#2775 closed: cmd: add functions to load/save fstab-like files <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2775>11:35
zygajdstrand: hey, can you please try to review https://github.com/snapcore/snapd/pull/2827/files today11:35
mupPR snapd#2827: cmd: add helpers for mounting / unmounting <Created by zyga> <https://github.com/snapcore/snapd/pull/2827>11:35
zygajdstrand: it's based on the earlier mount work and is very small (doesn't get used in snap-confine yet, just adds the library functions)11:36
zygajdstrand: using this I can propose nice chunks of update-ns next11:36
mupPR snapd#2588 closed: cmd/snap: add shell completion to connect <Created by zyga> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2588>11:53
mupPR snapd#2251 closed: interface hooks: support for setting/getting slot/plug attributes with snapctl (step 3) <Created by stolowski> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2251>12:01
mupPR snapd#2421 closed: tests: add basic test for docker <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2421>12:03
mupPR snapd#2475 closed: tests: nested image testing <Created by fgimenez> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2475>12:12
mupPR snapd#2654 closed: i18n: look into core snaps when checking for translations <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2654>12:36
mupPR snapd#2626 closed: interfaces: relax path requirements for serial <Created by jocave> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2626>12:41
mupPR snapd#2847 opened: tests: enable docker test <Created by mvo5> <https://github.com/snapcore/snapd/pull/2847>12:42
mardypstolowski: hi! Quick question: if an interface is auto-connectable, and then I manually disconnect and reconnect it, will the interface hooks be run at this last step?13:20
pstolowskimardy, hey. interesting question, I think they will be run, but to be 100% sure I'd need to check the code13:22
pstolowskimardy, btw, my branch #3 landed13:22
mardypstolowski: I saw, great stuff! :-)13:22
mardypstolowski: should I file a bug to track when the interface hooks will be run for auto-connectable interfaces, or do you already have a task for that?13:23
pstolowskimardy, no need for bug, it's on my list I shared with alecu and i've it on my whiteboard at home ;)13:26
mardypstolowski: send a pic13:27
mardypstolowski: joking ;-)13:27
ogra_he cant, he has all his passwords written there too ;)13:27
pstolowskiautoconnect is going to be the most complex of all changes, since this code is currently kind of a special case which doesn't work the way connect does13:28
pstolowskimardy, http://imgur.com/a/hILGi ;)13:32
pstolowskimardy, see, i'm not making this up ;)13:32
mardypstolowski: :-D13:32
mupPR snapd#2848 opened: cmd/snap-update-ns: add compare function for mount entries <Created by zyga> <https://github.com/snapcore/snapd/pull/2848>13:49
jdstrandzyga: historically setuid executables are attacked in their failure conditions14:10
jdstrandzyga: everything is typically fine when things go right, but when they go wrong, there may be latent bugs. that is mitigated somewhat on Ubuntu because of the apparmor profile (though it necessarily allows a lot), but many distros don't have that14:12
zygajdstrand: I understand that, we could make the debug code somewhat more paranoid (e.g. we could quote the paths and filesystem type)14:13
jdstrandzyga: I thought I was quite clear weeks ago that lots of string handling code (ie, a greater attack surface) would not be used in production, only debug14:13
jdstrandzyga: and I thought all the new code I was reviewing was working towards that14:13
zygajdstrand: I think that right now we still do logging and (and do so less carefully) and this PR was aiming to fix that14:13
zygajdstrand: no that wasn't clear, I though you wanted that to be off by default (hence the lazy compute of the command)14:14
zygajdstrand: at some point without code like this the debug / die messages are useless14:14
jdstrandzyga: I didn't think anything was using sc_mount_cmd yet, as it was only added to the library14:14
zygajdstrand: if you want to remove those we need a plan on how the app will be debuggable14:14
zygajdstrand: nothing is using it yet, only thew two new calls added in this PR14:14
jdstrandzyga: env var aside, it isn't off by default if when you die() you run through all the code14:15
zygajdstrand: yes, and I did that on purpose14:15
jdstrandI'm confused then14:15
jdstrandyou just said "I though you wanted that to be off by default" and then you said "I did that on purpose"14:15
zygajdstrand: I misunderstood you earlier and I implemented the lazy code so that we don't do it usually14:15
zygajdstrand: but we do compute it when the message is needed (either because debug is on or because we need to die)14:16
zygajdstrand: if you are saying I cannot, under no conditions, compute the message in production then that's fine14:17
zygajdstrand: but what is the app going to do then14:17
zygajdstrand: I think this is a reduction in functionality compared to what we have now (hand-made message in each case)14:17
jdstrandzyga: I expected the die() to have a simpler must_snprintf hand-made message14:17
zygajdstrand: then the whole point of this branch is lost14:18
jdstrandno it isn't14:18
jdstrandsomeone trying to reproduce can use it with debugging enabled14:18
jdstrandor14:18
jdstrandyou make this config file option14:19
jdstrandand the config file is root owned14:19
jdstrandor14:19
jdstrandyou permanently drop privileges14:19
zygajdstrand: nobody will do any of those things when they report a bug with  a message they got, for debugging done by an experienced person various things are possible14:19
zygajdstrand: actually14:19
zygajdstrand: how about that last idea?14:19
zygajdstrand: I have a branch for that14:19
zygajdstrand: adds library function for dropping/raising/permanently dropping privs14:20
zygajdstrand: I did that after the sprint14:20
jdstrandzyga: what inexperienced person is going to debug the finer points of snap-confine's mount operations?14:20
zygajdstrand: after tyler's suggestion14:20
zygajdstrand: exactly, nobody14:20
zygajdstrand: so they will just throw a bug with a message that they get14:20
zygajdstrand: the point of this branch is to have that message as good as we can use14:20
jdstrandzyga: yes, so, an experienced person could flip a setting in a config file14:20
zygajdstrand: well, you assume you can reproduce, that's not always the case14:21
jdstrandanyway, there is also dropping privileges14:21
zygajdstrand: (weird kernel/setting)14:21
zygajdstrand: I'd much rather drop privs14:21
zygajdstrand: and for the config, that's more parsing (but we can explore that as it would have some value)14:21
zygajdstrand: so if you are +1 on doing this after dropping privs then I'll just do it14:21
jdstrandif we *permanently* drop privileges, I have no problem14:22
zygaperfect14:22
zygajdstrand: thank you and I'm sorry for the confusion14:22
zygajdstrand: I recall we spoke about this as an option (compile time choice)14:22
zygajdstrand: but I didn't think we agreed on that14:22
* jdstrand shrugs14:22
zygajdstrand: it's just been in review and iteration for too long and I must have forgotten (the whole mount code change)14:22
zygajdstrand: I'll get right to it :)14:23
zygajdstrand: oh14:23
jdstrandone way to reduce attack surface is to not have the code compiled14:23
zygajdstrand: can you review a 3 line difff?14:23
zygafor the next release tomorrow: https://github.com/snapcore/snapd/pull/284314:23
mupPR snapd#2843: cmd/snap-confine: look for PROCFS_SUPER_MAGIC <Created by zyga> <https://github.com/snapcore/snapd/pull/2843>14:23
jdstrandzyga: I was going to that when you pinged me14:23
jdstrandthe release is tomorrow?14:23
zygajdstrand: this makes snap-confine functional on the 3.10 kernel14:23
jdstrandjeez14:23
zygajdstrand: I think it is, I'm not sure14:23
zygajdstrand: especially with the state of reexec being in the middle14:24
zygajdstrand: but mvo mentioned that deadline is tomorrow14:24
jdstrandI thought it was always on thursday14:24
zygajdstrand: probably what mvo meant was EOD tomorrow is when master feezes14:24
zygas/probably/possibly/ (or maybe)14:25
mvojdstrand, zyga: 2.23 is EOD tomorrow, I plan to make the 2.23 release in my morning on Thursday14:25
mvo(not having any more context, I assume this is what you asked?)14:26
zygamvo: what is the state of reexec code?14:26
zygamvo: yes14:26
zygamvo: I think we wanted to polish that to the point where we can reenable everything I removed from the policy14:26
popeyhttps://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1662181 # this bug is blocking a couple of snaps - can we get a plan of record on that bug? zyga ?14:26
jdstrandzyga: you requested that https://github.com/snapcore/snapd/pull/2749 not land until snap-confine is executed from the core14:26
mupBug #1662181: Aliases didn't enable out of the box <isv> <snapd (Ubuntu):Confirmed> <https://launchpad.net/bugs/1662181>14:26
mupPR snapd#2749: interfaces/default: allow mknod for regular files, pipes and sockets (LP: #1636540) <Created by jdstrand> <https://github.com/snapcore/snapd/pull/2749>14:26
jdstrandzyga: but there are 3 or 4 PRs that already landed that use arg filtering14:26
jdstrandzyga, mvo: does that mean https://github.com/snapcore/snapd/pull/2749 won't be in 2.23?14:27
zygapopey: that's something for pedronis I think14:27
zygajdstrand: I see14:27
mvojdstrand: I added it to the 2.23 list, at least it will get priority this way14:28
jdstrandalso, I thought that snap-confine executed from core was going to land Friday-ish14:28
jdstrandI thought I saw it merged, I'm I mistaken?14:28
zygamvo: I think that we need to have a clear story on how this is going to affect 2.23, I think it's fine to delay for next week if that is required, otherwise we'd have to do more changes (negative) to the security profiles14:28
Son_Gokuzyga, I left a comment on https://github.com/snapcore/snapd/pull/284514:28
mupPR snapd#2845: dirs: use the right snap mount dir for the distribution <Created by zyga> <https://github.com/snapcore/snapd/pull/2845>14:28
mvojdstrand: snap-confine from core is still under review, I hope we can get this in14:29
zygajdstrand: I gave +1 on one of the branches but that will break debian/14.04 I'm sure14:29
zygaSon_Goku: hey14:29
mvozyga: ok, if its fine to delay, w edelay14:29
zygaSon_Goku: thank you14:29
jdstrandlet me see if there is anything else that would break. quota and ioctl were the two we undid. I thought there were others14:30
zygaSon_Goku: replied14:30
zygajdstrand: it's not merged yet: https://github.com/snapcore/snapd/pull/281014:32
mupPR snapd#2810: snap: use snap-confine from the core snap <Created by mvo5> <https://github.com/snapcore/snapd/pull/2810>14:32
Son_Gokuzyga: replied ;)14:33
zygaSon_Goku: replied, also given the merge window closing I think the more elaborate checks will have to wait a few weeks14:35
Son_Gokuokay14:35
zygaSon_Goku: did you see my tweet last night?14:37
Son_Gokudo we need https://github.com/snapcore/snapd/pull/2844 when https://github.com/snapcore/snapd/pull/2845 already has its commit?14:37
mupPR snapd#2844: many: differentiate between "distro" and "core" libexecdir <Created by zyga> <https://github.com/snapcore/snapd/pull/2844>14:37
mupPR snapd#2845: dirs: use the right snap mount dir for the distribution <Created by zyga> <https://github.com/snapcore/snapd/pull/2845>14:37
Son_Gokuzyga: I did14:37
jdstrandzyga, mvo: the other one I was thinking of was 'setpriority PRIO_PROCESS 0 <=19', but that isn't a problem because PRIO_PROCESS has been in snap-confine for ages14:37
jdstrandmvo: it it help if I rebased https://github.com/snapcore/snapd/pull/2749 on https://github.com/snapcore/snapd/pull/2810? is there another way in github to say that one branch depends on another?14:38
mupPR snapd#2749: interfaces/default: allow mknod for regular files, pipes and sockets (LP: #1636540) <Created by jdstrand> <https://github.com/snapcore/snapd/pull/2749>14:38
mupPR snapd#2810: snap: use snap-confine from the core snap <Created by mvo5> <https://github.com/snapcore/snapd/pull/2810>14:38
jdstrands/it it/would it/14:38
* jdstrand remove the netlink rule from https://github.com/snapcore/snapd/pull/2842 since if we allow it, it will be with arg filtering14:39
mupPR snapd#2842: interfaces: misc updates for network-control, firewall-control, unity7, x11 and default policy <Created by jdstrand> <https://github.com/snapcore/snapd/pull/2842>14:39
mvojdstrand: maybe, but let me try to get a review for #281014:40
Cynervazyga: you available to help me figure out permission errors on the kubelet snap?14:44
balloonsCan you guys have a look at https://bugs.launchpad.net/juju/+bug/1660273 ? It seems like /snap/bin is missing from PATH14:50
mupBug #1660273: /etc/environment does not include /snap/bin in $PATH <cloud-images:Invalid> <juju:New> <Snap Layer:Fix Released> <snapd:New> <https://launchpad.net/bugs/1660273>14:50
jdstrandmvo: can you add https://github.com/snapcore/snapd/pull/2842 to the 2.23 list? I reverted the commit that zyga, tyhicks, tsdgeos and I were discussing. the rest has a +1 from zyga14:50
mupPR snapd#2842: interfaces: misc updates for network-control, firewall-control, unity7 and default policy <Created by jdstrand> <https://github.com/snapcore/snapd/pull/2842>14:50
jdstrandmvo: so just need another +114:50
zygaCynerva: hey14:51
zygaCynerva: can you tell me more about the problem please14:51
zygaCynerva: I'll try to help but I'll be also coding on a few other branches while we speak14:51
zygaballoons: I just did, can you be more specific please14:52
Cynervazyga: cool, thanks. we're working on a kubelet snap, we have it working with classic confinement, but trying to make it strict14:54
balloonszyga, ty. /snap/bin is missing from PATH in /etc/environment. This means non-login shells don't have PATH set properly for snaps14:55
Cynervazyga: we're hitting permission errors on several files i can't find an interface for - a bunch related to cgroups, like /proc/self/cgroup, /sys/fs/cgroup/memory, and several others14:56
Cynervazyga: full list is here https://gist.github.com/Cynerva/9150f379cdf1d41aac9ae233597c1f6414:56
zygaballoons: I don't think we can add it there, we only add it through /etc/profile.d/apps-bin-path.sh14:57
Cynervazyga: it looks like it's also trying to move the docker pid in /var/run/docker.pid (we have the docker snap installed and connected from stable channel)14:57
zygaCynerva: for everything apart from docker: do file a bug report on launchpad.net/snapd, tag it with snapd interface14:58
zygaCynerva: snapd-interface (with a dash)14:58
zygaCynerva: there's no interface for cgroups that I'm aware of and snapd also uses cgroups in some ways some please describe as much as you can what the app is doing and why14:59
ryebotnessita: are you available to discuss snap store namespaces? I'm wondering if there's a way to either transfer a snap to another namespace, rename a snap, or delete a snap.14:59
zygaCynerva: for the /var/run/docker.pid, can you tell me what's going on there? why would the app move it?15:00
nessitaryebot, hi! yes we can do first and last option15:00
nessitaryebot, renames are not a thing yet15:00
nessitaryebot, what's the snap?15:00
balloonszyga, I think we want PATH to be consistent15:00
zygaballoons: want != can15:00
ogra_balloons, where is that ? classic ?15:00
zygaballoons: whatever we want is done somehow, there's no way that we know of that would let us stick an item in path other than /etc/environemt15:01
Cynervazyga: okay, will do on the others, thanks :) as for the docker pid, i really have no idea, but i can look into it15:01
ryebotnessita: ah, that's excellent, thanks! There's three of them: kube-apiserver, kube-controller-manager, and kube-scheduler15:01
zygaballoons: and there are plenty of small places that keep a copy of "vanilla path" that still break15:01
nessitaryebot, let me check a few things first15:01
zygaballoons: I'd like to know why the current approach that we do doesn't work in the places that were mentioned in the bug15:01
ryebotnessita: I think just deleting them would be fine15:01
nessitaryebot, I can certainly delete them, but may I ask what's the reason?15:03
pedronispopey: we are likely changing how aliases work, so that bug won't be quite the same15:03
ryebotnessita: I posted them to the store for testing purposes, but we'll be making a namespace for them in the future and I didn't want the tests to be in the way. Poor choice of name the first time around, basically.15:04
zyganessita: my suggestion would be to take advantage of the new project for the store and route all such requests through bugs there15:04
ogra_balloons, note that this is a bash "feature" ...15:04
zyganessita: you'll get free accountability and tracking15:04
nessitazyga, did those messages are truly for me?15:05
zyganessita: yes,15:06
nessitazyga, ah, I see what you mean :-)15:06
zyganessita: all the store request are informal / on irc; I think it would be a good idea, for transparency to request that they are filed as bugs on the store15:06
pedronispopey: anyway short story both now and in the future you need to ask on snapcraft list or a reviewer to get the aliases enabled15:06
balloonsogra_, zyga, perhaps it's better in /etc/bash.bashrc?15:06
nessitazyga, sounds good, thanks for the suggestion15:06
pedronispopey: through a store mechanism15:06
balloonsand you are right.. ksh or other users are busted too :-)15:07
ogra_balloons, i thin thats not read if you have ~/.bashrc ... which we cant midify15:07
ogra_*modify15:07
balloonsmm.. Indeed15:07
ogra_(and which is created by default usually when a user is created)15:07
ogra_balloons, where do you have that issue ? on classic15:07
nessitaryebot, following the suggestion from zyga, would you mind filing a bug-request at https://bugs.launchpad.net/snapstore with the delete request? then I can execute asap15:08
balloonsogra_, I imagine you would have it for all non-login shells15:08
ogra_note that we have a bit more freedon regarding /etc/environment on the core images15:08
ryebotnessita: Not at all, thanks a ton!15:08
balloonsogra_, but yes this is on non-core ubuntu images15:08
ogra_and the last edge images actually have that path in /etc/environment15:08
zyganessita: \o/ thank you, I think this is very important15:08
ogra_for all other setups you need to add a snippet to your bashrc to source profile.d15:09
ryebotnessita: https://bugs.launchpad.net/snapstore/+bug/166460115:09
mupBug #1664601: Please remove kube-apiserver, kube-controller-manager, and kube-scheduler from the store <Snap Store:New> <https://launchpad.net/bugs/1664601>15:09
mupPR snapd#2849 opened: cmd: don't reexec on RHEL family <Created by zyga> <https://github.com/snapcore/snapd/pull/2849>15:10
zygamvo: ^^ along with the other branches15:10
ryebotOut of curiosity, is renaming/deleting/transferring snaps going to be a user-doable thing in the future?15:10
balloonsogra_, is adding /snap/bin to /etc/environment for non-core images not an option? Do we feel this can't be modified?15:10
ogra_balloons, right ... you can try to convince foundations if you feel like ... but i guess chances are low they want that :)15:11
nessitaryebot, excellent! thanks15:11
ryebotnessita: thank you :)15:11
ogra_balloons, you cant really modify this file from a package ... snapd isnt necessary always installed everywhere so it shouldnt be in the default path in /etc7environment but instead enhance the path15:12
popeypedronis: hm, okay. Any chance of a public reply on the bug so we can point people at it?15:12
pedronispopey: yes15:12
pedroniswill write something15:12
balloonsogra_, snapd actually has the prominece since xenial. I've assumed it was there akin to apt15:12
ogra_balloons, debootstrap wont install it for example :)15:13
ogra_balloons, bring it up with foundations, they own the classic images ... i'Äd happily drop the hack we use for the core images and just inherit their path from the default file15:13
ogra_but i fear i know the answer when you ask them :)15:14
ogra_balloons, beyond that: ssh user@host "source /etc/profile; /path/script.sh"15:15
ogra_that will definitely work around it as a quick hack15:15
balloonsogra_, ack. Given you are correct in that it's not "always" there, asking for a change seems impossible. However, my bigger fear even assuming the change made sense was getting onto xenial at this point15:16
balloonsthanks for your comments. I'll add them to the bug15:17
ogra_yeah, /etc/environment is created by the installer iirc ...15:17
ogra_and usually not modified after install ...15:17
ogra_i never understood why bash has this special treatment of remote sessions ... but there surely is a valid reason15:18
balloonsyea, it's a bit fun when trying to debug something you can run interactively, but not via cron15:21
ogra_yup15:21
popeypedronis: thanks!15:21
mupPR snapd#2850 opened: config: make helpers reusable <Created by stolowski> <https://github.com/snapcore/snapd/pull/2850>15:26
Cynervazyga: looks like it's just reading /var/run/docker.pid, and when that fails, falls back to pidof. so maybe that one's not really a problem15:27
zygaCynerva: I see, can you check why it is doing that?15:27
mupPR snapd#2851 opened: tests: failover test for rc.local crash <Created by fgimenez> <https://github.com/snapcore/snapd/pull/2851>15:32
Cynervazyga: ah, looks like it's putting the docker process in a cgroup15:34
mupPR snapd#2834 closed: release: add galliumos support <Created by mvo5> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/2834>15:46
zygaCynerva: I see, ok15:52
zygaCynerva: that feels like a separate feature; Can you please report a second bug with the details describing this (why, which cgroup)15:52
Cynervazyga: will do, thanks :)15:53
zygaCynerva: thank you, we'll get to it but not today15:57
mupPR snapd#2718 closed: cmd: add non-stub implementation of snap-update-ns <Created by zyga> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/2718>16:03
mupPR snapd#2488 closed: interaces: add new boot-config interface <Created by mvo5> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/2488>16:05
zygajdstrand: can you have a quick look if this is the kind of API you were thinking about?16:06
zygajdstrand: https://github.com/snapcore/snapd/pull/285216:07
mupPR snapd#2852: cmd/libsnap: add privilege elevation helpers <Created by zyga> <https://github.com/snapcore/snapd/pull/2852>16:07
mupPR snapd#2852 opened: cmd/libsnap: add privilege elevation helpers <Created by zyga> <https://github.com/snapcore/snapd/pull/2852>16:07
zygajdstrand: (I will patch the code to actually do the effective == 0 but real != 0 checks as well, this is just for the API itself16:10
zygajdstrand: https://github.com/snapcore/snapd/pull/2749 adds a spread test in a location that is not used anymore16:28
mupPR snapd#2749: interfaces/default: allow mknod for regular files, pipes and sockets (LP: #1636540) <Created by jdstrand> <https://github.com/snapcore/snapd/pull/2749>16:28
zygajdstrand: you need to put all the new tests in tests/ at the top of the tree16:28
zygajdstrand: I'll move the old tests there one by one, I should have finished that already :/16:28
lazyPowernessita - can i piggy back on ryebot's bug with my own? https://bugs.launchpad.net/snapstore/+bug/1664634  -- similar situation. i've had this since initial POC and the naming was poor for a test repository16:33
mupBug #1664634: Please delete the kubectl snap from the snap-store <Snap Store:New> <https://launchpad.net/bugs/1664634>16:33
mupPR snapd#2769 closed: snap-exec: support nested environment variables in environment: <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2769>16:37
nessitalazyPower, sure! will check that out right after my lunch16:37
lazyPowerthanks nessita appreciate the alley-oop16:38
nessita\o/16:38
zygajdstrand: I just pushed to 2852 again, this time with code that I think is real; you can now review both the .h and the .c files16:39
zygajdstrand: please suggest tests for this if you feel they are useful (can be done, just costly) otherwise let's land this and use it in the mount branch and in various parts of snap-confine16:40
mupPR snapd#2850 closed: config: make helpers reusable <Created by stolowski> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2850>16:41
pedronispopey: I wrote a comment in that bug16:48
zygaPharaoh_Atem: I got an email notifying me about deletion of  golang-github-mvo5-uboot-go-0-0.2.git5927df7.fc2317:05
zygaPharaoh_Atem: is tha because f23 if EOLd?17:05
mupPR snapcraft#1137 closed: Build-depend on git <Created by cjwatson> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1137>17:33
=== mwenning is now known as mwenning-lunch-r
mupPR snapd#2849 closed: cmd: don't reexec on RHEL family <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2849>18:36
=== cjwatson_ is now known as cjwatson
cory_fuIs there a PPA for getting latest stable snapd on trusty?19:19
kyrofaogra_, mwhudson does console-conf place something in /etc/network/interfaces.d/ ?19:49
kyrofa(after first boot)19:49
kyrofaAh, netplan19:50
kyrofaogra_, mwhudson so if I wanted to connect to a wireless network after I connected to a wired network, would I put something in /etc/netplan/ or /etc/network/interfaces.d/ ?19:51
mupPR snapd#2844 closed: many: differentiate between "distro" and "core" libexecdir <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2844>20:06
mupPR snapd#2845 closed: dirs: use the right snap mount dir for the distribution <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2845>20:16
kyrofaondra, any chance you're around?20:19
mupPR snapd#2843 closed: cmd/snap-confine: look for PROCFS_SUPER_MAGIC <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2843>20:22
ondrakyrofa hi20:35
ondrajdstrand on holidays, but around for bit20:35
ondrajdstrand sorry was for kyrofa20:36
ondrakyrofa what's up?20:36
kyrofaondra, ah, no, go away!20:36
ondrakyrofa lol20:36
kyrofaondra, I think I've got it20:36
ondrakyrofa just tell me20:36
ondrakyrofa killing a bit of free time here20:36
kyrofaondra, okay I'll be quick20:37
kyrofaondra, after first boot on ubuntu core, the networking config is done via netplan. Are you familiar with that piece?20:37
ondrakyrofa as much as changing config on devices20:38
kyrofaondra, therein lies my question. Is changing the netplan config the recommended way to change network config?20:38
kyrofaondra, or should I be doing that in /etc/network/interfaces.d/ still?20:38
ondrakyrofa I was hoping so, as I do it on some of my devices quite often20:38
kyrofaHeh20:39
kyrofaondra, okay, so you use netplan as opposed to the old way?20:39
ondrakyrofa I typically edit /etc/netplan/...yaml20:39
kyrofaOkay good deal20:39
kyrofaAnd then run `netplan apply`?20:39
ondrakyrofa yeah edit yaml, then netplan generate + apply20:39
ondrakyrofa yeah generate before apply20:40
kyrofaondra, ah, what does generate do?20:40
kyrofa"backend specific configuration files"20:40
kyrofaBackend being systemd-networkd?20:41
kyrofaAs opposed to network manager?20:41
ondrakyrofa let me show you my yaml, as I had case where I have device with 4 ethernet ports and wanted to configure it to share connections20:41
kyrofaondra, oh sweet20:41
ondrakyrofa this is for example I use on my deice http://paste.ubuntu.com/23997012/20:42
ondrakyrofa not even sure how to configure this one through using /etc/network/interfaces.d/20:43
kyrofaondra, yeah fair enough, this is handy. Okay, thanks for the help!20:43
ondrakyrofa I did try network manager, but even with help of morphis I was not successful20:43
ondrakyrofa very welcome20:43
kyrofaondra, enjoy holidays, and thanks for your time :)20:44
ondrakyrofa no worries :)20:44
cory_fuSo, my previous question was due to user error, of course.  :)  However, I'm trying to use snapd on Travis and it's failing.  Does anyone know if there's any way to make this work: https://travis-ci.org/juju-solutions/layer-cwr/builds/20164735621:07
kyrofacory_fu, no, snaps don't work on travis21:08
cory_fu:(21:09
cory_fuIs there any expectation that this could be resolved at some point?  Or is it just not feasible due to how Travis runs builds?21:09
kyrofaWhat are you trying to do, exactly?21:10
kyrofacory_fu, it's totally up to travis21:10
kyrofacory_fu, their kernel, their OS21:10
kyrofacory_fu, keep in mind that they JUST moved to ubuntu 14.0421:10
kyrofaFrom 12.0421:11
kyrofaAnd it's still beta, I thin21:11
kyrofak21:11
cory_fuYeah, that just makes it difficult to run our tests which depend on projects that have moved to snaps.  This particular instance, charm-tools, has an apt package but it's broken at the moment.21:12
kyrofacory_fu, yeah we're going to run into that soon as well. I wonder if elopio has some magic21:17
kyrofaHe's the travis master21:17
elopiokyrofa: cory_fu: according to the table from zyga, travis should support snaps.21:22
cory_fuelopio: Table from zyga?21:23
kyrofaelopio, eh? Really?21:23
elopiocory_fu: https://github.com/snapcore/snapd/wiki/Distributions21:23
cory_fuelopio: I don't see Travis mentioned there?21:24
kyrofaelopio, where are you getting that?21:24
elopiofrom that error you are getting, I suppose they still need to enable something in apparmor.21:24
kyrofaTravis isn't even on there21:24
EEighton ubuntu 15.04 sudo apt install snapd = package not found!21:24
naccEEight: 15.04 is eol21:24
kyrofaEEight, that's EOL I believe21:24
elopiokyrofa: cory_fu: no, but the kernel version required to support snaps in trusty.21:24
EEightBut the doc: https://snapcraft.io/docs/core/install21:24
kyrofaelopio, ah, sure. But yeah, travis still needs to enable it21:25
naccEEight: on ubuntu implies supported/current ubuntu of course21:25
EEightSo Ubuntu 14.04 will work but not 15.04?21:25
kyrofaEEight, indeed as 14.04 is an LTS21:25
EEightOk thx21:25
cory_fuelopio: Do you know what would need to be enabled?  I could file an issue on Travis21:27
ogra_kyrofa, ssh in and run sudo console-conf ... disable the wired device and configure the wlan ...21:27
ogra_thats the most trivial approach21:27
kyrofaogra_, haha! That's handy21:27
elopiocory_fu: well, the error says "Kernel needs AppArmor 2.4 compatibility patch." Please file the bug, and we can get zyga or jdstrand to comment there about the details.21:28
elopiocory_fu: this week I wanted to try running snaps on travis. Now that you have confirmed it fails, my plan b is to try a lxd container.21:30
cory_fuelopio: A LXD container on Travis?21:32
elopiocory_fu: yes. I tried that like a year ago and it kind-of-worked. But at that time, lxd didn't support snaps.21:32
cory_fuelopio: https://github.com/travis-ci/travis-ci/issues/731821:33
cory_fuelopio: Wouldn't that run in to the same kernel issue?21:34
elopiothanks cory_fu.21:34
cory_fuelopio: Also, I would expect it to hit https://github.com/juju/charm-tools/issues/303#issuecomment-279615158 at least for --classic snaps21:35
elopioI don't know how lxd works or what it does to support snaps. I thought it's worth a try, but now I don't have high hopes.21:35
elopioso many details failing everywhere... At least we are finding them, maybe try again next year :)21:37
kyrofaelopio, yeah, that'll certainly run into the same problem21:37
cory_fuelopio: https://bugs.launchpad.net/snappy/+bug/1628289/comments/1821:39
mupBug #1628289: snapd should depend on squashfuse (for use in containers) <lxd> <verification-done> <Snappy:Triaged> <squashfuse (Ubuntu):Confirmed for doko> <squashfuse (Ubuntu Xenial):Fix Released> <https://launchpad.net/bugs/1628289>21:39
cory_fuThat's disheartening21:39
elopiocory_fu: well, but doesn't that mean that in trusty you get a xenial lxc and it will work?21:41
cory_fuI suppose so.21:41
mupBug #1663060 changed: Add a title field to snap metadata <Developer registration portal:New> <Snappy:New> <gnome-software (Ubuntu):Confirmed> <snapcraft (Ubuntu):Confirmed> <snapd (Ubuntu):Triaged> <snapd-glib (Ubuntu):Confirmed> <https://launchpad.net/bugs/1663060>21:45
EEightWhen upload my snap on myapps.dev : You must wait 1 minute before the next snap-name registration for 16. ???21:48
EEightAfter 10 mins, cannot do nothing (no option to click)21:48
kyrofaEEight, sounds like a question for nessita or noise][121:51
EEightkyrofa: my first app uploaded well on myapps.dev, but now I don't understand the error21:52
kyrofaEEight, there's rate limiting on registering new names so no one can go around registering the world. But it sounds like it's been a long time and you're still unable to register?21:52
EEightOk, I see another unrelated error: You must register xxxx name for 16 before uploading, meaning that my filename (.snap) is not the same as the name I registered!? (will try)21:53
EEightThat was it...21:54
popeyEEight: are you all set? need help?21:54
EEightpopey: thanks, just a feedback, it is not clear that you need to register a name exactly like the filename of your .snap is...21:55
kyrofaEEight, you don't, check the snap.yaml21:56
popeyInteresting, I'll test that with a new app to follow the flow and report bugs where necessary. Thanks for the feedback21:56
kyrofaEEight, or the snapcraft.yaml. Are you sure the name is the same as the one you registered?21:57
EEightchecking!21:58
EEightOk I see, well of course the name in the snap is the same as the filename and then needs to be the same as registered in myapps. Cool22:02
kyrofaEEight, indeed, but the filename doesn't matter, the store checks the snap.yaml contained within the snap (which gets generated from the snapcraft.yaml)22:07
EEightpopey: I am still not listed in Ubuntu Store under Games, is it because I need to add more info in snap.yaml or maybe because on myapps.dev I didn't select Default type: application?22:09
EEightWould like also to be listed under Games - Education that would be nice22:10
EEightFeedback, on Ubuntu 14.04 I can install snapd, then snap install myapp, but then I need to reboot (myapp: command not found, and not in the Application menu)?22:19
popeyEEight: which app did you upload?22:20
popeyEEight: feel free to give me the myapps url and I can take a look at it22:21
popeyok i see it22:21
EEightI just put the Default type: Application... not sure what it does22:22
popeywhat desktop are you using on 14.04?22:22
EEightboth 14.04 & 16.0422:22
popeyok and did the icon not show up in either right away?22:22
popeyi have seen others report this, but not seen it myself recently22:23
EEight2 problems : 1- not in Ubuntu Store; 2- need to reboot to use my app22:23
popeyit's certainly published, because I just installed it with "snap install <appname>"22:23
popeyyou saying it doesnt show in ubuntu software, the graphical app?22:23
kyrofaNote that the reboot is because /snap/bin isn't in the path in the image, and only gets set once snapd is installed. But you already have an environment by then22:23
EEightpopey: exactly the graphical app22:23
kyrofapopey, it's in the store, just not in the category, I think22:24
popeyyeah22:24
kyrofaEEight, right? You can see it in the app, but not in the right category?22:24
popeyyes, there is no category22:24
popeydoes that need setting in the store or the desktop file?22:24
popeyCategories=Game;Simulation;22:25
popeyfor example in the .desktop file22:25
EEightkyrofa: in the graphical app (ubuntu software) not there at all, I need to search it (only in 16.04)22:25
popeyEEight: just to confirm, on my 16.04 system, once installed I see the icon, so ou have done nothing wrong there.22:25
kyrofaOh, that makes sense22:26
EEightpopey: thx, on 14.04 also I see the icon in the Ubuntu menu (that is after rebooting if just installed snapd)22:26
kyrofaEEight, I don't think the software center in 14.04 will ever have that ability22:26
EEightkyrofa: ok22:26
kyrofapopey, don't you agree?22:27
EEightwhat about 16.04?22:27
popeycorrect22:27
popey14.04 software centre has no snap support22:27
EEightmy .desktop have Categories=game22:29
EEightmaybe that is the problem?22:30
EEightcase-sensitive!22:30
popeychecked a steam game I have installed...22:32
popeyCategories=Game;22:32
popeyand it _does_ appear in the category "Games" in the store..22:32
EEightthank you so much, do I need to bump my version?22:32
popeyno, just fix and re-upload22:32
EEightexcellent, thank you very much!22:32
popeyand I checked, and one of my games is in the games category22:32
popeywith the Category I mentioned above22:33
popeyno problem, anytime22:33
EEightpopey: do you know how to be in Games / Kids ?22:33
EEightok got it KidsGame22:34
popeyI expect there is a list of categories somewhere... lets see22:34
EEightfound a post on stackoverflow22:34
popeyhttps://standards.freedesktop.org/menu-spec/latest/apa.html22:35
popeylooks like a likely candidate22:35
EEightHey thanks better22:35
=== genii_ is now known as genii
=== perrito667 is now known as perrito666
=== mup_ is now known as mup
=== mterry_ is now known as mterry
=== thibautr___ is now known as thibautr__
=== psivaa_ is now known as psivaa
=== markusfluer1 is now known as markusfluer
=== daker_ is now known as daker
=== Trevinho_ is now known as Trevinho
popeyEEight: i just updated your app and note you've added Categories=KidsGame - but I don't see it in Ubuntu Software. I wonder if you need KidsGame;Game;  ?22:49
EEightpopey: Should I try?22:50
popeylet me install someone elses game and see what they did22:50
popeyone moment22:50
EEightsweet! I have to pay you a beer22:51
popeyno worries :)22:51
popeyCategories=Game;KidsGame;22:51
popeythats from raincat (whatever that is)22:52
EEightExcellent updating, and just like that flush 100mb from my Games (I need to be more careful with assets)!22:53
EEightAll right done, let's see tomorrow (fingers crossed)!22:58
popeyEEight: yay :)23:10
mupPR snapd#2853 opened: cmd: autoconf for RHEL <Created by Conan-Kudo> <https://github.com/snapcore/snapd/pull/2853>23:52
mupPR snapcraft#1130 closed: catkin plugin: produce build-ready staging area <Created by kyrofa> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/1130>23:58

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