/srv/irclogs.ubuntu.com/2016/03/14/#snappy.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
netphreakHi, guys!06:33
netphreakAre os updates to Ubuntu snappy automatically installed/pushed, or does it require some manual process?06:38
=== Saviq_ is now known as Saviq
=== Michaela is now known as Ciblia
dholbachgood morning07:33
didrocksgood morning dholbach!07:35
dholbachsalut didrocks07:35
netphreakAre os updates to Ubuntu snappy automatically installed/pushed, or does it require some manual process?08:14
didrocksnetphreak: they are automatically pushed, it will tell you and you will just need to reboot for some snaps to activate the new versions08:38
zyga-phonegood morning08:50
netphreakok.. If Ubuntu snappy is running on some IOT device. How do one manage a reboot?09:14
=== shuduo is now known as shuduo-afk
=== pedronis` is now known as pedronis
=== essembe is now known as sbeattie
=== chihchun is now known as chihchun_afk
=== kyrofa_ is now known as kyrofa
kyrofaGood morning12:13
kyrofaDaylight savings should die12:22
ogra_kyrofa, it wouldnt be that bad if it'd actually bring in interest ;)12:31
kyrofaogra_, yeah that would improve things12:32
kyrofaogra_, any idea why I can't use screen within the classic dimension? I figure maybe a mount is missing12:49
ogra_hmm, i never tried ...12:49
ogra_(and working mostly on the dragonboard these days i dont have a working classic dimension)12:50
kyrofaAh, right12:50
ogra_i'd blame lxc/lxd though12:50
kyrofaogra_, yeah I a12:51
kyrofam12:51
ogra_ppisati, hmm, i have a hard time inplementing dragonboard kernel tarball/snap creation in livecd-rootfs due to a missing linux meta package for it13:19
ogra_do you think we could have one ?13:19
ppisatiogra_: we are discussing right now which 4.4 kernel to push to the archive for the db410c13:20
ogra_(something like: "apt-get install linux-image-*-generic-dragon410c" installs all existing packages by that name for example, so i end up with three of them)13:20
ppisatiogra_: you'll probably get that one13:20
ogra_ppisati, we also need the firmware in the archive (restricted i guess)13:21
ogra_(or in linux-firmware even ... if thats possible(13:22
didrockshey kyrofa, how are you?13:46
kyrofadidrocks, excellent! And yourself?13:46
=== chihchun_afk is now known as chihchun
didrockskyrofa: I'm good, escaping meetings for a while, but blocked on some snapcraft thingy :p13:46
kyrofadidrocks, let me help13:46
didrockskyrofa: do you have a minute for some very quick HO? I'm unsure if I'm doing it wrong or not13:47
kyrofaSure!13:47
netphreakWhen os updates for Ubuntu snappy are pushed, do they require a reboot of the device?13:48
ogra_netphreak, yes, but as long as you go with the defaults the system will care for that on its own13:55
ogra_mvo_, hmmm ... seeding grub on arm64 ?13:58
netphreakok..13:59
=== chihchun is now known as chihchun_afk
netphreakGood to know i don't have to deal with that in a IOT device13:59
ogra_netphreak, well, you have to deal with the fact that it can do unexpected reboots though14:00
netphreakThis part has been taken care of ;)14:01
netphreakIs there an eta on the Ubuntu Snappy version for Raspberry Pi 3?14:01
ogra_not yet, no ... thats a) something i do in my spare time ... and b) depends on the status of u-boot for the board14:02
ogra_not sure where b stands currently, it wasnt ready last week14:02
mvo_ogra_: sure, ricmm asked for that, grub-efi-arm6414:05
ogra_bah, waste of space14:06
netphreakhmm.. looking at github for u-boot for rpi3 - looks like there was a commit for rpi3 compatibility..14:09
netphreakhttps://github.com/zeldin/u-boot-rpi3/commits/master14:09
ogra_i know that swarren did start work on it last week14:09
ogra_but it wasnt complete back then14:09
ogra_https://github.com/swarren/u-boot/tree/rpi_dev14:10
zyga-phonehey ogra_ :)14:10
ogra_still marked WIP14:10
ogra_note that for 64bit mopde there are a bunch of kernel patches missing ... and i think the binary blob bootloader also needs to support it14:11
ogra_hey zyga-phone14:11
netphreakOk.. thx for status :)14:18
zyga-phonejdstrand: https://github.com/ubuntu-core/snappy/pull/65814:38
zyga-phonejdstrand: this is going to ensure that configuration files for {apparmor,seccomp,...} are exectly what we want14:38
jdstrandcool :)14:38
jdstrandzyga-phone: and hi :)14:38
zyga-phonehey, good morning :)14:39
dholbachdidrocks, shall we get together tomorrow some time to look at the survey results together?14:51
=== chihchun_afk is now known as chihchun
ogra_mvo_, so with your seeding of grub, what will happen with the always failing grub snappy service on arm64 ?15:04
ogra_(i dotn want to end up in a grub shell after reboot ... is that safe ?)15:04
mvo_ogra_: what grub service is failing? the migrate-grub one?15:08
ogra_yeah15:08
mvo_ogra_: we never call grub-install, so it should be ok15:08
mvo_ogra_: migrate-grub is also no more in the current snappy15:08
ogra_i just want to be sure it doesnt overwrite anything on the uboot side15:08
zyga-phonejdstrand: one request this week, we'd like to have a working developer mode and, before any launcher changes happenm the easiest path to getting that done is to write permissisve seccomp profile and complaining apparmor profile; do you think you could share a "permissive" seccopm profile with me (I suspect it would just contain all the syscalls but I'd rather have expects write that)15:09
ogra_beuno, soo ... ho0w do we get my cdimage snaps into the store automatically ? it would really be good if they could go in without human action15:10
ogra_could we pull them somehow from the store side ?15:11
didrocksdholbach: sure! whenever time is best for you as long as it's not lunch time15:12
beunoogra_, the store won't pull stuff in, but there are APIs for a script running $wherever to do that15:12
ogra_beuno, hmm15:12
ogra_under what credentials would that run then ?15:13
dholbachdidrocks, cool15:13
ogra_it needs to use the canonical account15:13
beunoogra_, right, you'd generate a token specifically use for that script15:13
beunosoon to be replaced with macaroons15:13
ogra_is there a doc about that API ?15:14
beunoogra_, I think you can just use snapcraft nowadays instead of learning about the API15:17
ogra_beuno, i have a bunch of binary snaps and will have to write a script in my home on the cdimage server (which doesnt have snapcraft instaklled, it is 12.04 iirc)15:18
ogra_so i doubt i can use snapcraft here15:18
kyrofaogra_, yeah, store uploading requires debs in xenial only15:19
ogra_kyrofa, debs ?15:20
kyrofaogra_, I mean snapcraft dependencies in the archives that are only in xenial15:20
ogra_yeah15:20
kyrofaogra_, you might be able to get away with running snapcraft 1.x on 12.04, but not 215:20
ogra_and i cant use a chroot or some such (no root access on that machine)15:20
kyrofaAh, right15:21
beunoogra_, lp:click-toolbelt is a self-contained ish script15:21
beunothat describes the APIs as well15:21
ogra_beuno, can i use it right away with snaps ?15:23
ogra_(looks easy)15:23
ogra_(judging by the README :) )15:23
beunoogra_, yes15:25
ogra_yay15:25
ogra_i'll play with it, thanks a lot !"15:25
beunoogra_, np, pindonga is a good source of help in that area15:26
ogra_ok, i'll bug him if i hit roadblocks15:26
pindongaogra_, fwiw snapcraft has support for uploading snaps as well15:27
ogra_pindonga, not on a 12.04 machine :)15:27
pindongathat is true15:27
* ogra_ needs to auto-upload the snaps from http://cdimage.ubuntu.com/ubuntu-core/daily-preinstalled/current/15:27
ogra_(and the macghine is 12.04 based without root access)15:28
ogra_the toolbelt looks promising though15:28
ogra_but since everyone mentions it ... does snapcraft have upload support for already existing snaps ?15:29
jdstrandzyga-phone: just have @unrestricted in the seccomp profile15:29
ogra_i.e. ones that arent built using snapcraft ?15:29
zyga-phoneoh?15:29
pindongaogra_, I think so, you just point it to the file15:29
ogra_cool15:29
pindongaeg, snapcraft upload /path/to/nsp15:29
zyga-phonejust []byte(`@unrestricted`) ?15:29
zyga-phonejdstrand: ^^15:30
jdstrandzyga-phone: you might want a trailing newline15:30
zyga-phoneok15:30
zyga-phoneThanks, that's easy to do15:30
zyga-phonelooks like developer mode is not going to be hard to create15:30
didrockskyrofa: bug #1557018 FYI15:32
ubottubug 1557018 in Snapcraft "Access from the build system to $SNAPCRAFT_STAGE directory when after: keyworld is used in parts" [Undecided,New] https://launchpad.net/bugs/155701815:32
kyrofadidrocks, thank you!15:32
didrockszyga-phone: FYI, I changed xkcd-webserver to be compatible (see https://github.com/ubuntu-core/snappy/pull/653)16:28
* zyga-phone looks16:28
zyga-phonedidrocks: thanks, I re-started integration tests16:28
didrockszyga-phone: hum, it's pulling it from the store16:28
didrocksI didn't upload it yet16:28
zyga-phonedidrocks: ah, then you'd better push it there :)16:28
zyga-phoneand restart tests again (just say "retest this please" in the comment)16:29
didrockszyga-phone: oh, great that we have this trigger and do it myself16:29
didrockszyga-phone: I need to have the canonical account access then, asking mvo, he was supposed to give it to me :)16:29
zyga-phoneack16:30
=== tyhicks` is now known as tyhicks
attenteChipaca, stevebiscuit: hi, is there an api for asking snapd to authenticate?16:42
Chipacaattente: not yet16:42
Chipacaattente: why?16:43
Chipacaattente: `snappy login` authenticates the whole system16:43
Chipacaattente: after which requests to the store from snapd will use those creds16:43
Chipacaattente: is that enough for your current needs?16:43
attenteChipaca: for gnome-software to authenticate without using the CLI16:43
Chipacaattente: there will be one shortly, when we implement macaroon support probably16:45
attenteChipaca: ok, thanks16:45
seb128Chipaca, that's going to be before xenial right? ;-)16:46
stevebiscuit:D16:47
Chipacaseb128: I have made no promises, I'm not about to make any now16:51
seb128Chipaca, k, thanks16:53
Chipacaseb128: macaroon support should be ready server side this week, after which we'll be doing the client side work as soon as we can16:53
seb128Chipaca, good to know, we just need to figure out what we do client side for xenial if that's not ready before release16:54
didrockszyga-phone: when you got a second: https://github.com/ubuntu-core/snappy-testdata/pull/6 :)17:17
zyga-phoneSure17:17
didrocksthx!17:17
didrocksthanks zyga-phone :)17:18
zyga-phonemy pleasure :)17:19
jdstrandoh, meh, the description was legitimate. description shouldn't be down in the apps section17:37
* jdstrand makes error more clear17:37
jdstrandkyrofa: hey, can you explain how icons are supposed to work these days? my understanding is the in snapcraft.yaml you specify the icon and it is copied to meta/icon.png and meta/snap.yaml has no reference to it18:17
jdstrandkyrofa: is that accurate? how does meta/gui/icon.png fit into this?18:18
ogra_i thought it lives in a subdir now18:18
ogra_next to the .desktop file18:18
jdstrandor is that wrong...18:18
ogra_(yeah, meta/gui/ )18:18
ssweenyis there something special needed to expose a service from a snap over dbus? I have what I *think* is an unconfined snap running but I get an error when starting the service18:18
kyrofajdstrand, yeah your understanding fits with mine18:18
kyrofajdstrand, the meta/gui/icon discussion is new to me18:19
jdstrandok18:19
jdstrandit looks like trunk has meta/gui/icon.png18:19
kyrofajdstrand, are we talking .desktop files and whatnot?18:19
jdstranddesktop files is for another time. just wondering about the icon for the moment18:20
jdstrandssweeny: is this on 15.04 or 16.04?18:20
ssweenyjdstrand, 16.0418:20
ssweenyjdstrand, the error is Problem executing the daemon: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.44" is not allowed to own the service "core.trust.dbus.Agent.UbuntuLocationService" due to security policies in the configuration file18:20
kyrofajdstrand, ah. Yeah sorry, I wasn't involved with that18:20
jdstrandssweeny: yes, the dbus bus policy is not set18:20
ssweenyjdstrand, ok, how does one set that? :)18:21
=== joc_ is now known as joc|away
jdstrandssweeny: atm, you can't. once zyga's stuff lanks, you'll be able to use interfaces18:22
ssweenyaha18:22
jdstrandssweeny: you used to be able to do a little with type: framework and bus-name (eg, like on 15.04), but frameworks don't work on 16.04 and are going away in favor of interfaces18:23
ssweenyjdstrand, any ETA on that? Or a branch I can follow?18:23
ssweenyjdstrand, yeah all I could find documentation-wise was the old framework stuff18:23
jdstrandI'm going to defer to zyga-phone on that. I know he wants to lands parts of the interfaces very soon. the dbus stuff we are probably going to need to work through a bit18:23
ssweenyjdstrand, ok, fair enough18:24
ssweenyjdstrand, thanks for the explanation18:24
zyga-phonedbus should "just work" assuming we have an interfaces that uses dbus for some configuration18:24
zyga-phonewe don't have any yet18:24
zyga-phone(I'm being optimistic but it seesm simple)18:24
ssweenyzyga-phone, ok, so I'm blocked on this issue. Do you have any timeframe for something I could play with?18:25
jdstrandI have some conerns that we will define only a few dbus interfaces for people to use but the world will want 100s or more18:26
jdstrandbut I guess we'll see how that shakes out18:26
zyga-phoneday-few-days18:26
ssweenyzyga-phone, ok I can work with that, thanks18:27
zyga-phonefor the moment we can start to look at a specific interface18:27
zyga-phonee.g. the one that will unblock you18:27
zyga-phoneI'd encourage you to look at that earlier, to define what you need to interact with and how18:27
zyga-phoneotherwise you can spend most of the time designing that part alone18:27
ssweenyzyga-phone, sure18:29
attentehi, is there a way for me to run snapd on my desktop? i keep getting a "error: daemon does not handle 0 listeners right now, just one"19:15

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