/srv/irclogs.ubuntu.com/2013/02/19/#ubuntu-installer.txt

xnoxwhat shall be the default fallback colour if visual a11y is enabled and hence we are not showing the wallpaper?01:55
infinityxnox: Black or white would be fine.02:00
infinityxnox: Any attempts at being fancy could run into color blindness issues with background and foreground appearing to bleed into each other.02:00
infinityxnox: (Pick the opposite of what the installer window is)02:00
xnoxgoogle indicates there are special a11y colour wheels to ensure high-contrast with different types of disorders e.g. some highly contrasting colours for a healthy eye may not appear as much contrasting with some disorders.02:02
* xnox will use gsettings default fallback colour and later ubuntu-defaults could be changed.02:02
qbiI'm trying to install Ubuntu 12.10 64Bit with HD encryption.11:40
qbiThere is a strange behaviour when it comes to the password.11:41
qbiThe window shows if the password is good or weak etc.11:41
qbiHowever if I have a strong password (according to the interface) and add some characters it shows that the password is too short.11:42
qbiExample: 11Qwertz$   is shown as strong11:43
cjwatsonbug 106839111:43
ubot2Launchpad bug 1068391 in ubiquity (Ubuntu) "Password strength bug" [Undecided,Confirmed] https://launchpad.net/bugs/106839111:43
qbithanks cjwatson11:43
cjwatsonWhat a peculiar bug ...11:46
cjwatsonHmm, the pages of that notebook are in the wrong order, I think11:47
xnoxoh.11:47
cjwatsonSo it goes weak -> fair -> good -> strong -> too_short instead of too_short -> weak -> fair -> good -> strong11:48
cjwatsonxnox: shall I just fix the ordering?  pretty sure that's all there is to it11:48
xnoxcjwatson: go ahead.11:49
xnoxI wonder if glade screwed me over though, as it sometimes does by auto-reordering stuff...11:49
cjwatsonI was just going to edit the XML :)11:50
xnox=)11:51
ogra_does anyone have  good example code for respawning child processes ? like with using signal() and catching SIGCHILD ?11:51
cjwatsonThe password_match position numbers look odd too11:51
* ogra_ would like to try to add respawning to the compiz invocation in ubiquity-dm11:51
cjwatson1/2/3 rather than 0/1/211:51
xnoxCan ubiquity (well oem-config) in gtk frontend be pre-seeded with WiFi network configuration? And if not, what's the best way to achieve it, with ideally fetching preseed file for automatic-oem-config over the network.11:53
cjwatsonProbably not right now; it's probably not worth turning the wireless page into a full-blown debconf confmodule, but it could at least populate and check a select template11:56
ogra_if you refer to nx7 images, you can add a preseed file to / of either initrd or the img11:57
ogra_not sure if there are keys for wlan preseeding we use though11:58
ogra_(note though that the debconf call to apply the preseed file happens from ac100-tarball-installer, will not work once that has removed itself)11:59
xnoxogra_: ok. I think I can then add more hacks to ac100-tarball-installer, as I was thinking to only pass a SSID & password on the kernel command line and make something drop a shell hook into the hooks dir which does a `nmcli device wifi connect myhotspot mypass`12:02
ogra_feel free :)12:03
xnoxand just have a static (sample) preseed file shipped in oem-config package to allow automatically zip through oem-config.12:03
xnoxbut that is still limitting as qa would most likely want utah-client / openssh-server and hooks to trigger that.12:04
ogra_they should sefine that in late_command12:04
ogra_*define12:05
ogra_in an apt call12:05
xnoxright but how would they get it on the image, as I daubt that initramfs in nexus7 will be able to bring the network up. Kernel cmd line arg with a URL to late command?12:05
ogra_they have a local mirror12:06
ogra_as log as wifi gets brought up during the automated oem-config run, they shoudl be fine12:06
cjwatsonqbi: Fixed for raring; sorry about that.  In 12.10, "Strong" should apparently be read as "Good" and "Short" should be read as "Strong". :-/12:09
xnoxogra_: hmm... i was hoping that one can just update kernel boot args and not unpacking & changing initrd.12:09
cjwatson(QA?)12:09
ogra_xnox, i think thats the smallest issue, plars has scripts for injecting files into initrds12:10
xnoxok.12:11
xnoxcjwatson: yeah, for QA lab.12:11
xnoxthe last piece of the puzzle would be rebooting form ubuntu into android fastboot mode.12:11
cjwatsonxnox: No, I was referring to the fact that we didn't catch bug 1068391 before release12:11
ubot2Launchpad bug 1068391 in ubiquity (Ubuntu Raring) "Password strength bug" [High,Fix committed] https://launchpad.net/bugs/106839112:11
ogra_i think he also researched the "reboot bootloader" bit (at least he has a WI for it somewhere)12:12
cjwatsonBut in fact QA did spot it just about before release - bug 106779912:12
ubot2Launchpad bug 1067799 in ubiquity (Ubuntu) "same password is reported as fair (disk encryption key) and weak (user password)" [Medium,New] https://launchpad.net/bugs/106779912:12
cjwatsonNot in time to fix it though12:12
qbicjwatson: Thanks. ;)12:52
plarscjwatson: yeah, I seem to recall that at the end. Would be nice if there were a good way to automate all the corner-case testing for this.  Is the piece that checks this and reports the strength embedded inside ubiquity (or di?) or is it a separate piece that they call and we could test more directly with a list of cases?12:56
cjwatsonThe former12:57
cjwatsonIt's in the ubiquity.validation Python module - but as it happens the bug here wasn't in the validation module, it was in the UI code making use of it12:57
xnoxif we could run autopilot in the live cd....12:58
ogra_crazy talk13:05
xnoxph. nexus7 initrd is xz compressed, yet ours is with gzip.14:19
xnox(on the desktop that is)14:19
xnoxmine is 26MB and I'd prefer it to be smaller as I have separate /boot partition and full disk encryption14:20
ogra_xnox, rsyncability breaks with xz14:20
ogra_(and zsyncability)14:20
ogra_for personal use you can easily swithc it in the initramfs.conf14:21
xnoxon the images sure, but our installer always does update-initramfs and the installed system can / should use xz.14:21
infinityUsing xz probably increases boot times.  Is disk space that important on non-phablet devices?14:22
ogra_well, the time you waste in unpacking might be gained by faster loading it from disk14:27
ogra_*re-gained14:27
ogra_i doubt it would be significantly slower14:27
infinityNo, it's probably not a big deal one direction or the other.14:29
infinityDefaulting to xz doesn't sound like an awful idea.14:30
ogra_btw ... xz ...14:30
ogra_is pxz in main already ?14:30
infinityNo.14:30
* ogra_ hanst started testbuilds with it yet14:30
ogra_k14:30
ogra_*hasn't14:31
infinityI'm not sure how comfy I am with "supporting" it unless upstream can convince the xz-utils people to carry it in their codebase.14:31
infinity(Or, more realistically, roll it into xz(1) as a command-line option)14:31
ogra_well, it would have to be a live-build dep to use it14:31
ogra_for nx7 images14:32
ogra_wvwn though i didnt test with it yet, i looked at the nedded live-build changes14:32
ogra_geez ... my typing14:32
ogra_*even14:33
xnoxpxz is not stable for me - not enough testing it can fail to pack/unpack.14:33
xnox26 MB vs 19MB14:33
xnoxnot sure if it was worth it.14:33
ogra_for your initrd ?14:33
ogra_thats insane !14:33
* xnox has plymouth, mdadm, cryptsetup, lvm and what not in it.14:34
xnox(that's for my usual machine)14:34
ogra_still insane to have a two digit megabyte value for that14:36
ogra_we urgently need to lose fat here14:36
ogra_its just an initrd14:37
* ogra_ remebers times where 26MB was big for a rootfs14:40
ogra_but then i'm an old fart ...14:40
infinityYou sure are.14:43
xnoxis it safe to call `apt-get autoremove` at the end of oem-config? there is garbage left around which is $arch specific. Or shall I be generating the removal command at build time?16:51
xnoxi guess we should lighten up the dependencies. Or like seed them instead. As e.g. there is no point in having os-prober and uboot on nexus7 images.16:51
xnoxinfinity: ^ ?16:52
infinityxnox: I had meant to do that years ago.  Should be entirely safe.16:54
infinityxnox: In oem-config-remove.16:54
xnoxok.16:54
* xnox like.16:54
cjwatsonAnd oem-config-remove-gtk16:54
* infinity nods.16:54
cjwatson(which uses aptdaemon iirc)16:54
xnoxyeah, i hope aptdaemon knows auto-remove action.16:55
infinityIf it doesn't, you could cheat and just fork apt-get.16:55

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