/srv/irclogs.ubuntu.com/2016/11/16/#ubuntu-touch.txt

=== JanC is now known as Guest76305
=== JanC_ is now known as JanC
=== DeadSquirrel01 is now known as DeadSquirrel0
=== DeadSquirrel0 is now known as DeadSquirrel01
=== DeadSquirrel01 is now known as Ds01_
TheMariushey anyone here running ubuntu on surface pro 3 and does it run well (with toutch etc)?02:41
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
cchello09:18
cccan we use sougou at ubuntu phone?09:18
cci search all the information by google,but no answers09:18
matv1Sil2100 Canonical Sytem Image for OTA 14 still ´Expected: 2016-11-14´. that could do with an update I think11:20
matv1sil2100 if a new realistic date can be set.11:22
sil2100matv1: yeah, let me poke Pat about it11:23
sil2100Right now we're still struggling as oxide is not releasable11:23
matv1yes I know. And on a personal note I would say https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/147831911:24
ubot5`Ubuntu bug 1478319 in network-manager (Ubuntu) "Wifi doesn't reconnect to AP if it uses the same SSID than another AP" [Undecided,Confirmed]11:24
matv1could really do with a fix11:24
matv1which is also on the OTA 14 list11:25
matv1sorry i meant to say #159858411:27
matv1https://bugs.launchpad.net/ubuntu/+source/indicator-network/+bug/159858411:28
ubot5`Ubuntu bug 1598584 in Canonical System Image "wifi slows to a crawl when bluetooth is enabled" [Critical,In progress]11:28
=== _salem is now known as salem_
ifitaintbrokeJust tried to install ubuntu touch on my oneplus one. all went well until where ubuntu-device-flash says: Rebooting into recovery to flash.11:59
ifitaintbrokeThe device rebooted, but is stuck in the boot logo (where it says powered by android) for like 10 minutes?12:00
ifitaintbrokeI'm afraid I might have fried my bacon... :-D12:00
ifitaintbrokeany ideas what I can/should do now?12:03
=== marcusto_ is now known as marcustomlinson
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
mterrybfiller, heyo -- for bug 1629009 both messaging-app and dialer-app are marked as fix released or fix committed.  But I can't find the branches for them or see them fixed.  Do you know where the MPs are for those fixes so that I can include them in the silo?14:06
ubot5`bug 1629009 in unity-scopes-api (Ubuntu) "Does not work inside a snap due to hardcoded paths" [Undecided,In progress] https://launchpad.net/bugs/162900914:06
bfillermterry, let me check, I know the snaps are in the store14:10
bfillerpossible the code never got merged14:10
bfillerrenato__, ^^^^14:10
bfillermterry, actually wanted to ask you about that - I noticed they were preisntalled in the unity8 snap, but shouldn't we be using the snaps instead?14:11
bfillermterry, same with browser14:11
renato__mterry, yes there is snap packages for these apps on store. But probably this bug does not appear on desktop, due the lack of modem. But I have plans to test it with boiko helps14:12
bfillerrenato__, where are the MR's? and did they land in trunk?14:13
renato__bfiller, yes they landed already14:13
renato__bfiller, but not for this bug specific. Was more related with packaging stuff14:13
mterrybfiller: fair question about snaps/debs.  I think we were using debs as bootstrapping.  And I'm leery to remove them until we can install snaps from the store and launch them  :)14:14
mterryrenato__: yeah then I don't think this bug is fixed14:14
mterryAlthough if the snaps work, maybe it won't matter when we switch to using those...14:15
mterryBut at least that bugs tracking status should be correct and the two packages should be set off Fix Committed14:17
mterryThough I wonder if the snaps do work without such a fix14:17
bfillermterry, I'll fix that and we'll take a look today to see if we can fix the issues with launching as deb14:20
mterrybfiller: though I suppose dialer and messenger in particular can be dropped as built-in debs.  Likely uninteresting for most desktop users.  I think they were just added so that we'd have some apps to open14:23
bfillermterry, right, dialer and messaging aren't too interesting on desktop until we add SIP and other messaging (non-sms) support14:24
mterrykgunn: any objection to dropping dialer-app and messaging-app from the u8 snap?  seem like uninteresting apps for desktop14:31
kgunnmterry: yeah, i think that's fine.... is webbrowser already in ?14:36
kgunnif not we should work to add that14:37
kgunnbfiller: ^ fyi14:37
mterrykgunn: yes and no.  It's normally in, but I think we hit a bug in snapcraft the last silo snap build that excluded it.  Working to reproduce and file if so14:37
bfillerkgunn, mterry : once we can launch snaps, the browser is snapped and in the store14:38
mterrycool, that would make sense ya14:38
kgunnbfiller: nice, so just install from terminal14:39
mterrykgunn: I'm guessing we'd want to continue keeping USS and u8 together?  They are tightly coupled14:39
kgunnor could install from store scope14:39
kgunnmterry: yeah uss should def stay in u814:39
bfillermterry, yes for sure about USS and u8, was always the plan14:39
kgunnimho14:39
bfiller+114:39
mterryalright, will just drop the dialer and messenger apps for now14:39
kgunnpmcgowan: ^ just fyi14:40
mterryand keep an eye on being able to drop the browser14:40
kgunnpmcgowan: i guess that's a question, not sure what the expectations are about browser and u8-snap...should it always "be in the u8 snap"14:40
pmcgowankgunn, sounds fine14:40
kgunnor ok to remove it, and have user install it14:40
mterryheh, looks like we're installing a few apps I didn't realize -- becuase they don't show up in a scope.  Wonder why14:41
mterryContacts and Media14:41
pmcgowankgunn, I would put it in for now?14:41
pmcgowanmterry, media probably has a no show in the desktop file, but contacts should show14:42
mterrypmcgowan: ack14:42
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
mterrytedg: in the u8 snap, address-book-app doesn't show up in App scopes because its Exec= line is an absolute path.  Is that UAL's fault or the click scope's fault?16:51
tedgmterry: I think that's UAL's fault, it should probably prepend the $SNAP in that case...16:52
tedgCan't think of a reason you'd want to call a binary outside of your snap16:52
mterrytedg: OK.  It does for the icon right?  Makes sense to do so for Exec16:52
tedgI think /bin/sh maybe?16:52
mterrytedg: yeah /bin/sh is use case16:53
tedgIt's the only one I can think of though, even stuff like Python would be worst case bind mounted into your snap.16:53
mterrytedg: we could also make address-book-app not use absolute path...   But your call16:53
mterrytedg: you could check if prepended path is valid, else leave it alone16:54
tedgWell, we should probably do both. People are likely to crib from our snaps, but I think that the apps we've got are a good example of bugs we should fix :-)16:54
tedgmterry: The problem is that "valid" is so hard in to calculate the mount container that snaps are put into :-/16:54
=== dandrader is now known as dandrader|afk
tedgmterry: We'd have to look in their base snap, because it could be different than the "/" for us.16:55
mterrytedg: I'm just looking at legacy case16:56
tedgmterry: Hmm, I think I might be changing my own mind... we can't have apps with / in their desktop file because there's no way to resolve that.16:56
tedgmterry: Ah, I see.16:57
tedgmterry: Legacy in the U8 snap.16:57
mterryright16:57
tedgSo really just for system settings long term ;-)16:57
tedgYeah, let's just fix that then. We can detect it easily enough.16:58
=== salem_ is now known as _salem
=== _salem is now known as salem_
mterryrenato__: you also have address-book-app marked fix released for bug 1629009, but it still has problems looking up Unity.InputInfo due to a non-prefixed UNITY8_QML_PATH17:11
ubot5`bug 1629009 in messaging-app (Ubuntu) "Does not work inside a snap due to hardcoded paths" [High,In progress] https://launchpad.net/bugs/162900917:11
mterryer, fix committed17:11
mterryrenato__: also, its desktop file uses an absolute path for its Exec when maybe it shouldn't.  We can work around that in UAL but might be easier to just use "address-book-app" instead of full path17:13
renato__mterry, this is how it work in the past. if you have another solution now I can update it17:15
mterryrenato__: for the desktop file?  I mean my suggestion is just switching "/usr/bin/address-book-app" for "address-book-app"17:15
mterryrenato__: for UNITY8_QML_PATH, needs actual code patch17:15
renato__mterry, ok for dekstop I can update17:16
renato__mterry, all ours apps uses full path. because this is the way that was working in the past17:16
renato__mterry, and about the icon?17:16
mterryrenato__: we have code for icon to prefix correctly, I believe17:17
mterryjust harder to do it for path17:17
mterryExec path17:17
mterryWhen it might be /bin/sh or whatever17:17
renato__mterry, our icons uses full path too17:17
mterryBut I think tedg is working on something there anyway17:17
mterryrenato__: right.  UAL prefixes $SNAP for you there17:17
renato__mterry, do you prefer ted to finish the work. Than we can test? Because this was changed in the past already17:18
mterryrenato__: most apps I can see (USS, terminal, dialer, messager, etc) use non-absolute Exec paths17:19
renato__mterry, I remember that the store reject the app if the path was wrong17:19
renato__mterry, ok I will try17:19
mterryrenato__: so I don't know what the state of art is.  But you can either fix the desktop or not.  Just telling you that it doesn't show up in app scope right now17:19
mterryrenato__: but having it show up isn't much good if you don't also fix the hardcoded unity8 path17:20
renato__mterry, yes probably because something has changed. In the past was working nice17:20
mterryrenato__: working nice in the unity8 snap?  I'm sure it all works fine in normal contexts (phone, desktop)17:20
mterryrenato__: but u8 snap is new, I don't think it ever worked well in there17:20
renato__mterry, unity debian17:20
mterryrenato__: right.  That's fine.  I'm not talking about that though.  Specifically the unity8-session snap we've been trying to get working17:21
mterryThat's what bug 1629009 is about for example17:21
ubot5`bug 1629009 in messaging-app (Ubuntu) "Does not work inside a snap due to hardcoded paths" [High,In progress] https://launchpad.net/bugs/162900917:21
renato__mterry, ok, we tested this against unity8 debian.17:23
renato__mterry, I will update the apps17:23
renato__mterry, probably I app that I fixed has hardcoded paths on desktop file17:24
mterrytedg: https://code.launchpad.net/~mterry/policykit-unity8/snap-root/+merge/31105718:32
=== dandrader|afk is now known as dandrader
=== JanC is now known as Guest70154
=== JanC_ is now known as JanC
tedgmterry: Does that work? Are we putting policykit in the snap itself?18:47
tedgmterry: Seems like it'd have to be in core?18:47
tedg(or something else non-unity8)18:47
mterrytedg: haven't tested end-to-end yet.  Just realized that the snapd login service is policykit-protected.  And u8 needs that package to talk to polkit19:15
mterrytedg: there are several other services we rely on that need policykit, we usually just special-cased phablet in Touch19:16
tedgmterry: K, thinking that we'll probably need another way to install that conf file.19:16
tedgmterry: like it can't live in our snap19:16
mterrytedg: that MP is unity8 specific, why wouldn't it live in our snap?19:16
mterrytedg: policykit itself, sure, that can be outside19:16
tedgmterry: The agent would be in our snap, but the conf file needs to install outside.19:16
tedgmterry: To wherever the outside policykit wants them.19:17
mterrytedg: which conf file?19:17
mterrythe one in the MP is for upstart, which is inside the snap19:17
tedgmterry: Oh, wait, you're right. Sorry I was confused.19:18
tedgmterry: I thought we had to install one in /usr19:18
tedgmterry: Makes sense, +1 :-)19:18
mterrytedg: any objection to me pushing it through a silo by itself to xenial+zesy?19:19
tedgmterry: nope19:19
mterrycool thx19:19
bfillermterry, tedg: is it known/expected that I can't run a snap from the terminal in unity8 snap session? I can install the snap but don't see it on the path19:48
mterrybfiller: interesting...  I haven't tried that yet, but I would have guessed /snap/bin would be on the path19:49
tedgbfiller: in general running from the terminal won't work anyway, you'll need to use ubuntu-app-launch to start apps.19:50
mterrytedg: but for non-graphical apps...19:52
mterryIt does seem like /snap/bin isn't in the PATH.  But should be, I'd wager19:52
tedgI guess, but you can't run anything from it anyway.19:52
tedgIt is the same snap-on-snap problem.19:52
bfillertedg, I guess when we can launch them from scope it won't be an issue19:53
bfillertedg, just trying to figure out a way to test snaps until we fix the launching from scope19:53
tedgI think I might have just cracked the nut on that one... so hopefully soon.19:55
renato__mterry, about the desktop files. Which one are you using on unity8 snap? That one that is shiped inside of setup/gui/<dekstop> or the one that is installed with the app?19:56
tedgThough, honestly, systemd is like being handed a bowl of nuts.19:56
tedgrenato__: setup/gui/appname.desktop19:56
bfillerrenato__, are you trying to figure out why the icon is not showing up?19:56
renato__bfiller, no I am trying to understand which file mterry asked me to remove the hardcoded paths19:57
renato__the file inside setup/gui/ is not hardcoded19:57
mterryrenato__: I was using the one installed with the app in /usr/share/applications (right now, unity8 snap bundles the address-book-app deb inside of it)19:58
tedgAh, sorry. I was confused on the question. My answer was for other snaps.19:58
renato__mterry, sorry I do not understand. Address-book-app that is on store, contains both desktop files19:59
bfillerrenato__, he's using the deb19:59
bfillerfrom overlay19:59
mterryyup19:59
mterrynot the snap19:59
tedgmterry: Okay, rebuilding UAL in the silo. Do you have a snap rebuild planned?20:08
mterrytedg: not planned no20:09
tedgmterry: K, I'll kick one off once this finishes20:09
bfillermterry, are you seeing address book app show up in scope? (I'm not). Or is that the issue you are trying to get resolved with renato20:09
mterrytedg: oh I did want to build online-accounts20:09
mterrytedg: but that can happen before or after snap build20:09
mterrybfiller: yes.  Additionally, once it does show up, it doesn't display anything due to hardcoded paths to unity8's qml modules20:10
bfillerack20:10
mterryWhich I don't know how you solve when the app is its own independent snap...20:10
mterryBut at least in this use case you can solve20:10
=== boiko_ is now known as boiko
mterryjdstrand: I'm getting this from media-hub while trying to play a song from the dash in the in-progress unity8 snap: "Error while executing the underlying io_service: apparmor::ubuntu::Context: Invalid profile name snap.unity8-session.unity8-session" -- what would a valid profile name look like?20:56
jdstrandmterry: that is a valid profile name for snappy. I suspect that the checks it has need to be adjusted from the click world (<name>_<app>_<version>) to the snap world (snap.<name>.<command>)21:06
mterryjdstrand: oh huh it's worse than that -- media-hub has some particular apparmor integration and is expecting unity to represent as "unity8-dash"21:07
mterryjdstrand: ok so not anything to do with you, I jumped the gun  :)  thx21:07
jdstrandnp21:08
jdstrandmterry: note that jhodapp_ is aware of some libapparmor changes that could cleanup this code. I don't know the status of that work but before you go and fix it, you might want to sync with him21:09
mterryk, though I think this is just internal to media-hub21:10
jdstrandmterry: yes, that is what I mean. media-hub can be cleaned up to use the libapparmor more effectively21:10
jhodapp_mterry, yeah there's some work to be done there21:10
mterryjdstrand: ah got ya21:10
jdstrandthere were some changes to the libapparmor api that came in after media-hub implemented those checks21:11
mterryjhodapp_: is there an existing bug for media-hub?  I'm looking for something to track21:12
mterryI can make one21:12
jhodapp_mterry, hang on, let me finish the meeting I'm in and I'll search quickly21:12
mterryjhodapp_: cool no rush21:12
jhodapp_mterry, there might be one but it might not longer describe what you need21:12
jhodapp_mterry, ok I think this bug will cover what you're asking for...I was trying to find an email that jdstrand sent me explaining the situation better but can't find it...https://bugs.launchpad.net/ubuntu/+source/media-hub/+bug/148948921:42
ubot5`Ubuntu bug 1489489 in apparmor (Ubuntu) "The org.freedesktop.DBus.GetConnectionAppArmorSecurityContext() method is deprecated" [Medium,In progress]21:42
tyhicksjhodapp_: I don't think that's the right bug21:44
jdstrandjhodapp_: https://trello.com/c/ftSp1Ogp/649-implement-aa-query-file-fd-to-fix-toctou-issues-with-using-aa-query-file-path21:44
jhodapp_jdstrand, thanks! forgot where you had added that info21:44
mterryjhodapp_: hmm, I'm not sure if that bug will fix my issue (maybe during the cleanup, the offending code will be removed...)21:45
mterryjhodapp_: thanks for pointer21:45
jhodapp_mterry, ok if you wouldn't mind filing a new bug referring to that trello card that should work21:45
mterryjhodapp_: ok will do.  tomorrow though, gotta sign off soon21:46
jhodapp_mterry, same here, cheers21:46
renato__mterry, hey I am getting this error while trying to snapcraft unity8: E:Unable to correct problems, you have held broken packages.22:09
renato__mterry, any I idea what could cause that?22:09
=== salem_ is now known as _salem
=== yorick_ is now known as yorick

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