/srv/irclogs.ubuntu.com/2014/04/07/#ubuntu-touch.txt

=== chriadam|away is now known as chriadam
=== nhaines_ is now known as nhaines
anonynimitycould someone tell me why in the first step of the porting process several necessary packages are removed from 12.04LTS x64?02:05
Neverevermindhiho02:19
Neverevermindquestion02:20
anonynimitywhat's your question?02:21
Neverevermindwhich smartphone should i buy to play with .......to get unbuntu on it ..... cause i want one ..... and i ruled me not to  buy one until a independent os run on one02:24
anonynimityI don't know. I'm working on a port for the SGSIII (pain in my ass)02:25
nhainesNeverevermind: the best thing to do (unless you're a developer) is to order one from ubuntu.com later this year.02:27
Neverevermindit only has to be able to make and receive calls and wlan02:28
Neverevermindyeah i read sthn about that02:28
anonynimitynhaines... could I get your help with this bro?02:28
nhainesanonynimity: I do a tiny bit of SDK advocacy but I don't know anything about the system level stuff, unfortunately.  :(02:29
nhainesI know the ubuntu-phone mailing list has some updated porting instructions.02:29
anonynimityduring compilation it gave me some errors most of which i was able to figure out except for com.android.nfc_extras.xml is required by .....02:29
anonynimityand I found the .xml file, but the jar file was missing in the "firmware" folder... which I had downloaded, and set in the firmware folder... but it wouldn't take it...02:30
anonynimity:/02:30
anonynimityright now I'm following this guide: https://wiki.ubuntu.com/Touch/AndroidDevel then will go back to the porting guide tomorrow.02:31
=== chihchun is now known as chihchun_afk
anonynimityusing the aosp and phablet mirrors. I'm determined to get the networking working, as well as the gsm, audio, camera, etc...02:34
Neverevermind@nhaines,anony ;-) no im not a developer but i like it to play with this things/progs/osses since i got my first own pc when i was a kid .... so my question is (exept buying an unbuntu - phone which i would and will do if it will/would come out;-) : ..... which smartphone with ubuntu f. ph. can make and receive calls/sms (hdy-speaker) and manage wlan with the rest i can play ;-)02:42
anonynimitycheck ubuntu.com/phone?02:50
anonynimityor ubuntu.com/touch02:50
=== chihchun_afk is now known as chihchun
alfonsojonHi.03:23
alfonsojonCyanogenmod just committed a "quickboot" feature, which essentially hibernates the phone when shutting down instead of doing a complete shutdown.03:23
alfonsojonWould it be possible that Ubuntu Touch would include some similar functionality?03:23
lotuspsychjecan someone confirm this tutorial is good to go, to install ubuntu touch on nexus7: http://itsfoss.com/install-ubuntu-touch-nexus-7-2013/04:08
=== fginther` is now known as fginther
dholbachgood morning07:20
AskUbuntumake bootable usb stick for ubuntu touch | http://askubuntu.com/q/44437608:11
=== chriadam is now known as chriadam|away
JamesTaitGood morning all; happy Monday, and happy No Housework Day! :-D08:47
ogra_Saviq, so i was doing bootcharts over the weekend, and was wondering if it would be possible that unity8 re-orders its own start phase a bit ... if you look at http://people.canonical.com/~ogra/touch-bootcharts/ubuntu-phablet-trusty-279.png and scroll down to where the indicators start,09:23
ogra_you see that it takes 8 seconds of the boot until the panel service gives them the upstart event to start ... that really holds up the boot process, would it be possible to start it earlier ?09:24
ogra_(if i put the event into a post-start script in unity8's upstart job they start about 3 seconds after unity and i dont see any ill effects, so i assume it could be emitted earlier)09:25
cwaynelool, ping re: ubuntu-touch-customization-hooks09:28
Saviqogra_, yeah, it could be emitted earlier indeed, right now it's the indicators QML plugin that kicks those, but that won't happen until late in unity8 startup09:32
ogra_it would be really helpful in speeding up the boot if we could start it earlier ...09:32
ogra_(and if indicator-messages could finally be ported to upstart startup ... )09:33
Saviqogra_, I'll have a chat with dednick on what'd be required there (i.e. would we need to parse things or something), but ultimately maybe we just need to emit a custom signal (indicators-ui-starting) in unity8 post-start that the indicator jobs would start on?09:36
ogra_Saviq, right, thats what i'm doing here for the above test ... i just added an initctl emit for the event the indicators listen for to post-start script ... but i was execting that unity8 actually needs to have the service ready so that seemed suboptimal09:38
ogra_*expecting09:38
Saviqogra_, nope, they can be started early09:39
ogra_cool09:39
Saviqogra_, so just MP a new event from unity8 pre-start, even09:40
ogra_that and fixing the messaging indicator might bring us towards a 25sec boot :)09:40
ogra_will do09:40
sil2100dbarth: hello!09:40
sil2100dbarth: are you around?09:40
Saviqogra_, huh, apparently there's actually a custom event already09:40
ogra_Saviq, right09:41
ogra_and unity seems to emit it from its code too ... just a little late09:41
dbarthsil2100: yes09:41
dbarthwhatś up?09:42
sil2100dbarth: ah, just PMed you ;)09:42
Saviqogra_, indicator-services-start and indicator-services-end09:43
ogra_Saviq, right09:43
Saviqogra_, we should probably yank most of that code out of unity8, too http://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/plugins/Unity/Indicators/indicatorsmanager.cpp#L22009:44
ogra_Saviq, yeah09:46
Saviqogra_, think you could do that as part of the same MP?09:47
ogra_the whole "IndicatorsManager::setLoaded" function ?09:48
ogra_or the whole file ?09:49
* ogra_ has not much clue about that code 09:49
=== zequence_ is now known as zequence
=== cjwatson_ is now known as cjwatson
sil2100oSoMoN: hi!10:05
oSoMoNsil2100, hey10:05
sil2100oSoMoN: silo for your webbrowser landing assigned o/10:05
oSoMoNsil2100, awesome, thanks!10:05
davmor2Morning all10:15
axoinregarding the converged desktop experience: is there any way to install plain ubuntu and then add ubuntu-touch related packages afterwards? Any other hints to bring ubuntu-touch to x86 (http://askubuntu.com/questions/444376/make-bootable-usb-stick-for-ubuntu-touch ? ) Thanks!10:41
=== MacSlow is now known as MacSlow|lunch
asacsergiusens: hello11:27
asacsergiusens: do you know the status of python3 in AP?11:27
asacsergiusens: didrocks believed it landed but was disabled11:27
asacbut i had to fix a python3 issue ... so seems it got enabled?11:27
asacis that through phablet-test-run?11:27
sergiusensasac: yes; it's through phablet-test-run; it pics it depending on the packaging11:28
sergiusensthe clicks need to change for py311:28
* sergiusens will brb11:28
asacsergiusens: so i see it tries to be smart, falling back to py2?11:29
asacif imports blow up11:29
asaci think we should somehow figure how to keep those highlighted that are still py211:29
ttekehello11:29
popeysergiusens: can you please look at https://code.launchpad.net/~dpm/ubuntu-filemanager-app/include-plugin/+merge/213368 - dpm has a q for you..11:30
janimoogra_, is lxc-console or similar available to run inside the android container?11:31
ttekeI have a nexus 4 and when I try to flash it with ubuntu-device-flash --channel=stable --bootstrap I get error autodeploy.zip not found error in cwm recovery11:32
ogra_janimo, sur11:32
ogra_e11:32
ogra_lxc-console -nandroid -t011:32
ogra_needs an explicit "enter" once you are in the console11:33
janimoogra_, ah, the explicit enter tripped me up, thanks :)11:33
ogra_yeah, i think lxc-console should just send a newline here11:33
ogra_but didnt strike me as important enough to file a bug for it yet :)11:34
janimoWell I have been trying this feature for a while, and typing ctrl-a and other combinations it prints as a greeting11:34
ogra_yeah11:34
janimoso maybe just saying 'press return' is good enough without actually sending it11:34
janimoogra_, actually no, the -t0 matters too11:34
janimoby default tt1 does not work11:35
ogra_yup11:35
janimoso the default setting for lxc=cosnole is not optimal I'd say11:35
ogra_well, for our container11:35
janimoyes11:35
ogra_open a bug and discuss it with stgraber :)11:35
janimoogra_, against the lxc package11:36
janimo?11:36
ogra_dunno, i think so11:36
ogra_dpkg -S $(which lxc-console)11:36
ogra_:)11:36
janimoogra_, sure I just wsnt' sure whether there's some lxc-touch-android package ship[ping config options for lxc :)11:37
sil2100bfiller: hi!11:37
sil2100bfiller: are you already around?11:37
ogra_janimo, nope, there isnt11:37
janimoI think changing the default is not a good idea if it affects all other lxc uses11:37
AskUbuntuPublish a QML/C++ application as a click package | http://askubuntu.com/q/44444611:37
janimoogra_, filed https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/130375611:39
ubot5Ubuntu bug 1303756 in lxc (Ubuntu) "make lxc-console work non-confusingly by default on touch images" [Undecided,New]11:39
ogra_confirmed11:40
janimoogra_, thanks11:40
=== FuLgOrE is now known as Georg
cwayne_mardy, https://code.launchpad.net/~mardy/ubuntu-system-settings-online-accounts/app-access2/+merge/211711 doesn't have the account-plugin click hooks -- is that expected?11:46
mardycwayne_: uh... let me double check, looks like a directory is missing from that branch...11:53
mardycwayne_: I can blame the CI train, anyway :-)11:54
cwayne_mardy, :) i blame the CI train for everything, it's awesome11:55
mardycwayne_: ah, lol, the click-hooks dir is already in trunk12:02
cwayne_yeah, the dir is, but the hooks themselves are missing right?12:03
mardycwayne_: the files are there, but the directory is not listed in the qmake file, so they won't be installed12:03
cwayne_ah12:04
mardycwayne_: the story was that CI merged this branch, then reverted it (but apparently not completely)12:04
mardycwayne_: and this app-access2 branch is the second attempt12:04
cwayne_ah, right12:05
dbarthogra_. popey: about https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/130367612:12
ubot5Ubuntu bug 1303676 in webbrowser-app (Ubuntu) "[webapp-container] when using multiple webapps they crash randomly, if there is only one app remaining, this one starts being replaced when new ones start" [Critical,Confirmed]12:12
dbarthi can reproduce, and suspect this could be the app lifecycle stopping instances because of memory pressure12:13
dbarththre is an open bug to handle memory pressure callbacks, which the container does not handle yet12:13
ogra_dbarth, well, it should only SIGSTOP them, not kill12:13
sergiusensasac: what's the problem, that change landed 2~ weeks ago?12:13
dbarthogra_: unless the signal is not handled, and so the app stops, right?12:14
ogra_dbarth, to me it looks more like the apps all end up under the same appid or some such12:14
ogra_oh, indeed the app needs to know to stop on SIGSTOP and to start again on SIGCONT12:14
asacsergiusens: the problem was that everyone believed that autopilot didnt swithc to python3 yet12:14
asacthey thought it was landed disabled12:15
dbarthogra_: so that could be it12:15
asacso the issue that was not caught by the import fallback mechanism12:15
ogra_great :)12:15
asaccame unexpected and also folks didnt know they should start using autopilot3 now12:15
asacfor pre-landing testing12:15
dbarthright, apps are killed onc i have ~4 of them, whichever i start first12:15
asac(which i dont agree with to be clear - they should use phablet-test-run)12:15
asacsergiusens: so for me the biggest thing left is that its not making clear where we still run python212:16
asace.g. too much magic12:16
asacwithout warning/error/feedback12:16
asacmaybe adding a big WARNING that counts as an error unless you pass --allow-py212:16
asacwould be the solution12:17
popeydbarth: I don't think that's it. I still see lots of webapp-container processes, and oxider-renderers but the apps all disappeared (bar one) from unity12:17
ogra_dbarth, the thing that made me think about the app id was that the last remaining app gets constantly replaced once you start new ones12:17
sergiusensasac: oh, warnings could be fine12:17
sergiusensand easy to add12:17
ogra_but that might be just a coincidence12:17
popeysergiusens: did you see my comment earlier about https://code.launchpad.net/~dpm/ubuntu-filemanager-app/include-plugin/+merge/213368 ?12:18
sergiusensogra_: btw, the ofono/rild job seems racy, it wasn't that start stanza; it sometimes comes up, sometimes doesn't12:18
ogra_sergiusens, btw, mind to review my phablet-bootchart MP (before asac pokes me about bootcharts again :P )12:18
sergiusenspopey: no, not really, sorry12:18
asacsergiusens: really think we should be failing unless you epxlicitely set it to ignore, so that folks using phablet-test-run get reminded that they are not done yet.12:18
popeynp12:18
asacand in infra continue running with ignore flag with big warnings12:18
sergiusensogra_: saw it yesterday, looked fine. But didn't test it out yet12:18
asacor something12:18
sergiusenswill do12:18
asacok have to cook lunch12:18
asacbbiab12:18
ogra_sergiusens, thanks ... i'll take a look at the ofono thing ... probably we need to start later12:18
ogra_whee !12:20
ogra_http://people.canonical.com/~ogra/touch-bootcharts/ubuntu-phablet-trusty-280.png12:20
ogra_27seconds :)12:20
cwayne_ogra_, nice!12:30
ogra_cwayne_, i want to reach 20 :) (and the screen is up around 18 already in that bootchart btw)12:30
cwayne_ogra_, that's awesome12:31
ogra_yup12:31
cwayne_poor mterry and MacSlow did all that work for the boot animation, and you'll never even be able to see it if we boot too fast :)12:32
ogra_well, the last time i tried the animation silo it added another 5 sec to the boot12:33
ogra_:P12:33
ogra_that should be enough to see some animation :)12:33
cwayne_lol12:33
=== mandel is now known as mandel|lunch
MacSlowcwayne_, :)12:41
MacSlowcwayne_, well see it this way... if anything messes up our boot-time... we're at least ready with nice bling ;)12:41
=== jhodapp is now known as jhodapp|brb
cwayne_haha yep! im excited to see it land in the image MacSlow12:42
MacSlowcwayne_, going to push a few more tweaks later today.12:42
ogra_MacSlow, the problem is that the boot *before* u-s-c starts is way longer than the few seconds it takes from u-s-c to the shell12:45
* ogra_ would love if we could start u-s-c earlier12:45
MacSlowogra_, I see... are the finer details for the boot-process documented somewhere?12:46
ogra_not finer than in the bootchart above i fear ... point is that we need the android container up for the graphics driver12:46
ogra_which takes about 10-12 seconds alone12:47
ogra_(if you look at the chart you see a second init being started by lxc-start, thats the container startup)12:47
MacSlowogra_, there's nothing coming that'll give us full native (non-android) startup, right? We need that because of all the hardware-drivers?!12:50
ogra_yeah12:51
ogra_specifically for the graphics driver12:51
=== _salem is now known as salem_
MacSlowogra_, it's not just the graphics-driver I assume... but also other SoC-parts too... DSPs, WiFi-chips etc12:52
ogra_wifi is handled on the ubuntu side, but yeah. the rest12:53
ogra_what i'm currently working on is to get the container start earlier and faster ... so we can cut down that time12:53
ogra_but there is only so much i can do :)12:53
ogra_with luck i can get it to 8 seconds or so12:54
MacSlowogra_, I understand... good luck hunting for those fractions of seconds! :)12:57
ogra_:)12:58
sergiusenspopey: what was your comment? Don't see it in the MR13:00
popeysergiusens: not mine, dpm's13:02
dpmsergiusens, I'm here now if you prefer to chat directly instead of via comments (re: the filemanager MP)13:03
sergiusenspopey: yeah, he answered my question, so I think it's fine; not entirely fine, but fine; my original question implied that if they knew what they were doing and wasn't an accident it was ok13:03
=== mhr3__ is now known as mhr3
sergiusensdpm: want me to do a full review?13:04
popeydpm: is https://code.launchpad.net/~dpm/ubuntu-terminal-app/enable-translations/+merge/187986 still needed?13:04
dpmsergiusens, that'd be great13:05
sergiusensok, will add to my TODO13:06
popeymhall119: is https://code.launchpad.net/~vthompson/ubuntu-terminal-app/fix-1284602/+merge/208949 good to go?13:06
dpmpopey, yes, it just never got reviewed or merged. I guess it'd need to be slightly changed now, as it's an old branch13:07
popeyright13:07
dpmawesome, thanks sergiusens, that'll allow us to land file manager to the store, as the version there now is a few months old13:07
popeydpm: if you get a chance can you confirm bug 130376313:08
ubot5bug 1303763 in Ubuntu Reminders app "File: qml/reminders.qml does not exist at any of the standard paths!" [Undecided,New] https://launchpad.net/bugs/130376313:08
dpmpopey, looks like a duplicate of elopio's bug last week13:08
popeymaybe13:09
popeydpm: but mine was built on jenkins, not click-buddy - so *should* work13:10
popey(lol)13:10
dpmfamous last words? :)13:10
dpmpopey, what does jenkins use to build the click package?13:10
popeyas far as I know, magic.13:11
popeydpm: cmake - http://s-jenkins:8080/job/reminders-app-click/6/console - build looks sane to my eye13:12
dpmfginther, could you join us today as well at the core apps call?13:12
dpmpopey, I don't seem to be able to see that URL13:13
popeyare you on the vpn?13:13
popeyif not, thats why13:13
dpmok, yeah, I try to stay away from setting up VPNs :)13:13
dpmin any case, de-duplicated, it seems to be another bug13:13
ogra_Spironal13:14
ogra_oops13:14
fgintherdpm, I have a meeting conflict, I could 5-10 minutes early13:14
=== jhodapp|brb is now known as jhodapp
dpmfginther, np, shall we jump on the hangout then, say 15 minutes before time?13:15
dpmpopey, balloons, would that work for you too? I.e. start the core apps review 15 mins earlier just for today?13:16
popeydpm: sure13:16
popeyballoons is on vacation dpm13:16
dpmah, I thought he'd be back today13:16
popeydone13:17
popeyoh, maybe, i thought he was out till wednesday at least13:17
popeyyes, his calendar confirms this13:17
fgintherdpm, yes, works for me13:20
dpmperfect, thanks13:20
dpmpopey, you're probably right, I've not checked the calendar, I just thought he'd be back Monday13:21
ogra_rsalveti, sergiusens, i just noticed we still ship /var/lib/lxc/android/pre-start.d/15-no-uchroot ... i assume we can drop that nowadays ?13:32
rsalvetiogra_: I think so13:37
ogra_great13:37
rsalvetithe original file is not even there13:37
rsalvetithat is really old stuff13:37
ogra_right13:38
ogra_and wastes a sed call on startup13:38
ogra_rsalveti, when did you last look at logcat output of one of our images ?13:40
ogra_W/Adreno-ES20( 2074): <core_glReadPixels:212>: GL_INVALID_OPERATION13:40
ogra_W/Adreno-EGLSUB( 2074): <CacheInvalidateHandle:243>: PMEM_INV_CACHES undefined13:40
ogra_i cant remember seeing that last time i looked ... but thats admittedly weeks ago13:40
ogra_now it seems to be a frequent error13:41
ogra_(like every few seconds)13:41
rsalvetihm, not sure if that normal13:41
rsalvetilet me flash latest13:41
rsalvetiflo?13:41
ogra_mako13:42
=== eikeon_ is now known as eikeon
ogra_flo has it too though13:43
ogra_just checked13:43
ogra_rsalveti, seems to happen every time i switch apps or slide back to the applications scope13:45
rsalvetiright13:45
ogra_smells like something caused by the new app switcher13:45
rsalvetijust flashing an older image to check13:46
ogra_250 should be fine13:46
ogra_was the last promoted one13:46
rsalvetias I remember we had such warnings before, but not sure if that frequently13:46
ogra_without the new switcher iirc13:46
ogra_not sure i have ever seen "INVALID_OPERATION"13:47
ogra_i know we had stuff there before ...13:47
ogra_but iirc only on load of the driver13:47
stgraberjanimo: the reason why lxc-console won't attach to tty0 but always to tty1 or higher is that attaching to tty0 only works for backgrounded containers13:47
stgraberjanimo: containers which aren't backgrounded have tty0 attached to the original lxc-start process and so can't be opened by lxc-console13:47
oSoMoNdidrocks, hey, I have packages in silo 4 that build-depend on the latest oxide-qt that is currently in trusty-proposed, is there a way to have the PPA depend on proposed to build the packages?13:48
ogra_stgraber, well, probably having a config file for lxc-console would help :)13:48
stgraberogra_: not sure if you saw in scrollback/e-mails but it looks like I've got cgmanager working reliably on touch now. I'll give you a debdiff for the lxc-android-config change in a bit.13:48
ogra_stgraber, yeah, i saw that !13:49
ogra_thanks a lot !13:49
ogra_lxc-android-config is currently blocked in a silo so we cant "just upload" atm13:49
stgraberogra_: so in theory if lxc-console could query LXC to know whether a given container was started on the background or not, then it could default to tty0 when it's backgrounded. However there's no way to query that at the moment and I believe adding that feature would require an API break of the internal communication protocol, so probably not something we can do until the next major upstream release (as we try not to break our API or commun13:51
ogra_you cut off after "API or commun"13:52
stgraberogra_: I don't think lxc-android-config is terribly urgent, but we probably want to make sure this gets done this week, quite likely before final freeze13:52
ogra_yeah13:52
stgraber"or communication protocol within the same SOVER)"13:52
ogra_stgraber, well, i personally know about -t0 and my fingermemory uses it ... i dont think it is urgent :)13:52
ogra_janimo might disagree though13:53
ogra_for me its in the "nice to have" category13:53
didrocksoSoMoN: it does depend on proposed normally14:03
didrocksoSoMoN: let me recheck14:03
oSoMoNdidrocks, ok, so it might be that the oxide build wasn’t completed in proposed when I triggered the build in the PPA14:03
annerajbhello all14:03
oSoMoNdidrocks, so the next question would be: if I hit the build button again on the silo page, will the packages be rebuilt in the PPA?14:04
didrocksoSoMoN: yep, checked again, it does dep on proposed14:04
annerajbrsalveti, do commands like breafkast not work on the new aosp branch?? you gave me to checkout last friday??14:05
didrocksoSoMoN: better to not rebuild a source package for nothing, if it does say it build-deps, there is a cron every 30 minutes on launchpad PPA retrying a build14:05
rsalvetiannerajb: you need to use lunch and then make14:05
annerajbbut the device i am porting too is not listed there14:05
annerajbrsalveti, I am porting (or trying) the lG G2 which should be d802 but is not listed since it has no notion of it existing.14:06
oSoMoNdidrocks, it’s been more than 30min since oxide-qt hit proposed (lp says 4hours), and no rebuilt has happened14:06
didrocksoSoMoN: more than 30 minutes that it's published in proposed?14:06
didrocksoSoMoN: so built + published?14:07
oSoMoNdidrocks, yes, I think so14:07
didrocksoSoMoN: it's because you not build-dep14:08
didrocksoSoMoN: did you forgot to bump the build-dep on latest oxide-qt?14:08
didrocksyou just FTBFS14:08
rsalvetiannerajb: you need to add the target to lunch14:08
oSoMoNdidrocks, ok, got it, there’s no explicit version number requested in the build dep, there’s only a builddep on liboxideqt-qmlplugin14:09
didrocksoSoMoN: yeah, it should have been with the explicit version number14:09
oSoMoNdidrocks, I’ve hit build again, it should fix the ftbfs14:09
didrocksoSoMoN: can you fix the version number in next build?14:09
didrocksoSoMoN: you surely want to provide "webbrowser-app" in rebuild only package list14:10
didrocksto not rebuild the qml component14:10
oSoMoNdidrocks, it doesn’t make sense for webbrowser-app to depend on an explicit version number, as oxide is a moving target, it would only be a maintenance burden14:10
oSoMoNdidrocks, I did14:10
annerajbrsalveti, any hints on the syntax i searched on google and tried doing which lunch to find the source of lunch but I had no luck14:10
annerajbalso tried lunch -? --help -h14:10
rsalvetiannerajb: check build/envsetup.sh14:10
rsalvetiannerajb: you have all the used functions in there14:11
didrocksoSoMoN: well, don't expect magic happening then from LP, you need to rebuild everytime :)14:11
rsalvetiyou can also source it with bash -x, and see the output when calling lunch14:11
oSoMoNdidrocks, that’s alright, thanks for explaining :)14:11
didrocksoSoMoN: yw ;)14:12
oSoMoNdidrocks, I like magic though, when it makes my life easier ;)14:12
didrocksoSoMoN: well, there is no magic info though to know you need latest oxide-qt ;)14:13
oSoMoNyeah, I was just kidding :)14:13
annerajbrsalveti, found out how you have to add it to vendersetup.sh the add_lunch_combo and when you run build/envsetup.sh it updates the menu14:16
rsalvetiannerajb: right14:16
annerajbrsalveti, should this be documented on the porting guide?14:16
rsalvetibut I guess you might need a few additional files and defined variables in your device specific repository14:16
rsalvetiannerajb: yes, if you have the time, please do so14:16
rsalvetiogra_: E/MP-Decision(  879): Error 13 setting online status to 0 for cpu214:19
rsalvetiE/MP-Decision(  879): Error(-19) changing core 2 status to offline14:19
rsalvetiguess this is expected?14:19
rsalvetilogcat is now basically useless14:19
rsalvetithe entire ringbuffer is full of those messages14:19
ogra_i was wondering if it makes sense to put mpdecisionn into late start14:19
ogra_only for the first 60 sec14:19
rsalvetinot sure if that will help, let me check that14:20
ogra_rsalveti, rsalveti echo manual >/etc/init/no-cpu-hotplug.override14:21
ogra_and reboot14:21
pmcgowanpopey, did you file a bug on some webapps not starting properly14:21
popeypmcgowan: can you be more specific?14:22
pmcgowanpopey, I run facebook and get a whitescreen14:22
popeypmcgowan: wikipedia is the only one (in the store, not ours) that didnt start14:22
popeywfm14:22
ogra_facebook is out, use G+14:23
popeyhttp://popey.com/~alan/phablet/device-2014-04-07-152300.png14:23
pmcgowanhmm14:23
pmcgowanwill reboot and try again14:23
sergiusenspmcgowan: facebook works fine for me too14:23
sergiusensogra_: you can only share to facebook from the gallery ;-)14:23
pmcgowanthanks14:23
* ogra_ wonders if any of our app developers care about migrating app data etc ...14:24
sergiusensso facebook wins now14:24
ogra_pfft14:24
mhall119oSoMoN: ping14:24
sergiusensogra_: as a user I was bothered to need to relog in given that I don't remember all my passwords :-)14:24
oSoMoNmhall119, pong14:25
ogra_see that as an opportunity to memorize them better ;)14:25
rsalvetiogra_: yeah, it's fine after you override that job14:25
ogra_rsalveti, sure14:25
rsalvetilet me see if late start helps, but I don't think it'll help much14:25
ogra_i just wonder how we could make mpdecision be quiet about it14:25
mhall119oSoMoN: does UbuntuWebView support the UrlSchemeDelegate overrides that WebKit has in experimental?14:25
ogra_yeah, it will cut a few messages14:26
ogra_but surely not all14:26
ogra_as the ro/rw switch for the sysfs node only happens after 60sec14:26
oSoMoNmhall119, no14:28
rsalvetiogra_: why 60sec?14:29
ogra_rsalveti, to have all cores up during the whole boot14:29
ogra_45 would suffice for us i guess ... but i want it to be fast on slower devices too14:30
oSoMoNogra_, hey, seen my last comment on bug #1303676 ?14:37
ubot5bug 1303676 in webbrowser-app (Ubuntu) "[webapp-container] when using multiple webapps they crash randomly, if there is only one app remaining, this one starts being replaced when new ones start" [Critical,Confirmed] https://launchpad.net/bugs/130367614:37
ogra_oSoMoN, nope ... will check and comment ...14:38
oSoMoNogra_, thanks14:38
ogra_oSoMoN,14:40
ogra_ogra@styx:~/Devel/apps$ adb shell ps ax |grep -c webapp-container14:40
ogra_914:40
ogra_ogra14:40
ogra_thats with only one app visible in the scope14:40
ogra_so yes, i can confirm14:40
rsalvetiogra_: changing to late_start doesn't help much14:40
oSoMoNogra_, so it seems like a bug in unity8, right?14:41
ogra_oSoMoN, also a good bunch of "[oxide-renderer] <defunct>"14:41
rsalvetiand mpdecision is a binary blob afaik14:41
rsalvetiso not much we can do14:41
rsalvetijust annoying that while you fixed the kernel to have a useful dmesg, now logcat is useless lol14:41
ogra_rsalveti, hmm, then we have to live with it i fear ... i wont give up the 4seconds that cgains us14:41
ogra_well, you can disable the upstart job ...14:42
ogra_its just useless if you didnt do that14:42
rsalvetiright, but I mean for debugging14:42
rsalvetiwithout making it rw14:42
ogra_could we redirect mpdecision at startup ... to /dev/null ?14:43
rsalvetiogra_: nops, because this is part of the androd log system14:44
rsalvetinot stdout14:44
ogra_(i dont want to add more sed commands to pre-start.d though)14:44
rsalvetibut guess not much we can do, unfortunately14:44
rsalvetiif we want to have a super fast boot :-)14:44
ogra_yeah14:44
ogra_this was one of the more noticeable speedups14:44
stgraberogra_: so where's the latest lxc-android-config? you mentioned it being in a silo somewhere. I'd like to base my debdiff on that so it's easier to apply once the current one has landed.14:44
ogra_i'm curious what the next one will give ... once we rebuild android my new handling of the container unpacking will land14:45
ogra_stgraber, silo 1914:45
ogra_stgraber, but i want to have at least a few people test it ... i'm a bit scared about breaking the lab for days again14:45
ogra_and testing that change is time consuming ...14:46
=== brendand_ is now known as brendand
rsalvetiogra_: the invalid was also happening with 25014:53
ogra_ok14:53
rsalvetiogra_: every time you bring the launcher14:53
rsalvetiso not a regression, but maybe something to investigate at some point14:54
ogra_well, the launcher shouldnt use inavlid functions ...14:54
ogra_but yeah, not urgent then14:54
rsalvetiI think this is a side effect of the UI effect you have when you bring the launcher14:54
rsalvetiprobably something in qt/mir14:54
=== shuduo is now known as shuduo_afk
janimostgraber, I do not know much about lxc internal, I was just assuming there may be some config option to set that would only be valid on touch14:59
janimoor have an android-console shell wrapper shipped on touch :)15:00
=== Darkwing_ is now known as Darkwing
stgraberogra_: I'll build that debdiff I attached to the bug and start a loop on up to date mako, hopefully that'll give you the assurance you need that things work fine :)15:08
ogra_stgraber, i would like to have someone test it thats not you or me ... like davmor2 or popey15:09
davmor2don't look at me I hate you both remember ;)  is this the no boot fix if so popey might be your better bet I need my phone for testing on15:10
stgraberyeah, that's the "sometimes every 80 boots or so, the device may hang" bug15:11
popeyhappy to sacrifice a device if it's easy for me to setup (i.e. a deb or something) rather than me manually patching stuff15:11
ogra_right easy to let the test script run over night15:11
popeybut can't do that until ~19:00 UTC15:12
ogra_popey, yeah, like last time, let it run over night15:12
ogra_same script/test ... let it loop-reboot ... sleep 30sec etc etc15:12
stgraberpopey: yeah, the test script is pretty simple and I'll have a new lxc-android-config for you that you can manually install to test.15:12
popeyok, stgraber can you fire simple instructions at me when its ready - I'm guessing wipe clean install, install a deb, run the script, right?15:13
stgraberpopey: sounds about right, yeah15:13
ogra_popey, only copy the upstart job iover the old one15:13
ogra_not even install a deb :)15:13
ogra_trying to install lxc-android-config is pointless anyway15:14
ogra_stgraber, so awe_ is looking for a way to run an upstart job exactly once on first boot, does the boot-hooks mechanism off sich features ?15:19
ogra_*such15:19
ogra_(i see "initctl emit boot-hooks WHEN=every-boot" in /etc/init/boot-hooks-emit.conf ... would are there other options for "WHEN" ?)15:20
awe_ogra_, no that's not quite right15:21
ogra_awe_, once on upgrades ?15:21
awe_I'm looking for a way to do a one time deletion of ofono gprs files *without* creating a unique upstart job to do this15:21
=== mandel|lunch is now known as mandel
awe_what would be nice, is if we had a some generic mechanism in our updates that could handle this case15:22
=== gatox is now known as gatox_lunch
=== olli_ is now known as olli
stgraberso you could use book-hooks WHEN=new-version and then have your job write a stampfile, check it in pre-start so you can do the removal just one time and reduce the number of times that job will be attempted to a minimal15:24
ogra_awe_, right, i think the boot-hooks mechanism offers something like that15:24
stgraberbut there's no way to do that without upstart jobs because the boot-hooks are upstart jobs (located in /etc/init/boot-hooks/)15:24
ogra_awe_, but you wont get around shipping *something* that does it15:24
ogra_be it an upstart job, or a wrapper script for ofonod or whatever15:24
awe_so we have no hooks on our server-side?15:25
ogra_how would it help to have it server side ?15:25
ogra_you want to change variable data of an installed system no ?15:25
ogra_so you have to run something on the system15:26
ogra_awe_, so i thinnk the trick for you is to ship that upstart job ... leave it in some versions and have it only run on upgrade löike stgraber described above and then rip it out in some subsequent upload of your package (once you are sure people are converted)15:29
ogra_either ship it in ofono ... or i'm happy to drag it into lxc-android-config15:30
awe_rsalveti, ^^15:31
ogra_"book-hooks WHEN=new-version" means  that it will at least only run on upgrades and not on every boot15:32
=== chihchun is now known as chihchun_afk
rsalvetiogra_: would that logic work when upgrading images?15:36
rsalvetiif so, then it should be fine for us15:36
ogra_rsalveti, right, it should only fire the job after an upgrade15:36
rsalvetithen fine, better at least15:36
ogra_not exactly a one time thing indeed15:37
ogra_stgraber, i think i want to delete ureadaheads pack files on upgrades ... i assume that needs to happen in the system-image-upgrader script, right ?15:41
stgraberogra_: probably, I guess boot hooks run a bit too late to do that using WHEN=new-image15:42
mhall119bzoltan: I can't assign it to you, but could we get https://bugs.launchpad.net/qtcreator-plugin-ubuntu/+bug/1303535 done sooner rather than later?15:43
ubot5Ubuntu bug 1303535 in qtcreator-plugin-ubuntu "Change Ubuntu API link" [Undecided,New]15:43
ogra_stgraber, yeah, that would waste one boot as ureadahead would only profile on the next one15:43
bzoltanmhall119:  will be fixed today15:43
mhall119thanks15:44
mhall119bzoltan: I just realized it's pointing to local API docs though....which might be better15:44
mhall119I thought it was still pointint to old online docs15:44
mhall119but the header and footer are outdated and point ot pages on developer.ubuntu.com that don't exist anymore15:44
didrocksbeuno: is click store dead?15:45
didrocksbeuno: nothing appears anymore in the available click scopes15:46
didrocksok, it's back15:46
didrocksmhr3: we don't get any feedback when the click store can't be reached15:47
didrockslike you click on a clic app and get the preview view which is empty15:47
mhall119didrocks: sounds like the click scope died15:48
mhall119didrocks: are you on wifi or cellular data?15:48
mhr3didrocks, yea... design was trying to design what happens when you don't have internet the week they left15:48
mhall119bfiller: is there a plan to get video recording working again on mako?15:49
didrocksmhr3: ok, so it's known and tracked?15:50
didrocksmhall119: wifi, but the store itself died for a while15:50
didrocksmhall119: we were 3 at multiple parts of the planet seeing it :p15:50
mhr3didrocks, i suppose somewhere on bottom of mikenagle's list :)15:51
bfillermhall119: phonedations team working on that, not sure when it will be done15:51
sil2100dbarth: when was #1271436 fixed you say?15:52
didrocksmhr3: nice :p15:52
dbarthalex_abreu: ^^ apperently that was in january15:53
dbarthso that's a recent regression15:53
alex_abreudbarth, so the issue reappeared?15:53
dbarthalex_abreu: apparently so15:54
mhall119Chipaca: when will push notifications be open for 3rd party testing?15:54
alex_abreudbarth, ok I'll have a look15:54
dbarthcan't see it on #280 though15:55
mhall119oSoMoN: re-ping from Friday, is moving UbuntuWebView to Ubuntu.Browser something we can do before ubuntu-sdk-14.04 is frozen?15:55
oSoMoNmhall119, we just discussed it in a call with bfiller, dbarth, jdstrand and alex_abreu, and while we agree on the rationale of doing the move, we think the timing is pretty bad15:58
davmor2mhall119: trojita needs to handle signed mails better15:58
mhall119davmor2: it needs a lot of things, you can help15:59
mhall119oSoMoN: agreed on the timing, I wish I knew there was an issue months ago15:59
bfillermhall119: we can't get that done in time, too many changes have to happen15:59
davmor2mhall119: I can file lots of bugs and test stuff I'm not really one for coding15:59
oSoMoNmhall119, sorry I gotta rush out now, let’s continue the discussion by e-mail/through the bug report if you don’t mind16:00
Chipacamhall119: I don't know, yet16:00
mhall119ok, so then can we support it in Ubuntu.Components.Extras.Browser and get the API docs online?16:00
Chipacamhall119: why?16:00
mhall119Chipaca: I have a candidate app (community-cast)16:00
Chipacamhall119: post-14.04 in any case :)16:00
mhall119Chipaca: ok16:01
ogra_davmor2, is there a click for it already ?16:01
ogra_(trojita i mean)16:01
mhall119ogra_: not in the store, but you can use http://people.ubuntu.com/~mhall119/trojita/com.ubuntu.developer.mhall119.trojita-ubuntu_0.2_armhf.click16:02
ogra_perfect16:02
ogra_lol16:02
ogra_funny that firefox offers me the software-center to open a click package16:03
davmor2mhall119: you need to update you instructions for install, you need to do sudo -u phablet -i or it will only appear for root ;)16:03
mhall119ogra_: it thinks it's a .deb16:03
mhall119for good reason16:03
ogra_aww16:03
ogra_then i wont test it16:03
mhall119davmor2: good point16:03
ogra_my production phone is readonly and stays that way16:03
mhall119ogra_: all click packages are nearly-debs16:03
mhall119ogra_: but it's a proper click16:03
davmor2mhall119:  at least when installing from adb anyway :)16:04
ogra_oh, you mean i can click install it ?16:04
mhall119ogra_: yes16:04
ogra_thats all i need ...16:04
ogra_i just dont want to install debs on that phone16:04
=== alex_abreu is now known as alex-abrey
=== alex-abrey is now known as alex-abreu
ogra_(or make it writable)16:04
mhall119ogra_: just pkcon install-local as phablet16:05
ogra_yeah16:05
mhall119ogra_: it'll be called Trojitá in the Installed section16:06
ogra_yep16:06
mhall119didrocks: no promotion today?16:06
didrocksmhall119: none :(16:06
beunodidrocks, what was the symptom16:23
beuno?16:23
didrocksbeuno: so, if you booted before the outage, you click on an available app16:23
didrocksyou end up in an empty preview view16:23
didrocksof course, if you reboot, no available apps at all are shown16:24
didrocksmhr3: maybe one way for a quick fix first will be to collapse and hide the available apps when you can't reach the click scope?16:24
beunodidrocks, ah, I see there was a code rollout16:24
didrocks(like you ping regularly?)16:24
beunodidrocks, which atm has a small period of unavailability16:25
didrocksbeuno: ok, I think that the client code should be smarter anyway about it16:25
beunodidrocks, +116:25
mhr3didrocks, that's for design to decide16:25
didrocksmhr3: I hope we do have a clear ETA of course!16:25
beunomhr3, also, s/decide/input?   :)16:28
mhr3beuno, shhh, some of them read this channel ;)16:30
=== bfiller is now known as bfiller_afk
=== gatox_lunch is now known as gatox
=== chihchun_afk is now known as chihchun
dbarthsil2100: about that toolbar issue, i can't reproduce it on #280, am i missing something?16:40
dbarthi tried on a couple of webapps from a recent restart though16:40
sil2100dbarth: you would have to ask the bug reporter16:43
=== deegee__ is now known as drussell
davmor2mhall119: lets see trojita should I be able to send a message/read a message/access attachments?17:12
mhall119davmor2: not in the Ubuntu UI yet17:13
davmor2mhall119: right so currently it's an app that tells me how full my inbox is then not a bad start though to be fair,  one annoying things is the scrolling... I'd much rather scroll be slowed and read the text17:14
davmor2mhall119: I'm assuming though that search will possibly take care of that :)17:15
mhall119davmor2: yeah, I think that's a pre-mature optimization17:15
ogra_mhall119, hmm, trojita doesnt show my mails in the Inbox ... only subfolders17:35
mhall119ogra_: yeah, I noticed that, it's either/or, it doesn't mix messages and subfolders, file a bug please17:38
ogra_well, i'd be happy only seeing messages and no subfolders :)17:39
ogra_mhall119, where ?17:39
mhall119V17:39
mhall119https://bugs.kde.org/buglist.cgi?product=trojita&component=Ubuntu&resolution=---&list_id=99722617:39
ogra_thx17:39
mhall119\np17:40
ogra_mhall119, kde bug 33316617:46
ubot5KDE bug 333166 in Ubuntu "Does only show subffolders but not messages in Inbox" [Major,Unconfirmed] http://bugs.kde.org/show_bug.cgi?id=33316617:46
ogra_bah, i typoed :P17:47
mhall119thanks ogra_17:49
mhall119cjwatson: are click package versions compatible with debian package version numbering?17:54
mhall119like, can I have version 4.0-ubuntu1 ?>17:54
mhall119or 4.0~git12345617:55
beunomhr3, yes17:58
beunoer17:58
beunomhall119, yes17:58
mhall119beuno: perfect, thanks17:58
beunothey use the same code to compare versions17:58
jdstrandjhodapp, rsalveti, mdeslaur: hey-- over the weekend I played with the media-hub (as you know). I confined the music-app and removed its access to ~/Music, but gave ti access to @{HOME}/.cache/media-art/ and @{HOME}/.cache/mediascanner/18:07
jdstrandjhodapp, rsalveti, mhall119: the music-app used the media-hub without needing the direct access to the files, which is great18:08
jhodappjdstrand, that's awesome!18:08
jhodappjdstrand, how about letting media-hub have network streaming access from say an http server?18:09
jdstrandjhodapp, rsalveti, mdeslaur: however, it occured to me that the mediascanner and media-art access is an information leak currently. ie, if I add that access to a 'common' policy group like audio or video, then any app would be able to enumerate all the music, videos, etc on the device18:09
jdstrandjhodapp: I gave media-hub that already based on previous conversations (I don't think I mentioned that in the email)18:09
jhodappjdstrand, ok, I'll have to give that a good testing then once we all align18:10
mdeslaurso, we were supposed to get rid of ~/Music and have music be owned by the music app18:10
jdstrandjhodapp, rsalveti: mdeslaur asked a question about the app only being able to play its own music18:10
mdeslaurhow does the musicscanner restrict media scanning to an application's directory currently?18:11
mdeslaurs/musicscanner/mediascanner/18:11
jdstrandI think we could maybe achieve that by making mediascanner a trusted helper18:11
jdstrandmdeslaur: I *think* it just looks in ~/Music only right now18:11
jdstrandwell, and ~/Videos I guess18:12
mdeslaurWe probably need to start by having a discussion whether music and videos are global locations, or if apps should own their own files18:12
jhodappindeed, and are there ever any exceptions?18:13
jdstrandright now we handle exceptions by have the music_files_read and video_files_read reserved policy groups18:14
jdstrand'reserved' means that app uploads are stopped on manual review in the store18:15
mdeslaurif we do decide that music and videos should be a global location, then yeah, it would make sense for mediascanner/media-hub to be a trusted helper18:15
jdstrandI think I can add the necessary access to the audio and video policy groups (common, ie non-blocking) for access to the media-hub itself, but that the mediascanner accesses would not be common yet18:15
jhodappjdstrand, so an app can be classified as being in one of those groups?18:16
mdeslaurjdstrand: I think it needs to be a trusted helper before you make them non-blocking18:16
jdstrandjhodapp: the way it works is that the click manifest specifies a security manifest, the security manifest says what policy template to use along with any policy groups needed by the app. eg, audio, video, networking, location, etc18:16
jdstrandjhodapp: there are common policy groups that any app may use, and reserved ones that apps typically cannot use18:17
jhodappjdstrand, that's interesting...so the app store is the point at which that gets reviewed then18:18
jdstrandmdeslaur: so I get that with the mediascanner, but why for the media-hub?18:18
jhodappjdstrand, err, submission to the app store18:18
mdeslaurjdstrand: something needs to prevent apps from playing songs blindly outside of their own directories, no?18:18
jdstrandjhodapp: the sdk is clear about which policy groups people can and can't use, and the review tools on clicks can be run prior to upload. but yes, upon upload we will run the checks. anything that uses a reserved policy group is blocked18:19
=== bfiller_afk is now known as bfiller
jhodappjdstrand, thanks for the explanation18:20
jdstrandmdeslaur: it is true that an app could blindly guess what is installed on the device, yes18:20
mdeslaurright, so they need to be trusted helpers, and possibly both use the same permission18:21
jdstrandI was trying to decide if that is a problem. I suppose it is18:21
mdeslaurie: you get prompted for "Access your media library"18:21
mdeslaurthe other thing, is that is only for the common ~/Music directory, but you don't want an app to attempt to play a sound from the facebook app folder to see if facebook is installed, for example18:21
jdstrandwe wouldn't want to prompt though for accesses within the app-specific directory18:22
mdeslaurso the media-hub needs to perform access control18:22
jdstrandmdeslaur: re facebook> yes18:22
jdstrand(that is what made me suppose it was a problem, but also what prompted this discussion)18:22
mdeslaurso the media-hub would allow playing sounds from the apps own directory, would prevent the app from playing sounds from other app directories, and would prompt to play from ~/Music18:22
jdstrandthat wouldn't be too terribly difficult though18:23
mdeslaurI suppose the mediascanner would only do ~/Music18:23
jdstrandit does the libapparmor api call to get the label (APP_ID), parses that and sees if the file is in ~/.local/share/$pkgname18:23
mdeslaurep18:24
mdeslauryep18:24
jdstrandif it is, lets it play, if it isn't, see if it is in the global directory (eg, ~/Music), if it is, prompt, if it isn't reject18:24
jdstrandmaybe the last one could be refined for sharing...18:24
jdstrandsharing should be via content-hub18:25
mdeslaurjdstrand: yep18:26
jdstrandit will be an interesting user experience though to access the mediascanner and then the hub18:27
mdeslaurthat's why they should probably both use the same trusted-helper database18:27
jdstrandcause those are different processes. I suppose there is nothing saying that they couldn't share the same trust store18:27
jdstrandhehe18:27
jdstrandyeah18:27
mdeslauryeah :)18:27
mdeslaurlol18:27
jdstrandhaha18:27
mdeslaurSTOP COPYING ME OR I'LL TELL MOM18:27
jdstrandmdeslaur: see, I like talking to you18:27
jdstrand:)18:28
mdeslaurhehe18:28
mdeslaurjdstrand: so sounds like we have a plan?18:29
jdstrandI think so, yes. I'll file a bug against mediascanner2 and add media-hub to it when it is in the archive18:30
mdeslaurjdstrand: cool, thanks18:31
rsalvetijdstrand: jhodapp: mdeslaur: I'd guess we want the media files to be globally available18:32
rsalvetiin case we have more than one player18:32
rsalvetiat least that was a quite common use case for me when using android18:32
rsalvetin900 and others18:32
jhodapprsalveti, same for me on the iPhone18:33
rsalvetiglobally for the same user I mean :-)18:33
rsalvetiright18:33
popeystgraber: do you have a package or something for me to test on my phone?18:50
stgraberpopey: https://dl.stgraber.org/lxc-android-config_0.161_all.deb18:52
stgraberpopey: you'll need to "umount /lib/udev/rules.d/70-android.rules", then remount / rw, install that package, then remove cgroup-lite and after that do the reboot loop18:52
popeystgraber: from a very clean wiped recent image?18:53
stgraberyeah, latest -proposed, factory reset isn't really needed but you might as well18:53
popeykk18:54
stgraberthe reboot loop is something like: http://paste.ubuntu.com/7218298/18:54
stgraberpopey: oh, you'll also need "rm /etc/init/cgproxy.override /etc/init/cgmanager.override"18:54
stgraberbecause they are conffiles so won't automagically disappear when you dpkg -i the package18:55
pmcgowanogra_, what time do the automatic builds run?19:00
popeystgraber: not sure I got this right.. http://pad.ubuntu.com/RebootTesting19:01
stgraberpopey: you don't need to remount the file, it's only used at boot time so the reboot will take care of it19:03
popeyok19:03
jdstrandmdeslaur, rsalveti: can you review bug #1303962?19:04
ubot5bug 1303962 in apparmor-easyprof-ubuntu (Ubuntu) "please integrate mediascanner2 and media-hub with trust-store" [High,Confirmed] https://launchpad.net/bugs/130396219:04
mdeslaursure, /me looks19:04
jdstrandI haven't added the task for media-hub yet since it hasn't landed19:04
mdeslaurjdstrand: you have "prompt user for access to global music files" in the video section19:06
jdstrandfixed19:08
mdeslaurcool19:08
jdstrandtyhicks: since this is happening over dbus, is there a better method than aa_getcon() in bug #1303962?19:09
ubot5bug 1303962 in apparmor-easyprof-ubuntu (Ubuntu) "please integrate mediascanner2 and media-hub with trust-store" [High,Confirmed] https://launchpad.net/bugs/130396219:09
mdeslaurI added a little note that we probably don't want personal videos taken with the camera to be stored in the common ~/Videos folder19:09
ogra_pmcgowan, 2am UTC19:11
pmcgowanogra_, only one per day then?19:11
ogra_yes19:11
pmcgowanaw rats19:11
ogra_a test run takes 5h ... and the tests start delayed19:11
ogra_all in all the time from starting a build to test results is 8h19:11
pmcgowanwow need to fix that, wheres that emulator19:11
ogra_pmcgowan, well, we could easily fix that by just buying 20 makos with broken screens off ebay19:12
ogra_or 4019:12
pmcgowanogra_, I am still surprised we dont do a second build19:13
tyhicksjdstrand: I'm a little bit confused by the psuedocode19:13
ogra_its a joke that we only fiddle with a handfull of devices ... even with the emulator around you will need full image tests19:13
tyhicksjdstrand: aa_getcon() gets the current process' label, but you're really wanting the label of the process connecting to media-hub/mediascanner, correct?19:13
ogra_*on* the devices19:13
pmcgowantrue19:13
rsalvetipmcgowan: working on it still, but people keep breaking it over the time19:13
rsalveti:-)19:13
ogra_pmcgowan, we usually do19:13
pmcgowanogra_, just manual start you mean19:13
pmcgowanok19:13
ogra_pmcgowan, one automated one, one during the EU workday normally19:13
ElectroPughello there, somebodey willing to help me? I have a question concerning the porting guide :)19:14
rwwjohnjohn101: tl;dr: if you have a sysvinit script and there isn't a systemd unit file that replaces it installed, it'll happily work with the sysvinit script19:14
ogra_so we can adjust the build time for the landings and make sure everything we want in one test run is actually landed19:14
pmcgowanyep makes sense19:14
jdstrandtyhicks: yes-- I didn't read the man page close enough. I was thinking I could give the pid to aa_getcon, but I cannot19:15
tyhicksjdstrand: ok, then the answer is 'yes', there's a better way to do it all within dbus19:15
ogra_sergiusens, so for the ofono race i think just changing the upstart job to "start on android" should be enough for now ... we can do fancy fine grained stuff later19:15
tyhicksjdstrand: the bus method org.freedesktop.DBus.GetConnectionAppArmorSecurityContext() can be used19:15
ogra_seems there is an issue with the property watcher sometimes19:15
tyhicksjdstrand: I've documented that method in the aa_getcon() man page19:16
jdstrandtyhicks: ok, updated the pseudocode19:17
tyhicksjdstrand: looks good to me!19:17
jdstrandtyhicks: thanks! I should have tapped 'PgDn' once :P19:18
sergiusensogra_: if that works, do you mind pushing it in?19:18
tyhicksjdstrand: :)19:18
ogra_sergiusens, well, do you have a test setup ?19:18
ogra_to do a quick test (since you reproduced the race)19:18
sergiusensogra_: just loop reboot and ofono should be online (list-modems) (and ofono started)19:19
ogra_sergiusens, that means i need to fiddle with setting up a phone with the ppa etc19:20
ogra_i thought you have one around already19:20
jdstrandjhodapp, rsalveti: you said that music-app didn't have to be updated to use media-hub, that it all happened way down underneath19:21
jhodappjdstrand, only partially true19:21
jhodappjdstrand, it must be modified to use the new BackgroundPlaylist object to continue playing music when the app loses focus or the screen turns off19:21
rsalvetiright, for the proper implementation I believe we're still missing playlist19:21
jdstrandjhodapp, rsalveti: how many other apps use the same api as the music-app? I was thinking the trust store integration doesn't affect the silo, but now I'm less sure19:22
rsalvetijhattara: is the BackgroundPlaylist implementation done already?19:22
popeystgraber: uh, after doing those steps and rebooting for the first time it's stuck at the google logo!19:22
jdstrandwhich the actual code for media-hub would be like 50 lines or something, but the problem is, we need the mir support to land19:23
jhodapprsalveti, I assume you meant me :) It is, but there are limitations with a client dying and then reconnecting19:23
rsalvetijdstrand: right now I believe only music-app and mediaplayer-app19:23
rsalvetijhodapp: yeah, sorry19:23
jhodapponly music-app19:23
jhodappmediaplayer-app won't change19:23
jdstrandok, and mediaplayer-app is shipped as a deb and unconfined19:23
jhodappyep19:23
rsalvetijhodapp: but did you test if it works if the app gets a sigstop at least?19:24
rsalvetibut dying would also be a valid use case, as the user can just kill the app19:24
pmcgowanjhodapp, rsalveti do we know it has to change? isnt music-app already using a std API for playlists?19:24
jhodapprsalveti, ricmm has, I haven't personally gotten a chance to try it yet19:24
ahayzenjhodapp, i guess we only need to make it add the current play queue to the media-hub?19:24
* ahayzen has come in half way through the conversation19:24
jhodappahayzen, yeah, you would construct your playlist as a BackgroundPlaylist and pass it to the MediaPlayer instance19:25
rsalvetiwhere is ricmm now :-)19:25
jhodappfurniture shopping :)19:25
jdstrandjhodapp, rsalveti: what is not clear (as mentioned in bug #1303962) is if apps are supposed to use a dbus api for the mediascanner files are access the db directly. it seems like music-app is doing the latter based on the apparmor policy I had to add19:25
ubot5bug 1303962 in apparmor-easyprof-ubuntu (Ubuntu) "please integrate mediascanner2 and media-hub with trust-store" [High,Confirmed] https://launchpad.net/bugs/130396219:25
rsalvetipmcgowan: I believe we'd need to change it to use the background playlist api19:25
pmcgowanjhodapp, how is this being exposed through qt19:25
ahayzenjhodapp, awesome, at the moment we have a ListModel with the queue would that be easy to pass to the MediaPlayer?19:25
pmcgowanrsalveti, we dont want apps calling papi19:25
jhodapppmcgowan, as a new QML type (plugin)19:25
jdstrands/are access/or access/19:26
pmcgowancool, right answer!19:26
rsalvetiright, not done by papi directly19:26
jhodappahayzen, no, you'd use this as your List instead (or parallel)19:26
pmcgowanjhodapp, is it based of the existing Qmobility api?19:26
pmcgowanjhodapp, who did the QML api design?19:26
jhodapppmcgowan, no because it didn't have this support at the QML level19:26
jhodapppmcgowan, ricmm19:26
pmcgowansounds good19:27
jhodapppmcgowan, we are ahead of upstream on this19:27
pmcgowanfair enough, we can give it to them19:27
* davmor2 wonders when we get a mami to go with the papi 19:27
jhodapppmcgowan, and they'd be interested in using our solution possibly19:27
ahayzenjhodapp, cool :) i can't remember, does it handle shuffle/repeat for us as well?19:27
jhodappahayzen, yes it will19:27
ahayzenjhodapp, \o/ awesome, when will it ready for us to move?19:28
jhodappahayzen, trying to finish up one last thing here and media-hub will land...we can then start to engage the music-app team19:28
ahayzenjhodapp, great work, let me know when it has landed and either me or Victor will move the music-app over :)19:29
jhodappahayzen, sounds good19:29
popeypmcgowan: who owns music scope ?19:30
rsalvetijhodapp: remember we also need to do the powerd integration before pushing the background api implementation forward as well19:30
rsalvetiotherwise the device will suspend :-)19:30
jhodapprsalveti, right19:30
pmcgowanpopey, strehl owns all scopes, not sure who works on music19:31
popeyok, ta19:31
pmcgowanpopey, well, all but click I guess19:31
pmcgowanor no, all of em now19:31
ChickenCutlass_rsalveti, jhodapp just need to move the call to powerd dbus api from app to hub19:32
jhodappyeah19:32
rsalvetiright, but I'm surprised that the app is allowed to call that dbus api19:32
rsalvetiin theory the app shouldn't be allowed to do that19:32
rsalvetiwould need to check19:33
ChickenCutlass_rsalveti, yeah -- was always temp19:33
rsalvetifor media-hub is fine because it's a service19:33
ChickenCutlass_right19:33
rsalvetiright, but we never had the right permission for the phablet user to call the powerd dbus api19:33
rsalvetithat's the interesting piece19:33
rsalvetiI know we also added the app itself as part of our app lifecycle19:34
ChickenCutlass_rsalveti, we whitelisted it19:34
rsalvetibut that wouldn't block the device to suspend19:34
rsalvetilet me give it a try and see what is really happening regarding powerd19:34
mterrydoanac, so were you OK with lp:~mterry/unity8/unlock-script ?19:35
doanacmterry: i think so. i haven't had time to re-work our daily image testing in a way that we can use it yet19:36
mterrydoanac, that's OK.  We can land the script and it won't hurt anything.  (It doesn't remove the existing support that jenkins is using)19:36
doanacexactly19:36
mterrydoanac, can you approve the branch then?  I'd like to land this in the next unity8 drop19:37
doanacmterry: done19:37
mterrydoanac, thanks!19:38
stgraberpopey: hmm, weird, it's been happily running here...19:41
stgraberpopey: oh, I see, you missed purging cgroup-lite19:41
popeyah,19:42
popeystgraber: can i do that now and reboot?19:42
stgraberpopey: if you can get into a shell using adb, then yes19:46
rsalvetiChickenCutlass: pmcgowan: jhodapp: yeah, just confirmed, music-app is not allowed to request a sysstate from powerd19:47
rsalvetiso if you try to play a music and suspend the device, it'll try to suspend19:47
rsalvetinothing is blocking that19:47
jhodappok19:47
rsalvetias I thought initially, the app is not allowed to call that powerd interface, and never was19:47
rsalvetipeople were just lucky because some other process had a wakelock, which is usually what happens on mako19:48
rsalvetibut if you try to play a music in background with flo, you'll see that it try to suspend19:48
rsalvetiso landing media-hub should fix that (once the powerd integration is done)19:49
pmcgowanrsalveti, btw can we ever fix that wakelock thing?19:49
rsalvetipmcgowan: nops19:49
pmcgowanrsalveti, but you can fix anything ;(19:49
rsalvetiwe could try to spend some time to improve it a bit more, but would need kernel changes and so on19:50
rsalvetiwell, I could try to fix it, just don't have the time right now :-(19:50
pmcgowanrsalveti, so I take it its not just merge an upstream patch19:50
rsalvetipmcgowan: no, as that patch is already part of our current tree19:50
rsalvetiwould need some further investigation in there19:50
rsalvetiI saw that we might have some other changes that could improve a bit19:51
rsalvetibut would need to find the time to do that19:51
pmcgowanok19:51
rsalvetimostly busy with the emulator now19:51
pmcgowanright more important19:51
rsalvetiyeah19:51
pmcgowanmaybe one of kernel team could look into it19:51
rsalvetiyeah, that was my suggestion to ChickenCutlass19:51
pmcgowanI can ask19:51
rsalvetipmcgowan: bug 126757019:52
ubot5bug 1267570 in linux-mako (Ubuntu) "Mako not always entering suspend (msm_hsic_host wakelock)" [High,Confirmed] https://launchpad.net/bugs/126757019:52
pmcgowanrsalveti, I have that on speed dial :)19:52
rsalveti:-)19:52
rsalvetiI can help if you're able to get someone to look into that19:53
pmcgowanok let me ask19:53
popeystgraber: its hanging trying to remove cgroup-lite ⍨19:57
popeystgraber: shall i start again?19:57
=== DavidDuffey is now known as dduffey
=== Ursinha_ is now known as Ursinha
=== Dazzozo_ is now known as Dazzozo
=== lupine_85 is now known as lupine
=== zoktar_ is now known as zoktar
Rienzilhalol20:17
=== Sense is now known as rayo
=== rayo is now known as rayo000001
popeystgraber: sorted, how many reboot loops do you want me to do?20:36
rsalvetiogra_: [  135.380000] init: enable-cpu-hotplugging main process (1046) terminated with status 120:49
rsalvetiogra_: there's no online in the emulator20:49
rsalvetifor cpu in /sys/devices/system/cpu/cpu?/online; do chmod 644 $cpu; done20:49
rsalvetiogra_: mind fixing that?20:49
stgraberpopey: not sure how many ogra_ wants, around 200 would probably be good20:51
rsalvetipmcgowan: Saviq: it seems the app lens is always empty for me in the emulator now, can you guys reproduce the issue?20:51
popeystgraber: kk20:51
stgraberpopey: my own box + nexus 4 are up to 164 now with the same setup as you so I'm pretty confident you won't get any problem :)20:52
popeystgraber: yay20:53
=== ChickenCutlass_ is now known as ChickenCutlass
mhall119do we override XDG_CONFIG_HOME when running apps under confinement?21:26
popeystgraber: bad news, 36 passes and it's at the google logo21:32
popeystgraber: just noticed 30 mins have passed since last reboot21:32
popeystgraber: adb devices shows nothing21:34
=== ubot5` is now known as ubot5
=== Guest10598 is now known as CEnnis91
* popey starts the loop again21:42
=== beidl_ is now known as beidl
stgraberpopey: hmm, that's not good... here I'm up to 249 passes21:59
popeystgraber: run again and I have 13 passes22:05
popeyand failed22:05
=== Chipaca` is now known as Chipaca
* popey starts another run22:09
stgraberpopey: I wonder what's different in our setups...22:16
popeywell indeed22:18
popeystgraber: any confirmations of package versions or somesuch?22:18
popey(i should do?)22:18
=== fginther is now known as fginther|away
popeystgraber: i followed the etherpad22:24
stgraberpopey: I'm resetting my device again here to see if I can reproduce what you're seeing, though it's giving me a hard time when trying to install the new lxc-android-config22:26
popeystgraber: i had to adb shell, then dpkg -i it in the shell, it wont let me do it all in one line22:27
popeyhappy to reset and do same as you22:27
stgraberpopey: just to make sure things look good, can you pastebin "dpkg -l | grep cg", "ls -l /etc/init/" and "dpkg -l lxc-android-config"22:27
popeyok22:27
stgraberpopey: what I'm going to do here is wipe my device completely, reflash the latest image from trusty-proposed, then from the recovery partition, push the new deb and install it which will ensure I don't get into any trouble because the system is running.22:28
popeyyou can install the deb from the recovery part?22:28
popeystgraber: http://paste.ubuntu.com/7219165/22:29
stgraberpopey: ok, so you have cgroup-lite that's still sort of around (its init scripts anyway), you probably should purge it, not sure whether that would cause your problem though22:34
popeyhmmm odd.22:34
stgraberdpkg --purge cgroup-lite ought to do it22:34
popeyok22:34
popeybah, yes, i messed up earlier, only removed, didn't purge22:35
popeyroot@ubuntu-phablet:~# apt-get remove cgroup-lite22:35
popeysorry22:35
popeyhave purged via dpkg and will start the reboot loop again22:36
stgraberpopey: that's how you install a package from recovery: http://paste.ubuntu.com/7219206/22:44
stgraberloop re-running here following those instructions, that should be as close as we can get short of spinning a new image22:45
popeystgraber: handy22:46
popeywill leave this loop running overnight22:46
popeyassuming it gets further22:46
stgraberlet's hope it will... if it doesn't I hope mine will get stuck too, otherwise this will be a pain to figure out22:47
micahfhey, I did "apt-get install ubuntu-touch" on my tablet with 14.04 and it got me into loads of trouble!22:49
micahfspecifically, the lxc-android-config package was preventing me from booting up.22:50
popeystgraber: got stuck again22:51
popeyafter 15 boots22:52
stgraberpopey: is that mako you're testing with?22:55
popeystgraber: yes22:55
stgraberpopey: so I really should be getting the same thing here... up to loop 17 here22:58
popeystgraber: want me to do a clean start to confirm I didn't balls it up?23:01
popeybased on your pastebin?23:01
stgraberpopey: yeah, I think that'd be interesting that way we know we have exactly the same thing23:02
popeyok, will do23:02
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
popeystgraber: btw thanks for the -f in reboot recovery, didn't know that the -f was needed, will update docs23:16
stgraberpopey: it depends on what adb you have. In some cases you can do "adb reboot recovery" so asking adb to do the reboot for you and in some others you need to actually call the reboot command with "adb shell reboot -f recovery", the latter tends to always work so I usually stick to that23:18
popeyi've never had reboot recovery work with ubuntu23:18
decopumpis the Nexus 7 the best device for booting android, ubuntu touch, and firefox os?23:51
popeywhich nexus 7?23:51
decopump2013 i guess?23:51
popeydoes ffos support the nexus 7 2013?23:52
decopumpthere is some support but i'm not sure of the extent23:52
popeyok23:52
decopumpi'm looking for a magical device that can do all 323:53
popeyso we support ubuntu on the nexus 7 201323:53
wolflarsonhey popey23:53
popeydunno about ffos, but sure, android can ☻23:53
decopumpim not really experienced with this kind of stuff either23:53
popeyhello wolflarson23:53
wolflarsondo you guys support nexus 5 yet? :)23:53
wolflarsoni cant find the community port in english23:53
popeywolflarson: we don't, no.23:54
wolflarsonaww23:54

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