=== chihchun_afk is now known as chihchun
biezpaljdstrand, hey, sorry high latency :)03:49
biezpaljdstrand, again about ubuntu-core-launcher apparmor profile - remounted / to rw, added "/dev/null rw" and everything worked03:51
biezpaljdstrand, how we can do the same without remounting ro volume?03:52
biezpaljdstrand, Isn't a read access to /dev/null a normal behavior for app?03:53
jjohansenbiezpal: PoLP, its not used by many apps04:06
jjohansenif ubuntu-core-launcher is using it then we need to make sure it gets added to the profile so that it is there as part of the ro image04:07
biezpaljjohansen, ok, then how could I run my app?04:09
biezpalwithout changing ubuntu-core-launcher profile04:09
jjohansenI would assume, that there is an abstraction that allows it, if not there should be04:10
jjohansenor you could go the route of additional rules04:10
jjohansenI think that would trigger a rule04:10
jjohanseneg. the permy app has additional read paths set, and additional write paths04:12
jjohansenoh hrmm, just check not additional write, but additional read04:12
jjohansenI'd have to lookup how to specify that in the manifest04:13
biezpalbut the problem is that ubuntu-core-launcher cannot write to /dev/null, even before my app starts04:13
biezpalapparmor="DENIED" operation="file_inherit" profile="/usr/bin/ubuntu-core-launcher" name="/dev/null" pid=17552 comm="ubuntu-core-lau" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=004:13
jjohansenbiezpal: then the ubuntu-core-launcher app is missing a rule it needs, its profile will have to be updated04:14
jjohansenyou can remount and run your app locally but until that change rolls out ...04:15
biezpaljjohansen, I've added /den/null rw to the launcher profile as jdstrand advised and everything became ok04:15
biezpalso, we should wait until next Snappy update?04:16
jjohansenright, it needs to be updated in the base image, other wise other people won't be able to run it without doing the remount, and adding of the permission04:17
biezpaljjohansen, ok, thank you. Waiting for update :)04:17
dholbachgood morning07:11
biezpalgood morning07:16
ogra_off to the dentist ...08:37
Chipacaogra_: you have all the fun09:23
Chipacawhee! in wily rolling we now can do "sudo snappy service xkcd-webserver stop" \o/09:29
Chipacaalso "snappy man|less"09:29
Chipacawhich is only useful if you can read troff09:29
biezpalwow, nice09:34
* ogra_ sees the recent systemd discussion on ubuntu-devel-discuss and wonders if "snappy service" was such a clever idea :P10:01
ogra_(oh, and re ... :))10:01
Chipacawoo, random-versioned sideloaded packages works12:04
Chipacathe tests are all grumpy tho12:04
=== tedg is now known as ted
=== erkules_ is now known as erkules
jdstrandbiezpal: re /dev/null and remounting> for now, you can't do anything else. it is a bug in the launcher. we should get it fixed13:13
Chipacajdstrand: what's the bug?13:15
jdstrandChipaca: lack of /dev/null rw in the profile13:17
jdstrandChipaca: I am preparing an upload for wily as we speak13:18
Chipacaok :)13:18
Chipacajdstrand: i read "bug in the launcher" as something wrong in the c code13:18
jdstrandChipaca: are you guys planning an upload for the launcher for vivid?13:18
jdstrandif not, I'll upload to the ppa too13:18
Chipacajdstrand: i know of no such plans13:18
Chipacajdstrand: which says more about how much attention i'm paying to that kind of plans than of the plans themselves13:19
jdstrandwell, the launcher has been pretty stable for a while. I'll just do the upload :)13:19
Chipacawhich reminds me13:20
Chipacaelopio: with yesterday's image, amd64 and armhf images should now have a network interface on first boot13:21
Chipacalet me confirm that just in case13:21
Chipacayep! just booted kvm, got an iface right away13:24
jdstrandbiezpal: ok, uploaded fix to wily and the image ppa. the fix should be in edge in the next image or two13:34
longsleepChipaca: will the random sideload version stuff available in 15.04 eventually?13:34
beowulfhi, can anyone tell me why the store gives me these errors with a snap that doesn't define any apparmor profiles? http://pastebin.ubuntu.com/12124699/13:39
beowulfit's just a test snap for working in the store, the package.yaml is http://bazaar.launchpad.net/~stephen-stewart/+junk/test-snap/view/head:/meta/package.yaml13:39
jdstrandbeowulf: what version of snappy are you using to create those packages?13:41
jdstrandbeowulf: it seems you are using a very old version...13:42
Chipacalongsleep: sergiusens said yes13:44
Chipacalongsleep: i am not so sure :) but hope so13:44
Chipacaelopio: i'm still getting “adt-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...” from the integration tests13:45
Chipacaelopio: which is a bummer, because i'm pretty sure i'm breaking them with this branch13:45
beowulfjdstrand: oops, yes i am, thanks!13:46
Chipacalongsleep: btw, i & we have been calling it "random version", but that didn't really work, so it's a monotonically increasing version instead13:49
Chipacalongsleep: that if you look really carefully just happens to be the current time in nanoseconds, in base3613:49
Chipacawhich is fairly arbitrary, but (1) is reasonably monotonically increasing for our purpose, and (2) is a one-liner to implement :)13:50
elopioChipaca: checking...14:55
elopioChipaca: it's working for me.15:01
elopioChipaca: can you paste the log somewhere to see the adt messages?15:01
elopioChipaca: All good, what could possibly go wrong15:10
Chipacaelopio: http://pastebin.ubuntu.com/12125512/15:12
elopioChipaca: http://paste.ubuntu.com/12125594/15:20
elopioplars: do you want to jump into a hangout to set up the manifest details?15:22
longsleepChipaca: sounds good and will not give dups when developing15:23
Chipacaelopio: https://code.launchpad.net/~chipaca/snappy/schmideload/+merge/26849815:23
Chipacalongsleep: yep15:23
plarselopio: sure15:27
plarselopio: I'm not sure the manifest bits work right now, ask ev about that15:27
plarselopio: I have no idea how they are used either... but we can talk about a spec15:27
elopioplars: https://plus.google.com/hangouts/_/canonical.com/qa?authuser=015:35
clobranohi all :) is there a way to have a second terminal on snappy (virtual consoles do not seem to work)?15:35
ogra_well, whatever the systemd way of enabling more is ...15:36
ogra_sudo systemctl enable getty@tty2.service15:37
ogra_sudo systemctl start getty@tty2.service15:37
ogra_that seems to work15:37
elopioChipaca: All good, what could possibly go wrong16:01
elopiothat was running with the snappy binary from your branch, faking the updates and rollbacks.16:02
elopiodo you want me to run something else, like real updates from a specific image #?16:02
elopioChipaca: ah, I think your branch only modifies the sideloaded snaps. We don't have integration tests for that, so of course they all pass.16:07
Chipacaelopio: \o/16:08
elopioI'm not sure how to test sideloads. We would have to receive arguments with the snaps that you want to install, and write tests for those snaps, that maybe will install from the store only if they are not already installed.16:08
elopioI'll add a card to trello.16:09
elopioChipaca: https://trello.com/c/02SDJD9x/198-tests-for-sideloaded-snaps in case you want to add requirements.16:10
=== chihchun_afk is now known as chihchun
Chipacaelopio: 198 tests for sideloaded snaps is probably a bit much :)16:49
elopioChipaca: that's what you say now, but let's talk again when the missing test #199 breaks a stable release.16:51
Chipacaelopio: dealopio16:51
elopioplars: I triggered a test.17:17
plarselopio: yeah, I just heard the relays firing :)17:18
elopioplars: that's fast :D17:18
plarselopio: right, at this point it's just booting back to a stable image it can flash the sd card from17:18
plarselopio: so it'll be booting the emmc right now, creating/flashing your image will take a bit longer obviously17:19
plarselopio: sounds like it just booted the test image17:28
=== blr_ is now known as blr

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