/srv/irclogs.ubuntu.com/2014/12/19/#ubuntu-touch.txt

=== duflu_ is now known as duflu
=== Guest90584 is now known as dk
nooberifficSo. On a lark I installed Ubuntu Touch on my Nexus 7. Now, though it seems to be working, I can't figure out anything to actually do with it and can't seem to find any manuals. Any advice?06:32
lotuspsychjeubuntu-touch has an intro howto use it the first time06:38
dholbachgood morning07:13
lotuspsychjemorning07:14
Nirmik_Kale_RnDeu na?08:02
Nirmik_Kale_RnD81,82 ghetlela ahe08:02
Nirmik_Kale_RnDsorry08:02
Nirmik_Kale_RnDwrong channel08:02
=== EuaD is now known as ubuntuaddicted
JamesTaitGood morning all; happy Friday, and happy Underdog Day! :-D09:53
=== VDVsx_ is now known as VDVsx
nanderssonHi, is there some place where I can buy Ubuntu-tablets here in Europe?11:14
nanderssonnone on Amazon?11:15
beunonandersson, there are none in the market at the moment11:17
nanderssonbeuno, ah, a pity :)11:17
=== _salem is now known as salem_
=== salem_ is now known as _salem
mardywhat is the latest stable image? #12?13:31
=== _salem is now known as salem_
=== salem_ is now known as _salem
dobeymardy: on mako? i think so14:51
mardydobey: thanks14:59
jcbjoeim going to give ubuntu-touch a go again15:32
dobeyjcbjoe: are you using multirom or you just flashing between android and ubuntu as the only system on the phone?15:51
jcbjoeubuntu will be the only system on the phone15:52
jcbjoeubuntu-touch/ubuntu-rtm/14.09 < -- this command15:53
jcbjoei smell coffee15:55
jcbjoedobey: the actualy handsets with the finished models won't be out till like 2015 right ?15:55
dobeyjcbjoe: right15:56
jcbjoeQ1 ?15:56
dobeyhttp://www.omgubuntu.co.uk/2014/12/bq-ubuntu-phone-launches-in-europe-this-february15:56
jcbjoebut of course Europe!15:57
jcbjoeeverything is in europe!15:58
jcbjoedobey: this is r12 build or if im saying it right .. it feels snappy also scopes looks way diffrent from r10 and r1116:00
dobeyeh?16:02
dobeyoh, the new scope management ui is in rtm now16:02
jcbjoethe last time i was on ubuntu-touch in the about section it said r10 .. it says r12 now .. it feels very snappy/fast .. the scopes is diffrent and it feels very smooth just the whole thing16:03
dobeythe scopes themselves should be the same16:03
dobeywhat changed is the ui for managing which scopes you have favorited and such16:03
jcbjoeoh yea i can uncheck or check a start next to it16:04
jcbjoei got to read up on how to use scopes16:06
mardyjdstrand: ping16:07
jdstrandmardy: hey16:14
mardyjdstrand: hi! I think I'm ready to test the plugin confinement branch, but I need the plugins to actually be confined :-)16:14
mardyjdstrand: do you know when you'll be able to work on the apparmor side of the issue?16:15
jdstrandmardy: not today, it will have to be after the holiday, but I can advise you on how to16:17
jdstrandmardy: create a click that ships it, so that there is a label. don't mind that crt fails, just make sure the click is otherwise setup correctly16:18
mardyjdstrand: well' I won't have time until after the holidays either, but if you think you'll be busy even after the holidays, then maybe you could send me an email with the infos16:18
jdstrandmardy: then try running it. look for denials in /var/log/syslog16:18
jdstrandmardy: then adjust /var/lib/apparmor/profiles/click_your_click_profile16:18
jdstrandrunning "sudo apparmor_parser -r /var/lib/apparmor/profiles/click_your_click_profile' after each time you change it16:19
jdstrandmardy: eventually you'll have a set of rules that we can add to a policy group16:19
jdstrand(and you can add those to the bug)16:20
mardyjdstrand: wait... AFAIK, it will have to be s/adjust/create/16:20
jdstrandI won't be able to spend a ton of time on it, cause I've got a lot of snappy stuff to do, so it would be helpful if you iterated and thought about the rules to make sure they were sane16:20
mardyjdstrand: or are profiles already created even for account plugins?16:20
jdstrandmardy: I'm saying just treat it like an app for the moment and you'll see all the denials as you try to use it16:21
mardyjdstrand: OK, so I should also adjust the test so that we call aa_change_profile on an existing app profile16:23
jdstranddo you have an example click already?16:23
mardyjdstrand: reminders-app could be one16:25
jdstrandlet me look at it16:25
mardyjdstrand: it comes with the evernote plugin16:25
jdstrandmardy: ok16:33
jdstrandmardy: this is the reminders manifest:16:33
jdstrandhttp://paste.ubuntu.com/9571128/16:34
jdstrandmardy: notice how "evernote-account-plugin" doesn't specify "apparmor" in its list of hooks?16:34
mardyjdstrand: yep16:36
mardyjdstrand: do you think I can add it there?16:37
jdstrandmardy: I know you can :)16:37
mardyjdstrand: cool16:37
jdstrandmardy: just do "apparmor": "evernote-account-plugin.apparmor" (or whatever)16:37
jdstrandmardy: the question then becomes how much do you want to start with16:38
jdstrandfor the first pass, use:16:38
jdstrand{16:38
jdstrand  "template": "unconfined",16:38
jdstrand  "policy_groups": [],16:38
jdstrand"policy_version": 1.216:38
jdstrand}16:38
mardyjdstrand: ok16:39
jdstrandmardy: that will give it the label you are looking for, but should allow everything through16:39
mardyjdstrand: ah, and another easy :-) question: if aa_change_profile() fails, I guess I should exit the process, right?16:39
mardyjdstrand: it would fail, if I specify an unexisting profile, right?16:40
jdstrandmardy: once you are satisfied that is working, you might change the template to "ubuntu-push-helper" since it is more minimal that "ubuntu-sdk" and it might give you a better idea of the denial and what should be in the policy group16:41
jdstrandaa_change_profile() should fail, yes, but I'm going to point you at tyhicks for that question16:42
jdstrandtyhicks: can you advise mardy on aa_change_profile() and perhaps if he should use aa_change_onexec() instead?16:42
tyhickssure16:42
tyhicksmardy: correct, those calls will fail if the profile doesn't exist16:43
jdstrandmardy: (re ubuntu-push-helper-- do note there are explicit denials in there, so be sure to check the policy to make sure it will do what you want16:43
tyhicksmardy: if you care about detecting that specific condition, -1 will be returned and errno will be set to ENOENT16:44
tyhicksmardy: re aa_change_profile() vs aa_change_onexec(), I prefer to use aa_change_onexec()16:45
tyhicksmardy: I like it a little better because you can call it in advance, do other things, and then you don't change into the new profile until the call to exec()16:45
tyhicksmardy: if you use aa_change_profile(), it should be called exactly before the call to exec()16:46
tyhicksmardy: otherwise, the profile that you're changing to will need to allow all of the things you do between the aa_change_profile() and the exec() since you've already changed into the new profile16:46
=== Nexus is now known as Guest33786
mardytyhicks: I have one unconfined process which spawns several child processes via QProcess17:09
mardytyhicks: can I call aa_change_onexec() more than once, in that parent process?17:09
mardytyhicks: or do I have to call aa_change_onexec() after fork()?17:12
tyhicksmardy: are they processes or threads?17:14
tyhicks(I assume processes from the name "QProcess" but I'd like to be sure)17:14
mardytyhicks: processes17:15
tyhicksmardy: you'd probably want to call aa_change_onexec() after fork()17:17
tyhicksmardy: that way you don't have to worry about your parent process calling into a library that does who-knows-what and may end up spawning a process that's unexpectedly confined17:18
tyhicksmardy: I'd recommend something like this: fork() -> aa_change_onexec() -> do other process initialization stuff -> exec()17:19
mardytyhicks: OK, thanks17:22
=== thelionroars1337 is now known as thelionroars
dobeywhee splits19:08
=== ev_ is now known as ev
=== sephiap_ is now known as sephiap
=== ken_ is now known as kenvandine
ZelenkaHi :)19:26
=== _salem is now known as salem_
=== salem_ is now known as _salem

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