/srv/irclogs.ubuntu.com/2015/11/23/#snappy.txt

General-Beckhi2all! How to me to create the folder in a HOME directory of application before its start in start.sh? if i use mkdir -p $HOME/folder i see in log ubuntu-core-launcher mkdir: cannot create directory ‘/folder’: Read-only file system01:12
=== chihchun_afk is now known as chihchun
dholbachgood morning07:29
fgimenezgood morning08:06
=== davmor2_ is now known as davmor2
=== beowulf is now known as Guest82904
JamesTaitGood morning all; happy Monday, and happy Fibonacci Day! 😃10:17
=== vrruiz_ is now known as rvr
Chipacalongsleep: moin! did you ever file a bug about wait4network not coming after firstboot?10:56
Chipacaor was it frameworks.target not coming after firstboot10:56
Chipacai can't find it, so i'm going to assume you didn't10:57
=== chihchun is now known as chihchun_afk
kyrofaGood morning13:00
kyrofasergiusens, I'm getting a plainbox crash in snapcraft... not super familiar with it13:36
kyrofasergiusens, http://pastebin.ubuntu.com/13476687/ any ideas?13:38
sergiusenskyrofa, are you on xenial? if not, add the ppa from the docs14:03
kyrofasergiusens, the docs say only if 15.04 or previous. I'm on wily-- should the docs say 15.10 or previous?14:11
sergiusenszyga, ^14:11
sergiusenskyrofa, paste me the plainbox error just in case14:11
* zyga looks14:11
kyrofasergiusens, http://pastebin.ubuntu.com/13476687/14:11
sergiusenskyrofa, are you adding stuff, but the traceback, the name of the test is the problem?14:12
zygakyrofa: odd, can you tell me if that's vanilla or did you change anything to trigger that?14:12
longsleepChipaca: hey i am playing around with your http.chipaca snap and wanted to try snapd with it - though i get a audid DENIED on /run/snapd.socket - any ideas?14:13
zygakyrofa: and if you did, can you run ./manage.py validate please14:13
kyrofazyga, just cloned snapcraft, installed deps in debian/control + plainbox, and ran tests14:13
zygakyrofa: hmmm14:13
zygakyrofa: thanks, please file a bug on plainbox and attach this backtrace14:13
zygakyrofa: I'll see if I can replicate that14:13
kyrofazyga, sure!14:13
zygakyrofa: it looks really weird on first look14:14
Chipacalongsleep: the socket is 0600 so you need sudo for any op for now14:15
longsleepChipaca: i am running as root14:15
Chipacalongsleep: also it'll only work on rolling without more fiddling14:15
longsleepChipaca: ah14:15
Chipacaas 15.04 still uses @snapd, not /run/snapd.socket14:15
longsleepChipaca: Ah so i would need to change the aa profile to get it running?14:15
longsleep addr="@snapd" i see in that14:16
zygakyrofa: please ping me with the URL or assign the bug to me (zyga)14:16
Chipacalongsleep: the .socket file (you can copy it to /etc/systemd/system and edit it there)14:16
Chipacalongsleep: and even then you probably need to change something in apparmor14:16
longsleepChipaca: ok :) - so the snapd profile is essentially broken on 15.04 then?14:16
kyrofazyga, will do. I'm gonna toast my lxc and try clean one last time, then I'll log it14:16
Chipacalongsleep: yeah :-( /usr/share/apparmor/easyprof/policygroups/ubuntu-core/15.04/snapd is still @snapd14:17
Chipacahmmm14:17
zygakyrofa: thanks14:17
Chipacalongsleep: what happens if you edit "do" to use \0snapd?14:17
longsleepChipaca: let me check14:18
longsleepChipaca: ConnectionRefusedError(111, 'Connection refused')14:19
Chipacasigh14:20
Chipacalongsleep: i'll play with it in 15.04 and see how i can make it work14:20
Chipacalongsleep: you're not the first person to ask me this :)14:20
Chipacai think olli was always wanting this14:20
Chipacabut, priorities14:20
Chipaca(it might'v been asac wanting http.chipaca on 15.04)14:21
longsleepChipaca: cool - i am not so much about the http snap, i rather want to play with snapd to check if i should go through it or rather import snappy directly to read and sed configuration14:21
Chipacalongsleep: ah! that's an easy one to do14:22
Chipacalongsleep: sudo /lib/systemd/systemd-activate -l 8080 /usr/bin/snapd14:22
longsleepChipaca: ah ok14:22
Chipacalongsleep: tadaa, snappy rest daemon on 808014:22
Chipacalongsleep: *unauthenticated*14:22
longsleepawesome - thanks!14:22
Chipaca(you just gave root to the network)14:22
longsleepsure14:23
=== barry` is now known as barry_
longsleepfie with me :D14:23
longsleepfine14:23
Chipacabut, for testing, in a vpn or whatever, you're fine :)14:23
=== barry_ is now known as barry
kyrofazyga, yeah still hitting this. You want the bug filed against plainbox even though this is in snapcraft?14:41
zygakyrofa: yes14:41
zygakyrofa: please14:41
zygakyrofa: I'll re-assign if needed14:41
kyrofaDoing now14:41
zygathank you14:42
longsleepChipaca: regarding snapd, i am retrieving ubuntu-core.ubuntu.config with GET and trying to PUT this back, is that supposed to work?15:02
longsleepChipaca: i just get line 1: cannot unmarshal !!str `modprob...` into coreconfig.configYaml15:02
kyrofazyga, https://bugs.launchpad.net/plainbox/+bug/151900815:04
ubottuLaunchpad bug 1519008 in PlainBox (Toolkit) "Plainbox crash: AttributeError: 'NoneType' object has no attribute 'replace'" [Undecided,New]15:04
zygakyrofa: thank you, I just prepared a xenial environment to run some tests15:05
* zyga hopes to get up to speed with go so that he can still maintain useful add-ons to plainbox and checkbox15:06
zygakyrofa: wait, wily or xenial?15:09
kyrofazyga, wily (the docs led me to believe wily was okay-- should this be xenial instead?)15:10
kyrofazyga, I can re-test in xenial15:10
zygakyrofa: no, that's okay, I misundertood you earlier15:10
zygakyrofa: wily is fine15:10
longsleepChipaca: ok got it, yaml format issue. Another question though, probably general to snappy config, how do i delete nodes from the yaml when they there added before?15:19
longsleepChipaca: fyi, when using the updated content for /usr/share/apparmor/easyprof/policygroups/ubuntu-core/15.04/snapd from xenial/ubuntu-core-security-apparmor http.chipaca works just fine on 15.04/stable15:48
longsleepChipaca: i think i patch the profile in our rootfs and go forward with connecting to snapd via /run/snapd.socket15:49
longsleepChipaca: is anyone actually using the abstract snapd socket? If not i suggest the next rootfs for 15.04 should have a fix for the snapd socket policygroup15:50
elopiofgimenez: ah, another thing I tried last week was to attach the failure reason into the subunit file. But I found that requires a change in gocheck.16:13
elopioyou know, to avoid that StringException that is shown on jenkins.16:13
fgimenezelopio, it would be very helpful16:13
elopioI think that will be one of the priorities for the following weeks, show nice errors.16:13
fgimenezelopio, yes, once the pull requester has access to the results having the failure reason right there would be much better16:15
elopionessita: Chipaca: mvo: now I'm getting 401. This one is new.16:17
elopiohello-world failed to install: received an unexpected http response code (401) when trying to download https://public.apps.ubuntu.com/anon/download/canonical/hello-world.canonical/hello-world.canonical_1.16:17
elopio0.18_all.snap16:17
elopioHas happened like 2 times out of 4 today.16:17
nessitaelopio, myapps is failing atm, we're working on that16:18
nessitaelopio, you shouldn't get a 401 but some 500, you sure is a 401?16:18
Chipacalongsleep: no, nothing is using the abstract socket. Need to check with jdstrand_ but I suspect we can bump the policies in the next 15.04 (if there is a next 15.04)16:18
elopionessita: yup, 401.16:19
elopioHere's another:16:19
nessitaelopio, what API call is returning 401?16:19
elopiohello-dbus-fwk failed to install: received an unexpected http response code (401) when trying to download https://public.apps.ubuntu.com/anon/download/canonical/hello-dbus-fwk.canonical/hello-dbus-fwk.can16:20
elopioonical_1.0.2_multi.snap16:20
elopiothe code says: // try anonymous download first and fallback to authenticated16:23
elopioso maybe it gets a 500 on the anonymous downlaod, and then a 401 on the authenticated.16:23
elopioit's a GET on that URL of the snap.16:24
elopionop, that's not what it's doing.16:29
mvojdstrand_: if I could get approval for "ubuntu-classic.mvo" that would be neat. its a first iteration of the ubuntu-classic mode for snappy16:32
noise][nessita: elopio: i had a brief spat of 401s from downloads from public.apps.u.c. as well16:50
noise][but resolved itself16:50
nessitanoise][, we have fixed the store16:51
nessitaI wonder why a 500 from the store would be a 401 in updown16:52
nessitaI should check the code16:52
noise][not sure, let me know if you need timestamps of my 401s16:52
sergiusenselopio, shall we wait for your PR to release a new snapcraft?16:55
sergiusensif not, then a sort of final test run would be good today16:55
elopiosergiusens: no. There are no regressions. I can do exploratory today and you can release unless I find something big.16:56
elopiosergiusens: do you have a nice list for this milestone?16:56
sergiusenselopio, sounds good16:56
sergiusenselopio, https://launchpad.net/snapcraft/+milestone/0.516:58
sergiusenssame old place :-)16:58
elopiothanks.16:58
=== pixel is now known as pixel_
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
tsimonq2hmm, how would I go about contributing to Snappy?18:38
tsimonq2I am just not finding that clear of information on this19:08
tsimonq2just how to install Snappy and use it19:08
pixel_tsimonq2, https://developer.ubuntu.com/en/snappy/start/ ?19:14
pixel_tsimonq2, https://github.com/ubuntu-core19:15
tsimonq2pixel_: that is just getting started and developer/usage tips, no?19:15
pixel_tsimonq2, yes how to install and use snappy19:17
tsimonq2pixel_: but what about actually *contributing*?19:18
pixel_tsimonq2, https://launchpad.net/snappy (lp) https://github.com/ubuntu-core (github) mailing lists https://lists.ubuntu.com/archives/snappy-app-devel/ + https://lists.ubuntu.com/archives/snappy-devel/19:20

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