/srv/irclogs.ubuntu.com/2013/07/10/#ubuntu-meeting.txt

=== Noskcaj10 is now known as Noskcaj
=== Guest73974 is now known as jacob
=== smb` is now known as smb
=== Guest71585 is now known as Zic
=== vanhoof_ is now known as vanhoof
=== ev_ is now known as ev
=== balloons_ is now known as balloons
=== jpds is now known as Guest46086
=== victorp_ is now known as victorp
=== greyback is now known as greyback|lunch
=== Quintasan_ is now known as Quintasan
=== greyback|lunch is now known as greyback
=== zoktar_ is now known as zoktar
=== broder_ is now known as broder
=== debfx_ is now known as debfx
=== Riddelll is now known as Riddell
=== Ursinha_ is now known as Ursinha
=== balloons_ is now known as balloons
=== zoktar_ is now known as zoktar
=== meetingology` is now known as meetingology
=== psivaa-afk is now known as psivaa
=== popey_ is now known as popey
=== shadeslayer_ is now known as shadeslayer
=== mzanetti_ is now known as mzanetti_sa
=== mzanetti_sa is now known as mzanetti
=== LjL^ is now known as Guest69594
=== shadeslayer is now known as Guest33135
=== charles_ is now known as Guest68669
=== Guest69594 is now known as 20WACQ4ZX
=== yofel_ is now known as Guest48668
=== PaulW2U is now known as Guest78283
=== Cracknel is now known as Guest66740
=== ffio is now known as Guest47909
* slangasek waves15:06
jodh`o/15:06
evhi15:06
slangasek#startmeeting15:06
meetingologyMeeting started Wed Jul 10 15:06:18 2013 UTC.  The chair is slangasek. Information about MeetBot at http://wiki.ubuntu.com/meetingology.15:06
meetingologyAvailable commands: #accept #accepted #action #agree #agreed #chair #commands #endmeeting #endvote #halp #help #idea #info #link #lurk #meetingname #meetingtopic #nick #progress #rejected #replay #restrictlogs #save #startmeeting #subtopic #topic #unchair #undo #unlurk #vote #voters #votesrequired15:06
=== Guest78283 is now known as PaulW2U
slangasek[TOPIC] Lightning round15:06
=== meetingology changed the topic of #ubuntu-meeting to: Lightning round
slangasek$ echo $(shuf -e barry doko stgraber jodh ev bdmurray slangasek cjwatson xnox stokachu)15:06
slangasekxnox barry stgraber ev slangasek cjwatson jodh stokachu bdmurray doko15:06
xnox=)15:07
xnox* android crosstoolchain uploaded into the archive15:07
xnox* (and subsequently fixed up)15:07
xnox* upstart merge reviews15:07
xnox* patch pilot tuesday15:07
xnox* in progress making "android" package that will do everything15:07
xnox  - build system/recovery/boot images for 4 nexus devices15:07
xnox  - build android-src package for cross-toolchain15:07
xnox  - build host tools15:07
=== Guest33135 is now known as shadeslayer
slangasekxnox: done?15:09
* barry wonders if xnox is done15:09
xnoxyes.15:09
barryshort week due to usa holiday.15:10
barryimage based updates: weekly meeting.  LP: #1199177.  LP: #1192585.  LP: #1199361.  LP: #1199498.  Today: finish up LP: #1199498, LP: #1199488, and upload new version of system-image package.15:10
ubottuLaunchpad bug 1199177 in Ubuntu system image "installed version must look for /etc/system-image/client.ini" [High,Fix committed] https://launchpad.net/bugs/119917715:10
ubottuLaunchpad bug 1192585 in Ubuntu system image "Add a dbus API" [High,In progress] https://launchpad.net/bugs/119258515:10
ubottuLaunchpad bug 1199361 in Ubuntu system image "Built-in downloads time out" [High,Fix committed] https://launchpad.net/bugs/119936115:10
ubottuLaunchpad bug 1199498 in Ubuntu system image "Update client for updated ubuntu_command format" [High,In progress] https://launchpad.net/bugs/119949815:10
barry(the next upload won't include the dbus api)15:10
barryother: LP: #1198439 (investigated).  LP: #1038429, LP: #1196754, configglue 1.1.1 and other horrors related to python-configparser.  I'll be dealing with this more after the next system-image package upload.  Tracked down and worked around long nagging emacs bug.  LP: #1199403 and LP: #1199439 and other horrors related to X crashing after latest saucy updates.15:10
ubottuLaunchpad bug 1198439 in python2.7 (Ubuntu) "package python2.7-minimal 2.7.4-2ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,Incomplete] https://launchpad.net/bugs/119843915:10
ubottuLaunchpad bug 1038429 in Ubuntu Software Center stable-13-10 "update-software-center crashed with order (MRO) for bases SafeConfigParser, object in __new__()" [High,Triaged] https://launchpad.net/bugs/103842915:10
ubottuLaunchpad bug 1196754 in configglue "Tests fail in Python 3 with non UTF-8 locale" [Low,Fix released] https://launchpad.net/bugs/119675415:10
ubottuLaunchpad bug 1199403 in xorg (Ubuntu) "Xorg crash" [Critical,New] https://launchpad.net/bugs/119940315:10
ubottuLaunchpad bug 1199439 in xorg-server (Ubuntu) "segfault in xorg-server during install of saucy 32bits under vmware" [Undecided,Confirmed] https://launchpad.net/bugs/119943915:10
barryโˆ…15:10
stgraberBlueprint-related work:15:11
stgraber - Image based updates (BLUEPRINT: foundations-1305-image-based-updates)15:11
stgraber  - system-image-cli is now part of the daily images15:11
stgraber  - a basic upgrader tool is now part of the recovery images15:11
stgraber  - wrote an import-cdimage tool, that converts our current images to system-image. Currently running manually, will be croned once reliable.15:11
stgraber  - added pxz support to the python module15:11
stgraber  - updated initrd+fstab to make /var/lib/system-image writable on the touch devices15:11
stgraber  - ran a bunch of tests with the client, leading to a bunch of bug reports, hopefully the next release will actually let us run an end to end upgrade using the production infrastructure15:11
stgraber  - got in touch with design wrt the UI (on hold waiting for next PRD review meeting)15:11
stgraberOther work:15:11
stgraber - Ubuntu touch15:11
stgraber  - Cherry-picked pidns+mntns support to mako and manta, available at github.com/stgraber/linux (maguro and grouper will be much harder as they're on an older kernel)15:11
stgraber  - Merged a bunch of changes to lxc-android-config and the initrd to support loop-mounted flipped images15:11
stgraber  - Cleaned up a bunch of scripts to stop using /proc/<pid>/root as a way to access the container, instead doing clean bind-mounts from the host to the container15:11
stgraber - LXC15:11
stgraber  - Fix openssh key generation in the Ubuntu template (broken after changes to the openssh postinst)15:11
stgraber  - Re-added timeout option to get_ips API and fixed a bunch of PEP-8 warnings15:11
stgraber  - Added support for non-tmpfs backend to lxc-start-ephemeral15:11
stgraber  - Usual code reviews15:11
stgraber - Network15:11
stgraber  - Prepared the openvpn merge, blocked on iproute215:11
stgraber  - Made iproute2 build15:11
stgraber - Other15:11
stgraber  - Merged bcfg215:11
stgraber  - Tested a new shim for slangasek15:11
stgraber 15:12
stgraberTODO:15:12
stgraber - THIS WEEK: Look into what else is blocked on the new iproute2 and get that sorted15:12
stgraber - THIS WEEK: Add gpg support to the upgrader script15:12
stgraber - Write some tools for manual actions on system-image (manage channels, manage keyrings, manually publish updates, ...)15:12
stgraber - Process some pending merges (ifupdown and resolvconf)15:12
stgraber 15:12
stgraber(DONE)15:12
slangasekstgraber: PRD review meeting> does that mean Design is waiting to be told by pmcgowan that this is a priority?  Do I need to make sure this is escalated with him?15:12
ev- Most of my time this week has been spent on getting Cassandra deployed into15:13
ev  Prodstack with the webops team:15:13
ev  https://rt.admin.canonical.com/Ticket/Display.html?id=6065215:13
ev  https://wiki.canonical.com/InformationInfrastructure/OSA/Projects/InProgress/UE/CassandraSpace/BringingUpProdstack15:13
ev  - We've run into some headaches along the way, but we have the nodes in place15:13
ev    and streaming a repair from the DC. We'll see how this goes. Juju lost its15:13
ev    brain last night and decided to restart all the Cassandra nodes while they15:13
ev    were doing the repair (bad):15:13
ev    https://code.launchpad.net/~ev/canonical-marshal/cassandra.restart-when-required15:13
ev  - Current estimates put the seed node repair at just over a day and the rest15:13
ev    of the nodes done by early next week.15:13
ev- Fixed the error tracker charms to handle all the weird corner cases around15:13
ev  Cassandra juju nodes coming and going by greatly simplifying the relation15:13
ev  code.15:13
ev- Finally got the mobile images creating core dumps with the help of Oli and15:13
ev  apw. \o/15:13
ev- Added support for automatic error reporting to apport, in support of crash15:13
ev  reporting on the server and mobile images:15:13
ev  https://code.launchpad.net/~ev/apport/automatic-reporting/+merge/17355315:13
ev- Adding a diagnostics page to system-settings to control whoopsie reporting, per:15:13
ev  https://wiki.ubuntu.com/ErrorTracker#Privacy_settings15:13
ev  https://code.launchpad.net/~ev/ubuntu-system-settings/diagnostics15:13
ev- Code review for Brian.15:13
evTODO:15:13
ev- Split the WhoopsiePreferences DBus daemon out of activity-log-manager so it15:13
ev  can be used by ubuntu-system-settings.15:13
ev- Modify the WhoopsiePreferences policykit policy to allow admin without password.15:13
ev(done)15:13
slangasek * short week, public holiday+vac15:14
slangasek * packaging parted for cross-building now that the android cross-compiler is in the archive15:14
slangasek * working on tracking down remaining shim bugs - seems the new version is even worse on stgraber's ThinkPad, we need to get to the bottom of this (bug #1087501)15:14
ubottubug 1087501 in shim (Ubuntu) "Unable to boot unsigned kernel, boot freezes in shim call" [High,Incomplete] https://launchpad.net/bugs/108750115:14
slangasek  * some installer path seems to leave systems without shim-signed installed on the target system (bug #1184297), needs further investigation15:14
ubottubug 1184297 in grub-installer (Ubuntu Precise) "Secure boot failed, claiming boot is against security policy" [High,Triaged] https://launchpad.net/bugs/118429715:14
slangasek * partner package updates for centrifydc15:15
slangasek * discussions around bug management for the Touch images15:15
slangasek * looking into unity library handling, which consistently breaks update-manager on soname changes (bug #1193120)15:15
ubottubug 1193120 in unity (Ubuntu) "unity-common is not common" [Undecided,New] https://launchpad.net/bugs/119312015:15
slangasek(done)15:15
cjwatsonfoundations-1305-click-package:15:16
cjwatson - Implemented per-user package installs; still working on removal/unregistration and associated garbage-collection.15:16
cjwatson - In tandem with this, experimenting with a PackageKit backend based on Sebastian's work.  The approach of a PK plugin (as implemented in Listaller) is looking promising for this.15:16
cjwatson - Various discussions about things like desktop file handling.15:16
cjwatsonWorking on Apache 2.4 transition to try to save everyone else's sanity trying to get packages migrated to saucy.  (In particular, apparmor is kind of wedged on it and the security team need to work on it for click; the workaround of copying from a devirt PPA is possible but tedious and error-prone.)  Much swearing at a variety of entertainingly broken packages.15:16
cjwatsonDiscussions of build pipeline problems, and trying to apply tactical Vaseline to things.15:16
cjwatsonShifted the "current" symlink for ubuntu-touch images over to trigger-controlled mode so that it can be tested first.15:16
cjwatson..15:16
jodh`* foundations-1305-upstart-app-launching15:16
jodh`  - upstart 1.9.1 release preparation15:16
jodh`    - libupstart packaging with xnox.15:16
jodh`    - Discovered bug 1199778 in final testing.15:16
ubottubug 1199778 in upstart (Ubuntu) "upstart crashes if re-exec'ed with active chroot sessions" [High,New] https://launchpad.net/bugs/119977815:16
jodh`* foundations-1305-upstart-work-items15:17
jodh`  - dconf/gsettings bridge15:17
jodh`    - Created lp:~jamesodhunt/upstart/upstart-dconf-bridge.15:17
jodh`    - Few tweaks. Currently working on handling jobs being added/removed.15:17
jodh`* upstart15:17
jodh`  - Discussions with Phonedations team about injecting Android service15:17
jodh`    states into Upstart.15:17
jodh`  - Started working on a new bridge to handle this communication.15:17
jodh`  - Reviewed lp:~ricmm/session-manager-touch/migrate-to-upstart-session15:17
jodh`* misc15:17
jodh`  - short week (will be out on Friday)15:17
jodh`เน›15:17
stokachucurrently working on bug 833994 seems wget is returning different outputs between busybox and standard wget, working on getting rdeps built for bug 119490115:18
* barry thinks Tactical Vaseline would make an excellent band name15:18
ubottubug 833994 in debian-installer-utils (Ubuntu) "debian-installer does not support https when using with preseed files" [Medium,Triaged] https://launchpad.net/bugs/83399415:18
ubottubug 1194901 in raring-backports "Please backport puppet 3.2.2-1 (main) from saucy" [Undecided,New] https://launchpad.net/bugs/119490115:18
stokachu(done)15:18
stokachuxnox: i did see your comment referenced in another similar bug, was going to look into that15:18
bdmurrayshort week due to holidays15:18
bdmurraybug triage of some initramfs-tools duplicate bugs15:18
bdmurrayinvestigation into regression detection of bug 1195007 (would the phased updater have found it: no)15:18
ubottubug 1195007 in qt4-x11 (Ubuntu Saucy) "qt patch introduces fatal gdk_x_error handler" [High,Confirmed] https://launchpad.net/bugs/119500715:18
bdmurraymodified errors bug submitter to create more detailed bug reports (example at http://qastaging.launchpad.net/bugs/1105405)15:18
ubottuLaunchpad bug 1105405 in db (Ubuntu) "D2013" [Undecided,Invalid]15:18
bdmurraymerged / uploaded ubuntu-release-upgrader branch for disabling proposed when upgrading to the development release15:19
bdmurraymodified and tested update-notifier notification of .crash files15:19
bdmurraytested and reported upstart bug 119949915:19
ubottubug 1199499 in upstart (Ubuntu) "upstart file bridge sets FILE to glob pattern instead of specific file" [Undecided,Invalid] https://launchpad.net/bugs/119949915:19
bdmurrayirc discussion with slangasek regarding pkg team mapping and working on it15:19
bdmurrayโœ” done15:19
xnoxstokachu: yeah, the other bug was against wget package "wget-udeb should ship wget instead of wget.gnu"15:20
stokachuxnox: yea and this one needs ssl support15:20
stgraberslangasek: mpt said he has interest in that part of the design but that there's nobody clearly assigned to this at this point, he raised it with Nick Tait who told him he'd raise this issue at the next PRD review meeting (next week apparently)15:20
stokachuso once i fix that other one this one will be good to go15:20
slangasekjodh`: android service states into upstart> could we have a public discussion about this on an appropriate mailing list?  I'm not thrilled with the architecture being proposed and think it should be subjected to some more eyeballs15:20
xnoxstgraber: which the other one was suggested as the "solution" to ssl support =))))15:20
cjwatsonI continue to have fundamental design scepticism about the whole https thing in the installer, but appear to be being railroaded15:21
jodh`slangasek: sure. We are feeling our way a little on this I think so the more input the better :)15:21
stgraberslangasek: so I haven't heard anything to make me think we've got a priority issue there but we clearly need someone assigned to it and I suspect the design may end up missing the end of July deadline (if we have to wait an extra week just to have someone be put on it)15:21
stokachucjwatson: ssl is the new thing! :D15:21
stokachuthey even have a firefox addon to force https15:22
stokachu:P15:22
cjwatsonstokachu: SSL is snake-oil if proper certificates aren't present15:22
cjwatsonAnd I disapprove of peddling snake-oil15:22
cjwatsonSo any solution to this needs to think about that and at least document how to get useful certificates in (I suggested one mechanism in a comment)15:23
slangasekstgraber: ok, then I /will/ escalate it with pmcgowan, thanks :)15:23
stokachucjwatson: what about signed urls?15:23
* stokachu was just thinking of alternatives15:24
slangasekdoko: hi - your turn :)15:24
cjwatsonEr, no such thing as a signed URL15:24
stgraberhmm, wait, are we talking about doing https downloads but without doing the certificate validation? that sounds like a waste of CPU15:24
cjwatsonstgraber: That is exactly what https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/833994/comments/10 suggests15:24
ubottuLaunchpad bug 833994 in debian-installer-utils (Ubuntu) "debian-installer does not support https when using with preseed files" [Medium,Triaged]15:24
* xnox thought that booting with md5sum of the pressed file is enough.15:25
cjwatsonxnox: Some people appear to want on-the-wire confidentiality too15:25
stokachuyou could build your urls based ona key15:25
cjwatsonstokachu: doesn't solve the customer requirement at all15:26
cjwatsonI understand the customer requirement, and we probably eventually have to do HTTPS; I just want people to actually listen when I say that it needs a bit more care than shoving in an HTTPS-capable wget15:26
stgraberhmm, well, it's right that it'd be vaguely safer (protect against sniffing) but won't prevent MITM, at the minimum we should require the certificate fingerprint to be passed to d-i (assuming wget let's you check that)15:27
cjwatsonI'm not saying "we should make up some crypto protocol of our own rather than doing HTTPS"15:27
cjwatson(making up our own crypto protocol is roughly never the right answer.  don't do it)15:27
xnox.... it needs to at least manage to finish the installs ;-)15:27
* mdeslaur prepares stick to beat amateur cryptologist15:27
stokachuif they are that concerned about https shouldnt they be running landscape internally to manage their repos15:28
cjwatsonerr15:28
stokachuor a private repo15:28
cjwatsonI think you have drunk our own kool-aid15:28
cjwatsonlandscape does not magically encrypt communication with d-i when d-i has no crypto capabilities built in ...15:28
xnoxstokachu: i do over the network preseed install and I don't want other users on the network find out i ever did, and what packages i have installed. it should all just look like https traffic.15:29
stokachuhmm ok, i was more thinking of locally managed packages not in the archive15:29
cjwatsonthis really isn't the point15:29
xnoxstokachu: that is independant of the landscape / repos used, oh.... yeah what cjwatson says.15:29
dokoslangasek, sorry, not prepared ... at connect, updated GCC, merged the new Linaro release, some merges & syncs15:30
slangasekdoko: good enough :-)15:30
cjwatsonlike I say, I'm not saying "don't do https", I'm saying "do https properly"15:30
cjwatsonhttps, done properly, is the right answer to the customer req15:30
xnoxdoko: is bero around? with whatever ping was about?15:30
dokoxnox, yes, I'll follow-up15:31
xnoxack.15:31
cjwatsonregarding repo management, I suspect that they also want the preseed file contents not to be sniffable, and that doesn't live in a repo anyway15:32
stokachuok15:32
slangasekstokachu, cjwatson: "do https properly" - seems like a concise summary of the problem. :-)15:33
slangasek[TOPIC] AOB15:33
=== meetingology changed the topic of #ubuntu-meeting to: AOB
xnoxcjwatson: where would you ship certificates ca-certs-udeb?15:33
slangasekanything else?15:33
stokachuRIP Seth Vidal15:33
cjwatsonxnox: https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/833994/comments/815:34
ubottuLaunchpad bug 833994 in debian-installer-utils (Ubuntu) "debian-installer does not support https when using with preseed files" [Medium,Triaged]15:34
cjwatsonxnox: Bearing in mind the nature of the sites that want this kind of thing, I think they'll be more interested in saying "this is our certificate" vs. "this is everything in ca-certificates"15:35
cjwatsonstokachu: yes, another car-on-cyclist case I hear :-(15:36
* slangasek nods :/15:36
ogra_:/15:36
stokachucjwatson: yea he lived in the next town over, sad to hear15:36
barrysad :(15:37
slangasek[TOPIC] Touch container architecture15:37
=== meetingology changed the topic of #ubuntu-meeting to: Touch container architecture
dokoxnox, did you see my message15:38
slangasekso today I thought I'd take the hot seat myself and talk a bit about the layout of the touch images15:38
slangasekespecially now that the container flip is done, it's probably good for people to understand exactly what we've got going here and be on the same page15:38
slangasekso before the container flip, the way the touch preview images worked was to boot a more-or-less standard android environment, and then run Ubuntu in a chroot15:39
slangasekthis is less than optimal from our perspective, for a number of reasons :)15:39
slangasekwith the container flip, we are now booting an *Ubuntu* environment, then running android in an lxc-managed container15:40
slangasekthe container is run from an upstart job, /etc/init/lxc-android-config.conf15:41
slangasekthere are a couple key reasons for having this as a container when done this way around, rather than just a chroot15:41
slangasekfirst, because we need to run android's own init still, and it cares about being pid 1 - so we need a pid namespace for it15:42
slangaseksecond, because it cares about doing its own thing with mounts15:42
slangasek(actually, the latter might be surmountable with just a chroot, but point 1 stands anyway)15:43
slangasekthe reasons we need to run android's init are that it runs ueventd, which is android's udev equivalent and needs to do various bits of device management for us... including some firmware loading that we don't have working quite right under udev15:43
slangasekand because it runs a 'prop' service on a socket that other android services care about15:44
barryslangasek: will it ever be possible to get rid of android altogether?15:44
slangasekso much as we might like to, we can't (currently) drop the android environment and run all the services as upstart jobs15:44
cjwatsonI'm curious if there's much more stuff left in the android env that we expect to move to Ubuntu for 13.1015:45
ogra_barry, well, our whole infrastyructure is knitted around android atm15:45
slangasekbarry: it may be possible to get rid of the container, but the roadmap has us continuing to leverage android technologies in the future for certain parts of the middleware15:45
slangasekthe one thing left that we're expecting to move to Ubuntu is surfaceflinger->Mir :)15:45
slangasek(AFAIK that's the only one)15:45
cjwatsonok, thanks15:45
ogra_if we ever get a dricet contract with a vendor that would give us access to everything, first of all the platform-api would have to learn to cope with that15:46
slangasekand fwiw, if you think running a udev equivalent in a container is ugly... you're right :)15:46
ogra_since it currently hooks into android for many things (snesores etc(15:46
ogra_*sensors15:46
ogra_haha15:46
=== 20WACQ4ZX is now known as LjL
slangasekbut I've looked at this problem from every angle together with the Phonedations team, and we just don't see any way to get rid of it right now without investing a lot of effort15:46
ogra_slangasek, jodh` will save us all :)15:46
ogra_(with the upstart android bridge)15:47
slangasekogra_: the proposal there is only to expose android status to upstart... running ueventd is still fugly15:47
* jodh` whistles...15:47
slangasekbut it's what we have to do for now15:47
ogra_slangasek, we have full access to androids properties system15:47
ogra_thanks to rsajdok_15:47
ogra_err15:48
ogra_rsalveti,15:48
slangasekright15:48
ogra_so start/stop android services you just od a setprop ...15:48
ogra_*do15:48
ogra_thats where the bridge will hook into15:48
ogra_it will give us far more thaan status15:48
slangasekspeaking of the properties system, if you're not familiar with it, it's effectively a central keystore for information about the overall state of the system... it also exposes things like your system type15:48
jodh`ogra_: my understanding is that the properties socket is for writing which is accessible from the host side, but we cannot monitor changes to properties from the host right?15:49
slangasekwhich is why if you were running a container-flipped image earlier, and adbd was running from Ubuntu instead of from Android, you might have noticed that phablet-flash wouldn't autodetect your device type15:49
ogra_jodh`, via the socket we should be able to trigger it from the android side15:49
slangasekthis is fixed now, by having the 'prop' interface made available in the Ubuntu environment as standard commands15:49
slangasek(from android-tools-such-n-such)15:50
slangasekhttp://paste.ubuntu.com/5775132/15:50
slangasekso one thing that's given us a lot of grief has been the partition layout15:50
ogra_++15:50
slangasekthat pastebin is a "typical" partition table on an android device15:50
cjwatsonoh my, I hadn't actually looked at it before15:51
slangaseklots of partitions, fairly well-architected wrt Android's requiremenst15:51
slangasekand Ubuntu can use most of those partitions without modification15:51
cjwatsonit's like the worst excesses of somebody turning up on usenet with seven different Linux distros multi-booting15:51
slangasekexcept... the system partition, which by all rights is where the OS should be, tends to be a little small. :P15:51
slangasek(here, 686MB)15:51
slangasekconveniently, on all our reference devices at least, the system, cache, and userdata partitions are all right next to each other15:52
slangasekwhich means that in theory we should be able to steal some space back from the read-write userdata partition to give to the system partition, without breaking things at a low level15:53
slangasekI've been working on this... it's why we want parted in the recovery partition, which means cross-building parted for android15:53
rsalvetijodh`: right, we cannot monitor the current socket for properties, we'd need a different approach, kind as we discussed by email15:53
slangasekso the phablet-flash bootstrap option will not just install an enhanced recovery partition for you, it will also re-partition the system/cache/userdata partitions15:53
rsalvetislangasek: and yes, we'll run ueventd fully at least once, and stop the service, which will trigger a ueventd.stopped, that will be hooked to upstart by jodh`15:54
slangasekthe goal is to have a 2GB system partition standard, so that we can put the full Ubuntu rootfs on there (including the android bits)15:54
slangasekrsalveti: ok15:54
slangaseknow, on our ref devices, we can repartition, but we can't necessarily do that on all the community ports that folks have spun up - and basically aren't even going to try, lest we brick someone's device by mistake15:55
xnoxslangasek: "cross-building parted for android" -> since there is no dynamic linker in the recovery partition, this reduces to "statically link an armhf binary" (similar to e.g. busybox-static)15:55
slangasekso on systems that don't have a big enough system partition, the plan is to have the Ubuntu rootfs as a loop-mount off of the userdata partition, after all15:56
xnoxslangasek: one could build it & statically link against bionic, but that requires porting to incomplete libc/pthreads.15:56
slangasekso the root will still be mounted ro, though it won't quite give us the same degree of safety since the underlying fs is still rw15:56
ogra_nexus7 will be our loop mount reference device :)15:57
slangasekxnox: oh, I hadn't noticed there was no dynamic linker; I wonder if that's a design choice we should revisit15:57
slangasekright - we can't repartition the nexus7 (grouper)15:57
slangasekbecause its partition table is INSANELY NON STANDARD15:57
slangasekit relies on a kernel patch to even *find* the partition table on disk15:57
xnoxslangasek: the question is size =) how big is recovery & how much can one have for parted?15:57
ogra_tegra .... :)15:57
slangasekbut that's another story15:58
slangasekxnox: well, I wouldn't assume that statically linking everything is going to make the overall image smaller15:58
xnoxslangasek: no, bigger due to copies. If size is an issue, we should investigate dynamic linking. If it's not and 3MB for gpg and probably similar for parted is ok, we should just use those.15:59
slangasekanyway, that's pretty much the overview with where things stand on the architecture for the filesystem on Touch :)15:59
stgraberxnox: we have a total of 12.5MB on the N4, IIRC Android requires 10MB minimum so it's quite small15:59
slangasekany questions?15:59
xnoxstgraber: and gpg got in already =) i'll statically compile parted and will check how big/small it is.16:00
stgraberyesterday I had abootimg fail on me because I was adding 6kB to our standard image ;) I think it was wrong (image was around 8MB) but still, not much room in there16:00
xnoxouch.16:00
rsalvetistgraber: that's probably because the config had top 8mb for you16:00
stgraberin the end I kicked out tune2fs from my initrd which saved around 200kB16:00
ogra_stgraber, the 8M are picked by me ... thats the allowed minimal for android16:01
ogra_if you know the partition is actually bigger, feel free to bump it in the bootimg.cfg file16:01
ogra_i did that for manta already16:01
rsalvetiogra_: seems the android build system is a bit smarter on that, it calculates the size dynamically during build time16:01
stgraberxnox: we already have parted in our images (338.6K) so it shouldn't be a problem so long as it's not much bigger than that16:02
ogra_rsalveti, well, it looks at how big kernel and initrd togetther are and sets that as fixed size16:02
rsalvetibut we still need to know how to dynamically create the initrd when updating the kernel (not via image updates)16:02
xnoxstgraber: oh, ok. didn't notice =)16:02
ogra_rsalveti, which means adding 1byte already fails :)16:02
=== medberry_ is now known as med_
rsalvetiindeed16:02
cjwatsonif that parted is linked dynamically then it's probably linked against libparted16:02
cjwatsonwhich has the bulk of the intelligence in it16:02
ogra_rsalveti, and we dont really want to do any dynamic stuff with the initrd16:02
slangasekapparently the current one wouldn't be dynamic because there's no dynamic linker in the recovery partition?16:03
rsalvetiogra_: right, indeed, we just need to change the bootimg, in case we update the kernel16:03
ogra_yeah16:03
cjwatsonok.  I suspect that's stripped-down (libparted.a is about a megabyte here), but we'll see16:03
stgraber~ # find / | grep lib | grep -v system | grep -v proc16:03
stgraber~ #16:03
stgraberno such thing as libs in recovery :)16:03
ogra_rsalveti, well, bootimg,cfg defines 8M for all devices but manta atm16:03
rsalvetiogra_: right16:03
ogra_if there is space on disk i'm happy to bump the default16:04
cjwatsonstgraber: party like it's 196916:04
ogra_(manta already has 22M)16:04
slangasek#endmeeting16:05
=== meetingology changed the topic of #ubuntu-meeting to: Ubuntu Meeting Grounds | Calendar/Scheduled meetings: http://fridge.ubuntu.com/calendar | Logs: https://wiki.ubuntu.com/MeetingLogs | Meetingology documentation: https://wiki.ubuntu.com/meetingology
meetingologyMeeting ended Wed Jul 10 16:05:00 2013 UTC.16:05
meetingologyMinutes (wiki):        http://ubottu.com/meetingology/logs/ubuntu-meeting/2013/ubuntu-meeting.2013-07-10-15.06.moin.txt16:05
meetingologyMinutes (html):        http://ubottu.com/meetingology/logs/ubuntu-meeting/2013/ubuntu-meeting.2013-07-10-15.06.html16:05
slangasekthanks, everyone16:05
slangasek#ubuntu-touch for follow-up :)16:05
ogra_that was a nice summary16:05
barryslangasek: thanks16:05
ogra_:)16:05
stgraberslangasek: that partition dump you gave earlier wasn't from mako right?16:09
ogra_stgraber, maguro i think16:10
ogra_(xloader indicates omap)16:11
stgraberok16:11
stgraberogra_: on mako boot and recovery are 22528kB large (22MB)16:11
ogra_oh, then it was probably mako where i bumped the default to 22M16:12
* ogra_ is to lazy to look in initramfs-tools-ubuntu-touch 16:12
stgraberogra_: grouper seems to be 8MB for boot and 12MB for recovery16:15
ogra_yeah16:15
ogra_i know the *m from the top of my head :)16:15
ogra_8M16:15
=== Guest48668 is now known as yofel
=== medberry is now known as med_
=== kees_ is now known as kees
=== Guest66740 is now known as Cracknel
=== med_ is now known as Guest36906
=== Claudinux is now known as Guest75862
=== cptmashek_ is now known as cptmashek
=== LjL is now known as Guest24508
=== yofel is now known as Guest395
=== hyperair is now known as Guest96566
=== Cracknel is now known as Guest61409
=== ashams is now known as Guest64962
=== ffio is now known as Guest33963
=== genii is now known as Guest71967
=== Guest395 is now known as yofel
=== Guest61409 is now known as Cracknel
=== Guest71967 is now known as genii
=== fader_` is now known as fader_
=== Guest24508 is now known as LjL
=== LjL is now known as Guest91961
=== AlanChicken is now known as AlanBell
=== Guest91961 is now known as LjL
=== YoBoY_ is now known as YoBoY
=== stgraber_ is now known as stgraber
=== AlanChicken is now known as AlanBell

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