=== chihchun_afk is now known as chihchun [06:56] good morning [06:56] dobey: good morning. :) === chriadam is now known as chriadam|away [07:54] is the latest devel-proposed half baked wrt developer mode? [08:23] How do I take a screenshot? [08:27] mpt, using phablet-screenshot [08:28] ogra_, thanks. But I get “remote object '/tmp/mir_screencast_768x1280.rgba' does not exist” [08:29] mpt, looks like you use an ancient phablet-screenshot version [08:29] (upgrade to the latest phablet-tools package) [08:29] phablet-tools | 1.0+14.04.20140416-0ubuntu1 | http://gb.archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages [08:30] heh, we dont update the distro version, use the PPA (as advised) ... [08:30] that would be way to many SRUs ;) [08:30] How do i debug the apn being used by the phone or ofono completely? [08:32] ogra_, is it this one? https://launchpad.net/~phablet-team/+archive/ubuntu/tools [08:32] yeah :) [08:35] i seem to be stuck in r169; no adb, and going the --bootstrap route bails with “Cannot cleanup /cache/recovery/ to ensure clean deploymentexit status 255”. Ideas? [08:36] Chipaca, I've seen that a couple of times and every time it's a rw issue. maybe try phablet-config writable-image [08:36] jgdx: no adb [08:36] ah [08:37] yeah [08:37] adb restart? [08:38] jgdx: no adb [08:38] and it's adb reboot anyway :) [08:38] as in the serice [08:39] service adb [08:39] ah [08:39] * Chipaca tries [08:40] jgdx: unknown job 'adb' [08:41] not adbd either [08:41] Chipaca, $ adb kill-server; adb start-server [08:41] * Chipaca tries [08:41] jgdx: adb: command not found [08:42] adbd [08:42] exists [08:42] * Chipaca tries with that [08:43] jgdx: or do you mean on the desktop [08:44] Chipaca, sorry, on the desktop [08:45] jgdx: still 'no devices' [08:45] seb128: ping [08:46] Chipaca, hey [08:46] seb128: morning! [08:46] good morning to you ;è) [08:46] ;-) [08:46] seb128: i've got the three packages related to the notifications settings in a ppa [08:46] I saw that (well, the was some build issue earlier when I looked) [08:47] seb128: that's now fixed :) [08:47] nice [08:47] did you address the schemas review comment as well? [08:47] seb128: I was going to try to test, but my phone is being uncooperative. The latest changes were because of issues i found in the first round of testing on the device [08:47] seb128: yes, tvoss suggested something which we implemented across the board [08:48] hi, could someone have a look at bug 1351308 [08:48] bug 1351308 in accountsservice (Ubuntu) "Changing language has no effect" [High,Confirmed] https://launchpad.net/bugs/1351308 [08:48] that is, in the four related branches across the three packages [08:48] Chipaca, my review comment was like 5 hours ago [08:48] this is a regression in mako build #163 [08:48] seb128: ah, i didn't see that, where did you comment? [08:49] Chipaca, https://code.launchpad.net/~chipaca/gsettings-ubuntu-touch-schemas/just-the-touch-settings/+merge/228317 [08:50] Laney: I know it's not usual to make changes after getting approval, but the approval you gave was removed by seb; our changes were after that [08:51] seb128: I don't understand [08:51] seb128: we were using 'postal', which you thought was bad because it being 'postal' was an implementation detail [08:51] seb128: so we changed it to be 'hub', which is a description of what it is architecturally [08:52] seb128: but you're insisting on it not having a qualifier, which i explained before is ambiguous right now and confusing in general [08:53] Laney: unless you mean the commit after tvoss's +1, which was a commit he explicitly mentions in his message prior to approval [08:54] Chipaca: I think it's weird that I approved one thing and now the names are quite different [08:54] Chipaca, is there a documentation explaining what a "hub notification" is and how it's different from a "notification"? [08:54] in other words it moved from one reviewer to another without input from the first one [08:54] Chipaca, because I don't understand what "hub" is in this context and why we need 2 types of notifications [08:54] Laney: take it up with seb128, i had nothing to do with that one [08:54] shrug [08:55] seb128, the different is simple: a notification is something that is always shown on screen as a bubble, a hub notification is something to be interpreted according to user preferences [08:55] ok, I'm going to make that simple [08:55] On the same token, seb asked for quite a specific change [08:55] we use "com.ubuntu.notifications" [08:55] tvoss, so we have no control of bubble notifications? [08:55] seb128, a com.ubuntu.Notification is a potential result of interpreting a message/notification coming into the hub [08:55] seb128, we have, on a hub level [08:55] so why is "hub" useful in that schemas? [08:55] it's just control of notifications [08:56] the fact that the filtering is done by a hub or the apps or the shell is not relevant to the settings [08:56] um [08:56] seb128: this is not about bubbles [08:56] bubbles are one kind of notifications [08:56] so we call 2 different things "notifications"? [08:56] and are the kind most usually associated with something that is just called "com.ubuntu.notifications" [08:56] tvoss: is someone looking at https://bugs.launchpad.net/ubuntu/+source/platform-api/+bug/1350874 ? [08:56] Launchpad bug 1350874 in platform-api (Ubuntu) "/usr/include/ubuntu/application/ui/input/event_deprecated.h:79:24: error: redefinition of ‘struct PointerCoordinate’" [Undecided,Confirmed] [08:57] Laney, it's already fixed [08:57] no [08:57] seb128, yes we do [08:57] it's not [08:57] seb128: depending on what you mean by "we", yes we do, and that's the ambiguity i pointed out and the reason we have a hub is because there are multiple ways of notifying the user [08:57] Chipaca, tvoss: is there a document that explain what is the difference between a bubble notification and a hub-notification? [08:58] seb128, quite a few [08:58] is there a simple document with a summary? ;-) like something for app writers [08:58] e.g "you want your app to notify users in this way, do that" [08:58] seb128, an app writer does not need to care about the distinction [08:58] listing the different possible ways [08:59] so why would the settings care about the distinction? [08:59] can't we just make that list a list of apps that opt out of notifying users? [08:59] seb128: because it is the settings for the hub? [08:59] and let the services use it as they want? [08:59] applications don't interact with these settings [08:59] the hub does [08:59] seb128, app authors have no control ove rthe policy [08:59] Chipaca, oh, ok, so it should be a key "com.ubuntu.hub" [09:00] it's the user deciding [09:00] How do i debug the apn being used by the phone or ofono completely? [09:00] seb128, that's too generic, we have more than one hub [09:00] seb128: it is not "the hub", it is the notifications hub, which we call the postal service [09:00] how is called the service reading that key? [09:00] laney@iota:~/temp/platform-api-2.2.0+14.10.20140801/include/ubuntu/application/ui/input$ cpp event.h | grep PointerCoordinate [09:00] struct PointerCoordinate [09:00] struct PointerCoordinate [09:00] tvoss: ^ [09:00] Laney, this should have been fixed with this: http://bazaar.launchpad.net/~phablet-team/platform-api/trunk/revision/252 [09:01] seb128: sorry, could you rephrase that question? [09:01] Chipaca, that gsettings key is going to be read by some project/codebase, which one and what is the name for that project [09:02] tvoss: nope, these are different files [09:02] seb128: the settings key is read by the postal service, that is currently in the ubuntu-push codebase [09:02] Chipaca, ok, good, so let's have ubuntu-push ship a com.ubuntu.push schemas with its config [09:02] seb128: it's emerging from ubuntu-push, but it hasn't emerged yet. At some point it might split once the boundaries and interfaces are clear [09:03] and use that [09:03] seb128, that only signs us up for the same renaming hassle you pointed out as an issue in your review [09:04] tvoss, well, at least it's specific to a project and up to the maintainer of that project to handle incompatible changes/transitions [09:04] tvoss, by putting your key in a common schemas you make it sort of a public interface [09:04] seb128, well, .hub distinguishes us and comes closer to the actual meaning of the key [09:05] seb128, we are the people doing the work in both cases, so I'm not sure private/public really matters here [09:05] seb128: I guess tedg put it in the common schemas because the settings plugin is in ubuntu-system-settings? [09:05] it's also confusing and specific to some component/implementation [09:05] seb128, it is not, it's going to be the implementation that will drive the notification experience going forward in time [09:05] tvoss, I just object making the common tree/namespace confusing [09:06] seb128, hence why we proposed .hub, which is the new component [09:06] those shared keys shouldn't be linked to a specific service/implementation, they should just common info [09:06] like a theme [09:06] or a ringtone sound [09:06] well [09:07] if it's specific to a component it should live in that component namespace [09:07] seb128, that would resul in ubuntu-system-settings being tied to a specific implementation ... sounds like a very bad idea === tvoss is now known as tvoss|test === tvoss|test is now known as tvoss [09:08] from a practical perspective, putting the schemas in ubuntu-push would mean they wouldn't get translated unless we tied up translations to ubuntu-push, which is a bit of a pain [09:09] do you plan to have a "com.ubuntu.notifications" at some point, and how would that be different from the ".hub" variant? [09:09] let me rephrase the question like that ^ [09:09] seb128: i think the first time you asked me that question i answered [09:10] seb128: although we don't have a plan for that [09:10] seb128: using it would be, at this point in time, much too confusing [09:10] seb128: for people call different things "notifications" [09:10] seb128: and this would just add to the confusion [09:10] jibel: contact whoever did the upload? [09:10] ok [09:11] Chipaca, please give me a document I can read to understand how a hub notification is different from a bubble notification, and how those are used in what context [09:11] seb128: maybe http://developer.ubuntu.com/apps/platform/guides/push-notifications-server-guide/ ? [09:11] Chipaca, thanks, reading, I'm coming back to you in a bit [09:11] (hopefully understanding the topic better then) [09:12] Elleo, did you get any feedback from the media people about udm? I'll like to request a silo [09:12] Laney, as far as I can tell, the offending second declaration has been removed: http://bazaar.launchpad.net/~phablet-team/platform-api/trunk/revision/252 [09:13] Chipaca, btw my main concern about those changes is that you are working around the issue than "notifications" is used in confusing ways rather than fixing the problem by communicating on what are the different types/finding another vocabularity for the new sort [09:13] tvoss: the header is in include/ubuntu/application/ui/input [09:13] note no android [09:14] tvoss: you can verify yourself using the info I gave [09:14] Laney, ack, then nobody has looked into it so far [09:14] please do ;-) [09:14] want to move forward soon if possible [09:16] and stuff failing is generally bad if we need a bug fix, not to mention to be able to reproduce the binaries in the archive [09:17] seb128: the whole thing is evolving and I think we're reasonably close to a clear and unambiguous way to communicate this, but we can't block on having the language all down pat to implement it [09:19] Chipaca, well, it's unfortunate that you need to a key to a shared/stable location before things settle [09:20] Chipaca, that's sort of why I was suggesting trying to take the key out of the shared location until it settle down/is likely to change [09:20] Laney, sure, but this is nothing I have touched in a while, so I need to talk to dandrader at the very least [09:21] seb128, while I can see your point, I would argue that tying system settings to an implementation-specific key is the bigger disadvantage [09:22] tvoss, Chipaca: what I don't get here is why the key wouldn't be a "things users don't want to be notified" about that would apply as well to push service than bubble notifications [09:22] like just a list of apps that the user turned off from displaying things [09:22] seb128, because the hub interprets the key and decides if a bubble should be shown at all [09:22] seb128, it's just a list right now, but it will become more fine-grained [09:23] but nothing is going to do something similar for bubbles? [09:23] seb128, not sure I understand your question? [09:23] seb128: nothing gets to present bubbles directly [09:23] seb128: in the new world order [09:23] well, what if rb displays bubbles when track changes and I don't want it to do it [09:23] (we're not there yet) [09:23] seb128, ultimately, rb will go via the hub, too [09:23] not saying that that is the case right now [09:23] k [09:24] so we are back to one list [09:24] and we can call it .notifications then :p [09:24] seb128, sorry, that's just not true [09:24] seb128: but if I call it notifications, you're going to think it's about bubbles when it isn't [09:25] why would I? [09:25] notifications is notifications [09:25] seb128: because you've gone to thinking they are bubbles 20 times since you started doing this review? [09:25] if our notifications are not restricted to bubbles it's fine [09:25] because that's what they are today [09:25] they could be launcher badges [09:25] today, they are most certainly not [09:25] or in app baners [09:25] or sound [09:26] on desktop they are [09:26] seb128, desktop is not the focus here, although it will be powered by the same infrastructure going forward in time [09:26] tvoss, I know, but we want something that works for a converged world [09:26] seb128, right, that's why we argue for .hub [09:26] so I'm trying to make sure we define things in a way that is going to work for everyone [09:27] k [09:27] seb128, sure, so do we. the desktop will inevitably change [09:27] seb128, so introducing a .hub prevents mixup until we have reached convergence, I guess that's the intention [09:27] s/guess/think [09:27] ok, let's me try to rephrase again then [09:27] if we need a .notifications.hub [09:28] it's because there is going to be another notifications.foo [09:28] what is foo? [09:28] seb128, no, .hub is the top-most decision maker [09:28] (because if hub is the only one to stand, we can as well call it ".notification") [09:28] why do we need an extra qualifier then? [09:28] seb128, because the responsibilities are different ones [09:28] no need to make type.subtype when there is only 1 subtype [09:29] it's because you object calling what comes from the hub "notifications"? [09:29] seb128, notifications is just one possible type issued by the hub [09:30] seb128, hence why chipaca originally proposed postal [09:30] k, so those are hubs objects [09:30] so, it's rather a hub.notification [09:30] so that should be com.ubuntu.hub.notifications [09:30] nope [09:30] :-( [09:30] well, we could do it like that [09:31] except it isn't called "hub" [09:31] I think that will be more inline with what we see in different domains [09:31] didrocks, got an example? [09:31] Chipaca, well, "com.ubuntu.." [09:31] mandel: nope, haven't seen ahayzen around the past few days; I could send him an email if you like? [09:32] tvoss: dbus, android application domain owners [09:32] this is just on the top of my head [09:32] can find more if needed :) [09:32] Elleo, It would be nice, that way we can confirm it fixed it and land it [09:32] seb128: oh, i know, how about com.ubuntu.postal.notifications [09:32] mandel: okay, will do [09:32] Chipaca, +1 [09:32] .... [09:33] seb128: dude [09:33] seb128: it was that 100 man-hours ago, and you -1'ed it [09:35] Chipaca, no, first version was com.ubuntu.touch.notifications and I -1ed the touch part [09:35] but yeah, .postal is not something I understand [09:36] but this whole stack of notifications which are not notifications is confusing [09:36] so let's just keep the com.ubuntu.notifications.hub we have atm [09:36] it's already in a silo [09:36] and it seems we are not going to agree on something that makes more sense [09:37] I still wish we had a "com.ubuntu.notifications" which lists apps name, simple and easy to understand :-/ [09:38] seb128, but that will grow and will be more fine-grained when we are converging. with that, we would only post-pone the namechange [09:39] tvoss, I guess I don't understand why we can't describe what we want now and define the names/keys, even if they are not used fully yet [09:39] that would avoid transitions/renames later [09:39] seb128, because we don't fully know them yet, and notifications is not the right level of abstraction to capture those [09:40] k [09:40] well, let's just go with what is in the silo then [09:40] * seb128 +1 that [09:40] now if I could get my phone to give me adb, i'd be able to do the full test to land it all [09:52] How do i debug the apn being used by the phone or ofono completely? [09:52] im not giving up :D [10:00] shouldn't adb work in recovery? [10:01] * Chipaca tries 164 [10:03] Hendrik_: /usr/share/ofono/scripts/list-contexts [10:10] popey, thx [10:10] :) [10:11] I'm not getting adb in recovery. Halp. [10:11] (this means ubuntu-device-flash fails) [10:33] my phone no longer gives me adb, not even in recovery. fastboot works. Tried flashing a few devel-proposed and devel itself using --bootstrap, all with the same effect: reaches recovery, then dies because no adb. help? === dmmp is now known as pmmd === MacSlow is now known as MacSlow|lunch [11:04] hi ogra_, IIRC with the new developer mode UI adb is enabled/disabled, but what's the plan with SSH? [11:04] ssh is always off [11:05] you can enable it via setprop as root [11:05] dpm: we agreed a while ago that it was too many things to support to try to juggle between SSH and ADB; adb can do IP too and SSH can be enabled manually for powerusers [11:05] (for advanced developers :) ) [11:05] but it's not part of the default dev experience [11:05] well [11:05] phablet-shell uses ssh over adb [11:05] but i'm working on running that with a user owned sshd [11:06] lool, ogra_, the only issue seems to be that Qt Creator needs SSH to deploy apps to the device [11:06] (not exposed to the network anywhere) [11:07] dpm, well, bzoltan played with my changed adbd package last week ... [11:07] my only big issue atm is phablet-network since that would need the sudo password supplied [11:08] so can I not sudo once phablet-shell'ed into my phone? [11:08] (seems phablet is no longer the password)? [11:08] you can sudo ... there is no pw ... just hit enter [11:09] Sorry, try again. [11:09] (note that adb wont work if there is no pw set in the near future ... so you will have to set one yourself before enabling it anyway) [11:09] nope, i cant sudo [11:10] ogra_, what's the way to activate SSH manually? [11:10] grep phablet /etc/passwd [11:10] popey, ^^ [11:10] no results returned from that [11:11] dpm, setprop persist.service.ssh true [11:11] thanks [11:11] popey, hmm [11:11] and the same for /var/lib/extrausers/passwd? [11:11] phablet:x:32011:32011:phablet,,,:/home/phablet:/bin/bash [11:12] looks fine [11:12] and the shadow file in there has an entry too for the phablet user ? [11:13] nothing there [11:13] weird [11:13] that should have a line too [11:13] wait for mterry ... something si wrong then [11:13] *is [11:14] mpt, ping [11:15] lool, so your recommendation would be for Qt Creator to move away from SSH and use ADB instead? [11:17] ++ [11:18] oSoMoN, so with the new browser trying to scrool slow with the toolbar visible gety all jiggly ... is there a bug for that already ? [11:18] *gets [11:18] cwayne1: hey, what's up? [11:19] jdstrand: when you get a mo could you look at bug 1351041 - seems like an apparmor thing [11:19] bug 1351041 in Ubuntu Reminders app "App is unable to retrieve notes" [Critical,Triaged] https://launchpad.net/bugs/1351041 [11:20] oSoMoN, also, is there any way to force the toolbar to hide ? most of my html5 games look really bad now since it is permanently shown and they try to use all of the screen (so you have black bars everywhere, input controls are off etc) [11:21] jdstrand: was getting a weird apparmor denial when trying to use a scope wih online-accounts, but I think now it may just be an oline accounts bug.. [11:21] mardy: ping. Would you have time for a final review of a system settings branch? seb's been over it and we've addressed his concerns, and he approved the related schema branch, but left before top-approving the system settings branch itself [11:26] ogra_: I think it is smart to force the developers to set unique password, but it is not smart to force them to use the password unlock for the screen. [11:26] bzoltan, i fully agree [11:26] ogra_: Also I would like to ask for an option in the Developer mode page to start and stop SSH service [11:26] cwayne1: ok [11:26] bzoltan, but not my decision, talk to jdstrand, mdeslaur and victorp ... the currentl planning is an agreement between thenm i think [11:27] bzoltan, not planned :/ [11:27] popey: there is definitely an apparmor denial, but reminders is trying to do the wrong thing [11:27] I'll comment [11:27] you can sudo and setprop to enable ssh [11:27] thanks! [11:27] ogra_: if sudo works ☻ [11:27] jdstrand: mdeslaur: With the SDK we _DO_ start the ssh, because we need that [11:27] should I file a bug ogra_ ? [11:27] popey, blame mterry :P [11:27] popey, yes [11:27] against? [11:28] hmm [11:28] popey, i thinnk livecd-rootfs ... but assign to mterry [11:28] kk [11:28] bzoltan, why cant you copy via adb push ? [11:28] ogra_: jdstrand: mdeslaur: who is the one I need to convince about these two things. (1) UI switch for starting-stoping SSH service [11:29] since you need to use adb anyway [11:29] ogra_: How do I start the SSH with phablet adb push? [11:29] why would you start ssh at all [11:29] bzoltan: you need to use certs with ssh...so the developer needs to use adb first to transfer certs anyway [11:29] ogra_: because we use it? [11:30] mdeslaur, you also need root to start ssh ... [11:30] popey: commented [11:30] mdeslaur: we use keys for authentication [11:30] bzoltan, *why* do you use ssh and not adb [11:30] ta jdstrand [11:30] bzoltan: exactly [11:30] ogra_: because it is more reliable and better [11:30] define better :P [11:30] and it should not be more or less reliable than ssh ... [11:30] ogra_: but firs of all... because that is how we designed and implemented the SDK.. like two years ago [11:30] if it is thats a bug [11:31] jjohans [11:31] ogra_: let!s not change the fundamental architecture of the SDK Tools just few days before the release :) [11:32] bzoltan: perhaps I'm misunderstanding your question [11:32] mdeslaur: I need a switch in the touch UI to start/stop ssh service. [11:32] bzoltan, well, feell free to develop something on top of the planned dev mode ... i wont have the time to develop a secure debus service for ssh to expose it to the UI or anything [11:32] mdeslaur: otherwise I will do it with sudo as phablet from a script [11:32] (i'm not even done with the adb side as you know) [11:33] bzoltan: yes, doing it with sudo as phablet from a script is the right way [11:33] right [11:33] we definitely don't want users to be turning on ssh [11:33] mdeslaur: echoing a plain passwd thru scripts is the right way? [11:33] mdeslaur: that is what we do [11:33] mdeslaur, the prob here is that we need to store the pw in plain text on the users PC then [11:34] how is ssh any better in this regard? because you can ssh as root into it? [11:34] mdeslaur: why not? That is how maemo devices worked, that is how Meego works, that is how Sailfish does. [11:34] bzoltan, ogra_: well, we could ship a helper in /etc/sudo.d that would allow turning ssh on [11:35] mdeslaur, hmm ... i'm not really happpy about opening ssh at all [11:35] ogra_: filed bug 1352296 and threw at mterry ☻ [11:35] bug 1352296 in livecd-rootfs (Ubuntu) "Can't sudo on proposed image on mako" [Undecided,New] https://launchpad.net/bugs/1352296 [11:35] what do we need ssh for? [11:35] ogra_: that is not an option I am afraid [11:35] ogra_: I mean not opening the SSH [11:35] mdeslaur, no idea, adb should provide all we need [11:36] mdeslaur, bzoltan claims ssh is "more reliable and "better"" [11:36] mdeslaur: for the SDK [11:36] (of which i dont know what this means) [11:37] ogra_: mdeslaur: what I claim is not relevant.. the key here is that our SDK right now is using SSH... this is how it is out there for almost two years. [11:37] why do you two ways for talking to the phone ?? [11:38] bzoltan: what sets up the ssh keys? [11:38] bzoltan: the sdk? [11:38] this means we need to open two potential security holes now [11:38] mdeslaur: ogra_: jdstrand: All I am asking (not the first time) that before you change fundamental policies on the platform please consider how it effects the app development tools. [11:38] mdeslaur: the SDK does it [11:38] bzoltan: ok, and what is no longer working? [11:38] sorry, I lack a bit of context on what the problem is [11:39] mdeslaur, we wont have any UI to toggle ssh on oor off ... and the adb toggle is not enough [11:39] mdeslaur: it works.. I can make it work. But I need to ask and store the phablet passwd and pass it with an echo to make it work [11:39] (for bzoltan ) [11:39] mdeslaur, that means we need to patch sshd as well to listen to the screen lock and so on [11:39] mardy: ping [11:39] this isnt trivial [11:40] ogra_: why not to have an ssh switch? N9 has, Jolla has... neither the was ever compromised because of that. [11:40] bzoltan: so if we add a snippet to /etc/sudoers.d that would allow the phablet user to turn ssh on without requiring the sudo password, that would be enough? [11:40] cwayne1: pong [11:40] mdeslaur: that would make it [11:40] bzoltan, if you have time to safely hack up sshd and to implement the UI bits, feel free [11:40] mardy: hihi, so abouts scopes + OA :) [11:40] why isn't phablet-shell enough? [11:41] tahts what i'm asking [11:41] mardy: I got it working on a device, but only unconfined. and i added a desktop file to grant access, but it shows no info [11:41] jdstrand: because phablet user has no right to start the ssh service [11:41] ogra_: we don't care about screenlock, as ssh uses certs, not passwords [11:41] ogra_, there is no bug filed for the jiggliness you’re seeing, but it’s a known issue, feel free to file a bug [11:41] so, phablet-shell is what broke? [11:41] jdstrand: mdeslaur: bit the real ugly thing is the password lock... that is a killer. [11:41] mdeslaur, and why cant we do the same for adb (as we have planned since a year now) ? [11:41] bzoltan: password lock? [11:42] oSoMoN, well, as long as you guys know it and work on it i'll refrain from more paperwork ;) [11:42] ogra_: because adb uses passwords [11:42] mdeslaur: you need to have a passwork unlock policy in order to have adb at all [11:42] mdeslaur, adb doesnt use anything [11:42] bzoltan: yes, definitely [11:42] mdeslaur, we (you, me, PES) planned a blueprint for this a year ago or so [11:42] bzoltan: as for screenlock checks, that did not originate from us. that came as very late requirements from outside of UE [11:42] ogra_, for your html5 games, I recommend you remove the --enable-back-forward and/or --enable-addressbar command line switches from the desktop file, the chrome will then be always hidden [11:42] mdeslaur, two vUDSes ago [11:42] mdeslaur: so if I want to develop apps then I need to type my passwd on the touch screen like hunderd times a day... nice [11:42] ogra_: sorry, I don't understand what you mean [11:43] mdeslaur, https://blueprints.launchpad.net/ubuntu/+spec/core-1311-complete-developer-mode-integration [11:43] bzoltan: what? how come? [11:43] mdeslaur, "add UI to popup the device fingerprint when negociating a connection: TODO" ... instead we now have to tie to the lock screen [11:44] mdeslaur: that is what happens once you set a password [11:44] cwayne1: it's probably because of https://bugs.launchpad.net/ubuntu-system-settings-online-accounts/+bug/1329213 [11:44] Launchpad bug 1329213 in Online Accounts setup for Ubuntu Touch "Application name not shown when requesting access to an online account" [High,Confirmed] [11:44] yet, I fail to see how checking that the screen is unlocked if there is a password check is a burden. the user unlocks the screen, plugs in the device/clicks a button, and then you can get an adb session. the session can continue running if the screen is unlocked [11:44] bzoltan: sure when you first plug the device in, you need to unlock it [11:44] err [11:44] dpm: I thought it was the plan, yes; I guess the SDK team would have the latest status on this [11:44] bzoltan: and then one it's connected, you never have to unlock it again until you close adb [11:44] the adb session can continue running if the screen later locks [11:44] mardy: ooh yes, thats exactly what it looks like :) [11:44] jdstrand: the screen will keep being locked [11:45] mdeslaur: that is not how it works now [11:45] mardy: okay, so once that's fixed -- how am I going to make my scope confined? is that going to be solved with dash-as-app? [11:45] bzoltan: right, that is what I'm saying. but open adb sessions won't close [11:45] jdstrand, its a massive hack to adbd ... beyond we had a way better mechanism planned last year [11:45] jdstrand, https://blueprints.launchpad.net/ubuntu/+spec/core-1311-complete-developer-mode-integration [11:46] dbarth_: why would the fix for https://bugs.launchpad.net/ubuntu-system-settings-online-accounts/+bug/1329213 take awhile to land? [11:46] Launchpad bug 1329213 in Online Accounts setup for Ubuntu Touch "Application name not shown when requesting access to an online account" [High,Confirmed] [11:46] cwayne1: I think so [11:46] ogra_: what in there is better than what was agreed to fro rtm? the device fingerprint? [11:46] jdstrand, what you want means that adbd needs to be fully integrated with dbus and other bits to request the screen state etc etc ... this will be close to a re-write [11:47] jdstrand, imho yes [11:47] it is what android does [11:47] android does a lot of things [11:47] oSoMoN: ooh, thanks! [11:47] we have a different model and are in a different place in time in our development of the device [11:48] dbarth_: you should remove the --enable-back-forward from the twitter webapp imo. (as per oSoMoN above) [11:48] jdstrand: no it will not, but forcing an app developer to a screen lock policy is super ugly... it would be a reason to return the device to the shop. [11:48] I'd really rather not rehash this conversation for the 1000th time. why is it a complete rewrite to adb to add a single check on session create when it starts? [11:48] jdstrand, if i plug in an android device to a PC that was never connnected it pops up a question to allow the connection on the phone (so yu have to have the screen unlocked) ... after that it will just veify that the figerprint of the PC matches without asking [11:49] ogra_: that particular feature was something that is listed as post-rtm [11:49] bzoltan: once ssh is turned on, you can disable the screen lock [11:49] jdstrand, adbd is an android c binary ... there is no dbus on android ... to get tthe screen status asking vis dbus is the only way to get the info [11:50] jdstrand, feel free to look at the adbd code ... there is no way we will have the locking stuff ready in time ... [11:50] ogra_: other teams have figured this out by having a socket bridge or something [11:50] mdeslaur: i think that thescreen lock policy should be a totally separated thing from the device connectivity [11:51] mdeslaur: forcing the dev to a plicy like that at the first place isnot good [11:51] jdstrand, well, then other teams need to implement it, i was working my way along the spec we defined initially (only the fingerprint stuff is missing atm since the discussion started when i wanted to attack it) [11:51] bzoltan: I do too [11:51] ogra_: are you saying implementing the device fingerprint is doable for rtm? [11:51] easier than teaching adbd about dbus i guess [11:51] bzoltan: it wasn't a security team requirement [11:52] this did not come from us [11:52] especially since we cant use it anymore ffor other stuff (like initrd debugging, emergency shell etc) once it depends oon that [11:52] jdstrand, no, i know [11:52] mdeslaur: i understan [11:52] i was on CC [11:53] jdstrand: mdeslaur: we should discuss it with folks who came with this concept. [11:54] mdeslaur: what if the the device fingerprinting was used for rtm instead? if the screen is unlocked, then the user can say yes or no, if the screen is locked, that ui would just be behind the screen anyway. this seems to cover the requirement for needing a password [11:54] oh, no [11:54] that doesn't work [11:55] we would have to have the UI for the device fingerprint acceptance reprompt for the password [11:55] (cause of lending) [11:55] mdeslaur: ^ [11:56] jdstrand, well, that would mean if you really want to steal data you need to keep the screen on until you are near a PC [11:57] jdstrand: yeah, that's the solution we were aiming for, but couldn't get done for rtm [11:57] while theoretically possible i think thats a very unlikely scenario [11:57] mdeslaur, who said it couldnt ? [11:57] ogra_: you did [11:58] well, surely easier than teaching adbd about dbus and having it get the screen state from there [11:58] (and the locking capabilities etc) [11:58] ogra_: you still need to pop up a message on the screen that asks for confirmation, etc. [11:58] yeah, that wont be easy [11:59] (especially since i'm not even remotely ready with the initial adbd bits which rely on oassword stuff that dosnt work yet) [11:59] jdstrand: not sure why you mentioned reprompting for the password? [12:00] oh right, the stupid "I lend my unlocked phone to a friend" scenario [12:00] jdstrand, we should simply lock automatically before the prompt comes up [12:00] ogra_: well, pick one :) either I tell people the requirement is what it is now or I convince people to change to the fingerprint check :) [12:00] make that part of the popup code [12:01] mdeslaur: ok, let me read the requirements again. hold on [12:01] this conversation has morphed a billion times I can't keep it all straight [12:01] me neither [12:01] mdeslaur: hey, so for the click store key, I've talked with slangasek and reconciled our positions; it would appear that for this purpose we can just have an operational key, and it doesn't need to be signed by a sharded master key because the mechanism for communicating key rotations to clients is to deploy a new system image containing a new keyring package [12:01] https://wiki.ubuntu.com/SecurityAndPrivacySettings/ProtectingUserData [12:01] mdeslaur: would you agree with that? in that case all we need to do is generate a 4096-bit RSA key and give it to the click store guys [12:02] "adb should only accept new connections if screen is unlocked" [12:02] cjwatson: yes, did agree to that [12:02] mdeslaur: that ^ is the requirement for phase 1 - initial phone delivery [12:02] cjwatson: uhm, no, wait a sec [12:02] jdstrand, yeah :( [12:02] mdeslaur: as such, we wouldn't have to reprompt [12:03] cjwatson: we need to assume we can't deploy images, for example phones that the oem has ended support on....we still would want them to be able to access the store [12:03] cjwatson: so that key needs to be signed by _something_, so that we can have the _store_ rotate it [12:03] mdeslaur: hm, that means the key has to be in a writeable location on the filesystem [12:03] cjwatson: yes, definitely [12:03] mdeslaur: but maybe we can kick that part of the can down the road [12:04] doesn't have to be that way right now [12:04] cjwatson: sure, as long as we do it before we can no longer push out updates to our shipping phones [12:05] we can definitely use an unsigned key for now in a non-writable location shipped by the system image [12:05] I'm starting to feel the need for a graph of our important keys ... [12:06] yes :) [12:07] jdstrand, ogra_: so basically, to turn on adb, you need to set the screen lock. You connect to the sdk, the sdk pushed out your ssh keys, and then turns on ssh. Once that's done, you can turn off screen lock and simply use ssh from now on. [12:07] mdeslaur: I think we should specifically not reuse the archive master key (0x3F272F5B) for this, because that would then allow the click store key to be used to sign the apt archive, if its private material were compromised [12:07] So it would need to be a new set of master shards [12:07] cjwatson: hrm, good point [12:08] or at least that seems like a possibility to me and I'd rather completely rule it out rather than having to think about it :) [12:08] We also need to generate a key for the RTM archive this week [12:08] mdeslaur, well, i dont really like to leave a network accessible service permanently running ... adbd requires a wire and a PC ... ssh will simply stay open to the network for attack attempty [12:08] *attempts [12:08] cjwatson: Honestly, if everyone is in the same place next week, I think creating a new set of shards is the safest bet, knowing that we may want to do key rotations without image upgrades at some point to maintain a working store on unsupported devices [12:08] But that only really needs to be used during image building and by developers using click chroot or whatever, so it doesn't require any advance planning for rotations AFAICS [12:09] mdeslaur: This week [12:09] additionally it will keep your wlan awake i guess ... and eat your battery [12:09] ogra_: ssh is only enabled for developers, and is protected with keys....I don't think it's a big deal [12:10] cjwatson: I'm not sure I follow your last comment [12:11] ogra_: developers can turn it back off manually if they want...but I suspect most will want ssh running anyway [12:11] hmm [12:13] mardy: do you agree that the info-less application entries in u-s-s-o-a will be easy to fix but hard to land? (going by david's comment in the bug) [12:13] if so, i'll volunteer to get it landed if you guys get it fixed :) [12:13] mdeslaur: I reread the wiki page. "adb should only accept new connections if screen is unlocked" is I think enough equivalent to device fingerprinting. in both options, the user can enable adb in the lending scenario. in both options, if the screen is locked in the theft scenario, adb can't be enabled or accessed [12:14] mdeslaur: (unless the theif has access to the unlocked already fingerprinted device) [12:14] thief* [12:15] jdstrand: sorry, I don't know what you are referring to [12:15] https://wiki.ubuntu.com/SecurityAndPrivacySettings/ProtectingUserData [12:15] jdstrand: aren't we talking about ssh? === dholbach_ is now known as dholbach [12:16] jdstrand: the issue is that the sdk can't start ssh over adb because it requires the user's password [12:16] mdeslaur: I was weighing the options of what we have currently as what needs to be done "adb should only accept new connections if screen is unlocked" with device fingerprinting since ogra_ said that adb can't do the former [12:16] jdstrand: so supplying a /etc/sudoers.d config to enable the phablet user to turn on ssh without a password would solve that, and would be acceptable to me [12:16] mdeslaur: right, but of course, other stuff came up [12:17] jdstrand: wait, we can't do the former for rtm? [12:17] jdstrand, it can, but it will be harder to impllement and break adbd for other use cases [12:18] mdeslaur: that is what we were just told, though I'm still not sure why [12:18] oh, I thought we were told it couldn't and required a complete rewrite? [12:18] (which again, I think there are cleverer ways to do that) [12:18] jdstrand, i said "close to" :) [12:19] jdstrand, the point is that the screen state info can only be obtained via dbus === sletta_ is now known as sletta === tizbac_ is now known as tizbac [12:19] jdstrand, and since that is a securioty thing i dont think i should do that check with a helper but in adbd itself [12:20] that means a lot of code changes since adbd does not know about dbus at all [12:20] if the helper is only saying yes or no on if the screen is locked, not sure why that is risky [12:20] and it means adbd wont work in any other context like inside initrd [12:20] the initrd argument is interesting [12:20] or as emergency shell if all services (including dbus) fail to start [12:20] ogra_: sure it will work, as long as the screen is not locked [12:21] mdeslaur, how if it cant even find out the screen state ? [12:21] (in initrd or if dbus fails to start there wont be a way then) [12:21] if it can't find out the screen state, it allows the connection [12:21] so i only need to kill dbus and can break in ? [12:21] ogra_: yes [12:21] uh [12:22] cwayne1: that would be very welcome, thanks! :-) [12:22] the terminal is also password protected [12:22] jdstrand, my click app that bombs dbus with DOS requests isnt ;) [12:23] mardy: np, it's gonna be a requirement for us very soon I think, so happy to help any way I can :) [12:23] that click app can't be side-loaded, so it would have to be in the store, if it is in the store, then it would get removed [12:23] ogra_: there's no way for you to kill dbus if the screen is locked [12:24] and if the screen is unlocked, adb is allowed anyway [12:24] right === MacSlow|lunch is now known as MacSlow [12:25] of course, what if an attacker that gets hold of a phone is able to reboot it and adb in before the user session comes up [12:25] mdeslaur: which last comment, sorry? (in a meeting here) === mbm is now known as [mbm] [12:25] cjwatson: you said "But that only really needs to be used during image building and by developers using click chroot or whatever, so it doesn't require any advance planning for rotations AFAICS" [12:25] mdeslaur: that's for the key that signs the RTM archive [12:25] mdeslaur: phase 1 does not cover other bootloader attacks anyway [12:25] cjwatson: oh! ok, yeah [12:25] we have two separate key requirements going on here :) [12:26] cjwatson: hehe, yes, I though you were referring to the store key [12:26] ok, so sharded-master + operational for click store key, operational only for RTM archive key [12:26] cjwatson: I think that would be best, yes [12:26] mdeslaur: but phase 2 includes the device fingerprinting. so if device fingerprinting is considered 'enough', then why do the other solution at all and just go for what the long term plan is [12:27] jdstrand, that was what i was asking mself since the internal discussion came up about this recently [12:27] mdeslaur: right, cool, will organise that here [12:27] thanks [12:27] cjwatson: thanks! [12:28] jdstrand: yeah, device fingerprinting is best, but I thought it was harder to implement as you need to pop up a prompt for the user. Simply not accepting connections when the screen is locked is a trivial helper that connects to the session dbus and performs a query [12:28] mdeslaur: so the question ogra wants to have answered is if we can remove '6' from phase 1 if we have '9' from phase 2 replace it? [12:29] math ! [12:29] jdstrand, ogra_: the answer to that is yes [12:29] jdstrand, well, the actual question is why did we waste so much time on this :P ... we have a blueprint everyone agreed on [12:29] mdeslaur, ogra_: ok, so I can send an email to the people involved that the implenter's can choose [12:30] ogra_: I hope you are not asking me that question :P [12:30] lol [12:30] no, the world in general :P [12:30] yes [12:30] I've had quite a few questions to the world in general lately [12:30] ogra_: your "everyone" group is only a subset of the security team's "everyone" group :) [12:30] haha [12:31] mdeslaur: so, back to your sudoers idea. I think that sounds reasonable, but I have quite though through what would be in the soders.d file [12:31] we can alternatively just add ssh enabling to the dbus-property-service [12:31] haven't* [12:31] and toggle it via dbus [12:32] jdstrand: yes, it needs to be a shell script or something that _only_ enables ssh, and then that would be in sudoers.d [12:32] right [12:32] only for the phablet user, or only the admin group [12:32] basically, very restricted [12:32] * ogra_ thinks the property would be a safer approach then [12:32] so it has NOPASSWD? [12:32] jdstrand: yeah [12:32] via dbus ... [12:33] or it could be one of the system dbus daemons that has an API for that [12:33] that would probably be even better [12:33] actually, I think I like that better [12:33] we have such an api ... ssh enablement is handled by an android property [12:33] and we have a dbus service that hooks into that [12:33] ogra_: we do? [12:33] (this is how we enable the user to toggle adbd) [12:34] yeah [12:34] dpkg -L dbus-property-service ... [12:34] ogra_: oh, cool, so the same thing for ssh, with a proper policykit policy that only allows the admin group [12:34] a simply python dbus helper [12:34] *simple [12:34] right [12:34] mdeslaur, oh, that package could need a security team review btw :) [12:34] ogra_: so in this case, developer mode is more than adb, it is adb + ssh. [12:34] bzr branch lp:dbus-property-service [12:35] jdstrand: no [12:35] jdstrand: developer mode is only adb [12:35] jdstrand, so we want ssh on permanently if adb is on ? [12:35] jdstrand: and then the sdk will turn on ssh if it's required [12:35] ogra_: no [12:35] sorry, I meant to end with a '?' [12:35] phew [12:35] I'm trying to understand what is being proposed [12:35] jdstrand: a way for the sdk, via adb, to turn on ssh without requiring the user's password [12:36] so, it can tickle a property to turn it on without needing root. but, that is protected via polkit [12:36] jdstrand: yes [12:36] so we can put whatever policy we want on it [12:37] jdstrand: exactly, and is much better than sudoers crud [12:37] well, please check the dbus-property-service package :) i'm not sure all i do there is secure yet :) [12:37] but i can easily enhance it for ssh enabling [12:38] right, and adb is protected via one of the two options that will be implemented [12:38] * mdeslaur looks [12:38] ogra_: so, in this case, will the sdk start up ssh in the way that phablet-shell does? ie, with '-o PasswordAuthentication=no'? [12:39] jdstrand, yes, it will call the equivalent to "service start ssh" .... which uses the same upstart job with hardcoded '-o PasswordAuthentication=no' [12:39] ogra_: so dbus-property-service will need policykit integration at some point [12:40] ogra_: it's ok on a single user device for now, but will need some love post-rtm [12:40] mdeslaur, i thought the xml file actually adds that [12:40] ok [12:40] happy to change as needed [12:41] you just have the dbus policy xml file, no policykit in there AFAICT [12:41] anyway, no biggie for now [12:43] bzoltan: hi [12:44] bzoltan: so dbus-property-service will allow switching on ssh without requiring the user's password [12:44] mdeslaur: sorry, i lost my connection [12:44] bzoltan: so the sdk can switch it on after setting up the keys [12:44] bzoltan: once that's done, the developer can turn off the lock screen if they want [12:45] bzoltan: I believe ogra_ has volunteered to add the ssh support to dbus-property-service [12:45] :P [12:45] bzoltan, have a look at the /usr/bin/android-gadget-service script ... i'll add something similar for ssh enabling [12:45] mdeslaur: OK, cool. [12:45] bzoltan: would that be acceptable? [12:45] (i.e. you can just have a dbus-send command to enable it) [12:45] mdeslaur: is there any chance to set the password and still use the swipe unlock at the first place? [12:45] you will still need to copy the key etx [12:45] *etc [12:46] ogra_: that is finw, for that I do not need # [12:46] right [12:47] bzoltan: currently no, but once ssh is set up, you can turn off the lockscreen [12:48] mdeslaur: OK === _salem is now known as salem_ [12:49] Laney: ping. Would you have time for a final review of the ubuntu-system-settings branch related to the schema one that's been in discussion? seb's been over it and we've addressed his concerns, and he approved the related schema branch, but left before top-approving the system settings branch itself. Asked mardy, got no reply. [12:49] ogra_: would you ping me please when this dbus-property-service wil be available? [12:49] Laney: merge is https://code.launchpad.net/~ralsina/ubuntu-system-settings/notification-plugin/+merge/227344 [12:49] bzoltan, sure [12:50] Chipaca: I got back from holidays today :-) [12:50] ogra_: thanks! great that we do not need to hustle areound with the passwords. [12:50] ogra_, mdeslaur: can one of you followup on the ubuntu-phone thread about 'Developer mode, ADB and SSH' since you were already involved (and presumably read the whole thread, which I haven't yet :) [12:50] mardy: welcome back! [12:50] jdstrand: I did already [12:50] ok, thanks [12:50] Chipaca: thanks :-) I'll have a look at your branch [12:50] mardy: if Laney can top approve, he's probably got more context anyway [12:50] mardy: because he's been following the discussion with seb, somewhat [12:50] Chipaca: yes, I'll let him do so, I'll just have a quick look [12:50] mardy: thanks [12:52] Chipaca: the indentation in PageComponent.qml is varied, in the ListItem.Base you are using tabs [12:53] ralsina: ^ === pete-woods is now known as pete-woods|lunch [13:01] mardy: good catch on the g_strdup bits [13:09] mterry, hey, welcome home :) [13:10] ogra_, :) thanks [13:10] so there seem to be a lot of issues with setting the pw [13:10] ogra_, OK. Bugs? [13:11] i wonder if we dont have to ship with a locked PW insted of an empty one ... the UI definitely asks for the old one (which is empty indeed) and doesnt accept an empty one [13:11] not sure there is a bug already [13:11] i asked popey to file one for his sudo issue since he definitely has an empty shadow file [13:11] i have a proper shadow file here but the UI doesnt allow me to change the PW [13:12] Hi all! I would like to request a language-pack-touch-* package update. Because the last build made at 16th July [13:12] ogra_, I tested this morning with an empty shadow and sudo worked for me [13:12] pitti, ^ - I tried to reach wgrant to do the export earlier, but it seems he's not around [13:13] ogra_, so something is definitely funky there if we have inconsistent results [13:13] nhaines: hi. i'm not in europe. :) [13:13] dpm: yeah, I'm polling the page 5 times a day [13:13] Louie: in the works, waiting for LP [13:13] ogra_, but locked vs empty shouldn't be the issue [13:13] thanks pitti, where can I find the status of this? [13:14] pitti, I've just pinged him in #launchpad [13:14] Louie: https://translations.launchpad.net/ubuntu/utopic/+language-packs, we need a full export [13:14] Louie: (i. e. "base pack") [13:14] ogra_, what error do you get in the UI? bad password or something else? [13:14] dpm: he said last week that LP is being fitted SSDs, and the export would start today or tomorrow [13:15] ah, cool, that should fix/mitigate the timeouts === tedg` is now known as tedg [13:15] mardy: hi === dobey_ is now known as dobey [13:17] mterry, "internal error: user not loaded" [13:18] interestingly it is also set to "password" by default for me [13:18] Chipaca, is it possible to tell, ahead of time, what kinds of notification (bubble, sound, vibration, Notification Center item) an app will ever try to use? [13:19] ogra_, hoowah? "password"?! [13:19] yep [13:19] what code would be doing that [13:19] dunno [13:19] mpt: not at this time. Is that something we would want to do? [13:19] ogra_, you didn't set it to password in a previous flash run did you? [13:19] not that i remember [13:19] mpt: we could make it so that they have to declare it [13:19] mpt: if we wanted to do that [13:19] mterry, that "user not loaded" error seems to be very common though [13:20] Chipaca, yes, because it would avoid us showing settings checkboxes for things that an app is never going to do anyway [13:20] i heard that from multiple people here [13:20] mpt: (but then i'd expect everybody to say "yeah, i want to do anything and everything") [13:20] ogra_, I'm also seeing that on my device, just tested [13:20] ogra_, were there recent changes to lxc-config or livecd-rootfs that were in this problem space? [13:20] What is "Device Image" meaning in the about page? I understand the Ubuntu image, but not the Device Image [13:21] mterry, not that i'm aware of [13:21] Louie, drivers and such live in their own image [13:21] or image-part rather [13:22] ogra, thanks [13:22] mterry: left a comment on the bug, I've not set a password either, but can't sudo [13:23] well, you are completely lacking a shadow entry [13:23] that shouldnt happen [13:23] i have an entry in /var/lib/extrausers/shadow [13:23] but not /etc/shadow [13:23] oh, yoou said not when i asked :P [13:23] yeah, you said "shadow" not that path [13:23] yeah, /etc is dead :P [13:23] i assumed /etc/shadow as that's "the shadow" file [13:23] sorry [13:24] we were talking about passwd in that path ... i kind of thought that was implied ;) [13:24] ogra_, user not loaded means that we had problems talking to AccountsService... [13:25] Does u-s-s not log anywhere? [13:26] Hrmm [13:26] The changelog for 0.6.37-1ubuntu7 seems very relevant [13:28] Hm, nope. That just allowed more access it seems [13:29] mterry, system-settings 0.6.37 ?? [13:29] accountsservice [13:29] ah [13:31] jgdx, where does u-s-s log its output? [13:31] jibel: does selecting a language in the wizard actually work for you? the wizard is in German for me, but it doesn't actualy write /etc/default/locale (or something resets it) [13:31] jibel: and thus unity and everything is still in English [13:32] pitti, it doesn't let me find the bug [13:32] pitti, bug 1351308 [13:32] bug 1351308 in accountsservice (Ubuntu) "Changing language has no effect" [High,Confirmed] https://launchpad.net/bugs/1351308 [13:32] jibel: I was agoing to report one [13:32] jibel: ah, thanks [13:32] pitti, this is a regression in mako build #163 [13:32] * pitti was looking in ubuntu-system-settings [13:33] mterry, .cache/upstart/application-legacy-ubuntu-system-settings-.log # i think [13:33] mterry, exact path in a sec (if you can't find it) [13:34] jgdx, got it [13:34] jgdx, thanks -- wasn't expecting the application-legacy prefix, but makes sense [13:34] mterry, I'm honestly in the dark on that prefix. What does it mean? [13:35] jgdx, it just means that it isn't a click package [13:35] mterry, ah – thanks [13:38] pitti, wgrant tells me he's started the export job [13:38] \o/ thanks [13:47] dobey: hi :-) [13:49] mardy: hi, i was trying to fix a bug in ubuntuone-credentials last week, and got stuck with another problem being introduced even though the things i was fixing work correctly now. so i think i need your help figuring out why it's happening. [13:49] dobey: please tell me more :-) [13:49] mardy: and i'm on vacation this week, so ted will be taking that over. i'm just around for a couple hours this morning to catch up with him and you, as you were both on vacation last week [13:50] cjwatson, re: gpg keys for click packages :) [13:50] cjwatson, staging [13:50] mardy: https://code.launchpad.net/~dobey/ubuntuone-credentials/fix-cancel/+merge/228961 is the MP for my branch [13:50] cjwatson, I don't know if it needs to be something special [13:50] how would we do verification on the device? [13:50] is it easy to add the key to the phone for testing? [13:50] mardy: it fixes an issue where the Cancel button wasn't causing the plug-in to close, when opened via the new Client QML API, as well as the back button and broken accounts issues [13:51] mardy: however, with that fix, actually logging in is failing to close the UI when opened via the Client QML API now :( [13:51] mardy: and i haven't been able to figure out why that happens [13:52] beuno: not sure, I think it's tricky right now because the keys won't live in a writable location [13:52] beuno: do we have to solve this now? because it's directly going to slow down getting this sorted for production ... [13:52] beuno: and Michael is on holiday at the moment [13:52] dobey: what is this Client QML API? [13:53] mardy: OnlineAccounts.Client [13:53] cjwatson, I don't want to slow down production, no. But the code is deployed on staging to test, I wanted to understand how we'd test staging on devices. [13:53] mardy: to open the plug-in directly, instead of via system-settings [13:53] dobey: ah OK. So the account gets created, but the UI doesn't close? [13:53] mardy: the pay-ui app is using it [13:53] cjwatson, I guess I we can try and test on production at this stage, it makes me a bit more nervous, but it's tolerable :) [13:53] mardy: right, at least that is the behavior i'm seeing [13:54] beuno: Yeah, unfortunately I'm not sure right now, I *guess* we could deploy production's key on staging but that makes me kind of nervous too [13:54] mardy: and after the account is created and the UI doesn't close, the "Cancel" button also seems to stop working, and just does nothing [13:55] beuno: click install will have an --allow-unauthenticated option, though the current signing branch doesn't allow passing that through the PK plugin, so I guess that doesn't directly help [13:55] beuno: or we could make an image writable and then shove the right keys in [13:56] cjwatson, yeah, that might be the best thing to do for now [13:56] beuno: you probably ought to generate a staging key, even if not much is using it yet, anyway - would at least test that the signing process doesn't crash, and we could manually inspect the results [13:56] pindonga, ^^^^ [13:56] cjwatson, I'll get that done, thanks [13:56] beuno: (which isn't hard - just check that it's still a valid ar archive, and that the original package is strictly a prefix of the signed one [13:56] ) [13:57] dobey: and without your latest branch, it was closing properly? [13:57] mardy: yes, but without my branch, "Cancel" doesn't work at all, and we get the broken "empty" accounts sometimes [13:57] dobey: OK [14:02] tedg: ^^ can you raed the backlog for the discussion between mardy and me? [14:07] kenvandine, could you take a look at https://code.launchpad.net/~jonas-drange/ubuntu-system-settings/expandable-sim-name-editor/+merge/229450 ? [14:07] * tedg reads === gnu is now known as Guest77732 [14:09] mardy: ralsina just fixed the issues you found [14:09] mardy: in the system settings notifications plugin branch merge thing === rbelem__ is now known as rbelem [14:11] jgdx, cool, sure === chihchun is now known as chihchun_afk [14:17] mardy: currently rebuilding. If neither Laney nor seb return from the dead soonish, could you do the whole thing? === pete-woods|lunch is now known as pete-woods === oSoMoN_ is now known as oSoMoN [14:25] mardy: just to be sure. you're looking into why that is happening? :) [14:32] rsalveti: ping; when can you spare five minutes to go over some powerd things? [14:35] Chipaca: sure, what's up? [14:38] rsalveti: am wanting to get woken periodically to check push notifications (and have polld do its poll). Where can I read up on the best way to do that? [14:39] Chipaca: unfortunately I don't have time to test the thing, I'm quite busy [14:40] mdeslaur, i assume the security team doesnt mind if i remove /etc/cron.daily/passwd from the image :) [14:40] mardy: :( any suggestions as to who could review? [14:40] Chipaca: I'll just look at the code, and approve if I don't find anything major [14:40] ogra_: nope, don't care [14:40] dobey: not yet, I'm still updating my phone [14:41] mardy: thanks [14:42] Chipaca: the right way to do that is requesting a hw alarm (via platform-api), waking up the device, holding a suspend blocker (via powerd), doing your stuff, releasing the suspend blocker and done [14:42] as you want to wake up the device in case it's also suspended [14:42] yep [14:42] that's how our alarm (indicator) is doing as well [14:43] Chipaca: first check platform-api for the hw alarm stuff === pete-woods is now known as pete-woods|at-do [14:43] then check powerd's dbus api for suspend blocker [14:43] rsalveti: would you happen to have a link for that? [14:43] mardy: sure. i just want to confirm you will have a look as soon as you can. thanks :) [14:43] otherwise i'll google [14:43] Chipaca: pull-lp-source platform-api :-) [14:44] :) [14:44] and for powerd: https://wiki.ubuntu.com/powerd [14:44] Chipaca: I think there's a test case for the alarm api [14:52] Chipaca: We're in China so it's hard to be in sync, sorry [14:52] mardy's review should be fine [14:52] Laney: so i hear. Hope it's going well. [14:53] so far so good === dandrader_ is now known as dandrader|lunch === gatox is now known as gatox_lunch === oSoMoN_ is now known as oSoMoN === oSoMoN_ is now known as oSoMoN === pete-woods|at-do is now known as pete-woods [15:48] kenvandine, hey, do you have designs for call fwd/wait? [15:48] jgdx, not sure, i haven't gotten that far yet [15:48] i've switched gears to get caught up on content-hub stuff right now [15:50] kenvandine, kay [15:51] jgdx, i'll review your branches in a bit, maybe over lunch [15:54] mardy: would you have five minutes? [15:56] what's a good way to completely kill adb? I want to test MTP without adb in the mix [15:56] I assume developer-mode hasn't landed yet :0 [15:56] :-) even [15:58] kenvandine, that's perfect. === gatox_lunch is now known as gatox === oSoMoN_ is now known as oSoMoN [16:11] mardy: basically i'm wondering where in ubuntu-system-settings would the push helper (that gets called when you get a broadcast message about system updates) would best be placed in the source tree [16:11] mardy: or the same thing but with 50% less "would" [16:11] mterry: ogra_ just noticed since removing password for phablet user as you suggested, now I have no passcode (which I had set) [16:12] I didn't realise setting a PIN sets the phablet password?! [16:12] popey, yes [16:12] it does ! [16:12] popey, so that's what was missing -- you needed to enter your PIN at the sudo prompt [16:12] now if i try to set it, I get "Internal error: user not loaded" [16:12] popey, yup I'm looking into that -- some regression [16:13] ok === Ursinha is now known as Ursinha-afk [16:18] jdstrand: oSoMoN recommends removing --enable-back-forward from my webapp to remove the browser chrome, but this fails the desktop_Exec_webapp_args_minimal_chrome test in the click reviewers tools... [16:21] boiko_: hello :) === boiko_ is now known as boiko [16:22] boiko_: so... we don't have a bug for it yet (too much to do :p), but could you take a look at the failing tests for address-book-app? [16:22] boiko: we seem to be having locally-reproducible stable failures since some time [16:22] renatu: ^ [16:22] boiko: let me find some logs [16:23] sil2100: we are about to merge some design changes that include autopilot fixes, it might fix the issue you are seeing [16:23] boiko, renatu: http://ci.ubuntu.com/smokeng/utopic/touch/mako/169:20140804:20140728.1/9466/address_book_app/ [16:24] boiko: would be nice, it's actually all caused by some icon problems [16:24] (same problem on each test) [16:24] sil2100: Icon not being found? I fixed a couple of those [16:24] Object not found with name 'Icon' and properties {'objectName': 'infoIcon'}. :) [16:25] Maybe it changed recently or something [16:27] sil2100: yep, it changed recently, I had the same failures on messaging too, but it is fixed on silo 15 which should land soon [16:27] That's excellent news [16:30] Wellark: ping, has there been any progress on this bug? https://bugs.launchpad.net/ubuntu/+source/indicator-network/+bug/1343341 [16:30] Launchpad bug 1343341 in indicator-network (Ubuntu) "/usr/lib/arm-linux-gnueabihf/indicator-network/indicator-network-service:6:__gnu_cxx::__verbose_terminate_handler:__cxxabiv1::__terminate:std::terminate:__cxxabiv1::__cxa_throw:core::dbus::Bus::send_with_reply_and_block_for_at_most" [Critical,New] [16:35] popey: I turned it into 'info'. see r222 [16:36] jdstrand: thanks [16:36] popey: np [16:43] popey, oh, awesome ! [16:43] * ogra_ will have to re-pack all his html5 games === dandrader|lunch is now known as dandrader === alan_g is now known as alan_g|EOD [17:32] charles: hi [17:33] hi nik90 [17:33] charles: were you able to figure out why the interactive notifications don't last as long as the snap notification did for alarms? [17:34] charles: just concerned if the interactive notification allow us to set a timeout value similar to the snap notifications [17:34] oog [17:34] * nik90 looks for oog acronyms [17:35] looks like unity-notifications ignores the timeout hint when the notification mode is Interactive [17:35] oh [17:35] looking at unity-notifications/src/NotificationServer.cpp's NotificationServer::buildNotification [17:36] charles: I will check with macSlow if that is an intended behavior or not [17:36] it looks at the timeout hint if the mode is Snap, but not Interactive [17:36] nik90, is there a ticket open for this already? [17:36] for i-datetime? [17:36] yes === dkessel_ is now known as dkessel [17:37] charles: https://bugs.launchpad.net/ubuntu-clock-app/+bug/1350426 [17:37] Launchpad bug 1350426 in indicator-datetime (Ubuntu) "Alarm notification should be changed to an interactive notification" [Medium,In progress] [17:37] charles: it is also marked as affecting i-datetime [17:38] nik90, I was unclear, is the Interactive-mode timeout issue discussed in any ticket? [17:39] charles: no, I only discovered it while testing your MP. So I wasn't sure if you added support for it or if it was a bug. [17:39] nik90, ack. I'll add it to 1350426 [17:39] ok [17:47] nik90, https://bugs.launchpad.net/ubuntu-clock-app/+bug/1350426/comments/3 [17:47] Launchpad bug 1350426 in indicator-datetime (Ubuntu) "Alarm notification should be changed to an interactive notification" [Medium,In progress] === Ursinha-afk is now known as Ursinha === Ursinha is now known as Ursinha-afk [18:18] jgdx, have you seen the reset-api branch? it's approved already, not sure if that interferes with your reset branch? === Ursinha-afk is now known as Ursinha [19:04] kenvandine, seen it, but that's an api in the plugin system. [19:05] just wasn't sure if there was some conflict there [19:05] * jgdx cheks [19:05] s/ect/etc [19:07] kenvandine, no conflicts. Thank you for the review. [19:14] kenvandine, ci test failures correct, I broke it [19:20] pindonga, 15:19 < popey> beuno: https://pastebin.canonical.com/114767/ got that when trying to upload a version of my app [19:20] tried second time and now it wants me to bump version so assume it did actually upload [19:20] https://myapps.developer.ubuntu.com/dev/click-apps/172/ is the app [19:21] beuno, popey checking [19:21] yes, looks like it did upload [19:21] this is sca showing an oops from pkgme [19:21] looks like click-updown was down at that time [19:21] the error can be improved though [19:21] and we have a to-do item to make these kind of things async so we can retry [19:22] ok, thanks [19:23] popey, except for the poor error handling here.. does it work now for you, or is there something else we can help with? [19:23] pindonga: looks like it worked [19:24] ack === Ursinha is now known as Ursinha-afk [19:40] Waiting on my ubuntu phone guys. Keep going hard at it plz. - I want it asap. [20:00] kenvandine, what has landed with re: to call forwarding/waiting? Or is it your WIP branch from May that holds all of it? [20:05] jgdx, it's all landed [20:05] at least single sim :) [20:08] kenvandine, cool, thanks [20:08] kenvandine, jgdx you guys see my email for updates? [20:10] pmcgowan, not yet, will be sure to respond soon [20:10] pmcgowan, I'm responding atm [20:10] thanks [20:11] pmcgowan, not yet, will be sure to respond soon [20:11] whoops [20:11] department of redundancy department [20:11] :) [20:12] pmcgowan, are there designs for call forwarding/wait for dual sim? [20:12] kenvandine ^ (sorry if I am repeating myself) [20:12] jgdx, I have not seen any [20:12] i haven't seen any [20:13] pindonga: 404 https://myapps.developer.ubuntu.com/dev/click-apps/ [20:13] popey, deploy in progress most likely [20:13] indeed [20:13] :) [20:13] will be fine in a sec [20:13] well thats just rude [20:13] ☻ [20:13] * popey refers to previous conversation about error messages ☻ [20:14] popey, actually, the deploy exploded [20:14] \o/ [20:14] trying to fix it now [20:14] I'll leave that with you ☻ === Ursinha-afk is now known as Ursinha [20:27] popey, on it [20:33] popey, should be back up [20:33] popey, please let me know should you find any issues with it [20:34] pindonga: will do [20:40] rsalveti: ping with a question about sound volumes, if you've got five [20:40] Chipaca: sure [20:41] rsalveti: so. I wasn't able to follow the sounds discussion to its end. Were you able to implement things at the pulseaudio level? [20:41] rsalveti: and if so, what arguments should i give paplay for it to do the right thing> [20:41] ? [20:43] Chipaca: ping me later this week again and I hopefully should have the answers for that :-) [20:43] I'm about to find them [20:43] rsalveti: ah, ok then [20:44] just landed handsfree, so focus is audio policy now [20:44] and a bunhc of bugfixes :-) [20:44] rsalveti: sweet. Will poke you again later this week then. [20:44] rsalveti: thanks [20:46] 404 on page http://developer.ubuntu.com/start/ubuntu-for-devices/image-channels/ [20:47] for link http://developer.ubuntu.com/start/ubuntu-for-devices/image-channels/installation/ [20:52] ajalkane: you flashing a mako? [20:53] ajalkane: mako == nexus 4. [20:53] popey: not flashing, just trying to setup ssh and WiFi access for deploying apps for developing. It's the image you flashed [20:54] ah okay. [20:54] (if you know I should flash a newer image let me know) [20:55] ajalkane: adb shell system-image-cli --info [20:55] what version does it say? [20:55] to enable ssh, do "adb shell setprop persist.service.ssh true" then "adb reboot" [20:56] mhall119: ^^ http://developer.ubuntu.com/start/ubuntu-for-devices/image-channels/installation/ 404's [20:57] popey: I'm not yet at the stage that adb detects the device... it's possible through WiFi or do I need to plug it in with USB? [20:57] popey: where did you find a link to that url? [20:57] you need to use usb [20:57] ok [20:57] mhall119: ajalkane did [20:57] where? [20:58] current build number: 157 [21:00] ajalkane: thats the latest devel image, that should be fine. [21:01] Okay great, thanks [21:03] 21:46:54 < ajalkane> 404 on page http://developer.ubuntu.com/start/ubuntu-for-devices/image-channels/ [21:03] 21:47:06 < ajalkane> for link http://developer.ubuntu.com/start/ubuntu-for-devices/image-channels/installation/ [21:03] mhall119: ^ [21:07] I'm trying to ssh to the device, but for some reason I get this: [21:07] ssh phablet@nexus [21:07] Permission denied (publickey). [21:08] I've removed all files in device's ~phablet/.ssh but still the same result [21:08] I use "phablet-shell" to connect to mine [21:09] which is in the phablet-tools package [21:09] This page recommends using ssh to access: https://wiki.ubuntu.com/Touch/ReleaseNotes#Accessing_the_system_for_development [21:09] phablet-shell is ssh [21:09] yeah, in the past "adb shell" was used and that was terrible [21:09] so ssh was recommended [21:10] phablet-shell just wraps up things nicely [21:10] I'll install phablet-shell and try [21:10] ajalkane, pablet-shell will create a pubkey for you and push it to the device. [21:10] IIRC [21:10] okay if it's just that non-publickeyauth is disallowed I can also push my own key there? [21:10] popey: ajalkane:thanks, fixed the link [21:11] thanks mhall119 [21:11] ajalkane: for future reference, there's a button at the bottom of every page on developer.ubuntu.com for reporting problems like that [21:11] ajalkane: yeah, you can put your own key on device [21:11] it'll inject reference URLs and tags to help if find where it was encountered [21:11] mhall119: alright, good to know [21:13] Saviq, hey, do you know if https://bugs.launchpad.net/unity8/+bug/1210199 also solves https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1288332 ? [21:13] Launchpad bug 1210199 in unity8 (Ubuntu) "[Shell] support rotation" [High,In progress] [21:13] Launchpad bug 1288332 in ubuntu-system-settings (Ubuntu) "Orientation lock not available (rotation/portrait lock)" [Low,Confirmed] [21:14] jgdx, the code for it exists, yes, but it's not clear that we'll manage that first one for RTM [21:14] jgdx, so we should think of a plan B [21:15] jgdx, which basically means that wherever we'd store the rotation lock value, we'd need to read it in UITK to stop the internal app rotation [21:15] jgdx, or maybe even it'd make sense in lower levels, to disable sensors whenever the lock is on [21:20] Saviq, the latter conforms with this spec [1] so I'm okay with that :P [1] https://wiki.ubuntu.com/StatusBar#rotation-lock [21:20] kenvandine: ping [21:21] jgdx, yeah, it'd be a stop-gap while we don't have the shell dealing with all that [21:22] jgdx, I'll have a chat with ricmm_ tomorrow about the sensors part [21:23] Saviq, thanks. [21:30] Can Ubuntu SDK (QtCreator) be configured to deploy applications via WiFi or is USB connection to the device mandatory? [21:31] (I hate cables :) [21:31] ajalkane: you're overthinking it. You want to connect and deploy via network. :) [21:32] (I don't know if this is possible, though.) [21:33] Personally I think I'm trying to underthink it :) [21:43] I guess I need something? SDK returns this while trying to run on device: [21:43] Command returned 2: schroot -c click-ubuntu-sdk-14.04-armhf -- env DEB_HOST_GNU_CPU=arm DEB_HOST_GNU_SYSTEM=linux-gnueabihf DEB_BUILD_GNU_CPU=i686 DEB_BUILD_ARCH_BITS=32 DEB_HOST_ARCH_OS=linux DEB_BUILD_ARCH=i386 DEB_HOST_MULTIARCH=arm-linux-gnueabihf DEB_BUILD_ARCH_ENDIAN=little DEB_HOST_ARCH_ENDIAN=little DEB_HOST_ARCH_CPU=arm DEB_BUILD_ARCH_OS=linux DEB_HOST_ARCH_BITS=32 DEB_BUILD_GNU_SYSTEM=linux-gnu DEB_HOST_ARCH=armhf DEB_BUILD_ARCH_CPU=i386 DE [22:00] I'm using Ubuntu 14.04, do I need 14.10 development version before this works? Or will installing some libs make it work? [22:00] You need the SDK PPA. [22:01] (Unless you're running utopic) [22:01] I should have the PPA... I'll recheck [22:02] cat /etc/apt/sources.list.d/ubuntu-sdk-team-ppa-quantal.list [22:02] deb http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu trusty main [22:03] So it should be okay. Any other checks I should run? [22:06] I'm not an expert. But that's the one that comes to mind. [22:06] ok thanks [22:07] Well, I have to go, but I'm staying on IRC and if some suggestions come I'll try reading them tomorrow [22:07] Best way to use IRC. Good luck. :) === chriadam|away is now known as chriadam === salem_ is now known as _salem