[00:14] PR snapd#2443 opened: removing circular dependency between snapstate and hookstate === chihchun_afk is now known as chihchun === JanC_ is now known as JanC [05:03] has anyone successfully compiled the mosquitto sample in the snapcraft demos at https://github.com/snapcore/snapcraft/tree/master/demos/mosquitto? I get some errors like http://paste.ubuntu.com/23617381/ [06:49] PR snapd#2445 closed: cmd/snap,tests: alias support in snap run [08:12] hey hey [08:15] hey dholbach! [08:17] salut didrocks [08:22] hey dholbach! [08:22] salut seb128 [08:27] How can I set environment variables in a snap? I am trying to use gstreamer, but it can't find its plugins in there it seems. [08:27] this is what I get from gstreamer: GStreamer-WARNING **: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though. [08:27] PR snapd#2451 opened: tests: add check to ensure that we get the version number [08:30] simon_b: Are you using any of the desktop- parts mentioned here? https://wiki.ubuntu.com/snapcraft/parts [08:30] Those would set the gstreamer path for you [08:32] kalikiana_: I am actually using "desktop/gtk3" [08:33] kalikiana_: I opened up the snap out of curiosity and took at look at desktop-launch [08:33] kalikiana_: In there is a line "export GST_PLUGIN_SYSTEM_PATH=$SNAP/usr/lib/$ARCH/gstreamer-1.0" [08:36] I don't understand what the issue is, the plugins are there in the snap but gstreamer can't locate them [08:39] ogra_: so, I restarted my pi2, I don't have an i2c interface. [08:39] ogra_: pi2 16.04-0.17 29 canonical - [08:39] ogra_: and then, I can't upgrade it due to the network issue we discussed longely here and on the ML [08:39] did you enable it in a later gadget snap? [09:19] PR snapd#2447 closed: many: fixes cherry-picked for the 2.19.1 release === vigo_ is now known as vigo [09:45] PR snapd#2452 opened: Fix AppArmor rules === jamespag` is now known as jamespage [10:15] PR snapd#2083 closed: cmd/snap: generate account-key revocation requests === jamieben_ is now known as JamieBennett [10:21] PR snapd#2453 opened: store: retry user info request [10:22] Hmmm installing a devmode snap without --devmode seems to wrongly suggest it doesn't exist [10:26] Bug #1649237 opened: snap install without devmode claims it doesn't exist [10:50] PR snapd#2440 closed: release: 2.19 === vrruiz_ is now known as rvr [10:58] PR snapd#2420 closed: overlord/snapstate: setup/remove aliases as we link/unlink snaps === chihchun is now known as chihchun_afk [11:32] PR snapd#2454 opened: client: only allow Dangerous option in InstallPath [11:47] Is there an "official" daily image of Ubuntu Core for kvm ? === hikiko is now known as hikiko|ln [12:24] ogra@pi3:~$ grep i2c /boot/uboot/config.txt [12:24] dtparam=i2c_arm=on [12:24] dtparam=i2c_vc=on [12:24] ogra@pi3:~$ ls /dev/i2c-* [12:24] /dev/i2c-0 //dev/i2c-1 [12:24] ogra@pi3:~$ [12:24] didrocks, ^^^^ [12:25] (i'm on vacation btw) [12:25] the pi2 should be identical [12:27] didrocks, if the pi2 is different please note so in a bug and assign to me [12:31] om26er, http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/ is as official as it gets atm, if you wait for actual cdimage builds, foundations is supposed to set them up, ask infinity where that stands === hikiko|ln is now known as hikiko [12:32] ogra_: ok, good to know. [12:35] ogra_: can you tell who is the console-conf person of contact ? [12:38] mvo, jdstrand, could you approve ubuntu-docviewr-app ? [12:39] mvo, jdstrand, looks like something has landed in the store. Now the package is not rejected anymore but it still need manual approval [12:41] PR snapd#2451 closed: cmd: fix mkversion.sh and add regression test [12:49] ogra_: the parameters are there, but snap interfaces shows no i2c interface [12:50] ogra_: so, it's between the gadget snap or snapd [12:50] (crazy that nobody even try a snap interfaces to ensure things are working) [12:50] on a bug report for this, I opened one a month ago and referenced it on the feedback email [12:57] PR snapd#2455 opened: many: implement alias command [13:12] PR snapd#2456 opened: WIP: Implement 'shadow' interface for mounting snap folders [13:30] PR snapd#2444 closed: debian: depend on snap-confine at least 2.19 [13:44] PR snapd#2457 opened: cmd/snap: reject "snap disconnect foo" [13:47] ogra_, ping [14:05] PR snapd#2456 closed: WIP: Implement 'overmount' interface for mounting snap folders [14:09] PR snapd#2441 closed: debian: add split ubuntu-core-launcher and snap-confine packages [14:25] PR snapd#2458 opened: release: 2.19.1 === petevg_afk is now known as petevg [14:41] PR snapd#2459 opened: interfaces/builtin: add iio interface [14:59] PR snapd#2457 closed: cmd/snap: reject "snap disconnect foo" [15:03] PR snapcraft#954 opened: pluginhandler: convert to package [15:16] renato__: you need a desktop file === joc_ is now known as joc [15:17] renato__: it looks like revisions 2 and 3 have it. you just need to press the 'release' button [15:17] jdstrand, yes this is on the rev 2 e 3 [15:18] jdstrand, thanks [15:18] jdstrand, I did not find a way to cancel the review [15:18] roadmr: hi! I asked a little while ago about a store pull for r809. it seems we are still at r798. is this still queued up? [15:18] jdstrand: let me check [15:19] renato__: fyi, ubuntu-calculator approved [15:19] thnaks [15:20] jdstrand: 809 should have been deployed last week; sorry, it was a bit hectic so I didn't tell you about it :( [15:20] hmm [15:20] ok [15:20] that calculator one was older [15:21] roadmr: thanks! [15:23] \o/ :) [15:27] mvo: hi! fyi I took care of ubuntu-docviewr-app [15:43] PR snapd#2460 opened: tests: remove snap-confine/ubuntu-core-launcher after the tests [15:44] PR snapd#2423 closed: overlord,overlord/snapstate: implement snapstate.Alias [15:49] PR snapd#2461 opened: tests: check if snap-confine --version is unknown [15:51] ogra_ hi [16:02] jdstrand: hey a question about classic, if you have a sec to help us clarify [16:08] jdstrand: thanks a bunch [16:15] PR snapd#2462 opened: cmd/snap-confine: allow content interface mounts [16:30] PR snapd#2460 closed: tests: remove snap-confine/ubuntu-core-launcher after the tests [16:33] PR snapd#2463 opened: tests: remove ppa:snappy-dev/image again [16:40] Bug #1649331 opened: Disconnecting ubuntu-app-platform doesn't really work until a reboot [17:09] jdstrand: Hey, can you please have a second look on #2413 when you have a moment? [17:10] jdstrand: We discussed a few changes which are hopefully fine with you as well [17:12] niemeyer: yes, plan to do that in a few minutes. discussing the content sharing rw issue with zyga atm [17:39] PR snapcraft#953 closed: sources: refactor base sources into new package === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk [17:48] PR snapcraft#955 opened: sources: convert to package [17:48] PR snapd#2464 opened: cmd/snap: mock terminal.ReadPassword instead of using /dev/ptmx [18:21] hi there, could anyone tell me what is the easiest way to execute a startup script in Ubuntu Core 16? [18:25] julio__, package what you want to run as a snap, and you can declare the script in question to be a service which snapd will run [18:27] huh, will I be able to set the system time using hwclock? [18:28] niemeyer, z: fyi, 2413 reviewed [18:28] tab-complate fail [18:28] complete* [18:29] julio__, I suspect you can as long as you utilize the time-control interface [18:30] kyrofa, thank you. [18:33] kyrofa, next question: how could I override the /etc/issue file since the system is readonly? I notice that some of the files in the /writable partition are copied over but what process determines which files get copied over? [18:50] niemeyer: hey, so on https://github.com/snapcore/snapd/pull/1613 I *think* you gave a +1 since you gave a LGTM earlier with some questions, which I answered, which you responded to today as ok/let's not block. [18:50] PR snapd#1613: interfaces/builtin: add dbus interface (LP: #1590679) [18:50] niemeyer: I'm going to merge from trunk and then resubmit and see how the tests do [18:51] niemeyer: is there anything more you need from this? [18:51] niemeyer: note that I'd like to answer sabdfl's question on the status of this in the most positive way possible since it has been dragging (for various understandable reasons) [19:07] niemeyer: also, there is an open question for you in https://github.com/snapcore/snapd/pull/2450 [19:07] PR snapd#2450: interfaces: add network-namespace-control (LP: #1624675) [19:09] PR snapd#2413 closed: interfaces/apparmor: allow access to core snap [20:03] Hi guys, noob question here. I just installed the ubuntu core on my raspberry, no monitor, no keyboard available. Can I log on via ssh? what is the user/password? [20:03] jdstrand: Yeah, I'm hoping we can get this in tomorrow [20:04] jdstrand: No blockers from me.. invited pedronis for a quick look today [20:04] yo, i've just installed an img for Rpi3, i have a keyboard and monitor...is it expected to see "a start job is running for Raise network interfaces (time/5min) [20:06] well, it's running now for 1,5h and still: ssh ubuntu@192.168.178.54 ubuntu@192.168.178.54's password: Permission denied, please try again. [20:06] password: ubuntu [20:06] niemeyer: fantastic! [20:07] niemeyer: it be great to get the network-namespace-control one in too (already has a +1 from zyga). that one has the open question on if that should be its own interface or not [20:08] hol: you login with the user key you set up in console-conf on first boot of the device not ubuntu [20:09] PR snapcraft#956 opened: tests: idempotent store installs [20:15] jdstrand: Sounds good, will try to have a look later today still [20:16] niemeyer: awesome. if it works better for you tomorrow morning, that's fine with me (I'm here all week) [20:57] PR snapd#2463 closed: tests: remove ppa:snappy-dev/image again [20:57] Bug #1649399 opened: 'daemon: dbus' is incomplete [21:35] how does one install core over ubuntu-core? [21:35] http://paste.ubuntu.com/23620875/ [21:35] popey, blow away snapd :P [21:38] how? [21:38] and is that serious, given the smiley? [21:38] popey, unfortunatey, yes, I'm serious [21:39] wait, lose every snap I have installed? [21:39] alan@gort:~$ snap list | wc -l [21:39] 64 [21:39] popey, that's the only way *I* know of anyway. You can wait for the snapd folks to respond though [21:39] ok [21:40] ( following your blog post and stuck at the "Also verify that you have the core snap installed, not ubuntu-core:" step [21:40] popey, indeed, I had to blow everything away to get core [21:41] niemeyer, is there any way around that? [21:42] Some nifty way to convince snapd to remove ubuntu-core and install core instead? [21:44] popey, kyrofa: Let's please not say that [21:45] kyrofa: Yes, there is.. we need to develop the migration between one and the other [21:45] PR snapd#2462 closed: cmd/snap-confine: allow content interface mounts [21:45] kyrofa: If you know somebody with knowledge of snapd internals that could be motivated enough to tackled that sooner rather than later, please let me know! ;-) [21:47] niemeyer, automatic is one thing. Is there no way to do it manually? [21:48] kyrofa: No.. we need to update ubuntu-core.. that's the proper way to do that sooner rather than later.. hopefully this week [21:49] Alrighty [21:50] PR snapd#2458 closed: release: 2.19.1 [21:50] PR snapd#2461 closed: tests: check if snap-confine --version is unknown [21:51] kyrofa: The update is really not that hard.. the problem is everything else [21:52] Yeah if they were updated in tandem no one would even notice [21:53] kyrofa: That was the plan.. but reality loves surprises [21:55] niemeyer: kyrofa so the short answer is "wait"? [21:58] popey, for switching from ubuntu-core to core, yeah sounds like it. Core is used on new installs though [21:58] ok [21:59] fwiw, I installed core, then disabled ubuntu-core, then uninstalled ubuntu-core. however, I don't claim that will dtrt with already installed apps. I only had a couple installed so I uninstalled them and reinstalled [22:00] so, ymmv [22:00] jdstrand, did you have to disable ubuntu-core first? [22:00] jdstrand, popey's paste showed an error when initially installing core [22:01] "then disabled ubuntu-core" [22:01] yes [22:02] jdstrand, to clarify: you said you installed core, then disabled ubuntu-core. However, popey's paste indicated that installing core in the first place would fail [22:02] I was told that wasn't technically supposed to work, but at the time I did, it did [22:02] jdstrand, so did you actually need to do those steps the other way around? [22:02] Ah [22:02] snap install core ; snap disable ubuntu-core ; snap remove ubuntu-core [22:02] that is what I did ^ [22:02] Indeed, that appears to no longer work [22:03] okerror: cannot disable "ubuntu-core": snap "ubuntu-core" cannot be disabled [22:03] I make no claims that that will dtrt with your interface connections or policy. I suspect it will not [22:03] popey: Yes, let's please not recommend anything else.. it'll be unnecessary churn.. we'll fix this soon enough [22:03] ok [22:04] well, there you go. wait :) [22:14] i'm getting permissions denied on my strict enforced snap with the [home] plug. I'm telling it to access my home directory .config file and it's failing. Are . files not allowed? [22:16] cholcombe, indeed, last I heard, dot files directly in $HOME weren't allowed (to prevent, say, SSH keys from being stolen), but dot files elsewhere are okay [22:16] kyrofa, Alright is there an interface that allows me to give it access to /etc say? [22:17] cholcombe, I don't believe so. Snaps are supposed to be self-contained. If they have configuration files, they're contained within it somewhere [22:18] that won't work. the configuration files i need are generated at runtime by a charm that connects to other services [22:19] cholcombe, can you explain what you're trying to accomplish? [22:19] kyrofa, https://github.com/cholcombe973/preserve is the app i'm building. It connects to several different backends, Ceph, Gluster, Amazon, etc. It won't know that config information until the preserve charm makes a config file for it [22:20] cholcombe, do you have any control over where the charm places the config? [22:20] yup [22:20] total control [22:21] from what i've found i can't actually write into the snap [22:21] cholcombe, indeed, snaps are squashfs images (by definition read-only) [22:21] cholcombe, however, there are some well-defined places they can read/write [22:21] kyrofa, do tell :) [22:21] cholcombe, this might be faster: https://askubuntu.com/questions/762354/where-can-ubuntu-snaps-write-data [22:22] ah there we go. /var/snap [22:23] cholcombe, note that /var/snap is the root for all snaps. You're looking for /var/snap//current, probably [22:23] kyrofa, yeah [22:24] cholcombe, soon you'll be able to just have the charm configure the snap directly (using `snap set key=value`) [22:24] Assuming that's something in which you're interested [22:24] kyrofa, that'll be sweet [22:24] so it'll just the config info from env data? [22:25] cholcombe, no, calling `snap set` would run a hook contained within your snap, which could then act upon those values [22:25] oh i see. yeah that might be fine also [22:25] cholcombe, like this: https://github.com/snapcore/snapd/wiki/hooks#configure [22:25] kyrofa, yeah i think that would be ok [22:27] cholcombe, anyway, hopefully you have a way forward? [22:27] kyrofa, yeah i think i can work it out from here. thanks ! [22:27] Excellent, any time :) [22:30] PR snapcraft#955 closed: sources: convert to package === JanC_ is now known as JanC [22:36] PR snapcraft#957 opened: sources: refactor base sources into module [22:48] kyrofa, crap i just realized something. for this application to do backups it's going to need to be able to read the entire filesystem potentially. It also needs write access to potentially anywhere so that it can do a backup restore [22:49] cholcombe, I'm not sure we have an interface that would cover such a use-case. jdstrand might know more [22:49] kyrofa, so i'll have to stick to dev mode for now then [22:50] cholcombe, indeed. Your snap is not the only one that needs such things-- shells, for example, are limited without that ability as well [22:50] yeah [23:08] cholcombe, kyrofa: there is no interface for that. that'll need to use either devmode or classic [23:10] jdstrand, ok i'll stick to devmode for awhile [23:11] niemeyer: fyi, https://github.com/snapcore/snapd/pull/1613 still has you requesting changes. I think that should be 'approved' now based on our earlier conversation. then just need pedronis [23:11] PR snapd#1613: interfaces/builtin: add dbus interface (LP: #1590679)