/srv/irclogs.ubuntu.com/2017/01/09/#snappy.txt

Tercesno idea if I'm right here, but I am trying to install ubuntu core on my raspberrypi 3 and am having problems00:54
TercesI go through all the configuration screens, and at the end it tells me I can login through ssh, but it doesn't accept my password00:54
TercesI've gone through the steps several times so far and always the same problem.00:58
=== StoneTable is now known as aisrael
mupPR snapcraft#1030 closed: tests: fix broken delta upload unit test <Created by shawn111> <Closed by shawn111> <https://github.com/snapcore/snapcraft/pull/1030>01:17
=== psivaa_ is now known as psivaa
mupPR snapd#2574 closed: interfaces/docker-support: allow /run/shm/aufs.xeno for 14.04 (LP: #1654590) <Created by jdstrand> <Merged by jdstrand> <https://github.com/snapcore/snapd/pull/2574>02:37
mahendrunitinHi all... can anybody point to the file which has the function that verifies the signature of a snap downloaded from the store ?02:44
mahendrunitinlike when i say snap install <>02:45
mahendrunitinsnapd must download the snap from the store and verify the signature before installing it.02:45
mupBug #1639646 changed: Unable to login for first time <Snappy:Expired> <https://launchpad.net/bugs/1639646>04:19
mupPR snapd#2563 closed: cmd/snap-confine: small tweaks to seccomp support code <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2563>05:21
mupPR snapd#2564 closed: cmd/snap-confine: build non-installed libsnap-confine-private.a <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2564>05:21
=== JanC_ is now known as JanC
mupPR snapd#2575 opened: cmd: move snap-discard-ns to dedicated directory <Created by zyga> <https://github.com/snapcore/snapd/pull/2575>05:43
mupIssue snapd#2576 opened: snap-confine cannot be setuid root on openSUSE <Created by zyga> <https://github.com/snapcore/snapd/issue/2576>06:15
mupPR snapd#2577 opened: tests: improve cleanup for c-unit-tests <Created by zyga> <https://github.com/snapcore/snapd/pull/2577>06:38
mupPR snapd#2577 closed: tests: improve cleanup for c-unit-tests <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2577>07:15
mupIssue snapd#2578 opened: race condition when executing interfaceManagerSuite.TestConnectTaskCheckAllowed <Created by zyga> <https://github.com/snapcore/snapd/issue/2578>07:56
melvsterhi all in the tour it says to type 'snap info'08:04
melvsterbut that gives me08:04
melvstererror: unknown command "info", see "snap --help"08:04
melvstersnapcraft v 2.2408:05
melvsterany ideas if snap info still works?08:05
mupPR snapd#2579 opened: many: auto-connect plugs and slots symmetrically <Created by zyga> <https://github.com/snapcore/snapd/pull/2579>08:56
mupPR snapd#2560 closed: snap: fix missing sizes in `snap info <remote-snap>` <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2560>09:06
=== mac_nibblet is now known as Guest31134
mupPR snapd#2580 opened: cmd/snap: fix internal naming in snap connect <Created by zyga> <https://github.com/snapcore/snapd/pull/2580>09:30
mupPR snapd#2581 opened: debian: remove trusty specific bits <Created by mvo5> <https://github.com/snapcore/snapd/pull/2581>09:35
=== vigo_ is now known as vigo
mupPR snapd#2582 opened: tests: restore the missing initialization of iface manager causing race <Created by stolowski> <https://github.com/snapcore/snapd/pull/2582>09:45
longsleepHi folks, i need to somwhere store the mac address on first boot of a snappy device. In classic ubuntu i have systemd service writing to uEnv.txt. With snappy now it would be awesonme if there would be an easy way to add a setting to uboot.env from the prepare-device hook. Anyone has a suggestion?09:52
longsleepzyga: Btw i still cannot run any command from a snap because of bind-mount permission denied on current edge. What is the state of the apparmor change you proposed in december to snap-confine?09:55
mupPR snapd#2583 opened: debian: merge feature/clean-rules-14.04 changes back to 14.04 <Created by mvo5> <https://github.com/snapcore/snapd/pull/2583>09:57
mupPR snapd#2584 opened: snap: use "size" as the json tag in snap.ChannelSnapInfo <Created by mvo5> <https://github.com/snapcore/snapd/pull/2584>10:19
ogra_longsleep, hmm, why do you need to store it ?10:25
ogra_(no way to get it from ROM ?)10:25
longsleepogra_: the Kernel usually generates the mac address by md5(serial), but the serial on this particular kernel is always 0, thus i disabled it and always randomize it if a mac address was not passed by kernel commandline10:28
ogra_hmm, and you have no way to set a persistent serial ?10:28
ogra_we do something similar on the dragonboard10:28
ogra_          mkdir -p $(DESTDIR)/firmware/wlan; \10:29
ogra_          ln -s /run/macaddr0 $(DESTDIR)/firmware/wlan/; \10:29
longsleepogra_: yeah, sure i could change the kernel to use the serial number from cmdline, but i did what was easiest :)10:29
ogra_thats from the dragonboard kernel snap10:29
longsleepogra_: when is that run?10:30
ogra_at kernel snap build time10:30
ogra_(there are other bits i'm just looking up, one sec)10:31
zygalongsleep: hmm, can you please refresh my memory10:31
ogra_longsleep, http://paste.ubuntu.com/23769615/ is the matching initrd bit that reads the serial and turns it into a mac10:32
longsleepzyga: sure, you had some branch on github for snap-confine chaning something how apparmor is used10:32
zygalongsleep: and refer to a bug if you can10:32
ogra_longsleep, indeed that only works if your firmware can use /lib/firmware/wlan10:33
zygalongsleep: I have plenty of such branches, do you remember the specific one?10:33
longsleepzyga: sure, i have this problem http://paste.ubuntu.com/23769518/ and you had me try a branch on github snap-confine, the branch is gone due to the snapd merge - let me see if i can find the link10:33
longsleepogra_: yeah, also the mac address is for ethernet, not for wlan10:34
zygalongsleep: hmmm, that's odd10:34
zygalongsleep: which version are you on?10:34
longsleepzyga: the bug i added then is https://bugs.launchpad.net/snap-confine/+bug/164545710:34
mupBug #1645457: cannot bind-mount the mount namespace file on Kernel 3.10 <Snappy Launcher:New> <https://launchpad.net/bugs/1645457>10:34
zygaah10:34
zygaon 3.10 you say10:35
zygalongsleep: thanks, I'll check what I can do10:35
zygalongsleep: I think it may require 3.10 specific code10:35
longsleepzyga: yeah but i got the aa backported, lxd and stuff works10:35
zygaokay10:35
zygahmmm10:35
zygais that the m10?10:35
longsleepzyga: it was this branch https://github.com/snapcore/snap-confine/tree/use-aa-support10:35
longsleepzyga: m10?10:36
ogra_heh10:36
zygalongsleep: m10 tablet10:36
longsleepzyga: nah, Pine6410:36
zygalongsleep: ok10:36
ogra_zyga, m10 is my domain ;)10:36
ogra_(starting with the image this week)10:36
longsleepzyga: you had my try the use-aa-support branch which worked, but branch is gone now10:36
longsleeps/my/me10:36
zygalongsleep: that branch was merged10:37
zygalongsleep: which version of snapd are you using?10:37
longsleepzyga: root@localhost:~# snap version10:37
longsleepsnap    2.2010:37
longsleepsnapd   2.2010:37
longsleepseries  1610:37
zygalongsleep: ok, let me investigate10:38
longsleepi build a new image yesterday from edge channel10:38
longsleepzyga, ogra_ so the snap-confine issue and the non-persisting ethernet mac are the only two issues - if those are fixed i finally can try to publish pine64 gadget and kernel snap10:40
ogra_longsleep, i see you mention uEnv.txt above, you are aware that we dropped support for that quite a while ago ?10:40
ogra_snapd expects uboot.env10:41
longsleepogra_: sure, i not use it on snappy10:41
ogra_ah, k10:41
ogra_(just wanted to make sure)10:41
longsleepogra_: thats what i asked if there is a way to add additional stuff to uboot.env in some hook10:41
longsleepogra_: of course i could make it load both, but i would rather avoid that10:41
ogra_you can add a systemd unit in the gadget ;)10:42
ogra_calling fw_setenv to set a variable in uboot.env10:42
longsleepogra_: yeah - something like that - i would prefer it to run it in tge perpare-device hook though10:43
longsleepogra_: that hook is run on the device on first boot right?10:43
ogra_i think so ... though thats kind of mvo land10:44
longsleepogra_: do you know if fw_setenv is atomic? What happens on powerof while it writes?10:45
ogra_hmm, not sure ... it is designed for mtd devices and just toggles bytes ... moght not be atomic at all since it directly writes on the low level10:46
ogra_*might10:47
zygalongsleep: where do you plan to publish the gadget?10:47
longsleepogra_: in any case the file is writting on vfat - so whenever this file changes it might become broken i would guess10:47
ogra_longsleep, but i think uboot.env itself is handled atomic10:48
longsleepzyga: the gadget snap you mean? Ubuntu store - where else would i publish it?10:48
mvolongsleep: iirc I looked at this and its writing in place10:48
ogra_due to the "CONFIG_REDUNDANT_ENVIRONMENT" option10:48
zygalongsleep: and the source?10:48
longsleepzyga: well i have it all in my building gear at https://github.com/longsleep/build-pine64-image/tree/master/snappy10:49
zygalongsleep: did you consider splitting those so that the gadget is separate10:50
longsleepmvo: mhm yeah - which is bad - but i guess you so far did not have issues people turning off their devices while that file gets written10:50
zygalongsleep: e.g. look at https://github.com/snapcore/pi3-gadget10:50
ogra_longsleep, well, no file gets written ... the window in which changes happen is very small since fw_setenv only toggles the byxtes directly10:51
longsleepzyga: no - it needs binary blobs from the general repository - i would have to copy those then too10:51
zygalongsleep: so blobs need to be in two places?10:51
ogra_longsleep, due to the uboot.env setup the filesystem isnt involved at all10:51
zygalongsleep: (same blobs?)10:52
longsleepzyga: if they are two repos yes10:52
zygalongsleep: which blobs are that?10:52
longsleepzyga: i need those blobs to build classic images as well10:52
longsleepzyga: boot0 and bl3110:52
longsleepzyga: also u-boot needs to be built first10:52
longsleepzyga: with the building gear in the larger repository10:53
zygalongsleep: too bad, it would be great if we could build a hub (on github) with community gadgets and kernels10:53
longsleepzyga: all the blobs are in https://github.com/longsleep/build-pine64-image/tree/master/blobs10:53
ogra_longsleep, the worst thing that can happen to you is that the variable holding the mac will contain garbage10:53
ogra_the env file should stay readable and rthe device should stay bootable10:53
longsleepogra_: really? so it appends bytes only?10:54
ogra_it toggles them10:54
ogra_the file size never changes10:54
longsleepogra_: ah sure10:54
longsleepogra_: i remember now10:54
longsleepogra_: the size is fixed - thanks for remembering me10:54
ogra_so on that side you should eb safe10:54
ogra_*be10:55
ogra_and for the firstboot job... as i said, mvo should be able to help10:55
longsleepzyga: yeah - i am not sure about how feasible that is as the gadget and kernel snaps usually require extra stuff like bootloaders and device trees10:56
zygalongsleep: two ways of doing that: building everything in the repo or commiting binaries into the repo and just using snapcraft to pull it from other places10:56
zygalongsleep: you can build many things in the gadget snap10:56
longsleepzyga: but i agree that a central place to find stuff would be great, but i think the store would be better suited and have meta data to point to the source repo10:56
ogra_longsleep, our gadgets moved to https://github.com/snapcore/ and are fully built by snapcraft now10:57
ogra_you can easily add a makefile part to build your upstream uboot10:57
zygalongsleep: yeah but github org to hold this would look nice even if store supports this10:57
longsleepzyga: yes10:58
ogra_zyga, i think we need an example gadget that builds from upstream uboot trees ...10:58
longsleepogra_: why only the gadget snaps? what about kernel snaps?10:58
* ogra_ adds to TODO10:58
zygalongsleep: I poked the kernel team about this10:58
zygalongsleep: they were supposed to evaluate this10:58
zygalongsleep: I didn't hear back yet10:58
ogra_longsleep, the kernel snaps are maintained by the kernel team now10:58
ogra_longsleep, and they have their own workflow not using github10:58
zygalongsleep: I'd love the kernel team to take this decision and help them along the way10:58
longsleepogra_: right, thats possible for things which actually have a sane kernel10:59
zygaogra_: (just keeping a mirror on github would be 100% better though)10:59
ogra_since they have a centra git server since forever where akll their trees live10:59
ogra_zyga, sure10:59
ogra_zyga, but dont forget that the official kernel snaps are always built from debs, so that wont help external users much10:59
zygaogra_: sure, but it would help in visibility11:00
zygaogra_: and unofficial snaps won't be this way11:00
ogra_indeed11:00
zygaogra_: I bet more and more people will use sources to build the kernel11:00
zygaogra_: and those examples will be valuable11:00
ogra_i hope all external people will ;)11:00
ogra_the use of debs is really a special case11:01
zygaindeed11:01
longsleepzyga: to build everything with snapcraft, it would need to build atf (bl31) from a git tree, u-boot from a git tree, some tools, then combine u-boot a device tree and bl31, and then use blob boot0 and the resulting combined u-boot-with-dtb-and-atf binary11:01
zygalongsleep: you still build those, right?11:01
ogra_longsleep, well, you can start with a tree with prebuilt binaries11:01
ogra_and then piece by piece add parts that build the stuff11:01
zygayes, exactly!11:02
longsleepzyga, ogra_: the rest of my classic ubuntu build gear builds those11:02
ogra_longsleep, https://github.com/snapcore/pi3-gadget11:02
ogra_thats what we do here11:02
longsleepogra_: ah ok, prebuilt folder11:02
ogra_right11:02
longsleepogra_: sure i can do that11:02
ogra_over time this will go away11:02
zygalongsleep: start prebuilt, over time you can use launchpad to build your snap11:02
zygalongsleep: and this lets people report bugs nicely11:02
zygalongsleep: repo == bugs11:02
longsleepzyga: yeah sure i think about it once things start working :)11:05
zygawoot, great :)11:05
longsleepmvo: Quick question, the prepare-device hook of the gadget snap is run on first boot on the device?11:05
longsleepzyga: so any clue about the apparmor issue?11:06
zygalongsleep: not yet11:07
longsleepzyga: just fyi - i compared kernel patches for aa to the ones from roseapple pi and they seem to be the same, not sure if they copied from me or something though :)11:08
zygalongsleep: maybe from the ref 3.10 kernel with ubuntu aa?11:08
mvolongsleep: yes, pedronis implemented the prepare-device hook and its used in production11:08
longsleepzyga: yeah - maybe - so i think the same issue shold be on roseapple pi as well - if not then something else is a miss on my kernel tree11:09
ogra_i think ondra worked on that one, he might know11:10
=== hikiko is now known as hikiko|ln
mupPR snapd#2585 opened: debian: move systemd files out of ./debian and into ./data/systemd <Created by mvo5> <https://github.com/snapcore/snapd/pull/2585>11:29
longsleepThis reminds me, i still cannot register a key with snapcraft: Key registration failed: The account-key-request assertion is not valid.11:31
mupPR snapd#2582 closed: tests: restore the missing initialization of iface manager causing race <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2582>11:32
=== hikiko|ln is now known as hikiko
mardykyrofa: when running snapcraft from master on a project of mine, I key a KeyError on build-attributes12:15
mardykyrofa: is this a known bug?12:15
mupPR snapd#2586 opened: daemon: make 201 and 202 responses have a Location header as per doc <Created by chipaca> <https://github.com/snapcore/snapd/pull/2586>12:17
shuduoppisati: hi12:40
mupPR snapcraft#1034 closed: rust plugin: respect fetch parameters <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1034>12:51
mardykyrofa: pls ignore my message above, the error was mine (launching snapcraft/main.py instead of the bin/snapcraft wrapper)12:57
mupIssue snapd#2578 closed: race condition when executing interfaceManagerSuite.TestConnectTaskCheckAllowed <Created by zyga> <Closed by stolowski> <https://github.com/snapcore/snapd/issue/2578>12:58
longsleepogra_: to build the gadget snap with snapcraft.yaml i need hook support which has been merged 4 days ago .. is there a ppa for snapcraft where i can get that / nightly builds or something?13:04
ogra_longsleep, i think sergiusens has one, yes13:04
ogra_(now dont ask me where :P)13:05
longsleepogra_: mhm the one i found has not seen updates since a while13:05
ogra_well, wait for sergiusens, if there is one he will know where13:06
ogra_but its python, i bet you could just branch it from github and run ./snapcraft or some such13:06
=== ben_r_ is now known as ben_r
mupPR snapd#2584 closed: snap: use "size" as the json tag in snap.ChannelSnapInfo <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2584>13:46
jdstrandroadmr: hi! one more small commit to support the new 'daemon: notify': can you pull r816?14:21
roadmrjdstrand: sure! btw we haven't really deployed the laste few changes :/ sorry about that, we should have a deployment this week I reckon14:21
roadmr(but hey, they look great on staging ;)14:21
jdstrandhehe14:22
jdstrandthanks!14:22
popeysergiusens: I'm building a python app snap, but it needs a parameter after "python3 setup.py ", I don't think we support that (yet?). Any plan to? Should I file a bug?14:26
mupPR snapd#2587 opened: interfaces/mount: add snippet types <Created by zyga> <https://github.com/snapcore/snapd/pull/2587>14:47
mupPR snapd#2580 closed: cmd/snap: fix internal naming in snap connect <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2580>14:51
mupPR snapd#2588 opened: cmd/snap: add shell completion to connect <Created by zyga> <https://github.com/snapcore/snapd/pull/2588>15:00
zygaSon_Goku: hey15:11
Son_Gokuzyga: hi15:11
zygaSon_Goku: I put together a wiki page that describes distro status15:11
zygaSon_Goku: and file a few more bugs describing where we are on blockers15:11
Son_Gokuoh?15:11
zygaSon_Goku: I replied to the thread you just replied to15:12
Son_GokuI'm guessing you saw my reply to the email15:12
Son_Gokuhave you? I don't see it...15:12
zygayes, though i worked on the wiki for a few days now15:12
Son_Gokuah, apparently it's not in the ML yet15:13
zygaSon_Goku: https://github.com/snapcore/snapd/wiki/Distributions15:14
zygaSon_Goku: can you check if the status describing fedora is accurate?15:15
Son_Gokufor CentOS, it's "EPEL7"15:15
zygaah, can you correct that15:16
zygasorry, I always get that wrong :)15:16
Son_Gokufixed15:17
zygathanks :)15:19
mupPR snapd#2589 opened: tests: test for auto-aliases <Created by pedronis> <https://github.com/snapcore/snapd/pull/2589>15:21
Son_Gokuplaying whack-a-mole with snapd is exhausting though15:21
Son_Gokuzyga: oh, and openSUSE supports both apparmor and selinux15:22
Son_Gokuapparmor is just the default there15:23
Son_Gokuthere's also go bindings to libselinux, I think15:24
* ogra_ recommends a whack-a-mole script 15:24
Son_Gokuyou would :P15:24
ogra_:)15:24
zygaSon_Goku: that field describes what is available in snapd, not the distro15:27
Son_Gokuah15:27
Son_Gokuwell, you have "dependencies" listed15:27
Son_Gokuoh, you already pulled in libselinux go bindings into snapd?15:27
Son_Gokuanyway, bbs, have to go to work15:30
kyrofaelopio, are we still publishing daily builds of snapcraft to a PPA?15:37
mupPR snapcraft#1040 opened: [WIP] Run the rust test in armhf <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1040>15:48
jdstrandzyga: hey, looking at https://github.com/snapcore/snapd/wiki/Distributions you list Elementary in 'Linux Distributions' but not under 'Support Matrix'. I'm not sure if 'Support Matrix' is supposed to have everything, but if not, 'Support Matrix' should probably say 'Ubuntu 16.04 LTS and Ubuntu derivatives' (or something)15:52
jdstrandzyga: also, bug #1653487 is addressed (seccomp) for 14.0415:54
mupBug #1653487: seccomp argument filtering not working on trusty amd64 <verification-done> <libseccomp (Ubuntu):Fix Released> <libseccomp (Ubuntu Trusty):Fix Committed by jdstrand> <https://launchpad.net/bugs/1653487>15:54
jdstrandI'll update the wiki for that seccomp15:55
longsleepkyrofa: i am looking for daily snapcraft builds too, did you find them?15:56
kyrofalongsleep, heh, I was asking for you15:57
kyrofaBut he must not be in just yet15:57
kyrofalongsleep, have you tried running snapcraft from source, as ogra_ suggested?15:57
longsleepkyrofa: no - i have not - thats a bit too cutting edge and i would rather wait before merging my pr to build the gadget snap with snapcraft until there is a package available15:58
longsleepkyrofa: in the past i was using https://launchpad.net/~snappy-dev/+archive/ubuntu/snapcraft-daily - but that is not updated since a while15:59
kyrofalongsleep, fair enough. I'll continue to look into why that's no longer updated15:59
longsleepkyrofa: nice thanks!16:00
longsleepkyrofa: any chance you know something about snapcraft key registration too? i have an issue there and i cannot register any key with my account16:01
kyrofalongsleep, maybe, what's happening?16:01
longsleepkyrofa: take a look here: http://paste.ubuntu.com/23770867/16:02
longsleepkyrofa: i looked a bit at the data, and seems that the remote API returns this error message - so i figured there might be a problem with my account or something16:03
kyrofalongsleep, huh, yeah no kidding. cprov, any idea what "Key registration failed: The account-key-request assertion is not valid" might imply?16:04
zygajdstrand: hey16:10
zygajdstrand: it's not supposet do have everything (as it says just above the table); I like the derivatives idea, I'll try to do something like that16:11
zygajdstrand: oh, nice, does it mean 14.04 is good now?16:11
zygajdstrand: thanks!16:11
zygajdstrand: btw, long time no see16:11
zygajdstrand: I was busy with some other things but this and next week my focus is to complete mount namespace mutation for existing mount namespaces16:12
zygajdstrand: so connect/disconnect will go and change what is there in practice without restarting apps16:12
zygajdstrand: I've started some work towards that, if you want I can sync with you on this16:12
jdstrandzyga: you'd have to talk to tvoss for the most up to date info, but aiui, installing snapd on 14.04 desktop is fixed in ppa (and likely moving to trusty-proposed), but there remains a cgmanager issue (ie, if it is installed, systemd (and therefore snapd) fails to start16:13
jdstrandzyga: at some point a sync would be good, but I'm still trying to clear my plate to help you with snap-confine testsuite16:13
zygajdstrand: I see, I'll wait until it is out of proposed16:13
tvosszyga: let me know if you need anything specifically16:14
zygajdstrand: thanks!, after your earlier suggestion only i386 is failing16:14
jdstrandcool16:14
zygajdstrand: I'll try to fix the remaining issue, I think it is well undertood now :)16:14
zygatvoss: monitor the issue and update the wiki once it is green :)16:14
tvosszyga: works for me16:15
jdstrandzyga: oh, you don't need me to help for i386? ok, then I'll not plan on looking at it unless you come back16:15
zygajdstrand: so far no, I just need a second to tweak one more thing and it should land16:16
zygajdstrand: I will come around to it in a few hours today16:16
* zyga documents live modificationto mount namespaces now16:16
=== mup_ is now known as mup
kyrofadavidcalle, you around?16:26
=== sarnold_ is now known as sarnold
mupBug #1655060 opened: snapcraft doesn't support the dbus daemon type <Snapcraft:New> <Snappy:New> <https://launchpad.net/bugs/1655060>16:39
zygajdstrand: my initial idea on how to implement modification of the mount namespace: https://github.com/snapcore/snapd/wiki/Live-Modification-Of-Mount-Namespaces17:01
mupPR snapd#2550 closed: interface hooks: connect plug slot hooks (step 2) <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/2550>17:04
=== jkridner|pd is now known as jkridner
mupPR snapcraft#1041 opened: Document `notify` daemon type <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1041>17:12
jdstrandzyga: ok, thanks17:15
jdstrandtvoss: fyi, I merged the docker aufs change last night17:15
elopionessita or ev: could you please allow Matthew from matrix to use the synapse snap name?17:18
zygajdstrand: what does that bring?17:20
zygajdstrand: I'm not sure I recall17:20
nessitaelopio, checking!17:20
nessitaelopio, did he fill name request/dispute?17:21
elopionessita: he said: i mailed ubuntu-folks for guidance on killing off the previous snap, or getting control of it so i could replace it with the proper one17:22
elopioI'm not sure if it was through the form. Should I tell him to fill it?17:22
nessitaelopio, the only snap I see is matrix-synapse owned by kyrofa17:22
nessitawell, name, not snap yet17:23
elopionessita: I think it was reserved because there is a deb binary called synapse17:23
nessitaelopio, then can you please ask him to file a name dispute?17:23
elopioyes, I'm trying17:23
nessitathanks!17:24
lazyPowerWhen i declare a bin as a daemon, is snappy creating an intermediary systemd unit file on my snaps behalf?17:26
ogra_yes17:27
lazyPowerah found it in /etc/systemd/system, thanks17:28
lazyPowersay i'm using a snap in a juju charm, I suppose I just stuff the generated config bits I need the snap to read from in /var/snap/$snap/common and inform the systemd service it needs to restart?17:30
jdstrandzyga: what does what bring? the docker fix? it was a trivial policy update to the docker-support interface since trusty mounts shm on /run instead of /dev17:31
zygajdstrand: ah, I see17:31
tvossthx for the update17:38
BrownMitGood afternoon folks, I have a kind of weird situation with snap on a couple of my Ubuntu servers.  Google has not been helpful so I'm hoping someone here can help me out.  On most of my ubuntu servers (16.04.1) I have no issues with snap.  However, on two servers, it works but I can only seem to find a subset of the available applications.  For example, "snap find vlc" reports error: no snaps found for vlc17:58
ogra_BrownMit, "snap version" would be interesting ... and "snap list|grep core" ...18:00
BrownMit~> snap version18:01
BrownMitsnap    2.20.1ubuntu118:01
BrownMitsnapd   2.20.1ubuntu118:01
BrownMitseries  1618:01
BrownMitubuntu  16.0418:01
ogra_the same on all servers ?18:02
BrownMit~> snap list|grep core18:02
BrownMitcore  16.04.1  712  canonical  -18:02
ogra_same question ...18:02
BrownMityes to snap version18:02
BrownMiton one server snap cdore is at rev 71418:02
ogra_thats a different arch i guess18:03
BrownMitahhhhhh18:03
ogra_i think vlc is only available on amd64 … so that might explain why you dont find it there18:03
BrownMitand that would be it18:03
ogra_:18:04
ogra_:)18:04
BrownMityup, those are my only 32 bit implementations18:04
BrownMitthank you!!!18:04
ogra_np :)18:04
mupPR snapd#2589 closed: tests: test for auto-aliases <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/2589>18:21
anewmanHi all. I'm looking to build a snap that has a user-extensible plugin interface with no build process (so perl scripts for plugins). Is there a good snap in existence I can use as a model for this?18:50
anewmanIn short, should plugins end up in data or should they be separate snaps?18:50
kyrofamhall119, I seem to remember you having similar experience with geany and its plugins18:51
mhall119kyrofa: I did! anewman I have an example that might help you, let me get a link18:53
anewmanThanks!18:53
mhall119anewman: so here's the snapcraft.yaml for the app (geany): https://github.com/ubuntu/snappy-playpen/blob/geany/geany/snapcraft.yaml18:54
mhall119it will use a local directory called "plugins" to be the mount-point for the sharing18:54
mhall119so /snap/geany/current/plugins18:55
mhall119upstream geany provides the plugins all from one project, so I was able to built a single geany-plugins snap that has them all18:55
mhall119which is this: https://github.com/ubuntu/snappy-playpen/blob/geany/geany-plugins/snapcraft.yaml18:55
anewmanalright, that makes sense to me.18:56
mhall119so in the first I define a "plug" using the content interface, with the target of ${SNAP}/plugins/18:56
anewmanAnd one assumes that a less monolithic plugin set could end up with a set of package-plugin-pluginname snaps?18:56
kyrofamhall119, how would you have done that if the plugins weren't all available in one package?18:56
mhall119anewman: when I did this work, that wasn't possible, but it might be now18:57
anewmanAlright, interesting. Because I wouldn't want to have to whitelist the plugins in the head package.18:57
mhall119kyrofa: zyga and I discussed it, and the plan was to allow snap-namespaced mount points under the target itself18:57
mhall119IIRC18:57
kyrofamhall119, i.e. the plug could be connected to multiple slots?18:57
mhall119kyrofa: no, the geany snap would provide one plug, that could be connected to multiple slots18:58
kyrofamhall119, haha, isn't that what I just said?18:59
kyrofamhall119, do you know of a bug that represents that?18:59
mhall119I thought you meant multiple slots per snap, so slot-a, slot-b, slot-c, etc18:59
kyrofaNah, same page18:59
* mhall119 checks19:00
mhall119kyrofa: I can't find one, I'm not sure we ever made a bug for it19:02
kyrofamhall119, alright. zyga, did that plan ever progress?19:03
mhall119we discussed it in den haag19:03
mhall119is zyga in cape town this week?19:04
kyrofaProbably. You might consider making a bug for him, he has a lot going on19:05
kyrofamhall119, does bug #1655125 properly describe the issue?19:31
mupBug #1655125: Missing interface: content sharing in the other direction <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1655125>19:31
mupBug #1655125 opened: Missing interface: content sharing in the other direction <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1655125>19:31
zygamhall119: I'm not in cape town19:44
zygamhall119: there's ongoing work on the "overmount" interface, I'm not sure that's what you were discussing but that helps people with some bits19:45
kyrofazyga, does that cover bug #1655125?19:55
mupBug #1655125: Missing interface: content sharing in the other direction <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1655125>19:55
zygakyrofa: no19:57
zygakyrofa: this is more store side and assertion work19:57
zygakyrofa: if feels in scope but not in the list of things I'm going to focus on this week19:57
zygakyrofa: this week it is https://github.com/snapcore/snapd/wiki/Live-Modification-Of-Mount-Namespaces19:57
kyrofazyga, ah, excellent19:58
=== mup_ is now known as mup
mwhudsonzyga: hey, should we request removal of the snap-confine source package from debian unstable?20:06
mwhudsonzyga: it isn't going to get autoremoved because it built on lots of arches where snapd does not20:06
mwhudsonaiui20:08
mupPR snapcraft#1042 opened: Add documentation for hooks <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1042>20:15
zygamwhudson: hey20:29
zygamwhudson: I think this is sensible, unless mvo disagrees20:29
zygamwhudson: what does that do to snapd source package, nothing I presume?20:29
davidcallekyrofa: around now21:36
mupBug #1607748 changed: Ability to use two registered names for the same snap <lxd> <Snappy:Fix Released> <https://launchpad.net/bugs/1607748>21:41
mupPR snapd#2590 opened: interfaces: miscellaneous policy updates for network-control, unity7, pulseaudio, default and home <Created by jdstrand> <https://github.com/snapcore/snapd/pull/2590>21:41
davidcallekyrofa: now that I've seen two examples, it's a bit more clear how to use scriptlets, now I'm mostly curious about 1) when do scriptlets run and if the install one is the only one supported atm 2) dash or bash? 3) any restrictions or notable boundaries on what can happen there? 4) where can I find the list of snapcraft specific env vars ($SNAPCRAFT_*)?21:43
mwhudsonzyga: yeah, no impact on anything else i think21:43
kyrofadavidcalle, sure! (1) should be answered by https://github.com/snapcore/snapcraft/blob/master/snapcraft/__init__.py#L228, I think?21:46
kyrofadavidcalle, (2) /bin/sh, so dash in most cases I suspect21:47
kyrofa(3) no known restrictions21:47
kyrofadavidcalle, (4) there's actually no list, but they're SNAPCRAFT_PROJECT_NAME, SNAPCRAFT_PROJECT_VERSION, SNAPCRAFT_STAGE, and SNAPCRAFT_PART_INSTALL21:48
jdstranddiddledan: hi! fyi, https://github.com/snapcore/snapd/pull/2590 has the xdg-open fix21:53
mupPR snapd#2590: interfaces: miscellaneous policy updates for network-control, unity7, pulseaudio, default and home <Created by jdstrand> <https://github.com/snapcore/snapd/pull/2590>21:53
davidcallekyrofa: do you know the use case for project_version?21:55
kyrofadavidcalle, I assume so that you can use it in `source` URLs21:56
davidcallekyrofa: got it, thanks21:59
Pharaoh_Atemzyga: why does classic mode depend specifically on /snap?22:02
diddledanthanks jdstrand22:06

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