/srv/irclogs.ubuntu.com/2015/01/17/#ubuntu-touch.txt

SturmFlutOkay, this one is a little complicated: I found out that Linux introduced unprivileged ICMP for a couple of years. One gets a socket using     socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP)   and then an the unprivileged user is allowed to send and receive a very limited set of ICMP messages. My code seems to work on the phone (Nexus 4, r14, Kernel 3.4.0-5-mako) but on the desktop (Vivid, Kernel 3.18.0-9-generic) already00:06
SturmFlutthe socket() call fails with EACCES.00:06
SturmFlutWhich leads to the question: Is this a kernel issue, an AppArmor issue or something completely different and who should I talk to00:07
jjohansenSturmFlut: please check dmesg for apparmor messages00:41
jjohansen  dmesg | grep DENIED00:41
SturmFlutjjohansen: There are some results, but none concerning the app.00:45
jjohansenSturmFlut: hrmmm, is the app confined?00:46
jjohansenaa-status will report apparmor status00:47
jjohansenor you can directly check the tasks confinement00:47
jjohansen cat /proc/<pid>/attr/current00:47
jjohansenwhere <pid> is the pid of the task to check00:48
jjohansenps -Z will show that info as well00:48
SturmFlut /proc/15059/attr/current contains "unconfined". I would expect so on the Desktop00:49
jjohansenSturmFlut: so with it being unconfined its very unlikely the issue is apparmor00:51
SturmFlutjjohansen: I thought so, but I don't know anything about AppArmor so I wanted to check that first00:52
jjohansenright, so it should only enforce policy on processes that are confined00:52
jjohansenit doing something with unconfined would be a major bug00:53
SturmFlutjjohansen: The next step would probably be to talk to someone in #ubuntu-kernel ? I already checked that the 3.18.0 kernel contains the necessary code for unprivileged ICMP, and the same socket() call works on the phone.00:54
SturmFlutjjohansen: Nice to meet you BTW, and thanks for your support :)01:18
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== Guest83972 is now known as thelionroars
=== thelionroars is now known as Guest13313
=== chihchun is now known as chihchun_afk
=== Guest13313 is now known as thelionroars
=== thelionroars is now known as Guest60400
=== Guest60400 is now known as thelionroars
=== thelionroars is now known as Guest11134
andygraybealis there a tablet that runs ubuntu well yet?  my lady woud like a computer for the kitchen.14:57
andygraybeali've read the links in the topic14:58
kibibytehi16:23
kibibytewhat phone  shuould i buy in order to install ubuntu phone on it ?16:24
kibibyte ???16:25
k1lsee the topic for the wiki pages about the install. in there you will find what devices are used as official dev phones and what phones have community support16:25
kibibytebut i mena some offical phone16:26
kibibytei heard meizu will be first phone with ubuntu16:26
kibibyteso shoudl i buy meizu ?16:26
k1ldid look up the wiki page i just told? the first phone will be sold in february.16:26
kibibytek1l, what phone ? meizu ?16:27
kibibyte??16:28
k1lkibibyte: ???16:29
kibibytek1l, what phone will be sold in februrary ? i mena what brand16:29
k1lyou asked for a phone to install ubuntu-touch on your own there. so see the wiki page.16:29
kibibytehttp://www.gsmarena.com/new_photo_of_ubuntu_powered_meizu_mx4-news-10385.php16:30
k1lkibibyte: bq. but if they ship 1 ubuntu phone doesnt mean you can install ubuntu-touch on all their phones.16:30
popey kibibyte http://www.omgubuntu.co.uk/2014/12/bq-ubuntu-phone-launches-in-europe-this-february16:30
popeyfirst phone is bq16:31
k1lkibibyte: so if you want to be sure you can install ubuntu phone on your phone see the wiki page i meantioned16:31
popeymeizu next16:31
kibibytebq seems shitty to me. its from portugal16:31
popeys/portugal/spain/16:31
kibibyteyeah16:31
kibibytesame16:31
kibibytespain/portugal they can do only holliday resorts16:32
kibibytenot electronic16:32
popeynow now16:32
kibibytei dream about HTC with ubuntu16:33
kibibytethat would be android killer16:33
popeyi like the look of Sony phones16:33
popeywould love to have a sony phone with ubuntu16:33
popeybut then there's a LOT of android phone manufacturers out there16:33
popeymany of them would be awesome.16:33
popeybut we have to get the first one out, then the second, then the rest16:33
popeytakes time.16:33
kibibyteHTC -> best looking solid aluminium phones16:34
kibibyteyeah i know but ubuntu should start with some well know brand like HTC16:36
kibibyteand they start with bq and meizu16:36
ogra_nope, that would be a bad idea ... you dont really want the masses in the beginning, you want the app devs16:37
kibibyteone is frome some portugal (holliday resorts) and other is from china (cheap shit)16:37
ogra_and for app devs you want an affordable device they can use to fill the store16:37
ogra_once you have a certain amount of apps you want the masses then16:38
kibibytemeizu mx4 affordable ? lol16:38
kibibyteit costs more thatn HTC one16:38
* ogra_ wasnt talking about meizu 16:38
strahtwIf you want a other device then meizu or bq just install it on a supported one you want!?16:39
kibibytemost IT delopers can afford any phone16:39
kibibyteits well paid subject16:39
ogra_well, go and convince HTC :)16:39
kibibyteor you targeting developer from india lol16:39
ogra_or do a port yourself16:40
kibibyteno no, i dont want any ports i want some offical phone from cannocial . with support etc16:40
kibibytelike nexus from google16:41
ogra_well, then you have to go with bq or later with meizu16:41
ogra_or wait a year and have a bigger choice16:41
kibibytethey should hire some smart gut in cannonical to manage this stuff16:42
ogra_manage what ?16:42
kibibytelike my idea: offical phone from ubuntu16:42
k1lkibibyte: you are talking way too much prejudices16:42
kibibytei mena from cannonical16:42
ogra_the bq and meizu Üare* the official phones from ubuntu once they are out16:42
k1lkibibyte: you know that even microsoft with its power did struggle in the mobile market?16:43
ogra_its not like google ever produced a nexus themselves either16:43
kibibyteogra_, but i heard that that will modified ubuntu on bq and meizu16:43
ogra_modified ?16:43
ogra_its the first release of the ubuntu phone OS ... it will be as plain as it can be :)16:43
kibibyteogra_, yeah but nexus has stock android and i.e HTC has android with htc sense which is crap16:44
ogra_ubuntu isnt android16:44
ogra_completely different concept16:44
ogra_*especially* if it comes to branding16:44
kibibyteyeha but meizu will probably modify ubuntu touch16:44
ogra_what makes you think that16:44
k1lkibibyte: can you stick to facts and not "i think" or "i heard"?16:45
kibibytesince each company wants to add somethign to their phones to make them "better" than others16:45
kibibytelike HTC is adding sense16:45
ogra_thats what ubuntu for phones is designed for16:45
kibibytebut i want stock ubuntu16:46
ogra_it is re-brandeable by the manufacturer out of the box16:46
kibibytewithout any chinesse/portugal modifications16:46
ogra_there is no such thing16:46
ogra_its all stock ubuntu ...16:46
ogra_just wait til you can hokd one in your hands and you wil understand16:47
kibibyteogra_, nexus has stock android installed. If thers new version of android , you get it. And in HTC you cant install new andorid. you must wait for HTC android version16:47
popeythis isn't android16:47
ogra_right, ubuntu isnt android16:47
ahayzen_Hey, is the camera-app broken for anyone else after the latest rtm-proposed update?16:48
kibibyteok then i like it16:48
popeyahayzen_: lemme see16:48
popeyjust updating now16:48
popeyahayzen_: broken in what way? won't launch?16:48
ahayzen_yup16:48
popeyk16:49
popeyany logs?16:49
ahayzen_checking now16:49
popeyhttps://bugs.launchpad.net/camera-app/+bug/141178916:49
ubot5Launchpad bug 1411789 in camera-app "Camera crash when switching while loading" [Undecided,New]16:49
popeyahayzen_: works on krillin16:50
ahayzen_app log http://pastebin.ubuntu.com/9768315/ syslog http://pastebin.ubuntu.com/9768317/16:51
ahayzen_popey, this is on mako #16916:51
ahayzen_popey, i've even tried reinstalling from the store16:51
ahayzen_popey, but it just dumps out right at the point where the splash would normally end16:52
popeyI'd file a bug.16:52
popeysorry, I dont have mako16:52
ahayzen_:/16:52
ahayzen_popey, it was working on the image before, so i suspect its something in these changes http://people.canonical.com/~ogra/touch-image-stats/rtm/201.changes :) i'll file a bug16:53
popeylots of camera stuff!16:54
* ahayzen_ spots 'camera' in the .changes16:54
ogra_well, there was a hybris change16:54
ahayzen_ogra_, do you have a mako?16:54
ogra_i guess while the krillin device tarball got updated, the mako one didnt16:54
ogra_yes, i have a mako, but months outdated and with drained battery16:54
ahayzen_ah16:54
ogra_https://lists.ubuntu.com/archives/rtm-14.09-changes/2015-January/thread.html ... no android package in there16:55
ogra_file a bug and assign to rsalveti ...16:55
ogra_he usually cares for updating that16:56
SturmFlutpopey: My cheap QML Network Scanner app relies on a kernel feature which is currently enabled on Ubuntu Touch, but disabled on Vivid Vervet desktops/servers. In the end it boils down to a default sysctl setting, so its not really a kernel issue, but a matter of "what are the defaults for our distribution". I am not sure as who to talk to, could you maybe give me a pointer?16:57
popeydunno who does kernel defaults, if it's a security thing then jdstrand I think, but otherwise, not sure.16:58
ahayzen_ogra_, i don't think i can assign people not in my team or something IIRC, are you able to assign/add any more info to bug 141201316:58
ubot5bug 1412013 in camera-app "[mako] Camera app doesn't launch on #169" [Undecided,New] https://launchpad.net/bugs/141201316:58
popeydone16:59
popeyogra_: do you know who might be able to answer SturmFlut's question?16:59
ogra_popey, SturmFlut, either security or kernel team ...17:00
ahayzen_popey, ogra_ thanks :)17:00
SturmFlutpopey, ogra_ : There might be security implications. So maybe I talk to the security team first, and if they have no objections I take it to the kernel team? Or whoever is responsible for the contents of the "procps" package, which sets most of the sysctl parameters, as I just found out.17:03
ogra_well, procps sets the overrides, kernel sets the defaults17:04
ogra_both are in hand of the kernel team i think17:04
ogra_(but you will need security approval anyway, so yeah, start with them first)17:04
SturmFlutogra_: Thanks. What's the proper way to contact the security team? Mailing List or IRC?17:06
ogra_SturmFlut, ubuntu-devel or ping mdeslaur or jdstrand during the working week17:06
SturmFlutogra_: Will do. Thanks a lot :)17:07
ogra_np17:07
i9500hey guys17:35
i9500as my name says17:35
i9500is there any way to install ubuntu touch developers preview to i950017:35
i9500hmm no answer ok than17:37
ogra_yay for patiency17:41
adrian47Is there anyone who can help with: "Warning: unable to open an initial console"  at boot (porting to HTC phone)19:06
julienrbtmmh the mms works in ubuntu touch?19:54
julienrbtHello, Ubuntu Touch support tethering?21:43
julienrbt(usb? wifi?)21:44
julienrbtwell I've had an answer :) http://linuxg.net/ubuntu-touch-received-official-support-for-usb-tethering-see-how-to-enable-the-feature/21:49
julienrbt(the next time I search before, sorry)21:49

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