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

cwaynehmm, what actually calls system upstart on boot?00:32
rsalveticwayne: initrd00:35
cwaynersalveti: so if i needed to modify it (to look in /custom for jobs), what would I need to change?00:36
cwayneinitramfs-tools-ubuntu-touch?00:36
=== Aki-Thinkpad is now known as akiva-thinkpad
=== akiva-thinkpad is now known as Akiva-Thinkpad
rsalveticwayne: what kind of jobs?00:38
rsalvetiinitrd only mounts everything up, including bind-mounts, and start upstart00:38
cwaynersalveti: basically trying to do this: https://bugs.launchpad.net/savilerow/+bug/131506000:38
ubot5Ubuntu bug 1315060 in The Savilerow project "Allow --confdir to look for system jobs in more than one directory" [Undecided,In progress]00:39
rsalvetihm, didn't even know we wanted such things :-)00:40
rsalvetibut makes sense00:40
=== Akiva-Thinkpad is now known as akiva-mobile
cwaynersalveti: yeah, also its good to have the option in case we need it :)00:41
cwaynebut yeah, I'm not 100% clear on what changes we'd actually need to make to get it hooked up in the image00:42
rsalveticwayne: initramfs-tools-ubuntu-touch00:42
rsalvetibut in your case you actually want to change init00:42
rsalveticheck the ubuntu-touch-generic-initrd deb, you'll have a init script in there00:44
rsalvetithere's where the magic happen00:44
rsalvetitrying to remember who provides that, maybe initramfs-tools00:45
rsalvetibecause basically it gets the touch script from initramfs-tools-ubuntu-touch and generates a standard initrd00:45
rsalvetiyeah, initramfs-tools, /usr/share/initramfs-tools/init00:47
rsalvetibut it's probably better to support such additional arguments by changing kernel cmdline00:49
rsalvetibbl, dinner00:49
cwaynehmm okay, i'll take a look and then probably bother you tomorrow with more questions :)00:49
=== akiva-mobile is now known as Akiva-Thinkpad
liuxgwhen I am trying to chroot in sdk, I get the error like: E: Invalid Release signature (key id 40976EAF437D05B5). the detailed descript is at https://bugs.launchpad.net/ubuntu/+source/android/+bug/1343039. Does anyone have any clue on this?01:35
ubot5Ubuntu bug 1343039 in android (Ubuntu) "Cannot install chroot" [Undecided,New]01:35
sarnoldliuxg: I wonder if you need to run click chroot create ... by hand?01:39
=== chihchun is now known as chihchun_afk
liuxgsarnold, thanks! how can I do that? it is really troublesome.  I have been struggling it for a while.01:50
sarnoldliuxg: I'd try something like: click chroot create -a armhf -f ubuntu-sdk-14.1001:53
liuxgsarnold, thanks. I will have a try very quickly01:54
liuxgsarnold,  click chroot create -a armhf -f ubuntu-sdk-14.10  AND click chroot create -a armhf -f click-ubuntu-sdk-14.10-armhf both give me errors.01:55
sarnoldliuxg: can you pastebin them?01:56
liuxgsarnold, https://pastebin.canonical.com/113672/01:58
=== _salem is now known as salem_
sarnoldliuxg: aha. okay. looks like -a expects i386 or amd6402:01
liuxgsarnold, which one is supported so far? i386 seems the one.02:03
liuxgsarnold, https://pastebin.canonical.com/113673/ same error02:04
sarnoldliuxg: darn, sorry. :( I don't know what to try next.02:07
liuxgsarnold, anyway, thank you for your reply.02:08
=== vying is now known as Guest23845
=== chihchun_afk is now known as chihchun
=== salem_ is now known as _salem
lotuspsychjemorning04:24
=== Dazzozo_ is now known as Dazzozo
=== nhaines_ is now known as nhaines
=== Zic is now known as Guest8684
=== didrocks1 is now known as didrocks
=== ycheng is now known as ycheng-afk
JoshStroblpopey: just got my Ubuntu Pioneer t-shirt. Gonna have the wife take a pic.07:41
JamesTaitGood morning all; happy Peach Ice Cream Day! :-D08:11
popeyJoshStrobl: yay!08:18
JoshStroblpopey: uploaded it to my G+08:24
JoshStroblhttps://plus.google.com/108419594942248098225/posts/c8r9QGLkTQZ08:25
popey\o/08:28
mandelseb128, morning! one question, where do I file a bug for ubuntu system settings (the upgrade page does not do the rotation correctly => http://youtu.be/Q0X3YJTp1iE)08:47
mandelpopey, ^^08:47
popeyhttps://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+filebug08:48
mandelThe credentials not found string is placed on top of the download progress bar08:48
seb128mandel, what popey said08:48
seb128we have a bug open about inconsistant rotation between panel, but none about that specific issue I think08:48
mandelseb128, I'll ping gatox about it, he should be the one taking care of it08:50
=== Guest8684 is now known as Zic
seb128mandel, thanks08:52
popeyseb128: I'm getting bug 1337200 every morning, and Pat asked for a trace, do you have any specific instructions because the ones on the wiki seem to be more related to crashing processes08:52
ubot5bug 1337200 in ubuntu-system-settings (Ubuntu) "U-S-S sluggish after some hours, high CPU" [High,Triaged] https://launchpad.net/bugs/133720008:52
popeyooh, we have strace in the image, that does seem better.08:53
popeymvo_: thanks for the strace tip ☻08:54
mvo_popey: your welcome! I hope it helps finding the issue :)08:56
seb128popey, where did he ask for a trace?08:56
seb128on the bug he asked for a gdb backtrace08:56
seb128https://wiki.ubuntu.com/Backtrace#Already_running_programs08:57
mvo_seb128: I suggested that08:57
mvo_seb128: to get a first hint what is going on08:57
seb128mvo_, k08:57
popeyas I said, the wiki is more detailing info about crashing programs08:57
popeythis isnt crashing08:57
seb128popey, no, it's not, see that wikipage08:57
popeyi did, and am08:58
seb128"If the program hangs but doesn't crash you can press ctrl+c in gdb while the program is frozen and then continue with the next step. "08:58
seb128that applies to normal run as well08:58
seb128you can ctrl-c, do a bt to see where it's stopped, what's doing08:58
seb128then "continue"08:58
popeyit doesnt hang08:58
seb128then ctrl-C again08:58
popeyor crash08:58
seb128well08:58
seb128it doesn't need to08:58
popeyhence me dismissing that bit ☻08:58
seb128the bt tell you what it was doing when you pressed ctrl-C08:58
popeyok, will try that.08:58
seb128if you take a few bt you can see if it's always in the same code08:59
popeysurprised I seem to be the only person seeing this.08:59
popeyhappens every day.08:59
seb128popey, you are probably the only person sitting on u-s-s open ;-)09:07
popeyi guess09:07
mandelpopey, what about this bug where when you tap the lock screen you get a bouncy dock => http://youtu.be/qT_1Ehq8Ssw09:20
* mandel is trying to work but keeps findings little bugs that annoy him09:21
=== jhattara_ is now known as jhattara
popeymandel: i thought that was intenional09:36
JoshStroblpopey: yea that seemed intention to me too09:37
mandelpopey, really? 'cause I though that if you tap on the lock screen you can change the info it displays, messages, images etc..09:37
popeyit looks to me like a hint09:37
mandelso if you tab to see diff info and that bounces..09:37
popeyto let you know where the launcher is09:37
popey---> design09:38
mandelpopey, I can always double check with thm09:38
mhr3popey, ping? is there an official test plan for the clock app?09:49
popeymhr3: which clock app, the old one or the new one?09:49
mhr3popey, the old one is still the default, right?09:49
popeycurrently yes, but it will be replaced by the new one09:49
popeywhich is currently in the store as "Clock Reboot"09:50
Transfusionhi, i'm following the porting guide and two questions... isn't android 4.4.2 supposed to be based on CM11?? and I'm getting fatal: remote github not defined in ...manifest.xml. I tried adding a <remote /> there, but after a repo sync I don't see my vendor/ or device/[codename] tree anywhere09:52
mhr3popey, we just want to make sure that our change to u1db doesn't break everything09:53
mhr3popey, so if there's a test plan for it, would be useful09:53
popeyi dont think we do have one, other than running the AP tests.09:54
popeyjdstrand: latest click reviewers tools branch now broken because lxml is needed? installed python-lxml and it still complains.09:58
Transfusionwhere can I see a sample manifest and roomservice.xml ?10:12
Transfusioni must be doing something wrong if i can't get repo sync to clone the kernel repo into the root directory10:12
Transfusionis ubuntu touch based on AOSP or CM or a mix of both? why do I fetch the aosp code and then use the CM device tree10:40
asacalecu: hey. browser activity seems to have no site previews/surfaces10:45
asacalecu: known issue?10:45
asacthe entries there are just grey boxes on #13310:46
asacdavmor2: any idea?10:46
asacalecu: also, how am i supposed to add a bookmark? seems there is no star UI element etc.10:46
asacalecu: ok found the star feature inside activities... very hard to spot imo10:47
asacis that the final design we are shooting for here?10:48
JoshStroblTransfusion: I imagine it is because CM is based on AOSP.11:08
Transfusionahh, that somehow never occured to me.11:09
Transfusioni forgot ubout ubuntu touch not using most of the java portions of CM11:09
JoshStroblTransfusion: We can all be thankful for that :D11:10
* rickspencer3 updates phone11:12
rickspencer3messaging indicator is a bell now?11:13
* rickspencer3 shrugs11:13
=== MacSlow is now known as MacSlow|lunch
popeyrickspencer3: yeah11:24
Laneyit makes me think there's an alarm set11:30
Laney"huh, the menu is empty"11:30
cwayneand it turns green now instead of blue11:34
popey\o/11:35
cwaynebut the LED flashes blue11:37
cwaynelol11:37
rickspencer3popey, any idea what the bell represents?11:43
popeynotifications11:43
rickspencer3ah11:43
rickspencer3so, not just messages anymore11:43
popey"Ding a ling" your dinner is ready11:43
rickspencer3or "There's an Update" :)11:44
rickspencer3?11:44
popeydunno, i only see sms in there11:44
popeyrickspencer3: matches the bell in G+11:46
* rickspencer3 nods11:46
rickspencer3interesting11:46
=== chihchun is now known as chihchun_afk
=== _salem is now known as salem_
dpmogra_, pitti, I was talking to a Korean translator yesterday, and it seems that while we're including Korean translations in the image, they cannot be displayed because of missing Korean fonts. Installing the 'fonts-nanum' package fixes it. I'm not sure if there is any other language dependency required, but I tested it myself and only that package was needed. Could we add it to the touch seeds?12:13
ogra_dpm, hmm, shouldnt essential fonts be part of the langpack deps ?12:18
LaneyI think the seeds are better, langpacks shouldn't be enforcing choices like that12:19
dpmogra_, I'm not sure, that's why I pinged pitti too. I know they used to be installed as part of language-support-* packages, but we dropped them a while ago in favour of language selector doing the installation IIRC12:19
jdstrandpopey: you need python3-lxml12:20
pittino, langpacks don't depend on fonts, as we want the fonts without the langpacks12:20
pittiso syncing the seeds with the desktop (i. e. include the missing ko font) is right12:20
jdstrandthat should've been in debian/control12:20
pittidpm: ^12:20
popeyjdstrand: ah, doh! thanks12:20
dpmok, thanks pitti. So ogra_, do you need me to file a bug or something to get the 'fonts-nanum' included in the seeds? ^12:21
jdstrandpopey: so, we got so behind on hook checks that I implemented a check to warn if there is an unrecognized hook12:21
ogra_dpm, yeah, assign it to me so i dont forget12:21
Laneydpm: is korean the last entry in the u-s-s language list?12:21
jdstrandpopey: that should help us stay up to date12:21
LaneyI was just wondering what that one is - see #ubuntu-desktop ;)12:21
popeycool12:21
dpmLaney, indeed, it's _that_ unreadable one :)12:21
Laneygrand12:21
* jdstrand was shocked to see so many new hooks the other day12:22
Laneydpm: I'll just seed it, don't bother with a bug12:22
dpmogra_, cool, which project should I file the bug against?12:22
jdstrandI guess they weren't that new, but without the check telling me they were, I never saw them :)12:22
ogra_ubuntu-touch-meta12:22
Laneybut it would be ubuntu-touch-meta12:22
* Laney peers at ogra_ 12:22
ogra_:)12:22
Laneyare you giong to review achiang's branch?12:22
ogra_Laney, if i ever find the time ...12:23
* ogra_ is fighting with system-settings 12:23
Laney...12:23
Laneyyou what12:23
ogra_i try to implement the Develeoper Mode Ui12:23
ogra_http://people.canonical.com/~ogra/devmode/12:23
Laneyinteresting12:23
Laneyis it designed?12:24
ogra_yep12:24
ogra_https://wiki.ubuntu.com/AboutThisDevice#developer-mode12:24
Laneyk cool12:24
ogra_the QML is done ... just need toget it to talk to dbus ...12:24
Laneymany examples of that in u-s-s already12:25
ogra_yeah, i try to get around having to write cpp though :)12:25
Laneygood luck with that ...12:26
ogra_well, QDbusActionGroup looks promising :)12:27
dpmah, thanks Laney, I hadn't seen your comment re: the seeds update for Korean. Ok, then I won't bother with the bug and I'll leave it in your hands12:27
Laneyogra_: only if you're trying to poke a menu model12:28
ogra_oh, i thought i could get states too :(12:28
* ogra_ just needs to query a boolean from dbus12:29
Laneynot in general, states of GMenuModel actions exposed over dbus yes12:29
Laneye.g. the indicators do this12:29
sergiusensogra_: just create the properties as I showed you and fill the value with the query to the bus12:29
=== MacSlow|lunch is now known as MacSlow
ogra_sergiusens, yeah, thats what i will do ... i was just hoping there was a way to do that directly from QML without having to hack up cpp backends12:30
Laneythe about panel already has a backend so you won't have to start from scratch in any event12:31
dpmElleo, are you the best person to ask questions about the OSK? A Korean translator was asking how to get a Korean keyboard layout in Ubuntu, and I'm wondering if there is any documentation about adding new keyboard layouts to ubuntu-keyboard12:39
pngo_why location detection and GPS features activate by itself? how can I disable it permanently?12:41
Elleodpm: iirc there's not really any documentation at the moment; but the process is relatively simple in that the keyboard layouts are just QML12:42
=== dandrader_ is now known as dandrader
dpmElleo, ok, thanks. Do you have perhaps a MP I can point him to, that shows how a layout was added in the past, and which files are required?12:43
Elleodpm: basically they'd just need to copy one of the existing keyboards from plugins/$langid and change the characters, then add it to the list in language menu and keyboardcontainer12:43
ogra_pngo_, known bug,, you cant yet ...12:43
Elleodpm: plus some change to let system settings know about it (I'm not familiar with that side of things though)12:44
Elleodpm: but if they can put together the layouts I'm happy to handle any of the other stuff involved12:44
pngo_ogra_: thnx12:44
Elleodpm: the layouts are basically like this: http://bazaar.launchpad.net/~phablet-team/ubuntu-keyboard/trunk/view/head:/plugins/en/qml/Keyboard_en.qml12:45
Elleodpm: oh, unless Korean requires something special like pinyin, where characters are created out of multiple key presses, then things get a lot more complicated12:45
dpmElleo, it will need an input method too, yes12:46
alecuasac: pong. You asked me a few hours ago about the browser activity, but I've never worked on that. Perhaps you were thinking of somebody else?12:46
Elleodpm: pinyin is are only example of that sort of thing at the moment, so that'd probably be the best starting point: http://bazaar.launchpad.net/~phablet-team/ubuntu-keyboard/trunk/files/head:/plugins/pinyin/12:46
dpmbut I was trying to find out if first the basic layout could be created, as I know input methods are rather complex12:46
Elleoyeah, well for just the basic layout if they make a Korean version of all the QML files here: http://bazaar.launchpad.net/~phablet-team/ubuntu-keyboard/trunk/view/head:/plugins/en/qml/ I can put everything else together for them and at least get them a skeleton for producing predictions (they'll need to implement the actual korean side though, or point to a lib that can do it for us like libpinyin)12:49
rickspencer3loving the in call indicator13:01
nik90dednick: ping13:03
dednicknik90: yo13:07
nik90dednick: hey I was trying out the dbus connect() to listen for property changes in dbus, here is what I did http://paste.ubuntu.com/7808936/13:07
nik90dednick: I don't see my onSettingsChanged() function called even after I changed the property using dconf-editorp13:08
dednicknik90: i don't see any PropertiesChanged signal on the Alarmproperties interface13:09
dednicknik90: there is one on the org.freedesktop.DBus.Properties interface though.13:09
nik90dednick: it is in the org.freedesktop.DBus.Properties interface which is in the AlarmProperties13:10
nik90dednick: ah so I should use that interface13:10
dednickconnection.connect(service, path, interface)13:10
dednicknik90: ^13:10
nik90dednick: but is my declaration of the onSettingsChanged(QVariantMap) correspond correctly to the signal definition.13:10
nik90dednick: I got that from https://bazaar.launchpad.net/~phablet-team/telephony-service/trunk/view/head:/libtelephonyservice/callmanager.cpp13:11
dednicknik90: no13:11
dednicknik90: onPropertiesChanged(QString, QVariantMap, QStringList)13:12
nik90dednick: the signal definition doesn't tell me what these arguments correspond to..13:13
dednicknik90: onPropertiesChanged(const QString& interface, const QVariantMap& changed, const QStringList& invalid)13:13
dednicknik90: dfeet does. PropertiesChanged(String, Dict of {String, Variant }, Array of [String])13:14
nik90dednick: yeah I meant like does String in the dfeet point at the PropertyName?13:15
nik90dednick: I compared it to the GetAll() function and there it makes sense13:15
dednicknik90: right. well i just told you them above :)13:15
nik90dednick: yeah :)13:15
dednickdbus interface, changed properties, and invalid properties13:15
dednicknik90: you should get a interface="com.canonical.datetime.AlarmProperties" when the DefaultVolume, etc properties change.13:16
dednickneed to test incase there are other properties with the same name on other interfaces13:17
nik90ok13:17
cwaynersalveti: heya, so how would I go about changing the kernel cmdline?13:17
rsalveticwayne: was just thinking here that we might not necessarily be able to change kernel cmdline for a few devices13:18
rsalvetiI think manta is one that basically ignores what we add in the build13:18
rsalvetiogra_: cwayne needs to add an option to upstart so it can look for a different directory for system related jobs13:19
rsalvetiand that option needs to come from the initrd if I understood correctly13:19
rsalvetiso we might need to change the init script logic in the initrd, which is fine as this change can be generic enough to work on any ubuntu image13:20
cwaynethat'd be preferable i think13:21
rsalvetiogra_: I thought initially that adding the additional flags via kernel cmdline would be enough, but I just remembered that some devices ignore that13:21
ogra_rsalveti, how would you do that ? upstart resets the env when switching to /sbin/init ... and the system upstart doesnt allow settings vars via initctl13:27
ogra_*setting13:27
cwaynewe need to change the actual call to sbin/init13:27
ogra_??13:27
ogra_ou would have to patch /sbin/init to allow this ... the call wont help13:28
cwaynehttps://bugs.launchpad.net/savilerow/+bug/131506013:28
ubot5Ubuntu bug 1315060 in The Savilerow project "Allow --confdir to look for system jobs in more than one directory" [Undecided,In progress]13:28
cwaynealready done13:28
rsalvetithe patch is already there13:28
rsalvetiwould basically call init with special arguments13:28
rsalveti--configdir or something like that13:28
ogra_hmm, not sure that will work with run-init ... but you can try indeed :)13:29
=== Ursinha is now known as Ursinha-afk
nik90dednick: hey it works :) ..I need a quick advice, when I tell it to output what's changed it returns QMap(("DefaultVolume", QVariant(int, 80) ) ). How do I check which property has changed programmatically and assign it to my local variable?13:41
=== dandrader is now known as dandrader|afk
nik90dednick: I did http://paste.ubuntu.com/7809087/ and that fails because the unchanged properties is assumed 0. So it changes one correctly and the other is given an incorrect value of 0.13:42
nik90dednick: sry, I am terrible at this13:42
dednicknik90: if (properties.contains("DefaultVolume"))13:42
nik90dednick: ah..perfect. thnx13:43
cwayneogra_: rsalveti: so I'd need to change run-init in ubuntu-touch-generic-initrd?13:44
ogra_cwayne, well ...13:44
ogra_cwayne, we explicitly do use the upstream /init script in initramfs tools ...13:45
ogra_you would have to hack up initramfs-tools itself13:45
ogra_(run-init is the last call in /init)13:46
ogra_(this is pretty intrusive)13:46
ogra_jodh, hey ... so with the fix of bug 1315060 ... how do you imagine that this option gets appended to the /sbin/init execution ? we would have to hack up the run-init call in initramfs-tools, no ?13:49
ubot5bug 1315060 in The Savilerow project "Allow --confdir to look for system jobs in more than one directory" [Undecided,In progress] https://launchpad.net/bugs/131506013:49
=== dandrader|afk is now known as dandrader
jodhogra_: we implemented what was requested. I would have thought the simplest option might be to tweak /usr/share/initramfs-tools/init since that already passes a custom option to upstart for recovery mode?14:04
ogra_ah, so the same thing but with the new options ?14:05
jodhogra_: yes, minimally, you could now add '--prepend-confdir=/foo/oem' to the last line of that script next to the '${recovery:+--startup-event=recovery}' bit.14:06
ogra_yeah14:06
jodhogra_: which would cause upstart to read configuration from /foo/oem (and any subdirectories) *before* it read jobs from /etc/init/.14:07
ogra_right14:07
ogra_alternatively --append-confdir ...14:07
jodhI guess you might also want to modify /usr/bin/ubuntu-touch-session along similar lines for OEM Session Init customisations.14:08
ogra_yep14:08
jodhogra_: well there is discussion on both those options on the MP - depends if you want the OEM customisations to take priority over the default.14:08
ogra_thats up to cwayne14:08
jodhogra_: one thing to look out for - whatever directory or directories you explicitly specify with --prepend-confdir / --append-confdir must exist before Upstart starts; if they get created later, too bad as they will be ignored (inotify limitation).14:09
rickspencer3ogra_,  ?? http://www.der-postillon.com/2014/07/barack-obama-schenkt-angela-merkel-zum.html14:10
ogra_jodh, yeah, i guess we'll pre-create the dirs at image build time for touch14:10
rickspencer3(ftr, I get that it's a joke )14:10
jodhogra_: perfect.14:11
ogra_rickspencer3, the best german satire page :)14:11
ogra_rickspencer3, ooooh !14:11
ogra_thats cool !14:11
rickspencer3the penny drops :)14:12
alecuHi all, I need some pointers for this: the click scope needs to run a binary when the image is being built, to create a database of departments for the preinstalled apps. We have the binary ready, and we'd like to know how to run it in the image build process, and who to ping about this.14:12
ogra_rickspencer3, yeah :D14:12
ogra_haha14:12
=== Ursinha-afk is now known as Ursinha
jgdxbrendand, hey, can you give me a quick introduction to using phonesim?14:29
jgdxbrendand, e.g. pastebin the magic you displayed in the hangout? :)14:30
brendandjgdx, in a meeting right now - glad to later on14:30
jgdxbrendand, ack, thanks14:30
=== alan_g is now known as alan_g|tea
jgdxLaney, kenvandine, could you take a look at https://code.launchpad.net/~jonas-drange/ubuntu-system-settings/1297418-apply-new-designs-to-background-panel/+merge/223571 in seb's absence?14:56
* jgdx quickly checks for conflicts vs trunk14:56
Laneyhe should be around14:57
kenvandinejgdx, i'd rather seb128 since he's been reviewing it already, but if he can't I will15:01
jgdxkenvandine, sure15:02
jgdxLaney, ack15:03
seb128jgdx, kenvandine: that one looks good to land to me15:04
seb128kenvandine, want to do the landing ?15:05
jgdxseb128, thanks15:05
achiangogra_: if you don't mind sooner rather than later... the seed branch is highly contended so the longer it waits, the more likely it is i'll get Yet Another Merge Conflict15:06
=== ara is now known as Guest35403
cwaynejodh: ogra_: so if the /custom/init or whatever doesn't exist but it's added to --append-confdir, will upstart die? or just not load stuff from there15:08
kenvandineseb128, let me try to finish up my call forwarding branch and we can land them together, i'm close :)15:08
ogra_cwayne, it will ignore it15:08
seb128kenvandine, great15:08
cwayneogra_: perfect15:08
ogra_cwayne, but we can make sure it always exists on touch images15:08
ogra_by creating it at build time15:09
cwaynewe shouldn't do that thought15:09
cwaynebecause we want only the custom tarball to touch /custom15:09
ogra_well you want it writable, dont you ?15:09
cwayneno15:09
ogra_ah, k15:09
cwayneit'll be populated with the custom tarball, then be r/o15:09
ogra_(for that it would have had to exist)15:09
ogra_achiang, im super busy finishing developer mode this week15:10
mhall119kenvandine: ping15:19
achiangogra_: sad panda15:19
kenvandinemhall119, pong15:20
ogra_achiang, i'll try my best, but no promises ... any core-dev can merge that though15:20
=== gatox is now known as gatox_lunch
mhall119kenvandine: is there a package for the C++ api docs for OnlineAccounts?15:20
zeebokthis has probably been asked a dozen times, but is there any future plans of integrating Online Account IMing into messaging-app?15:20
achiangogra_: no one seems to be jumping up and down to do it though. :)15:21
awe_cyphermox_, do you have a pull request for the code referenced in: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/comments/3?15:21
achiangogra_: i understand your priorities, thanks15:21
ubot5Ubuntu bug 1339794 in urfkill (Ubuntu) "When toggling flight mode rapidly, cellular state gets stuck" [High,In progress]15:21
awe_cyphermox_, if so, could you add the pull request to the bug?15:21
cyphermox_I did not, I'd like it to be tested before15:21
kenvandinemhall119,  you probably want libaccounts-qt-doc15:22
mhall119is that qt specific, or can it be used by scopes?15:22
robotfuelWellark: ping I have this crash bug in indicator-network can you triage? https://bugs.launchpad.net/ubuntu/+source/indicator-network/+bug/134334115:23
ubot5Ubuntu 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" [Undecided,New]15:23
kenvandinemhall119, not sure if that can be used by scopes15:24
kenvandinethere's also the glib api, libaccounts-glib-doc15:24
mhall119cwayne: mhr3: ^^ which docs should I publish to the Scopes APIs section of developer.u.c?15:26
mhall119libaccounts-qt-doc or libaccounts-glib-doc?15:26
mhr3mhall119, ehm... no idea15:27
mhr3doesn't have much to do with scopes, does it?15:27
mhall119-qt is C++, but also uses things like QString15:27
mhall119-glib is C15:27
cwaynessweeny: kyleN ^15:28
mhall119and uses things like gchar15:28
mhr3mhall119, you're basically asking me what's the recommended library for online accounts15:29
ssweenyi would imagine -qt for scopes right?15:29
mhall119mhr3: from scopes code, yes15:30
ssweenyi've used the -qt api from a scope before. i can't imagine trying to use glib15:30
mhall119I already know and have the recommended library for accessing it via apps15:30
mhall119ssweeny: ok, thanks15:30
mhr3mhall119, qt is pain to use from a scope, and c is pain to use from c++... your pick :)15:33
nik90charles: hey, So I implemented listening to PropertiesChanged() signal so that clock app dynamically updates its state when changes are made to the dbus property. I have a MP at https://code.launchpad.net/~nik90/ubuntu-clock-app/20-alarm-settings/+merge/227194, it is quite small (<80 lines of code). Can you check to make sure I have implemented all the15:34
nik90necessary precautions for it work properly.15:34
mhall119mhr3: if ssweeny says the -qt API is usable and has been used already, I'll go with that15:34
Chipacai'm just going to leave this here: http://www.der-postillon.com/2014/07/barack-obama-schenkt-angela-merkel-zum.html15:49
mterryslangasek, morning!  Did you get a chance to noodle about passwd -d and all that jazz?15:53
pmcgowanjhodapp, got an audio issue, can we discuss?16:03
=== gatox_lunch is now known as gatox
jhodapppmcgowan: yeah16:04
pmcgowanjhodapp, playback of ringtones in system settings stopped working...16:04
pmcgowanso I made a simple app that just makes a QML Audio object and plays a file16:04
pmcgowanworks on desktop not on phone16:05
pmcgowanhttps://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/134232116:05
ubot5Ubuntu bug 1342321 in ubuntu-system-settings (Ubuntu) "Sound -> Ringtone does not play the songs" [High,Confirmed]16:05
jhodapppmcgowan: can you check syslog for apparmor DENIED messages?16:05
pmcgowanI checked no DEN there16:05
jhodapppmcgowan: is there a log that we can get from system-settings?16:06
pmcgowaneverything else seems to work, music, ringer, camera shutter etc16:06
pmcgowanjhodapp, that bug has the only weird output I see16:06
jhodappok let me take a look at the bug16:06
pmcgowanjhodapp, about video texture16:06
jhodapppmcgowan: that's normal16:07
pmcgowanjhodapp, why would setting an audio url cause a video texture warning?16:07
pmcgowanif you say so16:08
rickspencer3phone really turned Green16:08
nik90jhodapp, pmcgowan: Just a note, this issue has been there at least since #120. It was first detected by the music app dev.16:08
jhodapppmcgowan: it's just the way qtubuntu-media works right now16:08
pmcgowannik90, say more as music works16:08
pmcgowan120 sounds about right16:08
jhodapppmcgowan: I can reproduce, let me see if media-hub-server is seeing it request to play that16:09
jhodapppmcgowan: I see the problem16:10
jhodapppmcgowan: invalid appamor security context...something with apparmor changed16:10
jdstrand?16:10
jdstrandoh, the libapparmor api is returning something different?16:11
jhodappjdstrand: media-hub-server is giving me this message: "Client denied access since it's an invalid apparmor security context"16:11
jdstrandjhodapp: ^16:11
jhodappjdstrand: yeah I'm assuming so16:11
jdstrandtyhicks: can you assist jhodapp with that ^16:11
jhodappjdstrand: it's bad that many clients try to play sounds but don't check if there was an error in doing so16:12
jdstrandtyhicks: is there a new rule we have to add to the media-hub policy to allow it to query the connecting process' label or something?16:12
tyhicksjhodapp: can you strace the media-hub-server process and then trigger the error?16:12
tyhicksjdstrand: no16:13
jhodapptyhicks: sure, something I can grep for?16:13
jdstrandok (I didn't remember seeing that)16:13
jhodapptyhicks: it'll spit out a ton of lines16:13
tyhicksjhodapp: yeah, just give me all of those lines in a pastebin16:13
jhodapptyhicks: I'll have to gzip and email you...won't fit in a pastebin16:14
tyhicksjhodapp: oh wait... is media-hub-server getting the apparmor context from dbus or from libapparmor?16:14
jhodapptyhicks: should be from libapparmor, let me double check that16:14
popeyjdstrand: click-reviewers-tools barfs on the calculator app.. http://paste.ubuntu.com/7809755/16:15
tyhicksjhodapp: a pointer to the media-hub-server code that generates the error would be helpful, too16:15
pmcgowanjhodapp, I dont think there was an error at QML level16:15
jhodapptyhicks: actually no, it's from dbus16:15
jhodapppmcgowan: yeah, we need to change that to make our clients more robust16:16
pmcgowanjhodapp, I'l look to see if there is a signal to watch16:16
tyhicksjhodapp: ok, so an strace wouldn't be of any help16:16
jdstrandpopey: can you paste the .desktop file?16:17
jhodapptyhicks: http://bazaar.launchpad.net/~phablet-team/media-hub/trunk/view/head:/src/core/media/player_skeleton.cpp#L13516:17
jhodapppmcgowan: ok16:17
jhodapptyhicks: jdstrand: oh it might be the naive check on line 167/16816:18
jhodappjdstrand: remember we thought this might come back to bite us16:18
jdstrandoh16:18
jdstrandthis is system-settings?16:18
jhodappyes16:18
jdstrandI know what the problem is16:19
ogra_nik90, are you sure about 120 or could it be 130 :) http://people.canonical.com/~ogra/touch-image-stats/130.changes16:19
jdstrandyes, the check is naive, but there was a change to system-settings16:19
jdstrandwe should revert that16:19
ogra_pmcgowan, check if system-settings didnt use libcanberra ... that was dropped in 130 http://people.canonical.com/~ogra/touch-image-stats/130.changes16:19
jhodappjdstrand: was the change in it's apparmor policy file?16:19
jdstrandtyhicks: nm, I know the problem16:19
pmcgowanogra_, no it wouldnt its all qml16:19
ogra_pmcgowan, if it did use that it needs to be ported to use plain gstreamer16:20
nik90ogra_: no pretty sure this issue was there for some time now...130 was like 2 days ago..I would remember :P16:20
pmcgowanindicator had that issue but it was not qt16:20
tyhicksjdstrand: whew... I'm glad bc I couldn't think of any recent changes that would cause that16:20
ogra_pmcgowan, QML doesnt provide audio playback, there must be some backend16:20
popeyjdstrand: http://paste.ubuntu.com/7809782/ is com.ubuntu.calculator_calculator.desktop16:20
jdstrandjhodapp: the change was http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/revision/76716:20
pmcgowanogra_, qtmm to mediahub16:20
ogra_ah16:20
jdstrandjhodapp: ie, it ships an apparmor profile16:20
jhodappah ok16:20
jdstrandjhodapp: and that profile name doesn't have a '_'16:20
jhodappjdstrand: there we go :)16:21
jdstrandbut we don't need that profile now16:21
jhodappjdstrand: can we make it have one?16:21
jdstrandseb128: hey, can we revert http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/revision/767?16:21
popeyjdstrand: so, arabic in line two16:21
jdstrandseb128: we aren't going to be implementing bug #1296415 after all16:21
ubot5bug 1296415 in ofono (Ubuntu Utopic) "[security] please use apparmor to restrict access to ofono to approved services" [Wishlist,In progress] https://launchpad.net/bugs/129641516:21
jhodapppmcgowan: so there we go, that's the issue16:22
jdstrandseb128: and there is a side-effect that it is preventing system-settings from playing sound files16:22
jhodapppmcgowan: I'll mark the bug as invalid16:22
jdstrandjhodapp: can you add an ubuntu-system-settings task?16:22
jhodappjdstrand: task?16:23
jhodapppmcgowan: actually no, I won't do that since it's part of ubuntu-system-settings16:23
jdstrandjhodapp: 'also affects?' I think it is called16:23
jhodappjdstrand: actually we're all good since the bug was filed there and not media-hub16:23
pmcgowanjhodapp, great that was an easy one16:23
jhodapppmcgowan: yep, I like those :)16:23
pmcgowanjhodapp, I checked the error signal but its not triggered16:24
jhodapppmcgowan: ok...that's most likely qtubuntu-media not signaling it then16:24
jhodapppmcgowan: would you mind filing a bug for me to signal an error when playback doesn't work for whatever reason?16:24
jhodapppmcgowan: for qtubuntu-media16:25
pmcgowanjhodapp, ok16:26
jhodappthanks16:26
Laneyyou think reverting this apparmor is going to fix sound?16:26
jdstrandyes16:26
Laney1 line explanation?16:26
jdstrandfor the changelog?16:26
Laneymainly for my brain16:27
jdstrandjhodapp: what is the bug number?16:27
Laneyhttps://bugs.launchpad.net/bugs/134232116:27
ubot5Ubuntu bug 1342321 in ubuntu-system-settings (Ubuntu) "Sound -> Ringtone does not play the songs" [High,Confirmed]16:27
jhodappjdstrand: bug 134232116:27
Laneybuilding a test pkg to check this16:27
jdstrand* revert lenient AppArmor profile since we won't be limiting access to ofono in this manner. Furthermore, due to a naive check in media-hub-server for the connecting process' profile name, this allows system-settings to playback files via media-hub-server again (LP: #1342321)16:30
ubot5Launchpad bug 1342321 in ubuntu-system-settings (Ubuntu) "Sound -> Ringtone does not play the songs" [High,Confirmed] https://launchpad.net/bugs/134232116:30
jdstrandLaney: ^16:30
Laneythanks jdstrand16:31
jdstrandLaney: basically, media-hub-server does a very simple check for the connecting process. the label used for the lenient profile failed this check. we don't need the lenient profile anymore, so just get rid of it16:31
Laneyno profile still passes this check then?16:31
jdstrandyes16:32
jdstrandthat is "unconfined"16:32
jdstrandjhodapp, Laney: you can easily verify this by doing "sudo apparmor_parser -R /etc/apparmor.d/usr.bin.system-settings"16:32
jdstrandthat removes the profile from the kernel, setting it back to "unconfined"16:33
jhodappjdstrand: sure16:33
jhodappjdstrand: verified16:34
pmcgowanjdstrand, yep that fixes it16:34
jdstrandcool16:34
LaneyHow come there's no message in dmesg in this case?16:34
jdstrandLaney: it isn't an apparmor denial16:34
jdstrandLaney: it is media-hub-server making a call via libapparmor to see the connecting process' profile name, and making a decision based on the name16:35
jdstrandLaney: the decision in this case is to not play the file16:35
jdstrands/is/was/16:35
jdstrand('was', assuming the change is reverted)16:36
jdstrand:)16:36
Laneyoh right, and this call doesn't create a log entry either16:36
Laneyhttps://code.launchpad.net/~laney/ubuntu-system-settings/revert-apparmor/+merge/22722516:39
Laneyyou might recognise the changelog msg16:39
jdstrandhehe16:40
jdstrandLaney: thanks!16:40
jdstrandpopey: does './bin/click-check-desktop <path to click>' work?16:41
popeyjdstrand: yes16:43
popeyhttp://paste.ubuntu.com/7809863/16:43
jdstrandpopey: ok good, can you put the click somewhere?16:43
popeyya16:43
jdstrandthis means it is just click-show-files16:43
=== gnu is now known as Guest42877
popeyjdstrand: http://people.canonical.com/~alan/clicks/com.ubuntu.calculator_1.3.291_all.click16:44
jdstrandoh, interesting16:45
jdstrandpopey: are you running that on utopic?16:45
popeyjdstrand: yes16:45
popeyin a utopic chroot16:45
jdstrandit works here on trusty16:46
popeyhmm16:46
jdstrandpopey: I wonder if it is your locale settings in the chroot?16:46
popeycould well be, yes16:46
popeyballs, sorry16:46
popeyyes, locale, posix16:46
popeywell, thats good news ☻16:46
jdstrand:)16:47
=== alan_g is now known as alan_g|EOD
seb128jdstrand, ok, I'm off for tonight/tomorrow but can have a look on monday if nobody beats me to it17:08
mterryslangasek, so... one solution would be to add support to passwd for falling back to the extrausers locations.  I took a look at how hard it would be -- looks not super difficult, something like http://paste.ubuntu.com/7809993/  (untested, checking now how it works in practice).  On a scale of 1-10, how acceptable would such a thing be?  :)17:10
=== dandrader is now known as dandrader|lunch
PreSSionexcuse me, somebody know if the screen of the ubuntu tablet will have got digitalize/capacitive screen or something like that to write in the tablet like in the samsung galaxy note 10.1 (sorry for my "engrish")17:21
popeyjdstrand: getting errors with url-dispatcher now for a number of apps - have you tightened those tests?17:23
popeyERROR: url-dispatcher json unparseable: com.ubuntu.shorts_shorts.url-dispatcher (Expecting value: line 1 column 1 (char 0)):17:23
popeyfor example17:23
popey-rw-rw-r-- 1 alan alan 0 Jun 16 21:53 com.ubuntu.shorts_shorts.url-dispatcher17:24
sarnoldPreSSion: so far as I know there are no planned tablets from any manufacturers; bq and meizu are both building ubuntu phones ATM...17:25
jdstrandpopey: I added a bunch of tests, yes17:25
popeybugger ☻17:25
jdstrandcan you give me the click?17:25
jdstrandno, that is a good thing :)17:26
popeynot when I'm trying to get apps which previously passed into the store ☹17:26
jdstrandthis sounds like a legitimate failure, but let me see the click17:26
jdstrandpopey: right, but if the json fails to parse, ir probably wasn't working right17:27
popeyits a zero byte file17:27
jdstrandeven though we let it pass17:27
popeyso yeah, it will fail to parse as json17:27
jdstrandah, well, they should remove it17:27
jdstrandand remove "urls" from the click manifest17:27
popeyI'll file a bug for it and get it fixed17:27
PreSSionsarnold: i am sorry, but i am sure to understand you, are you saying bq and meizu only are building the phones and not the tablets?17:27
jdstrandthey are declaring a url-dispatcher but not providing the necessary configuration17:28
popeyjdstrand: indeed, I'll fix it, thanks17:28
popeyPreSSion: bq and meizu are making phones yes, thats the focus for the moment17:28
popeytablets will come later17:28
jdstrandpopey: speaking of shorts-- do you use it regularly? it stopped updating feeds for me some time ago17:28
popeyoh, not seen that happen17:28
PreSSionok! thanks17:28
popeywill check17:28
jdstrandI haven't been able to figure out why yet17:29
* popey goes to make burgers, will fix these later17:29
jdstrandeg, I click 'refresh', but I have only ancient stuff and the ancient stuff doesn't update anymore17:29
jdstrandI haven't filed a bug yet17:29
jdstrandpfft17:29
jdstrandpopey: of course, I tried it just now and it worked17:30
jdstrandbut it had been weeks17:30
jdstrandweird17:30
sarnoldah, the good old "show someone else" debugging trick :)17:30
jdstrandyes17:31
jdstrand:)17:31
mterryslangasek, OK, that patch seems to function.  I'm curios for your opinion. That plus the pam_extrausers patch seem to be all we need for RTM17:46
ogra_mterry, and the adduser fix17:49
mterryogra_, again, I think that while we need that down the road when we want to allow creating users, for now we can just move the phablet entries into their own files manually right after creating the user17:51
ogra_mterry, that will be a weeks work to change the image build scripts then :P17:52
slangasekmterry: hey, so for this piece I'd punt back to mdeslaur for review :)17:52
mterryogra_, ?  in livecd-rootfs we can just do some sed work17:52
ogra_since they create the user and add it to a gazillion groups ... using adduser17:52
ogra_mterry, well, i'd prefer that we use the safe and proven tools here instead of adding such awful hackery17:53
mterryogra_, adding an extrausers user to a group in /etc/group works fine with existing adduser17:53
mterryogra_, sure, I'd prefer it to be already done too.  I'm just saying, it doesn't seem that hard to move one line from passwd and shadow to a different file17:54
mterryslangasek, understood.  :)  mdeslaur, can you take a look at http://paste.ubuntu.com/7809993/ when you get a chance?  It's a patch to shadow's passwd to support falling back to extrausers locations for shadow/passwd file modifications (like passwd -d USER)17:55
* mdeslaur looks17:55
slangasekmterry: "adding an extrausers user to a group in /etc/group" - you mean setting the user's primary group to an existing group?  or something else?17:56
mterryslangasek, I didn't test with primary group, just a random group17:57
mterryspecifically, nopasswdlogin as a test17:57
mterryNot something that will work on a RO image of course17:57
slangasekright, that's what I was wondering17:57
slangasek:)17:57
mterryBut should be sufficient for our build scripts that add / remove groups17:57
slangasekwhich brings you back to the question of whether /etc/nsswitch.conf will merge group information from extrausers+files17:57
mterryslangasek, for production, we don't *need* to be able to add / remove groups to users on the fly17:58
slangasekmterry: surely we do for nopasswdlogin17:58
ogra_long term we do ... and i would really really appreciate if we could do this right from the beginning17:58
mterry*for RTM rather17:58
slangasekoh17:58
slangasekso that's phase 2?17:58
ogra_instead of rush it in this week17:58
slangasekwhen does the requirement for the nopasswdlogin group come into play?17:59
ogra_(with hacks and sed'ing of files at build time and whatnot)17:59
ogra_i thought nopasswdlogin was only a split greeter thing17:59
mterryslangasek, actually we don't *need* nopasswdlogin since we are deleting the user's password17:59
mterryslangasek, so they get to login for free anyway18:00
mterryogra_, it's an 'anything-that-logs-in-via-PAM' thing18:00
slangaseknot really18:00
slangaseknopasswdlogin is only used by lightdm18:00
slangasek$ grep nopass /etc/pam.d/lightdm18:00
slangasekauth    sufficient      pam_succeed_if.so user ingroup nopasswdlogin18:00
mterryslangasek, fair.  An "anything-that-logs-in-via-lightdm's-PAM-stack" which is unity8, unity7, and any actual lightdm greeter18:01
VivisCloneIS there any intention of making this compatible with SGS5?18:02
mterryslangasek, point being that since the phone's 'no-password' mode is a REAL no password mode, users log in fine without being in that group18:02
ogra_VivisClone, if someone wants to ... its all open srouce18:02
ogra_*source18:02
renat__popey, I have add comments on the MR: https://code.launchpad.net/~pkunal-parmar/ubuntu-calendar-app/CalManagement/+merge/21335518:02
renat__popey, looks like the problem is in the way that Kunal Parmar is using the filter18:03
mterryslangasek, long term, I'm not sure what we want to do for dynamically adding/removing from a system group.  We could list extrausers first in nsswitch.conf and then have their entry live there... but that has its own issues18:03
VivisCloneHow would I go about compiling this for the samsung galaxy s5?18:04
mdeslaurmterry: hrm, you're going to face difficulties with locking there...I think it's using glibc to create the lock file and that's hardcoded to /etc18:04
ogra_VivisClone, see the channel topic ... there is a (very outdated and not really complete) porting guide18:05
mterrymdeslaur, hmm, darn hardcoded everything18:06
* mterry makes his phone RO to check18:06
ogra_yeah, thats not really FHS compliant :P18:06
mdeslaurmterry: yeah, this is turning into a can of worms isn't it :)18:06
ogra_we should just set up a local ldap server :P18:08
PreSSionsomebody here will buy the ubuntu phone in autoumm?18:08
* ogra_ will buy 5 18:08
ogra_(at least)18:08
mdeslauror perhaps pam_userdb18:09
VivisClone(Boost mobile)18:10
VivisCloneI'd like one but my sevice provider probably won't work on it18:10
mdeslaurmterry: your also won't support when the user runs passwd on the command line, as when that happens, it uses pam instead of setting it directly18:25
mdeslaurmterry: or are you _also_ modifying pam_unix?18:25
mterrymdeslaur, I have a fork of pam_unix called pam_extrausers18:25
mterry:-/18:25
mdeslaurah, ok, cool18:25
mterrymdeslaur, I originally thought that was all I'd need, but was surprised to learn about passwd -d being shadow-specific18:26
mdeslaurhuh, that's weird18:27
mdeslaurmterry: what happens if you just change to a blank password instead of using -d?18:32
* mdeslaur tries18:32
sarnoldgood luck there18:32
sarnoldpasswd throws a royal fit18:32
mdeslaurpasswd doesn't care, pam_unix is what's rejecting the blank password18:34
mterryogra_, you mentioned hacks.  I know you don't like the sed'ing, do you have other concerns?18:34
ogra_nope, as long as the tools we use work (so that we get the defaultgroups as in normal ubuntu etc)18:35
mterryogra_, we should have them, yeah.  Adding/removing from groups is a bit of an open question right now but should be solvable18:36
mterry(I mean post install)18:36
ogra_the only thing that scares me is the possibility that we have to migrate something on the fly for existing users out there ... thats why i want that planned and thought through properly before RTM18:37
ogra_even if it takes a week more to do that ...18:37
mterryogra_, you mean migrating passwords for users testing with development images and such?18:38
ogra_mterry, no, i mean releasing RTM with a certain setup and a month later recovering that we cant migrate the RTM users to the proper solution we will implement post RTM18:39
ogra_what we do here needs to be upgrade safe18:39
mterryogra_, I get ya.  Well I feel like our options are relatively constrained.  Security want PAM.  The RO image requires that we not use /etc.  So extrausers it is.  And the last time we had a think about it (the sprint), we figured on extrausers too.  We just realized how poorly our tooling supports that18:43
mterryogra_, although maybe there are other exotic PAM modules that we could use?18:43
mdeslaurpam_userdb18:43
mdeslaurbut you'll have to re-tool anyway18:43
mterrymdeslaur, do you happen to know if that has nsswitch support too?18:44
mdeslaursorry, don't know18:44
mdeslaurright, that needs to be supported too18:44
mterrymdeslaur, there doesn't seem to be anything even close to a turnkey solution for our needs here18:45
mterryAnd forking pam_unix into pam_extrausers is probably easier to maintain than a new nsswitch, maybe.  Well, especially since I already did it18:45
mterryAnd tooling would be harder to adjust for a database file than just pointing at a different shadow path18:46
mdeslaurmterry: if you kill the null check in pam_extrausers, you can simply change to an empty password instead of requiring -d and then handling it all manually18:46
mterrymdeslaur, interesting...  as a matter of policy, passwd -d requires root, but that method wouldn't18:47
mterrymdeslaur, not sure if you have feelings on that matter18:47
mdeslaurwell, we're certainly allowing our users on the phone to set a blank password if they want18:47
mdeslaurand yeah, we need to discuss all of this after rtm18:48
mterrymdeslaur, do you feel squicky about going forward with this now for rtm?18:49
mdeslaurI'm not entirely comfortable with the idea of users having accounts with no passwords, but I don't have a better suggestion, or a better idea18:50
mdeslaurrequiring that users have _2_ passwords, one on boot, and one to unlock isn't a good solution either18:50
mdeslaurwhile the phone has a limited attack surface, a converged device in the future will approach the desktop18:51
mdeslaurat which point having users set blank passwords is risk18:51
mdeslaurrisky18:51
ogra_we could just set it to "password" ... thats at least well known to everyone :P18:52
mdeslaurogra_: right...having it blank is no worse than shipping a device with "phablet".18:52
mterryogra_, what if a user wants to use the password "password"?  :)18:53
mdeslaurat least the user gets to decide18:53
ogra_mterry, then he needs to use windows phone :P18:53
* mterry is currently tracking down where something is breaking with a RO image18:55
mdeslaurmterry: so, if you do disable the null password check in pam_extrausers, you probably want to tie it into "nullok"18:56
mdeslaurI'm not sure why pam_unix has 'nullok', but it doesn't work for password18:56
mdeslauroh, nullok is for validating the old password18:57
mdeslaurI guess18:57
mdeslauranyway, off18:57
mdeslaurs/off/odd/18:57
mterryI'm getting a LOT of apparmor failures in syslog where mediascanner is trying to read /var/lib/extrausers/passwd19:01
mterryWhy would it read that?19:01
jdstrandprobably getent() type stuff19:02
jdstrandI imagine apparmor will need to have an update to /etc/apparmor.d/abstractions/nameservice19:02
mterryjdstrand, would it be acceptable to add extrausers locations to that?19:03
jdstrandI think so19:03
jdstrandtyhicks: can you add that to your list of things to add to the apparmor upload? ^19:03
mterrytyhicks, /var/lib/extrausers/{shadow,passwd,group}19:04
jdstrandnote, I meant "*I* think so", not "I *think* so" ;)19:04
mterry:)19:04
jdstrandwell, not shadow19:04
jdstrandpasswd and group19:05
jdstrandmterry: is mediascanner2 trying to access /var/lib/extrausers/shadow too?19:05
mterryjdstrand, right19:05
mterryjdstrand, no19:05
jdstrandok, good19:05
mterryjdstrand, i.e. is mediascanner2 suddenly malicious?  :)19:05
=== dandrader|lunch is now known as dandrader
jdstrandmterry: no, but it processes untrusted input19:07
jdstrandgranted, DAC should prevent the shadow access, but still, the nameservice abstraction only allows /etc/passwd and /etc/group now, and that is all any application should need unless it is performing authentication or updating it19:09
mterryright19:09
tyhicksjdstrand, mterry: ack - I've added a todo to allow access to extrausers passwd and group when I do the upcoming apparmor upload19:14
mterrytyhicks, thanks!19:15
tyhicksnp19:15
jdstrandtyhicks: thanks!19:27
pmcgowanLaney, any idea on https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/134355319:57
ubot5Ubuntu bug 1343553 in ubuntu-system-settings (Ubuntu) "Missing icons reported in suru theme" [Undecided,New]19:57
pmcgowanare those icons needed or out of date?19:57
awe_pmcgowan, do you know why the cellular data switch went from a toggle to a checkmark???21:05
awe_-121:05
=== VargaD_ is now known as VargaD
awe_sergiusens, hey went to test the mms silo, but am confused what needs to be installed?21:19
awe_is golan-udm-dev required?21:19
awe_sorry, goland-udm-dev?21:19
sergiusensawe_: nope21:22
awe_ok, so just nuntium + udm21:22
awe_thanks21:22
sergiusensawe_: what's easiest is to install the citrain package on desktop and do citrain device-upgrade 1321:22
mterrymdeslaur, you mentioned removing the blank password check in pam_extrausers rather than patching shadow's passwd.  I think I'd prefer to patch passwd anyway because that way we are slightly more converged (don't rely on pam_extrausers behavior, can use ubuntu-system-settings to set your desktop password state)21:22
sergiusensawe_: can you please run sudo tcpdump -w mms.pcap -i rmnet_usbX where X corresponds to the one associated to the MMS context21:23
* sergiusens adds that to the test plan21:23
awe_sure21:24
* awe_ goes to checkout the test plan21:24
sergiusensawe_: https://wiki.ubuntu.com/Process/Merges/TestPlans/nuntium sort of updated21:37
awe_sergiusens, ack21:39
awe_sergiusens, gonna let the ofono silo testing continue into tomorrow... and we can land tomorrow21:59
sergiusensok22:00
brunogirinpopey: are you trying the redirect from #ubuntu-phone?22:16
=== salem_ is now known as _salem
popeyi was ☻22:17
popeytestand it worked \o/22:17
brunogirin\o/22:17
=== _salem is now known as salem_
=== salem_ is now known as _salem
mhall119awe_: sergiusens: just wanted to give you guys an update, the stop ofono/clear gprs context1/start ofono was enough to allow me to receive MMS22:30
sergiusensgreat22:30
awe_mhall119, cool22:30
thomi_tedg: you around? Got a second?22:43
thomi_tedg: does upstart / libUAL install a qt message handler to produce the logs in ~/.cache/upstart/ or does it just read stdout / stderr and redirect?22:44
mhr3thomi_, redirect22:45
mhr3we wouldn't want upstart to only work with qt apps :)22:46
thomi_mhr3: hmmm - so I 'd like to add timestamps to those log messages, which I think means adding a message handler in Qt. I'd like to write that code once and have it work everywhere. Any idea where I can do that?22:46
thomi_I could distro-patch the qt libs, but I was hoping to avoid that22:46
mhr3hmm, not sure22:47
awe_sergiusens, MMS never received by T-Mobile/Android phone...  do you want the nuntium log, or should I look for anything in particular?22:48
mhr3some apps are already adding a timestamp, you'd be duplicating it22:48
awe_sergiusens, also noticed that photos weren't appearing in the gallery right away either22:48
thomi_mhr3: which ones?22:48
brunogirinpopey: it looks like re-flashing to stable and then back to devel fixed my off button problem: interesting...22:49
awe_...and that the camera icon for mms is mis-leading, as you can only pick existing photos22:49
popeyshouldn't have needed stable brunogirin, stable is v olde22:49
brunogirinpopey: yes I noticed but by doing that I effectively re-flashed the device so that may have fixed it22:49
popeyjust going to devel should have done it22:50
mhr3thomi_, dont have a phone connected, but i think i saw some... but maybe i'm wrong22:50
thomi_mhr3: ok, I haven't seen any, and none of the AP clients I have on my HDD install a mesage handler - they might do it some other way, which is why I  was curious :)22:51
thomi_mhr3: I'll keep asking around, thanks22:51
mhr3thomi_, i suppose you could install a qt msg handler in the platform plugin, but not sure that's a great idea22:53
thomi_mhr3: why's that?22:53
thomi_rm -rf *22:53
thomi_oops :)22:53
mhr3thomi_, feels quite invasive to do that22:53
thomi_I agree22:54
thomi_ahh well, maybe I'll just patch each app separately22:54
sergiusensawe_: the pcap file if it was sent from ubuntu touch23:00
sergiusensawe_: photos don't appear in the gallery; you need to import them through the content hub23:01
sergiusensawe_: I do agree about the camera icon; but that is a _salem issue :-)23:02
awe_sergiusens, ?  the photo *did* show up in the gallery, it just too awhile to propagate23:03
awe_sergiusens, where do I find the pcap file?23:03
sergiusensawe_: hmm, ui might of changed; we had to import it before23:03
sergiusensawe_: pcap is from running tcpdump :-)23:04
sergiusensawe_: nuntium.log is fine if you don't have that23:04
awe_sergiusens, got it, let me try again and grab the pcap file...hadn't read the test plan thoroughly enough23:18
awe_sergiusens, ever thought of adding raw io tracing directly to nuntium ( ie. kinda like OFONO_RIL_TRACE or OFONO_RIL_HEX_TRACE )?23:19
sergiusensawe_: well I don't deal with the upload or download; that's the download manager; it's more of dealing with files23:20
awe_sergiusens, ack23:27
awe_sergiusens, where do I find the nuntium log again?23:28
sergiusensawe_: ~/.cache/upstart/nuntium.log23:29
=== Ursinha is now known as Ursinha-afk

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