/srv/irclogs.ubuntu.com/2015/09/29/#ubuntu-app-devel.txt

=== _salem is now known as salem_
=== salem_ is now known as _salem
=== JanC_ is now known as JanC
=== chihchun_afk is now known as chihchun
dholbachgood morning06:54
=== chihchun is now known as chihchun_afk
RichardHi there09:57
=== Richard is now known as Guest22329
=== chihchun_afk is now known as chihchun
=== _salem is now known as salem_
kivihey all11:55
kiviany news on the third phone yet?11:55
ogra_you mean the MX4 ?11:57
tathhuthere's already 3 phones :p11:57
kivino, I mean the one that mark mentioned which would be able to dock13:10
kiviogra_, tathhu13:10
ogra_well, thats announced for end of the year13:10
kiviogra_, any details at all?13:11
ogra_(and at that date you will most likely only find early developer editions)13:11
kiviogra_, specifically if it is North America Compatible?13:11
ogra_no idea, sorry13:11
ogra_all i know is it will come from bq and it is specifically developed for this use case (unlike the former devices that were existing andorid devices)13:11
ogra_and that it will be fully done by 16.0413:12
=== pat_ is now known as Guest41182
tathhucool13:50
=== davidcalle_ is now known as davidcalle
lesamouraihello ogra_14:35
lesamouraithere is a binary file 'abc' which i can run from terminal as ./abc without sudo , couldn't make it execute via QProcess in Qt, any clues?14:43
JanChow does it fail?  check error messages, logs...14:47
lesamourai'unknown error' is all im getting In qt14:47
lesamouraiQProcess::start("/home/abc")14:48
popeyis this on a phone?14:48
lesamouraiyes XD14:48
popeyif so, it will be confined and may not be able to access that directory14:49
popeysee "sudo dmesg | grep DEN"14:49
JanCalso, what is a binary doing in /home14:49
popeysee what apparmor denials14:49
lesamourairunning as unconfined14:49
popeyit should probably be located in your app directory14:49
popeybut dmesg may show something anyway14:49
lesamouraiok actual path is /home/phablet/Documents14:49
lesamouraieven if its in app directory , gives same error14:50
popeyis the file marked executable?14:50
lesamouraiyep14:50
lesamouraiit runs fine in terminal14:50
lesamouraidmesg output is like this , I think it gives enough hints14:52
lesamouraiapparmor="DENIED" operation="exec" profile="tynew.ty_ty_0.1" name="/home/phablet/Documents/termx" pid=17130 comm="ty" requested_mask="x" denied_mask="x" fsuid=32011 ouid=3201114:53
ogra_well, that clearly says the confinement kicked in14:53
jdstrand'x' maps to exec()14:54
ogra_it denies exec()14:54
lesamouraiI see , and that is with  unconfined mode14:54
ogra_iirc unconfined still leaves some blocks in place ... jdstrand may correct me here14:55
ogra_at least on the phone14:55
lesamourai:( that means  this app is impossible14:56
ogra_lesamourai, probably just the way you try to implement it is15:05
lesamouraiwell then back to init way to start the service15:06
lesamouraiif its permitted...15:06
ogra_what do you actually want to do15:10
ogra_try to define your use-case rather than sticking to a specific implementation ... then try to adapt your use-case to the possible implementation15:11
lesamourai there is this service which I want to run in background  , its ready , only thing left is how to implement it now15:13
lesamouraiearlier plan was giving this option on client side of app , but its impossible15:14
ogra_lesamourai, what is your service supposed to do15:26
=== chihchun is now known as chihchun_afk
lesamouraisorry  was away for a while , service is implemented as a dbus service , its working if i run it from terminal , so only issue remaining is how to start it16:07
=== bfiller_ is now known as bfiller
=== salem_ is now known as _salem

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