/srv/irclogs.ubuntu.com/2014/07/16/#ubuntu-touch.txt

=== chihchun_afk is now known as chihchun
=== cul_ is now known as cul
lotuspsychjemorning touch devs :p05:18
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== psivaa-off is now known as psivaa
=== chihchun is now known as chihchun_afk
JamesTaitGood morning all; happy Apollo 11 Day! :-D08:09
jameshmardy: ping? I have a few questions about online-accounts08:31
Ron__hello, i only want to know if the ubuntu tablet of meizu or bq will have got pen-digitalizator to write in the screen08:44
Ron__i saw the scecs but i didn't found, just 10 points of touch08:44
Ron__and sorry for my "engrish"08:45
mhr3seb128, did you ever see my question about the pkg/abi stuff?09:22
seb128mhr3, no09:23
seb128when?09:24
mhr3couple of days ago09:24
mhr3let me find it in logs09:24
mhr3seb128, http://paste.ubuntu.com/7802578/09:26
seb128mhr3, yeah, just get it added to the ubuntu-touch seed09:27
mhr3seb128, isn't it a problem that the old version would no longer be buildable? ie the src pkg would be building newer ver?09:28
seb128yeah, if you do that you need to keep different sources in the archive09:28
seb128or build old/new abi from the same source09:29
mhr3eh, option #3?09:29
seb128mhr3, no option 309:36
Laney"don't break abi" :)09:37
mhr3seb128, not what i wanted to hear :/09:40
seb128mhr3, yeah, what Laney said is option 309:40
seb128stop changing your interfaces all the time09:40
* mhr3 looks at libmirserver22 and doesn't feel guilty despite whatever seb128 says09:41
seb128lol09:41
seb128at least they don't have clients to support/they transition those with them09:42
seb128seems it's not your case09:42
mhr3yea, lucky them09:42
mhr3seb128, so what would happen if we added it to the seed and it was no longer buildable?09:44
seb128mhr3, your new version would stay stucked in utopic-proposed and never reach an image because britney wouldn't let you do that09:44
mhr3seb128, time to migrate to rebecca, britney seems old09:45
seb128lol09:47
nik90_anybody here familiar with QDbusInterface. The clock app needs to make a call to com.canonical.indicator.datetime and retrieve some properties. However I am having trouble connecting to the dbus interface.10:35
nik90_Here is a code snippet and error output I got http://paste.ubuntu.com/7802826/10:36
=== MacSlow is now known as MacSlow|lunch
mhr3seb128, can't we at least have src pkg based based on different series?11:28
nik90_dednick: ping (QDBus help)11:29
mhr3seb128, like lp:foo/abiX11:29
dednicknik90_: hey. what's up?11:29
nik90_dednick: hey, I am not sure if you remember, but I started writing the custom class for the clock app to get dbus properties from indicator datetime.11:29
nik90_dednick: however I am facing some errors that I am unable to solve, mind giving me a hand if you have time now?11:30
dednickyup11:30
nik90_dednick: so I have this code at the moment http://paste.ubuntu.com/7803025/11:31
nik90_dednick: I can confirm that it is able to read the Dbus session bus since I fixed the cmake stuff. However when I run I get the error Service Unknown11:31
nik90_dednick: I verified with d-feet if the interface, path and service names given were correct11:31
nik90_dednick: the entire code is at https://bazaar.launchpad.net/~nik90/ubuntu-clock-app/10-alarm-settings/view/head:/backend/modules/Alarm/Settings/alarmsettings.cpp11:32
nik90_dednick: I get QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name com.canonical.indicator.datetime.AlarmProperties was not provided by any .service files")11:33
dednicknik90_: firstly, is there a indicator branch that goes with this?11:35
nik90_dednick: I believe charles told me that this has already landed in the indicator side of things.11:35
nik90_dednick: https://bazaar.launchpad.net/~charlesk/indicator-datetime/lp-1318997-export-properties-to-dbus/view/head:/data/com.canonical.indicator.datetime.AlarmProperties.xml11:35
nik90_dednick: MP at https://code.launchpad.net/~charlesk/indicator-datetime/lp-1318997-export-properties-to-dbus/+merge/22474311:36
mhr3nik90_, your service name is wrong11:37
dednicknik90_: hang on, i need to update11:37
mhr3that's what the error is saying11:37
nik90_dednick: sure11:37
nik90_mhr3: yeah, but I cross checked the service name11:37
mhr3nik90_, it's without the .Alarm...11:37
dednicknik90_: yeah, mhr3 is correct.11:38
dednick"com.canonical.indicator.datetime" is the service name11:38
nik90_what about the object path? Is that still /com/canonical/indicator/datetime/AlarmProperties11:38
mhr3yes11:38
dednicknik90_: http://paste.ubuntu.com/7803044/11:39
t1mpI'm confused with the new network settings11:39
nik90_dednick, mhr3: ah thnx11:39
t1mpI have my network listed in "Previous networks", but I don't see a switch to enable it11:39
nik90_dednick, mhr3: that worked :)11:40
seb128mhr3, well, that's "different source package", and yes you can do that11:40
dednickmhr3: stop poaching my fixes! ;)11:40
seb128mhr3, like have lensesv6 and lensesv911:40
mhr3seb128, \o/ at least that11:40
mhr3dednick, blame seb128, it took him ages to reply :P11:40
seb128mhr3, but those can't build any identific binaries, so you need to version the lib/bin/common/etc11:41
mhr3oh ffs11:41
t1mpoh.. disableing and then enabling wifi helped11:41
mhr3seb128, not even if we made sure that the newer ones are always higher version?11:42
seb128mhr3, no, it doesn't work that way, a binary can only belong to one source11:42
mhr3grrr11:42
mhr3hmm, maybe we could just disable all the other pkgs before releasing new abi?11:44
mhr3nah i guess that wouldn't work11:44
seb128mhr3, you could stop changing interfaces, rly ;-)11:47
mhr3seb128, tell that to c++ and gcc11:47
=== alan_g is now known as alan_g|lunch
cwaynehuh getting weird apparmor denials on my scope12:03
cwaynejdstrand: any idea why I'm getting this denial? http://paste.ubuntu.com/7803133/12:05
cwayneusing template ubuntu-scope-network12:05
=== psivaa is now known as psivaa-lunch
ogra_sergiusens, fyi https://launchpad.net/ubuntu/utopic/+source/livecd-rootfs/2.22312:21
=== _salem is now known as salem_
syanoHi... recently learned about ubuntu touch...   Has ubuntu released an image that will run in any x86 device?12:24
ogra_there is the experimental desktop-next image ... that uses the UI (but none of the backend features a real touch install has)12:26
=== alan_g|lunch is now known as alan_g
jdstrandcwayne: you aren't declaring something correctly somewhere. the items in the zmq directory should be named <"name" from click manifiest>_<"key name under hooks" from scope manifest>12:45
jdstrandcwayne: you appear to only have the part after the underscore12:45
cwaynejdstrand: I got it, yep I'd named stuff wrong12:45
jdstrands/scope mainfest/click manifest/12:46
jdstrandok cool12:46
ogra_mterry, yo12:50
mterryogra_, hello!12:50
ogra_mterry, is there any dbus-ish way too find out if the user is capable to  lock the screen ?12:51
mterrywhat's the word?12:51
mterryogra_, capable?12:51
mterrywho isn't allowed to lock the screen?12:51
ogra_i need that for the dev-mode UI (needs to be greyed out until the user is able to lock)12:51
ogra_mterry, i would expect  anyone who doesnt have a pw set (or where it is locked)12:52
mterryogra_, oh you mean whether a password is required to get into the session?12:52
ogra_i need to know if the user can actually unlock the screen and only then allow that dev mode can be enabled12:53
mterryogra_, we do have an EntryIsLocked property12:53
mterryogra_, that's false if the user has swipe-to-unlock on and/or an empty password.12:54
cwaynepopey: thanks for the quick review :)12:54
ogra_mterry, cool, thanks ... looks like what i need12:54
mterryogra_, or true if there is a prompt they have to answer associated with the account12:54
ogra_right12:54
mterryogra_, so that's on dest=com.canonical.UnityGreeter, obj=/list, interface=com.canonical.UnityGreeter.List12:54
popeycwayne: np12:55
ogra_mterry, cool, thx12:55
mterryogra_, you also mentioned not wanting to allow adb if the greeter is currently up?12:55
ogra_for RTM only being able to unlock is the req.12:55
mterryok12:55
mterryWell we have a property for that too12:56
ogra_mdeslaur would like to see adb being stopped on locked state12:56
mdeslaurno12:56
mdeslauri want it to not start if the screen is locked12:56
ogra_but that will break all our testing atm ... so this is post RTM stuff (where we will likely solve it differently by using a key exchange on machine basisi instead)12:56
mdeslaurif the screen locks while it is connected, that's fine12:57
ogra_right ... i still think we should rather go with a key db and have a key exchange instead ...12:57
ogra_basing on locked/unlocked will cause lots of testing issues12:57
mdeslaursure12:57
popeycyphermox_: dunno if you've seen but my phone seems to have the radio wedged off.. no matter how I fiddle the airplane switch bug 134260213:01
ubot5bug 1342602 in telephony-service (Ubuntu) "Cannot make or receive calls on #133 (and possibly before) mako" [Undecided,New] https://launchpad.net/bugs/134260213:01
renat__Saviq, why the last version of shell has two sections with apps? What the first sections mean?13:10
=== Tassadar_ is now known as Tassadar
=== gnu is now known as Guest53452
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
sil2100AlbertA: hello! :)13:30
sil2100AlbertA: I heard that you're working on the unity-system-compositor fix for the breakage caused by the recent landing13:30
sil2100AlbertA: what's the ETA for a fix? Since if it's not a trivial thing, we would most probably consider a revert13:31
AlbertAsil2100: so I think we've identified13:37
AlbertAthe root cause13:37
AlbertAsil2100: I think in about an hour I'll have a fix13:38
AlbertAsil2100: basically, we are blocking the QT thread that handles DBus incoming signals/requests13:39
sil2100Excellent13:40
cyphermox_popey: is that an upgrade or a new install?13:46
popeycyphermox_: upgrade, i think it broke when i repeatedly stabbed the flight mode button, but can't be certain13:49
frecelpopey: should I file a bug showing up on home screen against unity or some other project?13:50
popeyfrecel: whats the bug?13:51
frecelpopey: sometimes the home screen doesnt actually update until you touch it, as in if you turn the screen off wait a minute and then turn the screen back on it will be a minute behind and then when you touch it it will refresh and show the correct time13:53
popeyfrecel: i have noticed this also, i believe its a known bug13:57
popeysil2100: is the bug frecel is talking about the one you just discussed with AlbertA ?13:58
AlbertApopey: no that sounds different13:58
ogra_popey, i think thats rather the one we discussed in several morning meetings now13:59
popeyyeah, did we file a bug for it?13:59
ogra_where Mirv was checkking if the event blocker is back13:59
ogra_(which doesnt seem the case)13:59
popeyok, so new bug?13:59
popeyballs.13:59
ogra_popey, yeah, i guess so ... and i dont think it is filed yet+13:59
popeywhat would you file that on?14:00
ogra_heh14:00
sil2100popey, ogra_: yeah... I guess it's the old bug we've been seeing ;/14:00
ogra_popey, no idea ... it might go even down into the android stack or hybris ... or it might be a simple unity8 thing ... really hard to judge14:01
popeyugh.14:02
popeythis is easily reproducable14:02
ogra_yes14:02
ogra_but hard to find the component at fault14:03
=== Ursinha is now known as Ursinha-afk
frecelwould it be easier to find the person at fault? :D14:05
popeybug 134274214:06
ubot5bug 1342742 in unity-mir (Ubuntu) "Screen doesn't update till you touch it" [Undecided,New] https://launchpad.net/bugs/134274214:06
popeythere you go, confirm that ☻14:06
mhall119bzoltan1: mhr3: I'm trying once again to write a scope from Trusty14:24
mhall119I have an i386 emulator with utopic and the associated kit14:24
mhall119but when I switch to that kit, the only build target I get is "simpletest"14:25
mhall119bzoltan1: also, I think there's a bug in the QtC emulator management14:25
bzoltan1mhall119: what the bug is about14:26
bzoltan1mhall119: I think I should backport the latest QtC from Utopic to the PPA. We have fixed tons of things related to the scopes. We have brand new templates and project wizard.14:26
mhall119bzoltan1: I created an emulator called 'utopic-devel', but it shows in QtC as only 'utopic' and it won't start14:27
mhall119running "ubuntu-emulator run utopic-devel" works fine14:27
bzoltan1mhall119:  that could be a real bug14:27
mhall119bzoltan1: wasn't the plan to continuously backport qtc to Trusty?14:28
jhodapppopey: are you going to fix the mediaplayer-app icon hide MR?14:29
mhall119cwayne: ping14:29
cwaynemhall119: pong14:30
=== Ursinha-afk is now known as Ursinha
bzoltan1mhall119:  for the Trusty I apply massive testing and dogfooding ... it takes time14:30
mhall119cwayne: hey man, how have you been developing scopes, are you running topic on your desktop?14:30
bzoltan1mhall119:  i will release a new trusty QtC tomorrow14:31
mhall119ok, thanks bzoltan114:31
cwaynemhall119: yep14:31
mhall119cwayne: ok14:31
bzoltan1mhall119:  I do not  take risks... I got burned too many times14:31
cwaynemhall119: although it sucks that I have to.. it'd be so much better to be able to do it from trusty14:31
mhall119bzoltan1: do we have enough automated testing around qtc and our plugins?14:31
mhall119cwayne: I agree, which is why I'm sticking to trusty until we get it sorted14:32
popeyjhodapp: do we have the right incantation?14:32
cwaynemhall119++14:32
bzoltan1mhall119:  absolutely no... autopilot was not up to the task in the last two years. Now i am testing the latest autopilot from the lp:autopilot and it seems to have major improvements. It can introspect object what it did not see before14:33
jhodapppopey: I thought so...we can copy what other .desktop files do in /usr/share/applications/14:33
jhodapppopey: like this: "NoDisplay=true"14:34
jhodapppopey: sync-monitor-calendar.desktop uses that14:34
popeyjhodapp: so remove OnlyShowIn=neverShow and add NoDisplay=true ?14:35
jhodapppopey: yes14:35
popeyok, 2 min14:35
jhodappgreat thanks14:35
=== psivaa-lunch is now known as psivaa
popeyjhodapp: updated branch, pushed14:36
cyphermox_popey: all I can suggest right now is to run /usr/share/ofono/scripts/online-modem to get it back online14:36
jhodapppopey: awesome14:37
jhodapppopey: testing it14:37
mhr3mhall119, tbh never tried the emulator, let me know how that goes14:37
mhall119mhr3: so far it's not14:38
* mhr3 has to live on bleeding edge14:38
popeycyphermox_: that did it, thanks14:38
mhall119I'm going to try re-creating an i386 emulator without hypens in the name to see if I can get further14:38
jhodapppopey: yep it's not visible14:39
cwaynei got some of my scopes working in the i386 emulator, so it should work14:39
popeysweet jhodapp !14:39
jhodapppopey: added us to the CI sheet14:42
popey\o/14:42
jhodapppopey: it's building...will land right after14:47
mterryseb128, heyo!  Did you have time to look at the locking-hash branch?14:48
popeywill keep an eye out jhodapp14:48
jhodappcool14:48
mterryogra_, you mentioned we can't bindmount writable files individually?  I see on my device that /etc/init/ssh.override is in my mount output.  Am I misreading that?14:48
ogra_mterry, we cant delete bind mounted files ...14:49
mterryogra_, but I'm thinking for /etc/shadow and whatnot14:49
ogra_mterry, why do you want to fiddle with that file ?14:49
mterryogra_, for the same reason we want libnss-extrausers!14:50
mterryogra_, we can avoid the need for that altogether14:50
ogra_but do we want to ? note that this was discussed at the sprint ...14:50
ogra_and the nss-extrausers solution was deemed to be safest14:50
mterryogra_, my memory from the sprint was ya'll saying that we couldn't do individual files14:51
ogra_we can14:51
mterrywell..   geeze.  Just do that14:51
mterry:)14:51
mterryDo we not trust the existing protections for those files?14:52
ogra_not sure we want that ...14:52
mterryWhat's the argument against it?14:52
mterrymdeslaur, would there be security concerns about making /etc/shadow, /etc/group, /etc/passwd writable?14:53
seb128mterry, hey14:53
seb128mterry, I was sort of waiting for the security team to do a review ;-)14:53
seb128mterry, but sure, let me do one from the settings side14:54
mterryseb128, I'm worried about timing so the more we can front-load the better :)14:54
mdeslaurmterry: writable by who?14:54
mterrymdeslaur, bindmounted from the writable filesystem instead of the RO one14:54
mterrymdeslaur, normal file permissions and such14:55
* ogra_ sighs14:55
mdeslaurmterry: I believe all the tools write a temp file beside them and then rename them in place...so I'm not sure you can bind mount those14:56
mterryogra_, why am I bumming you out?  Am I retreading ground we've already discussed?  I don't remember this being seriously considered at the spinrt14:56
mterrymdeslaur, interesting14:57
mdeslaurisn't that part of the reason why there was discussion about an different file using nss?14:58
ogra_mterry, it was discusssed at the foundations table in the great ballroom for a bit ... feel free to implement it or not ... just going back and forth in that discussion wont get us forward iirc there were valid reasons to not make the files writable14:58
ogra_mdeslaur, right14:58
ogra_mdeslaur, the prob is that we need the tools to work with nss-extrausers ... passwd, adduser namely ...14:58
mdeslaurthere was also the upgrade scenario, but my memory is a bit fuzzy on that one14:58
mterryogra_, OK.  There must have been some discussions I wasn't a part of, I thought I was there for those meetings14:59
mdeslaurah right, if the groups get changed in the ro image, they won't be represented in the rw version14:59
cyphermox_popey: np. I'm working on a more permanent fix but it seems there is some disagreeing on how to correct fix it14:59
ogra_mterry, it wasnt actualyl a meeting14:59
popeycyphermox_: supply a sledgehammer with every phone14:59
mterryogra_, well regardless.  I'm caught up15:00
ogra_mdeslaur, yeah, thats handled by stgraber by chowning stuff (or by some implementation to phardcode UID/GID values at build time)15:00
=== vying is now known as Guest70785
jarreed0does the Ubuntu touch support an accelerometer driver, such as lis3lv02d15:00
cyphermox_popey: too costly15:00
mdeslaurogra_: no, I mean if a group gets added to /etc/group in a package update, the rw image's /etc/group won't get it15:01
mterryogra_, did you ever get a hold of stgraber/infinity to discuss how they manage their extrausers setup?15:01
mdeslaurunless someone writes some merge logic15:01
ogra_mdeslaur, debs arent supported :)15:01
ogra_if you use them you are on your own15:01
* mterry is just nervous that we are a day away from freeze and we don't seem to understand the details of how to enable extrausers like we need to15:03
mdeslaurogra_: so you're telling me the ro images aren't generated by canonical from debs?15:03
* ogra_ is nervous that we are a day away from freeze and he doesnt get dev mode done because he discusses already planned features over and over 15:03
mterryogra_, ok, sorry man15:04
ogra_mdeslaur, they are and for changes at build time stgraber works on a solution15:04
mdeslaurogra_: and how would you merge that back into the rw /etc/group file?15:04
mdeslaurwhich is on the device and not in the image15:04
ogra_mdeslaur, we dont, we dont have a rw file15:05
mterrymdeslaur, well that's why we probably aren't planning to do rw15:05
mterrymdeslaur, that was my what-if question15:05
mterrymdeslaur, not a current plan15:05
stgrabermdeslaur: the idea is that /etc/group is read-only, /etc/writable/group is writable and we use nss-extrausers to look at both files and merge the output at the nss layer15:05
mdeslaurstgraber: right, which is why we can't just make /etc/group writable like mterry wants15:05
mterryRight, among other reasons apparently15:06
ogra_mdeslaur, exactly15:07
ogra_stgraber, any idea what we do with "passwd" ? it operates through pam and wont update the /etc/writable/shadow file15:07
ogra_in case you want to set a passwd15:07
stgraberogra_: I suspect this may be more of a slangasek question seeing how he maintains and contributes to pam upstream :)15:09
stgraberogra_: there's however a rather ugly but working alternative we could use15:09
stgraberogra_: basically mount /etc/passwd /etc/group /etc/shadow and /etc/gshadow to /etc/readonly/<filename> and then mount /etc/writable/<filename> over /etc/<filename>15:10
stgraberogra_: which then makes it so that /etc/passwd contains your local writable entries and /etc/readonly/passwd contains the rest15:10
stgrabermaking any tool that directly changes /etc/passwd /etc/shadow ... "just work"15:11
ogra_stgraber, hmm and leaving extrausers for the ro files ?15:11
mterrystgraber, we were just talking about that -- apparently tools that modify them do it by writing new file in /etc then moving it, which makes that plan tough15:11
stgraberogra_: right15:11
jhodapppopey: MR is landing15:12
nik90_charles: ping15:12
charlesnik90_, pong15:12
stgrabermterry: ah yeah, that's always a bit annoying, we've had the same problem with systemd and ended up having to patch it... as we can't make /etc itself writable for obvious reasons and anything short of doing that just fails15:12
nik90_charles: I got reading the alarm settings from the dbus working :)15:13
stgrabermterry: I suspect the best way there would be to patch pam (or whatever does the edit) to attempt to create the temp file, if that fails, attempt an in-place edit instead15:13
nik90_charles: I wanted to talk to you about the alarm volume though. Is it dependant on the phone volume?15:13
mterrymdeslaur, ^ how feasible is that from a security pov?15:13
charlesnik90_, \o/15:13
nik90_charles: Would setting alarm volume 50 while the phone volume is 0 (silent) still ring the alarm with the alarm volume?15:14
nik90_charles: https://bugs.launchpad.net/ubuntu-clock-app/+bug/133791715:14
ubot5Ubuntu bug 1337917 in Ubuntu Clock App "Alarm does not ring when phone is muted" [High,Confirmed]15:15
charlesnik90_, brb15:16
nik90_charles: ok15:16
jcastrois excessive battery drain on nexus4's a known issue?15:18
=== dandrader is now known as dandrader|lunch
jcastroI left it on my Qi charging pad last night and woke up to 50% battery15:18
popeyi haven't seen that for a while, but it can depend whats open15:18
ogra_jcastro, my mako survives a day of moderate usage15:19
mdeslaurstgraber, mterry: in-place edits on those files is a disaster waiting to happen. Can't we make passwd use the rw files?15:19
ogra_and i charge it via Qi on my nightstand15:19
mdeslauras an option15:19
ogra_mdeslaur, thats what we'll do15:19
jcastropopey, ok I had some stuff open, will try it again15:19
ogra_mdeslaur, see stgraber's explanation above15:19
ogra_mdeslaur, but even with the rw files passwd wants to back the original up15:20
ogra_before editing15:20
mterrystgraber, separately, how does nsswitch handle merging the different databases?  Like, if I wanted to add phablet to a group also defined in /etc/group, can I have lines for that group in both and they get merged?15:23
stgrabermterry: I don't know15:28
mterrystgraber, ok.  That's actually not 100% necessary -- we can function without adding phablet to nopasswdlogin15:29
stgrabermy guess would be that nss will go through the databases in order and return the first matching entry15:30
ogra_yeah15:30
stgraberwhich would only be a problem if you had a group in the read-only file which contained members and to which you want to add extra members but IIRC we don't have any of those in our default install (just empty groups)15:30
mterrystgraber, I also suspect that.  Would be nice (for this use case) if those lines were indexed by user instead of group15:30
ogra_thats most likely why the order of entries in nsswitch.conf matters15:30
mterrystgraber, well we do have that -- nopasswdlogin -- but we can survive without it by setting the user's password to blank15:31
mterrySo yeah, that means that the only big question for libnss-extrausers is how to handle passwd changing the password15:32
ogra_by flipping the files15:34
mterryogra_, and making passwd edit in-place, but mdeslaur seemed to hate that15:34
ogra_mterry, well, or work around the temp file creation differently15:35
mdeslaurof course, you'll hit a race and corrupt the file and the user will no longer be able to log in15:35
ogra_mdeslaur, yeah ... /me not liking15:35
mterrymdeslaur, we can presumably create the files in a folder besides /etc if we do some patching?15:35
ogra_yeah, that would be my suggestion15:36
ogra_have a dedicated writable dir for the tempfile creation15:36
mdeslaurneeds to be on the same partition if you want to mv it into place15:37
mdeslaurso you can't bind mount it15:37
mterrymdeslaur, stop being difficult!  ;)15:42
* mterry needs lunch brain food15:42
mdeslaurlol15:42
mterrymdeslaur, can we just go back to storing a crypt hash of the password in ~/.unity8-greeter-demo?  so much easier  :)15:43
mdeslaursure, phablet/phablet was awesome15:43
ogra_lets just drop all that user crap ... make everything rw and the user being root15:45
mterrymdeslaur, well to be fair, a password hash in the home directory isn't nearly as bad as phablet:phablet15:49
ogra_a user readable shadow file ?15:50
* ogra_ guesses that is just as bad :)15:51
=== gatox is now known as gatox_lunch
charlesnik90_, I don't know how the alarms' sound setting will interact with the overall volume level -- rsalveti just landed (or is landing?) the PulseAudio code so that different roles (e.g. "alarm") can have different volumes15:55
charlesnik90_, iiuc, for example that's so an alarm can go off at the right volume even if the phone is in silent mode15:55
nik90_charles: iiuc?15:56
charlesrsalveti, is that correct?15:56
charlesnik90_, (if I understand correctly)15:56
nik90_:)15:56
nik90_charles: ok15:56
charlesrsalveti, also while we're on the topic, what does indicator-datetime need to change to set the "alarm" role for the sounds it's playing?15:56
nik90_rsalveti: is there somewhere this is being tracked?15:57
mterryogra_, only for the user's own password15:57
mterryogra_, which admittedly isn't great, but for Touch apps shouldn't be able to read it15:58
ogra_true15:58
jhodappcharles: how is indicator-datetime playing the sounds...does it use a Qt object?15:58
charlesjhodapp, it's using gstreamer15:58
jhodappcharles: right, ok...so yeah it'll be using pulsesink then15:59
nik90_charles: at the moment, I can read/write to the alarm volume, duration. Is there anything else I need to do? For instance should I also use PropertiesChanged signal that you provided? At the moment only the clock app can change these settings.16:00
charlesnik90_, listening for PropertiesChanged & updating clock-app's state accordingly would be The Right Thing if you've got time to do it16:01
nik90_charles: alrite I will do that as well then.16:02
charlesnik90_, I agree it's not a hard goal for RTM but if we don't do it now it'll be a bug ticket later as soon as another app starts poking with the alarms :-)16:02
nik90_charles: :-)16:02
nik90_charles: the clock app should be exclusive :P16:02
charlesjhodapp, ok. Do you know what properties datetime should set there for the alarms, or is that an rsalveti question?16:04
jhodappcharles: it's rsalveti since it's dealing with pulse...I'm not exactly sure how you'll get the gstreamer pulsesink to select which output stream to be on16:05
charlesjhodapp, np; thanks for the info16:06
jhodappcharles: looking at the pulsesink docs on freedesktop.org, it does look like there is a stream-properties property for the sink16:07
jhodappcharles: that might possibly allow you to select your stream16:07
jhodappcharles: I assume you're using playbin to play the alarm sound?16:07
charlesjhodapp, right16:08
kenvandineLaney, i see you have a uss MP related to autopilot tests and updates, do you think that would fix http://paste.ubuntu.com/7804110/16:08
Laneykenvandine: nope, those tests are buggy16:09
jhodappcharles: yeah, take a look at the pulsesink source code to see what types of properties it'll take in that GstStructure...because you should be able to get a pointer to the pulsesink and set that property then from your code16:09
Laneywait16:09
Laneymisread16:09
Laneykenvandine: umm I've not seen that one16:09
Laneydid you look at what this test does?16:09
kenvandinei'm sure that failure isn't related to my branch16:10
Laneyit's surprising that it fails16:10
kenvandinenot yet, it wasn't in anything i touched... so looked to see if it was known16:10
kenvandineand saw your branches16:10
Laneyhmm actually I did fix some bugs with 'self.about_page'16:10
Laneymaybe just pre-req on my branch and see if it works after that :)16:10
kenvandineI'll see if it fails in CI first16:11
kenvandineit fails on my device16:11
Laneyhaven't had a CI run on that one yet though so it could be terrible in itself16:11
Laneythe problem was that a recent change was making AP sometimes miss clicking on the about button16:11
Laneyif an update notification comes in and moves it down so that the coordinates change after AP has decided it knows what they are16:12
jdstrandnik90_: did that apparmor rule help?16:12
dpmpitti, I've got someone translating the phone into Korean and he's finding that there is no Korean available for selection in system settings, which is probably because Korean didn't make the cut. I seem to remember that the packages are still on the archive, just not preinstalled16:13
nik90_jdstrand: yeah it did :)16:13
jdstrandok, I'll update the policy16:13
dpmpitti, so he should be able to just go into RW mode and install the Korean touch langpack, right?16:13
nik90_jdstrand: thnx16:13
nik90_dednick: hey, I am able to now read/write into the dbus. Thnx for your help. Do you have any sample code where I can track the dbus signal to know when the property has changed in dbus?16:15
nik90_dednick: would I need to use connect() as shown in https://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/plugins/Powerd/Powerd.cpp ?16:15
=== chihchun_afk is now known as chihchun
pittidpm: no, we don't build them at all, and include all available packs on the phone16:20
dpmpitti, oh, but it seems I saw a language-pack-touch-ko package on the archive. Perhaps it's indeed preinstalled already? Let me check if I see Korean myself on system settings...16:22
dednicknik90_: yep, thats the one16:22
nik90_dednick: will give it a try16:24
pittidpm: oh, wait -- I think inclusion of new ones requires rebuilding ubuntu-touch-meta16:25
pittidpm: so yes, apt-get installing it is fine for testing16:25
pittidpm: I can rebuild -meta now, hten the next image will have it16:26
=== dandrader|lunch is now known as dandrader
dpmpitti, that'd be cool, Korean is one of the languages we'd like to have good coverage for, and we've got enthusiastic translators wanting to contribute :-)16:27
nik90_charles: is there a way to change the value in d-feet so that I can check if the clock app correctly updates its state?16:27
charlesnik90_, you could do it that way, even easier would be using dconf-editor and editing /com/canonical/indicator/datetime16:28
nik90_charles: ah sweet16:29
charlesnik90_, open up dconf-editor, navigate down the tree on the left-hand-side to indicator-datetime, and then click on the property on the right-hand-side that you want to change16:29
nik90_thnx16:30
pittidpm: hm, it was rebuilt three days ago16:33
pittidpm: and language-pack-touch-ko is on it16:33
pittidpm: then I suppose we just didn't promote an image recently16:34
jdstrandogra_: hey, I know we've talked about this before and istr you saying it was basically solved, but how are we handling /usr/share/apparmor/hardware/*.d/* files?16:42
jdstrandogra_: (going forward)16:42
jdstrandogra_: I have this lingering bug to move what apparmor-easyprof-ubuntu currently ships in there to somewhere else16:42
ogra_jdstrand, shipping them per device in the device tarball and bind mount them on boot16:43
ogra_(with generic names)16:43
jdstrandogra_: is that work being tracked somewhere?16:43
ogra_i dont think so16:43
ogra_there was a blueprint ... but nobody uses bliueprints nowadays :P16:44
* jdstrand still does16:44
jdstrandwhich is why this bug keeps lingering16:44
jdstrand:)16:44
jdstrandor rather, why I keep getting reminded about it16:45
=== gatox_lunch is now known as gatox
=== alan_g is now known as alan_g|EOD
dpmpitti, so I've just looked at the languages available in system settings, and while I cannot read Korean, for the little knowledge I know, Korean is not in one of the selectable languages there. Unless it's the last one on the list, for which there are no fonts to display its characters17:00
dpmpitti, however, it seems language-pack-touch-ko is indeed installed on my phone17:02
mhall119yay, r133 is promoted!17:04
mhall119bzoltan1: are the UITK API docs in a separate -doc package?17:05
bzoltan1mhall119: yes, it is in the ubuntu-ui-toolkit-doc17:07
mhall119thanks bzoltan117:12
renat__popey, I can not change the priority of this bug https://bugs.launchpad.net/ubuntu/+source/qtorganizer5-eds/+bug/1336880, can you add the permissions for me?17:14
ubot5Ubuntu bug 1336880 in qtorganizer5-eds (Ubuntu) "In Event Days repeat not functioning properly " [Undecided,New]17:14
mterryslangasek, so given the various options for writing to /etc/shadow (or similar), I'm thinking the easiest (and also useful elsewhere) thing would be to add support for libnss-extrausers locations to pam.  Mostly because the other options have probles atomically editing /etc/shadow.   How difficult / (un)recommended would adding that support be, do you think?17:14
popeyrenat__: hmm, dunno why you can't and I can, and what perms I could give17:16
popeyrenat__: what do you want me to set it to?17:16
slangasekmterry: I don't want it in pam_unix; please branch pam_unix for this purpose and add it as a separate module in the stack17:16
slangasekmterry: to be precise, I don't want it in pam_unix without it going upstream first17:16
mhall119bzoltan1: how about the upstream QML API docs, is there a package for them?17:16
renat__popey, importance = high17:16
renat__popey, could you do a triage on eds-bugs, and set the correct importance17:17
renat__this way I would be able to know which bugs I should fix first17:17
popeyok17:17
bzoltan1mhall119: there is a qt5-doc what pulls several other -doc packages17:18
rsalvetinik90_: charles: jhodapp: yeah, once the stream is using the right properties, pulse should do the right thing17:20
rsalvetibut that is still in progress, didn't land yet17:20
rsalvetiand I need to put a bit more work on it to be useful, so hopefully I should know more next week17:20
mhall119bzoltan1: qtdeclarative5-doc only seems to have qch docs, are qdoc-generated HTML docs in a package somwhere?17:21
mhall119ah,found qtdeclarative5-doc-html17:22
bzoltan1mhall119:  yes qt5-doc-html17:22
* bzoltan1 is slow :)17:23
nik90_rsalveti: thnx17:23
renat__popey, I can not mark this bug as wont fix: bug #133688017:32
ubot5bug 1336880 in qtorganizer5-eds (Ubuntu) "In Event Days repeat not functioning properly " [Undecided,New] https://launchpad.net/bugs/133688017:32
mhall119renat__: isn't that the one you wanted marked as high importance 15 minutes ago?17:33
popeyno17:34
renat__mhall119, :D, yes but I just figure out this is not a valid bug17:34
mhall119heh17:34
popeyoh17:34
popeyi thought it was different17:34
popeybah17:34
taiebotWaouh superb update guys i love r133 for the moment.17:37
taiebotAre you able to see your phone services in system settings on r133 i reported this bug a while back. Really need this when i go abroad. https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/132383717:41
ubot5Ubuntu bug 1323837 in unity8 (Ubuntu) "Sim toolkit is not available on UT" [Wishlist,Triaged]17:41
renat__charles, I think this bug is related with that one that we discussed some time ago. could you confirm? bug #132091417:44
ubot5bug 1320914 in qtorganizer5-eds (Ubuntu) "Timezone adjustments are not honoured by eds" [Medium,New] https://launchpad.net/bugs/132091417:44
renat__changing the system timezone does not update the datetime indicator17:45
charlesrenat__, yep I think we have another ticket for that already17:45
charlesrenat__, found it, https://bugs.launchpad.net/indicator-datetime/+bug/133209517:46
ubot5Ubuntu bug 1332095 in Indicator Date and Time "alarms don't update their times when the timezone changes" [High,Triaged]17:46
renat__charles, tanks17:46
renat__thanks17:46
charlesI'll close 1332095 as a dupe17:46
=== dpm is now known as dpm-afk
frecelis there an equivalent of intent from android in ut?18:19
awe_pmcgowan, what image did SIM services land in?18:28
pmcgowanawe_, not sure, over a week ago18:28
awe_where is it?  I didn't see it under Cellular Settings?18:29
awe_I'm running #13218:29
mterrymdeslaur, so I'm thinking of forking pam_unix into a pam_extrausers version that supports writing to extrausers locations.  That seems like something you might have thoughts on18:29
awe_pmcgowan, got18:29
awe_it's under System:Phone18:30
pmcgowanright18:30
awe_pmcgowan, also... the tech pref seems odd18:30
awe_2G or 2G|3G|4G18:30
pmcgowanawe_, isnt that right?18:30
awe_we've discussed hw capabilities in the past, but never moved on implementing them18:31
awe_pmcgowan, well...does mako support 4G?18:31
pmcgowanoh, well UI doesnt know18:31
awe_seems odd that 4G should be presented to the user18:31
pmcgowanhence the |18:31
awe_pmcgowan, yea...that was my point about hw capabilities18:31
awe_or lack thereof18:31
pmcgowanright18:31
awe_so 1) a mako shouldn't mention 4G18:31
awe_and 2) on a phone that does support LTE18:32
awe_it should have three choices18:32
awe_1) 2G ( super battery saver )18:32
mdeslaurmterry: slangasek is the one you should talk to before doing something like that18:32
awe_2) 2G | 3G ( save battery )18:32
pmcgowanawe_,  UI is currently just generic not literal18:32
awe_3) 4G ( super-fast )18:32
pmcgowanI see18:32
pmcgowanadd a bug?18:32
awe_sure18:32
pmcgowanI will mark wishlist ;)18:32
awe_haha, I'll wait for one of our OEMs to report the same thing then18:33
awe_;D18:33
mterrymdeslaur, he recommended a fork over patching pam_unix to support extrausers since he didn't feel comfortable with such a change unless it went upstream first18:34
ogra_forks are modern and fashionable18:38
ogra_:)18:39
mdeslaurmterry: ok, if that's what he suggested, that sounds good to me18:41
nik90_charles: could you review the c++ part of https://code.launchpad.net/~nik90/ubuntu-clock-app/10-alarm-settings/+merge/22706818:47
nik90_charles: it is for the dbus calls18:48
charlesnik90_, sure18:48
charlesnik90_, Jenkins needs some convincing18:51
nik90_charles: no jenkins is broken for the clock app reboot branch18:51
nik90_charles: it requires debian packaging which hasn't landed. until then it will keep reporting it as failed18:51
mhall119popey: file manager works as a generic file picker via content-hub now! \o/18:54
popeyBOOM!18:54
mhall119does it do generic file imports too?18:55
mhall119doesn't seem to18:56
mhall119still, we can update document-viewer now to be useful!18:56
frecelmhall119:  popey: is there some equivalent of intent from android on ut?19:00
=== dandrader is now known as dandrader|afk
mhall119frecel: no19:01
mhall119frecel: the closest is the Page component, but Ubuntu works very differently than Android so even that is quite different19:01
mhall119frecel: if you want to duplicate Android-style navigation, use a PageStack in your MainView and push/pop Page items to it19:03
frecelmhall119: I don't think you understood my question. I meant intent as in this : http://developer.android.com/reference/android/content/Intent.html19:03
mhall119oh, right, I'm thinking of Activities not Intents19:04
mhall119so then no, there's no real equivalent of intents19:04
mhall119Content Hub offers some of the functionality you might use Intents for19:05
frecelmhall119: I was just hoping that if an rss link would be clicked in browser a popup could show up asking if you want to send it right to a podcatcher or an rss reader19:07
mhall119Green Mahjong *almost* works now19:07
frecelmhall119: otherwise you have to go through the hassle of copying and pasting it yourself manually19:08
mhall119kenvandine: for the usecase above ^^ would that be content-hub or url-dispatcher?19:09
mhall119I'm not sure which is best to use for mime-type based links19:09
kenvandinemhall119, not sure, you could use the content-hub with an "open with" type thing19:13
kenvandineexporting the link to the app19:13
kenvandinebut it wouldn't be automatic19:13
kenvandineyou'd have to long press on the link in the browser or whatever19:13
frecelkenvandine: can I say something in my manifest file that is basically "this app can handle this type of content"?19:16
kenvandineyou would need to use the content-hub hook19:16
kenvandineto say it can be a destination for links19:16
kenvandineand your app would need to listen for the transfer, which would contain the link19:17
frecelhow would I go about only getting links to rss and atom feeds?19:18
kenvandinethe browser would need to add an export handler to know it can export those19:20
kenvandineexport would be like "open with"19:20
kenvandinethe browser already does this for sharing19:20
kenvandinefrecel, so your app would get a signal that it has an incoming transfer, which would contain the link19:21
kenvandineand you could do what you want with the link19:21
frecelso basically you're telling me that I need to bother oxide people until they add an export handler for my case19:22
kenvandinenot oxide, webbrowser-app19:25
dobeywell you'd probably want it to work in apps that embed a web view too19:29
freceldobey: well it makes sense to keep export handlers away from oxide and then have seperate widgets for oxide and the browser with export handling functionality, the browser would need the ability to run without the toolbar enabled19:37
tedgalexabreu, Commented in bug 1342129, that's fine. We don't need you to register a well-known name, just have a well-known path for the object.19:47
ubot5bug 1342129 in apparmor-easyprof-ubuntu (Ubuntu) "[webapps] should enable access to dbus org.freedesktop.Application" [Undecided,New] https://launchpad.net/bugs/134212919:47
alexabreutedg, ok thx19:48
jdstrandalexabreu: note, the ubuntu-webapp template is missing something that the ubuntu-sdk has, so there may still be some policy updating for me to do. please feel free to comment in the bug if you have a denial after doing what tedg suggests19:54
pmcgowanjdstrand, any reason why system-settings would be unable to play audio you can think of?19:56
jdstrandpmcgowan: perhaps media-hub doesn't have the right access? what does 'grep DEN /var/log/syslog' say?20:01
pmcgowanjdstrand, I got one for camera-app but thats it20:02
jdstrandpmcgowan: was camera-app /dev/fb0?20:02
pmcgowanyes20:02
jdstrandok, that can be ignored20:02
jdstrandpmcgowan: yeah, I don't know otoh20:03
pmcgowanok20:03
hollooohello. I didn't find the TERMINAL app in the emulator. in a search engine/ on project page no binary too. anyone can help?20:05
mhall119sergiusens: I can't send or recieve MMS still on r13320:06
sergiusensmhall119: are you on tmobile?20:06
mhall119nuntium.log says something about "Cannot activate ofono context: No mms contexts found"20:06
=== dandrader|afk is now known as dandrader
mhall119sergiusens: no, AT&T go-phone20:06
sergiusensmhall119:  oh; that's most likely a provisioning error; not sure if apn editing landed yet; but awe_ should be able to help with the right context data20:07
sergiusensmhall119: sending is in the process of being fixed; it actually landed broken20:08
mhall119ok20:08
=== dpm-afk is now known as dpm
=== nik90_ is now known as nik90
nik90hollooo: I think I may know why you dont see terminal in the emulator20:14
awe_mhall119, sergiusens, APN UI is still a ways off20:14
nik90hollooo: the emulator is i386, and I think the click package in the daily images are armhf. So the architecture difference could be the cause of it20:14
nik90hollooo: do you see the file manager?20:14
awe_mhall119, that said, if this doesn't work for you, can you open an ofono bug, and I'll check it out/move it, if need be20:15
awe_mhall119, one very important bit, is to include the following line from your syslog: Provisioning for MCC 310, MNC XXX...20:16
awe_just run 'grep ofono /var/log/syslog' and look for that line20:16
dpmsergiusens, someone was asking me of instructions on how to build the emulator from source. Do we have these anywhere? And are the sources in http://bazaar.launchpad.net/~phablet-team/goget-ubuntu-touch/trunk/files all he'd need to build it, or does it depend on some remote android git repo or something... ?20:18
taiebotHi all. Are you still receiving one ring on phone calls on r133? Will miss less phone calls anyway due to haptic feedback \o/20:18
sergiusensdpm: the emulator runtime proper or the "manager"?20:19
sergiusensdpm: for the manager it's just setup a go env and then "go get launchpad.net/goget-ubuntu-touch/ubuntu-emulator"20:20
mhall119awe_: will do, do you want my nuntium.log file too?20:21
sergiusensmhall119: shouldn't be needed20:21
sergiusensit's failing at a prior step20:21
mhall119ok20:21
mhall119I'll grab that syslog stuff when I get to a USB cable20:21
awe_mhall119, definitely not20:21
awe_nuntium.* --> sergiusens20:22
sergiusensmhall119: the output of /usr/share/ofono/scripts/list-contexts can be useful20:22
awe_;D20:22
dpmsergiusens, both, i.e. anything you need to produce an emulator that can run after building the sources. Is the runtime somewhere else?20:22
mhall119can I ssh into my device over wifi?20:22
sergiusensawe_: I suspect mhall119 is seeing that issue you told me either bill or michael had with at&t and how it was provisioned20:22
awe_sergiusens, knowing the mnc/mcc/imsi/gid from the Provisioning line mentioned above is all I need20:22
mhall119dpm: is the emulator source not in the package source?20:22
awe_then I can look at the apn-db directly20:22
awe_sergiusens, yea probably20:23
sergiusensawe_: but mhall119 might have never ever reflashed ;)20:23
awe_mbpi is going away this week20:23
awe_sergiusens, did you point him at the bug20:23
sergiusensnope20:23
awe_bfiller posted very clear instructions for the workaround20:23
awe_one sec20:23
hollooonik90: I found some files now and I thought about a file manager too now. at the moment the emu is off because of other things to do the next 1-2 hours but i cannot remember to have seen a file manager out of the lenses. and the arm image is really slowmotion but there are apps on i386 and I saw binarys of terminal here: https://code.launchpad.net/~luksi.reiku/+recipe/ubuntu-terminal-app-daily but I have to inform how to insta20:23
dpmmhall119, Sergio is mentioning there are two things: the manager and the runtime. I'm not sure both are in http://bazaar.launchpad.net/~phablet-team/goget-ubuntu-touch/trunk/files20:23
awe_mhall119, see https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/132415720:24
ubot5Ubuntu bug 1324157 in ofono (Ubuntu) "cannot receive MMS using AT+T" [High,Triaged]20:24
sergiusensdpm: https://wiki.ubuntu.com/Touch/Emulator#Building_from_scratch20:24
awe_and more specifically bfiller's instructions at: https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1324157/comments/620:24
awe_if you still can't get it to work, then please file a new bug and get me the "Provisioning line...", if that's not there, then just grab the output of /usr/share/ofono/scripts/list-modems20:25
* awe_ notes this would be much easier with an open bug20:26
dpmsergiusens, oh, that's exactly what I needed, awesome. Do the instructions apply to both trusty and utopic?20:27
sergiusensdpm: yeah, awe_ and myself work from trusty while rsalveti does the same from utopic20:28
sergiusensdpm: only difference is the use of the gcc provided by ubuntu and the one provided in the android tree; just use the onein the android tree and you would be fine (selection is based on the ubuntu one being installed or not)20:29
awe_dev releases + native apple hw aren't always a pleasant experience20:29
sergiusensI run utopic on my devices only :-)20:30
dpmsergiusens, but I guess the build script does all the work, right? I can just point that person to the wiki page and these are all the instructions he needs? I'm guessing those build the "manager" part as well?20:30
sergiusensdpm: not the manager part; those are the two lines I sent before20:31
sergiusenswe could probably add that there...20:31
dpmsergiusens, happy to add it. Something along these lines? -> https://wiki.ubuntu.com/Touch/Emulator?action=diff&rev2=59&rev1=58 I'm not sure what's needed to set up a go env, though. Could you clarify and I'll update the wiki?20:37
sergiusensdpm: sudo apt-get install golang-go20:39
sergiusensexport GOPATH=$HOME/go20:39
sergiusensmkdir $GOPATH20:39
sergiusensexport PATH=$PATH:$GOPATH/bin20:39
sergiusensthat;s it20:39
sergiusensah, you don't need to mkdir $GOPATH even I think20:40
dpmsergiusens, cool. Does that look ok to you now? -> https://wiki.ubuntu.com/Touch/Emulator#Building_from_scratch20:44
sergiusensdpm: it's fine20:54
* sergiusens will bbl20:54
dpmcool, thanks20:54
pmcgowanLaney, do we need to fix this one soon? https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/133003721:16
ubot5Ubuntu bug 1330037 in mutter (Ubuntu) "upower 0.99 transition" [Undecided,In progress]21:16
mterryslangasek, you still around by any chance?  I was able to make a pam_extrausers, which works for normal passwd usage.  But I found out that "passwd -d USER" does *not* go through PAM but directly edits a hardcoded /etc/shadow path.  :(   Any recommendations there?22:50
slangasekmterry: so... do you have a spec somewhere for what all needs to be supported?  Maybe it's best if I have a look at the whole thing22:58
slangasekmterry: and then I can tell you what pieces will need changing to support it22:59
mterryslangasek, we want to support using passwd to change your user password and calling the AccountsService call that changes the "password mode" to none (and back) which ends up meaning being able to call "passwd -d USER" and optionally adding/removing from the nopasswdlogin group23:02
slangasekmterry: "using passwd" - please don't specify mechanics? :)23:03
mterryslangasek, well the end result is that I want to be able to change the user's password.  I believe the recommended way is via passwd.  That's what other pieces of our UI do that interact with changing user password23:03
mterryslangasek, i.e. using passwd with no arguments23:04
slangasekwell, the recommended way is to implement pam calls directly23:04
slangasekbut setting a null password is a special case, that's outside of pam23:04
slangasek(this is a detail of the shadow suite, not of pam)23:04
mterryslangasek, yeah, but that requires root access I believe.  Which is why most UI pieces go through passwd23:04
slangaseker, s/null/disabled/23:04
slangasekdoes 'passwd -d' work as a non-root user?  hmm23:05
mterryslangasek, no23:05
mterryslangasek, I was talking above about using pam calls directly to change password23:05
mterryslangasek, but users can call "passwd -d" via AccountsService, which will call it on their behalf23:05
slangasekright23:06
slangasekmterry: regardless, I don't believe your IRC one-liner could be the complete spec... and I don't know anything about AccountsService.  I'd like to know fully what the high-level requirements have been defined as23:07
slangasekseparately from the interfaces that are currently used23:07
mterryslangasek, OK...  Well the highest-level requirement is "make https://wiki.ubuntu.com/SecurityAndPrivacySettings#Phone work"23:08
slangasekthanks, that's what I had in mind :)23:08
mterryslangasek, security team would like that to be done via real PAM password storage, as you can imagine.  :)23:09
slangasekwell, I'm not sure why23:09
mterryslangasek, are you being sarcastic or sincere?23:09
slangaseksincere23:09
slangasekit's not configurable on a read-only phone image; and shares no code with the existing PAM modules23:09
slangasekso we should be careful not to require PAM if it's not actually a fit23:10
mterryslangasek, we originally had a demo version storing their password in plaintext in the user's home directory.  Then we were thinking of storing in that same file as a hash instead of plaintext as a further stop-gap, but security requested to use PAM23:10
slangasek(due to not being pluggable)23:10
slangasekok23:10
mterryslangasek, eventually we do want Touch to be able to do multi-user goodness and all that23:10
slangasekso, "don't reimplement your own security-sensitive code from scratch" is a good guideline :)23:11
slangasekbut in practice there's a lot that has to be reimplemented anyway, so it's possible PAM will help more than hinder23:11
slangasekanyway, let me have a look at this doc23:11
mterryslangasek, design (mpt) has requested that the no-password case is sincere (i.e. not just adding user to nopasswdlogin but then having them have to remember a password for further access) -- and security wanted to to disable adb / sudo in that case I believe.  So using "passwd -d" (which was already how AccountsService set "no password" mode anyway) seemed like a natural fit23:13
mhall119awe_: sergiusens: the only gprs file I found has this content: http://paste.ubuntu.com/7806270/23:42
mhall119from /var/lib/ofono/310410624173777/gprs23:42
awe_mhall119, that means that provisioning failed23:42
awe_you have an empty gprs context defined23:43
mhall119so you need that syslog line?23:43
awe_mhall119, did you open a bug?23:43
awe_mhall119, yes..23:43
mhall119awe_: not yet, sergiusens pointed me at https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/132415723:43
ubot5Ubuntu bug 1324157 in ofono (Ubuntu) "cannot receive MMS using AT+T" [High,Triaged]23:43
awe_so did I23:43
awe_specifically bfiller's comment23:43
awe_but it seems you've had a much earlier failuer23:43
awe_so there are no APNs provisioned at all23:43
awe_I mentioned in IRC earlier that the "Provisioning..." line from syslog would be extremely helpful, but if provisioning happened a long time ago, the syslog message could be gone23:44
awe_if so, then the output of /usr/share/ofono/scripts/list-modems will tell us what country code and network code are programmed for your SIM23:45
mhall119awe_: http://paste.ubuntu.com/7806297/ is from /usr/share/ofono/scripts/list-contexts23:45
mhall119http://paste.ubuntu.com/7806296/ is grepping for ofono in syslog23:45
mhall119mako, r13323:46
awe_so the line isn't present in syslog, which means your phone tried to provision awhile ago, and the log messages are gone23:46
awe_list-context just dumps what's in the gprs file23:46
awe_I need 'list-modems'23:46
mhall119awe_: http://paste.ubuntu.com/7806303/ is from list-modems23:48
=== salem_ is now known as _salem
awe_mhall119, so you're registered to the same AT&T network as I am23:51
awe_so the only way to recover right now is to:23:52
awe_1) stop ofono23:52
awe_2) delete the empty context in the gprs file23:52
awe_3) start ofono23:52
awe_it should try to re-provision your phone, and you should the "Provisioning ... " log message23:52
mhall119awe_: I'm not sure if it matters, but I have 2 directorys in /var/lib/ofono23:53
mhall119310410624173777  310410624173777-323:53
mhall119-3 only has one file named version23:53
awe_nope, that's by design23:53
mhall119ok23:53
awe_sorry this is such a pain in the ass, but I've been asking for the APN settings UI since Jan23:53
awe_it's finally being worked on, and progress is being made23:54
awe_but until then, hand-editing is all we've got when things go bad23:54
mhall119ok, so delete the [context] section of the gprs file?23:54
mhall119[context1] I mean23:54
awe_exactly23:55
awe_as it's an empty placeholder created when provisioning fails23:55
mhall119I didn't see any "Provisioning..." message23:55
mhall119but I do have more contexts in the gprs file now23:56
awe_did you stop ofono first before editing, and then restart it?23:56
mhall119yes23:56
awe_can you do a pastebin of "grep ofono /var/log/syslog" again?23:56
mhall119http://paste.ubuntu.com/7806333/23:57
awe_Jul 16 19:55:23 ubuntu-phablet ofonod[5683]: Provisioning for MCC 310, MNC 410, SPN '(null)', IMSI '310410624173777', GID1 'FFFF'23:57
awe_looks like it worked this time around...   You should have the right APNs for Internet, however you may still need to follow the manual instructions for AT&T MMS per bfiller's instructions23:58
mhall119ok, I'll get somebody to try sending me an MMS first23:58
mhall119thanks awe_23:58
awe_yw23:58

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