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

mupPR snapd#2443 opened: removing circular dependency between snapstate and hookstate <Created by cyberb> <https://github.com/snapcore/snapd/pull/2443>00:14
=== chihchun_afk is now known as chihchun
=== JanC_ is now known as JanC
liuxghas 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/05:03
mupPR snapd#2445 closed: cmd/snap,tests: alias support in snap run <Critical> <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2445>06:49
dholbachhey hey08:12
didrockshey dholbach!08:15
dholbachsalut didrocks08:17
seb128hey dholbach!08:22
dholbachsalut seb12808:22
simon_bHow 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
simon_bthis 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
mupPR snapd#2451 opened: tests: add check to ensure that we get the version number <Created by mvo5> <https://github.com/snapcore/snapd/pull/2451>08:27
kalikiana_simon_b: Are you using any of the desktop- parts mentioned here? https://wiki.ubuntu.com/snapcraft/parts08:30
kalikiana_Those would set the gstreamer path for you08:30
simon_bkalikiana_: I am actually using "desktop/gtk3"08:32
simon_bkalikiana_: I opened up the snap out of curiosity and took at look at desktop-launch08:33
simon_bkalikiana_: In there is a line "export GST_PLUGIN_SYSTEM_PATH=$SNAP/usr/lib/$ARCH/gstreamer-1.0"08:33
simon_bI don't understand what the issue is, the plugins are there in the snap but gstreamer can't locate them08:36
didrocksogra_: so, I restarted my pi2, I don't have an i2c interface.08:39
didrocksogra_: pi2                   16.04-0.17    29   canonical  -08:39
didrocksogra_: and then, I can't upgrade it due to the network issue we discussed longely here and on the ML08:39
didrocksdid you enable it in a later gadget snap?08:39
mupPR snapd#2447 closed: many: fixes cherry-picked for the 2.19.1 release <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/2447>09:19
=== vigo_ is now known as vigo
mupPR snapd#2452 opened: Fix AppArmor rules <Created by bergotorino> <https://github.com/snapcore/snapd/pull/2452>09:45
=== jamespag` is now known as jamespage
mupPR snapd#2083 closed: cmd/snap: generate account-key revocation requests <Created by cjwatson> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/2083>10:15
=== jamieben_ is now known as JamieBennett
mupPR snapd#2453 opened: store: retry user info request <Created by stolowski> <https://github.com/snapcore/snapd/pull/2453>10:21
kalikiana_Hmmm installing a devmode snap without --devmode seems to wrongly suggest it doesn't exist10:22
mupBug #1649237 opened: snap install without devmode claims it doesn't exist <Snappy:New> <https://launchpad.net/bugs/1649237>10:26
mupPR snapd#2440 closed: release: 2.19 <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2440>10:50
=== vrruiz_ is now known as rvr
mupPR snapd#2420 closed: overlord/snapstate: setup/remove aliases as we link/unlink snaps <Critical> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/2420>10:58
=== chihchun is now known as chihchun_afk
mupPR snapd#2454 opened: client: only allow Dangerous option in InstallPath <Created by chipaca> <https://github.com/snapcore/snapd/pull/2454>11:32
om26erIs there an "official" daily image of Ubuntu Core for kvm ?11:47
=== hikiko is now known as hikiko|ln
ogra_ogra@pi3:~$ grep i2c /boot/uboot/config.txt12:24
ogra_dtparam=i2c_arm=on12:24
ogra_dtparam=i2c_vc=on12:24
ogra_ogra@pi3:~$ ls /dev/i2c-*12:24
ogra_/dev/i2c-0  //dev/i2c-112:24
ogra_ogra@pi3:~$12:24
ogra_didrocks, ^^^^12:24
ogra_(i'm on vacation btw)12:25
ogra_the pi2 should be identical12:25
ogra_didrocks, if the pi2 is different please note so in a bug and assign to me12:27
ogra_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 stands12:31
=== hikiko|ln is now known as hikiko
om26erogra_: ok, good to know.12:32
om26erogra_: can you tell who is the console-conf person of contact ?12:35
renato__mvo, jdstrand, could you approve ubuntu-docviewr-app ?12:38
renato__mvo, jdstrand, looks like something has landed in the store. Now the package is not rejected anymore but it still need manual approval12:39
mupPR snapd#2451 closed: cmd: fix mkversion.sh and add regression test <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2451>12:41
didrocksogra_: the parameters are there, but snap interfaces shows no i2c interface12:49
didrocksogra_: so, it's between the gadget snap or snapd12:50
didrocks(crazy that nobody even try a snap interfaces to ensure things are working)12:50
didrockson a bug report for this, I opened one a month ago and referenced it on the feedback email12:50
mupPR snapd#2455 opened: many: implement alias command <Created by pedronis> <https://github.com/snapcore/snapd/pull/2455>12:57
mupPR snapd#2456 opened: WIP: Implement 'shadow' interface for mounting snap folders <Created by kalikiana> <https://github.com/snapcore/snapd/pull/2456>13:12
mupPR snapd#2444 closed: debian: depend on snap-confine at least 2.19 <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2444>13:30
mupPR snapd#2457 opened: cmd/snap: reject "snap disconnect foo" <Created by zyga> <https://github.com/snapcore/snapd/pull/2457>13:44
abeatoogra_, ping13:47
mupPR snapd#2456 closed: WIP: Implement 'overmount' interface for mounting snap folders <Created by kalikiana> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/2456>14:05
mupPR snapd#2441 closed: debian: add split ubuntu-core-launcher and snap-confine packages <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2441>14:09
mupPR snapd#2458 opened: release: 2.19.1 <Created by mvo5> <https://github.com/snapcore/snapd/pull/2458>14:25
=== petevg_afk is now known as petevg
mupPR snapd#2459 opened: interfaces/builtin: add iio interface <Created by morphis> <https://github.com/snapcore/snapd/pull/2459>14:41
mupPR snapd#2457 closed: cmd/snap: reject "snap disconnect foo" <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2457>14:59
mupPR snapcraft#954 opened: pluginhandler: convert to package <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/954>15:03
jdstrandrenato__: you need a desktop file15:16
=== joc_ is now known as joc
jdstrandrenato__: it looks like revisions 2 and 3 have it. you just need to press the 'release' button15:17
renato__jdstrand, yes this is on the rev 2 e 315:17
renato__jdstrand, thanks15:18
renato__jdstrand, I did not find a way to cancel the review15:18
jdstrandroadmr: 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
roadmrjdstrand: let me check15:18
jdstrandrenato__: fyi, ubuntu-calculator approved15:19
renato__thnaks15:19
roadmrjdstrand: 809 should have been deployed last week; sorry, it was a bit hectic so I didn't tell you about it :(15:20
jdstrandhmm15:20
jdstrandok15:20
jdstrandthat calculator one was older15:20
jdstrandroadmr: thanks!15:21
roadmr\o/ :)15:23
jdstrandmvo: hi! fyi I took care of ubuntu-docviewr-app15:27
mupPR snapd#2460 opened: tests: remove snap-confine/ubuntu-core-launcher after the tests <Created by mvo5> <https://github.com/snapcore/snapd/pull/2460>15:43
mupPR snapd#2423 closed: overlord,overlord/snapstate: implement snapstate.Alias <Critical> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/2423>15:44
mupPR snapd#2461 opened: tests: check if snap-confine --version is unknown <Created by zyga> <https://github.com/snapcore/snapd/pull/2461>15:49
ondraogra_ hi15:51
roadmrjdstrand: hey a question about classic, if you have a sec to help us clarify16:02
mvojdstrand: thanks a bunch16:08
mupPR snapd#2462 opened: cmd/snap-confine: allow content interface mounts <Created by zyga> <https://github.com/snapcore/snapd/pull/2462>16:15
mupPR snapd#2460 closed: tests: remove snap-confine/ubuntu-core-launcher after the tests <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2460>16:30
mupPR snapd#2463 opened: tests: remove ppa:snappy-dev/image again <Created by mvo5> <https://github.com/snapcore/snapd/pull/2463>16:33
mupBug #1649331 opened: Disconnecting ubuntu-app-platform doesn't really work until a reboot <Snappy:New> <https://launchpad.net/bugs/1649331>16:40
niemeyerjdstrand: Hey, can you please have a second look on #2413 when you have a moment?17:09
niemeyerjdstrand: We discussed a few changes which are hopefully fine with you as well17:10
jdstrandniemeyer: yes, plan to do that in a few minutes. discussing the content sharing rw issue with zyga atm17:12
mupPR snapcraft#953 closed: sources: refactor base sources into new package <Created by kyrofa> <Closed by kyrofa> <https://github.com/snapcore/snapcraft/pull/953>17:39
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
mupPR snapcraft#955 opened: sources: convert to package <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/955>17:48
mupPR snapd#2464 opened: cmd/snap: mock terminal.ReadPassword instead of using /dev/ptmx <Created by pete-woods> <https://github.com/snapcore/snapd/pull/2464>17:48
julio__hi there, could anyone tell me what is the easiest way to execute a startup script in Ubuntu Core 16?18:21
kyrofajulio__, package what you want to run as a snap, and you can declare the script in question to be a service which snapd will run18:25
julio__huh, will I be able to set the system time using hwclock?18:27
jdstrandniemeyer, z: fyi, 2413 reviewed18:28
jdstrandtab-complate fail18:28
jdstrandcomplete*18:28
kyrofajulio__, I suspect you can as long as you utilize the time-control interface18:29
julio__kyrofa, thank you.18:30
julio__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:33
jdstrandniemeyer: 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
mupPR snapd#1613: interfaces/builtin: add dbus interface (LP: #1590679) <Created by jdstrand> <https://github.com/snapcore/snapd/pull/1613>18:50
jdstrandniemeyer: I'm going to merge from trunk and then resubmit and see how the tests do18:50
jdstrandniemeyer: is there anything more you need from this?18:51
jdstrandniemeyer: 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)18:51
jdstrandniemeyer: also, there is an open question for you in https://github.com/snapcore/snapd/pull/245019:07
mupPR snapd#2450: interfaces: add network-namespace-control (LP: #1624675) <Created by jdstrand> <https://github.com/snapcore/snapd/pull/2450>19:07
mupPR snapd#2413 closed: interfaces/apparmor: allow access to core snap <Critical> <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2413>19:09
holHi 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
niemeyerjdstrand: Yeah, I'm hoping we can get this in tomorrow20:03
niemeyerjdstrand: No blockers from me.. invited pedronis for a quick look today20:04
kgunnyo, 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:04
holwell, 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
holpassword: ubuntu20:06
jdstrandniemeyer: fantastic!20:06
jdstrandniemeyer: 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 not20:07
davmor2hol: you login with the user key you set up in console-conf on first boot of the device not ubuntu20:08
mupPR snapcraft#956 opened: tests: idempotent store installs <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/956>20:09
niemeyerjdstrand: Sounds good, will try to have a look later today still20:15
jdstrandniemeyer: awesome. if it works better for you tomorrow morning, that's fine with me (I'm here all week)20:16
mupPR snapd#2463 closed: tests: remove ppa:snappy-dev/image again <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2463>20:57
mupBug #1649399 opened: 'daemon: dbus' is incomplete <Snappy:New> <https://launchpad.net/bugs/1649399>20:57
popeyhow does one install core over ubuntu-core?21:35
popeyhttp://paste.ubuntu.com/23620875/21:35
kyrofapopey, blow away snapd :P21:35
popeyhow?21:38
popeyand is that serious, given the smiley?21:38
kyrofapopey, unfortunatey, yes, I'm serious21:38
popeywait, lose every snap I have installed?21:39
popeyalan@gort:~$ snap list | wc -l21:39
popey6421:39
kyrofapopey, that's the only way *I* know of anyway. You can wait for the snapd folks to respond though21:39
popeyok21:39
popey( following your blog post and stuck at the "Also verify that you have the core snap installed, not ubuntu-core:" step21:40
kyrofapopey, indeed, I had to blow everything away to get core21:40
kyrofaniemeyer, is there any way around that?21:41
kyrofaSome nifty way to convince snapd to remove ubuntu-core and install core instead?21:42
niemeyerpopey, kyrofa: Let's please not say that21:44
niemeyerkyrofa: Yes, there is.. we need to develop the migration between one and the other21:45
mupPR snapd#2462 closed: cmd/snap-confine: allow content interface mounts <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2462>21:45
niemeyerkyrofa: 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:45
kyrofaniemeyer, automatic is one thing. Is there no way to do it manually?21:47
niemeyerkyrofa: No.. we need to update ubuntu-core.. that's the proper way to do that sooner rather than later.. hopefully this week21:48
kyrofaAlrighty21:49
mupPR snapd#2458 closed: release: 2.19.1 <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/2458>21:50
mupPR snapd#2461 closed: tests: check if snap-confine --version is unknown <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2461>21:50
niemeyerkyrofa: The update is really not that hard.. the problem is everything else21:51
kyrofaYeah if they were updated in tandem no one would even notice21:52
niemeyerkyrofa: That was the plan.. but reality loves surprises21:53
popeyniemeyer: kyrofa so the short answer is "wait"?21:55
kyrofapopey, for switching from ubuntu-core to core, yeah sounds like it. Core is used on new installs though21:58
popeyok21:58
jdstrandfwiw, 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 reinstalled21:59
jdstrandso, ymmv22:00
kyrofajdstrand, did you have to disable ubuntu-core first?22:00
kyrofajdstrand, popey's paste showed an error when initially installing core22:00
jdstrand"then disabled ubuntu-core"22:01
jdstrandyes22:01
kyrofajdstrand, to clarify: you said you installed core, then disabled ubuntu-core. However, popey's paste indicated that installing core in the first place would fail22:02
jdstrandI was told that wasn't technically supposed to work, but at the time I did, it did22:02
kyrofajdstrand, so did you actually need to do those steps the other way around?22:02
kyrofaAh22:02
jdstrandsnap install core ; snap disable ubuntu-core ; snap remove ubuntu-core22:02
jdstrandthat is what I did ^22:02
kyrofaIndeed, that appears to no longer work22:02
popeyokerror: cannot disable "ubuntu-core": snap "ubuntu-core" cannot be disabled22:03
jdstrandI make no claims that that will dtrt with your interface connections or policy. I suspect it will not22:03
niemeyerpopey: Yes, let's please not recommend anything else.. it'll be unnecessary churn.. we'll fix this soon enough22:03
popeyok22:03
jdstrandwell, there you go. wait :)22:04
cholcombei'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:14
kyrofacholcombe, 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 okay22:16
cholcombekyrofa, Alright is there an interface that allows me to give it access to /etc say?22:16
kyrofacholcombe, I don't believe so. Snaps are supposed to be self-contained. If they have configuration files, they're contained within it somewhere22:17
cholcombethat won't work.  the configuration files i need are generated at runtime by a charm that connects to other services22:18
kyrofacholcombe, can you explain what you're trying to accomplish?22:19
cholcombekyrofa, 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 it22:19
kyrofacholcombe, do you have any control over where the charm places the config?22:20
cholcombeyup22:20
cholcombetotal control22:20
cholcombefrom what i've found i can't actually write into the snap22:21
kyrofacholcombe, indeed, snaps are squashfs images (by definition read-only)22:21
kyrofacholcombe, however, there are some well-defined places they can read/write22:21
cholcombekyrofa, do tell :)22:21
kyrofacholcombe, this might be faster: https://askubuntu.com/questions/762354/where-can-ubuntu-snaps-write-data22:21
cholcombeah there we go.  /var/snap22:22
kyrofacholcombe, note that /var/snap is the root for all snaps. You're looking for /var/snap/<snapname>/current, probably22:23
cholcombekyrofa, yeah22:23
kyrofacholcombe, soon you'll be able to just have the charm configure the snap directly (using `snap set key=value`)22:24
kyrofaAssuming that's something in which you're interested22:24
cholcombekyrofa, that'll be sweet22:24
cholcombeso it'll just the config info from env data?22:24
kyrofacholcombe, no, calling `snap set` would run a hook contained within your snap, which could then act upon those values22:25
cholcombeoh i see. yeah that might be fine also22:25
kyrofacholcombe, like this: https://github.com/snapcore/snapd/wiki/hooks#configure22:25
cholcombekyrofa, yeah i think that would be ok22:25
kyrofacholcombe, anyway, hopefully you have a way forward?22:27
cholcombekyrofa, yeah i think i can work it out from here.  thanks !22:27
kyrofaExcellent, any time :)22:27
mupPR snapcraft#955 closed: sources: convert to package <Created by kyrofa> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/955>22:30
=== JanC_ is now known as JanC
mupPR snapcraft#957 opened: sources: refactor base sources into module <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/957>22:36
cholcombekyrofa, 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 restore22:48
kyrofacholcombe, I'm not sure we have an interface that would cover such a use-case. jdstrand might know more22:49
cholcombekyrofa, so i'll have to stick to dev mode for now then22:49
kyrofacholcombe, indeed. Your snap is not the only one that needs such things-- shells, for example, are limited without that ability as well22:50
cholcombeyeah22:50
jdstrandcholcombe, kyrofa: there is no interface for that. that'll need to use either devmode or classic23:08
cholcombejdstrand, ok i'll stick to devmode for awhile23:10
jdstrandniemeyer: 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 pedronis23:11
mupPR snapd#1613: interfaces/builtin: add dbus interface (LP: #1590679) <Created by jdstrand> <https://github.com/snapcore/snapd/pull/1613>23:11

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