SturmFlut | Okay, 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) already | 00:06 |
---|---|---|
SturmFlut | the socket() call fails with EACCES. | 00:06 |
SturmFlut | Which leads to the question: Is this a kernel issue, an AppArmor issue or something completely different and who should I talk to | 00:07 |
jjohansen | SturmFlut: please check dmesg for apparmor messages | 00:41 |
jjohansen | dmesg | grep DENIED | 00:41 |
SturmFlut | jjohansen: There are some results, but none concerning the app. | 00:45 |
jjohansen | SturmFlut: hrmmm, is the app confined? | 00:46 |
jjohansen | aa-status will report apparmor status | 00:47 |
jjohansen | or you can directly check the tasks confinement | 00:47 |
jjohansen | cat /proc/<pid>/attr/current | 00:47 |
jjohansen | where <pid> is the pid of the task to check | 00:48 |
jjohansen | ps -Z will show that info as well | 00:48 |
SturmFlut | /proc/15059/attr/current contains "unconfined". I would expect so on the Desktop | 00:49 |
jjohansen | SturmFlut: so with it being unconfined its very unlikely the issue is apparmor | 00:51 |
SturmFlut | jjohansen: I thought so, but I don't know anything about AppArmor so I wanted to check that first | 00:52 |
jjohansen | right, so it should only enforce policy on processes that are confined | 00:52 |
jjohansen | it doing something with unconfined would be a major bug | 00:53 |
SturmFlut | jjohansen: 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 |
SturmFlut | jjohansen: 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 | ||
andygraybeal | is there a tablet that runs ubuntu well yet? my lady woud like a computer for the kitchen. | 14:57 |
andygraybeal | i've read the links in the topic | 14:58 |
kibibyte | hi | 16:23 |
kibibyte | what phone shuould i buy in order to install ubuntu phone on it ? | 16:24 |
kibibyte | ??? | 16:25 |
k1l | see 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 support | 16:25 |
kibibyte | but i mena some offical phone | 16:26 |
kibibyte | i heard meizu will be first phone with ubuntu | 16:26 |
kibibyte | so shoudl i buy meizu ? | 16:26 |
k1l | did look up the wiki page i just told? the first phone will be sold in february. | 16:26 |
kibibyte | k1l, what phone ? meizu ? | 16:27 |
kibibyte | ?? | 16:28 |
k1l | kibibyte: ??? | 16:29 |
kibibyte | k1l, what phone will be sold in februrary ? i mena what brand | 16:29 |
k1l | you asked for a phone to install ubuntu-touch on your own there. so see the wiki page. | 16:29 |
kibibyte | http://www.gsmarena.com/new_photo_of_ubuntu_powered_meizu_mx4-news-10385.php | 16:30 |
k1l | kibibyte: 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-february | 16:30 |
popey | first phone is bq | 16:31 |
k1l | kibibyte: so if you want to be sure you can install ubuntu phone on your phone see the wiki page i meantioned | 16:31 |
popey | meizu next | 16:31 |
kibibyte | bq seems shitty to me. its from portugal | 16:31 |
popey | s/portugal/spain/ | 16:31 |
kibibyte | yeah | 16:31 |
kibibyte | same | 16:31 |
kibibyte | spain/portugal they can do only holliday resorts | 16:32 |
kibibyte | not electronic | 16:32 |
popey | now now | 16:32 |
kibibyte | i dream about HTC with ubuntu | 16:33 |
kibibyte | that would be android killer | 16:33 |
popey | i like the look of Sony phones | 16:33 |
popey | would love to have a sony phone with ubuntu | 16:33 |
popey | but then there's a LOT of android phone manufacturers out there | 16:33 |
popey | many of them would be awesome. | 16:33 |
popey | but we have to get the first one out, then the second, then the rest | 16:33 |
popey | takes time. | 16:33 |
kibibyte | HTC -> best looking solid aluminium phones | 16:34 |
kibibyte | yeah i know but ubuntu should start with some well know brand like HTC | 16:36 |
kibibyte | and they start with bq and meizu | 16:36 |
ogra_ | nope, that would be a bad idea ... you dont really want the masses in the beginning, you want the app devs | 16:37 |
kibibyte | one 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 store | 16:37 |
ogra_ | once you have a certain amount of apps you want the masses then | 16:38 |
kibibyte | meizu mx4 affordable ? lol | 16:38 |
kibibyte | it costs more thatn HTC one | 16:38 |
* ogra_ wasnt talking about meizu | 16:38 | |
strahtw | If you want a other device then meizu or bq just install it on a supported one you want!? | 16:39 |
kibibyte | most IT delopers can afford any phone | 16:39 |
kibibyte | its well paid subject | 16:39 |
ogra_ | well, go and convince HTC :) | 16:39 |
kibibyte | or you targeting developer from india lol | 16:39 |
ogra_ | or do a port yourself | 16:40 |
kibibyte | no no, i dont want any ports i want some offical phone from cannocial . with support etc | 16:40 |
kibibyte | like nexus from google | 16:41 |
ogra_ | well, then you have to go with bq or later with meizu | 16:41 |
ogra_ | or wait a year and have a bigger choice | 16:41 |
kibibyte | they should hire some smart gut in cannonical to manage this stuff | 16:42 |
ogra_ | manage what ? | 16:42 |
kibibyte | like my idea: offical phone from ubuntu | 16:42 |
k1l | kibibyte: you are talking way too much prejudices | 16:42 |
kibibyte | i mena from cannonical | 16:42 |
ogra_ | the bq and meizu Üare* the official phones from ubuntu once they are out | 16:42 |
k1l | kibibyte: 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 either | 16:43 |
kibibyte | ogra_, but i heard that that will modified ubuntu on bq and meizu | 16: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 |
kibibyte | ogra_, yeah but nexus has stock android and i.e HTC has android with htc sense which is crap | 16:44 |
ogra_ | ubuntu isnt android | 16:44 |
ogra_ | completely different concept | 16:44 |
ogra_ | *especially* if it comes to branding | 16:44 |
kibibyte | yeha but meizu will probably modify ubuntu touch | 16:44 |
ogra_ | what makes you think that | 16:44 |
k1l | kibibyte: can you stick to facts and not "i think" or "i heard"? | 16:45 |
kibibyte | since each company wants to add somethign to their phones to make them "better" than others | 16:45 |
kibibyte | like HTC is adding sense | 16:45 |
ogra_ | thats what ubuntu for phones is designed for | 16:45 |
kibibyte | but i want stock ubuntu | 16:46 |
ogra_ | it is re-brandeable by the manufacturer out of the box | 16:46 |
kibibyte | without any chinesse/portugal modifications | 16:46 |
ogra_ | there is no such thing | 16:46 |
ogra_ | its all stock ubuntu ... | 16:46 |
ogra_ | just wait til you can hokd one in your hands and you wil understand | 16:47 |
kibibyte | ogra_, 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 version | 16:47 |
popey | this isn't android | 16:47 |
ogra_ | right, ubuntu isnt android | 16:47 |
ahayzen_ | Hey, is the camera-app broken for anyone else after the latest rtm-proposed update? | 16:48 |
kibibyte | ok then i like it | 16:48 |
popey | ahayzen_: lemme see | 16:48 |
popey | just updating now | 16:48 |
popey | ahayzen_: broken in what way? won't launch? | 16:48 |
ahayzen_ | yup | 16:48 |
popey | k | 16:49 |
popey | any logs? | 16:49 |
ahayzen_ | checking now | 16:49 |
popey | https://bugs.launchpad.net/camera-app/+bug/1411789 | 16:49 |
ubot5 | Launchpad bug 1411789 in camera-app "Camera crash when switching while loading" [Undecided,New] | 16:49 |
popey | ahayzen_: works on krillin | 16:50 |
ahayzen_ | app log http://pastebin.ubuntu.com/9768315/ syslog http://pastebin.ubuntu.com/9768317/ | 16:51 |
ahayzen_ | popey, this is on mako #169 | 16:51 |
ahayzen_ | popey, i've even tried reinstalling from the store | 16:51 |
ahayzen_ | popey, but it just dumps out right at the point where the splash would normally end | 16:52 |
popey | I'd file a bug. | 16:52 |
popey | sorry, I dont have mako | 16: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 bug | 16:53 |
popey | lots of camera stuff! | 16:54 |
* ahayzen_ spots 'camera' in the .changes | 16:54 | |
ogra_ | well, there was a hybris change | 16:54 |
ahayzen_ | ogra_, do you have a mako? | 16:54 |
ogra_ | i guess while the krillin device tarball got updated, the mako one didnt | 16:54 |
ogra_ | yes, i have a mako, but months outdated and with drained battery | 16:54 |
ahayzen_ | ah | 16:54 |
ogra_ | https://lists.ubuntu.com/archives/rtm-14.09-changes/2015-January/thread.html ... no android package in there | 16:55 |
ogra_ | file a bug and assign to rsalveti ... | 16:55 |
ogra_ | he usually cares for updating that | 16:56 |
SturmFlut | popey: 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 |
popey | dunno 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 1412013 | 16:58 |
ubot5 | bug 1412013 in camera-app "[mako] Camera app doesn't launch on #169" [Undecided,New] https://launchpad.net/bugs/1412013 | 16:58 |
popey | done | 16:59 |
popey | ogra_: 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 |
SturmFlut | popey, 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 defaults | 17:04 |
ogra_ | both are in hand of the kernel team i think | 17:04 |
ogra_ | (but you will need security approval anyway, so yeah, start with them first) | 17:04 |
SturmFlut | ogra_: 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 week | 17:06 |
SturmFlut | ogra_: Will do. Thanks a lot :) | 17:07 |
ogra_ | np | 17:07 |
i9500 | hey guys | 17:35 |
i9500 | as my name says | 17:35 |
i9500 | is there any way to install ubuntu touch developers preview to i9500 | 17:35 |
i9500 | hmm no answer ok than | 17:37 |
ogra_ | yay for patiency | 17:41 |
adrian47 | Is there anyone who can help with: "Warning: unable to open an initial console" at boot (porting to HTC phone) | 19:06 |
julienrbt | mmh the mms works in ubuntu touch? | 19:54 |
julienrbt | Hello, Ubuntu Touch support tethering? | 21:43 |
julienrbt | (usb? wifi?) | 21:44 |
julienrbt | well 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!