[00:39] cjwatson: is it too late to do a sync with debian? [00:39] http://packages.debian.org/sid/libluabind-dev [00:40] http://packages.ubuntu.com/search?keywords=libluabind-dev&searchon=names&suite=all§ion=all [00:40] the luabind in ubuntu is older [00:40] cjwatson: I don't know much about when those syncs happen [00:40] or how [09:13] ubiquity-slideshow-ubuntu: evand * r192 ubiquity-slideshow-ubuntu/ (8 files in 8 dirs): Bump release in welcome.html to 10.04. [09:13] ^ shtylman: fixed [09:16] shtylman: https://wiki.ubuntu.com/SyncRequestProcess [10:04] ubiquity: evand * r3728 plugins-conversion/debian/ubiquity.install-any: Add back accidentally removed partman_commit to debian/ubiquity.install-any. [11:17] ev_, hey, so i tested the debconf frontend yesterday on my minimally built rootfs [11:17] (talking about oem-config here) [11:18] okay [11:18] the system is a basic debootstrapped rootfs with a small amount of configuration (loopback interface, minimal fstab etc) but without user keyboard or timezone setup [11:18] the plan was to do these through oem-config which i preinstall by default [11:18] it runs fine ... but ... [11:19] it seems to forcefully go into tasksel at some point and tries to configure network etc and in the end it loops back to the beginning [11:19] though it apparently uses the settings i chose from debconf [11:20] i.e. the second run is in german, preseeds from the first run are set in the ui [11:20] am i missing something i.e. a preseed file that tells oem-config to actually write its stuff and remove itself ? [11:21] and how do i avoid the tasksel run === ev_ is now known as ev [11:22] oh, and on a sidenote installing the -gtk frontend pulls in fvwm1 by default (which is ok dpendency wise (metacity pulls in 300M of recommends) but didnt seem to run properly) [11:23] ogra: you can remove /usr/lib/ubiquity/plugins/ubi-network.py and /usr/lib/ubiquity/plugins/ubi-tasks.py if you don't need them. [11:24] does that also affect the debconf ui ? [11:24] yes [11:24] cool ! [11:24] i'll probably keep network for the time server stuff ... [11:24] just occurs to me it might be helpful :) [11:25] how do i tell it to actually write the configs to disk and restart ? [11:29] I'm confused as to what you're asking. Once oem-config gets to the install component, it writes the configuration you've selected to the disk. Please provide logs if it's not getting that far. [11:29] (/var/log/oem-config.log, /var/log/syslog) [11:30] ok, it might be qemu being at fault, i didnt test the whole thing on real HW yet ... will do that today and we'll see [11:30] the qemu arm kernel for arm we use has a weird hack to emulate a v7 CPU on HW thats actually not capable of doing so [11:30] that might have bad sideeffects [11:44] ubiquity: evand * r3729 plugins-conversion/ubiquity/components/ubi-partman.py: Fix partition create dialog. [12:16] ubiquity: evand * r3730 plugins-conversion/gui/gtk/ (stepPartAdvanced.ui stepReady.ui ubiquity.ui): Move alignments to the right place. [12:25] ubiquity: evand * r3731 plugins-conversion/gui/gtk/ (stepPartAdvanced.ui stepReady.ui): It is not necessary to disable the minimize button for GTK+ dialogs, as it is done so automatically. [13:50] cjwatson: thanks [16:59] ev, ok, finally got to test the thing on real HW, one obvious thing i see in the log (apart from locale errors) is: [16:59] grep: /target/etc/apt/sources.list: No such file or directory [16:59] indeed there is no /target dir on a oem system [16:59] don't worry about that one [16:59] there is a traceback directly below ... [16:59] * ogra pastes === michaelforrest1 is now known as michaelforrest [16:59] http://paste.ubuntu.com/372590/ [16:59] ev, ^^ [17:00] and after that the whole app restarts and i have to re-select everything again [17:01] (thats with network and tasksel bits removed btw [17:01] ) [17:01] ogra: ah, can you file a new bug with that, so I can look at it in earnest tomorrow? I have to leave shortly. [17:01] ok, will do, i just wanted to be sure its not me missing something [17:02] thanks [17:02] it's definitely a bug [17:02] since i dont use d-i to set up the system that could well be [17:02] ok [17:03] * ogra will try the gtk ui now ... and file bugs on the go if i see any [17:29] hmm, gtk even fails earlier, no log at all [17:29] seems like the DM doesnt come up [17:34] hmm, does oem-config-gtk essentially need an oem user being created in advance ? the code looks like its trying to start the -dm process with a username [17:34] yes [17:34] it assumes that that was created during installation [17:34] and indeed further that no ordinary user was created during installation [17:35] hmm, k, is there any documentation how to create this user ? [17:35] i wonder why the debconf frontend doesnt need it too ... [17:36] ogra: Look at oem-config-prepare [17:36] no, oem-config-prepare doesn't do it [17:36] * persia fails [17:36] right [17:36] thats only touching a file that upstart reads on next boot [17:36] i already create that file in rootstock [17:36] no docs that I know of - try 'sudo adduser --uid 29999 oem' [17:36] ok [17:38] any specific password ? [17:38] doesn't matter [17:38] k [17:38] * ogra treis to boot that [17:39] ev: how goes the plugin migration? [17:39] I'm confused about where the oem user is used right now, though [17:39] I can't actually find it dropping to that user any more [17:40] well, and i still see the same python backtrace on the screen [17:40] sadly it doesnt go into the log [17:40] hard to capture it ... [17:41] i think ubiquity-dm uses the user [17:41] maybe I just did that because you have to have *some* user created during installation [17:41] except it doesn't [17:41] we tell it 'root' as the username [17:41] oh [17:41] well, root exists with locked pw as it should be [17:41] what is the traceback? [17:42] let me try if i can capture it on a serial console [17:42] i dont have a separate monitor for my babbage so would have to actually write it down on paper and switch modes back and forth :) [17:43] the last couple of function names and line numbers, and the exception type would do [17:45] http://paste.ubuntu.com/372619/ [17:45] voila [17:45] :) [17:45] dm.run(*sys.argv[4:]) made me suspect the user [17:46] though its probably more related to OSError: [Errno 2] No such file or directory [17:48] no X server installed [17:48] urgh [17:48] you wouldn't normally run ubiquity-dm for debconf_ui [17:48] i installed metacity ... [17:48] and oem-config-firstboot doesn't run ubiquity-dm in the debconf_ui case [17:48] indeed i didnt check it doesnt pull in X [17:48] so if you're trying to use debconf_ui, you're Doing It Wrong somehow :) [17:48] yeah, indeed [17:48] i had debconf ui [17:49] that had a looping bug i just filed [17:49] and now wanted to try the gtk ui [17:49] oh silly me, sorry for wasting your time [17:49] * ogra installs xorg [17:49] fwiw oem-config bugs should go on ubiquity now [17:49] oh, ok [17:50] the new deps are horrid though ... i liked the old oem-config a lot more in that regard [17:51] oem-config-gtk pulls in fvwm1 by default if you dont specify a perticular WM ... not sure you consider that a bug [17:51] (i know i produce very special usecases here anyway) [17:54] oem-config used to have pretty similar dependencies; attributing this to the merge is wrong [17:54] things like crypto-disks ? [17:54] from before the merge: [17:54] Package: oem-config-gtk [17:54] Depends: ${shlibs:Depends}, ${python:Depends}, oem-config (= ${binary:Version}), xserver-xorg, python-gtk2, python-glade2, python-cairo, metacity [17:55] that looks a lot smaller to what i get [17:55] x-window-manager is just more generic; deal with it :) [17:55] yeah, i will indeed [17:55] encrypted disks: yes, that's true; I'd prefer the guts to be in ubiquity-common [17:56] i'm not sure yet i'll use the gtk-ui at all ... all i need is TZ/lang/kbd and user setup [17:56] that would make more sense in some ways [17:56] and it somehow feels bloated to pull in X for it by default [17:56] for your use case it's probably more sensible to use debconf_ui, once we fix it [17:56] OTOH its tricky to find out if the user wanted X or just a minimal debootstrap for his arm board [17:57] well, if X and a WM are there and all of oem-config is removed cleanly, why not use it ... but its painful to decide in advance when i bootstrap the system [17:58] I'd be happy for us to try to shrink oem-config down a bit, if it's useful to your team [17:58] it definately is [17:58] ogra: Can you use your tasksel interface to get a hint? If some -desktop or -netbook task is installed, use an X gui? [17:58] i think the usecase for armel stuff will move more and more to cross-rolled images built by OEMs [17:59] so the question in that bug you filed is why it's touching install.py at all; that's ubiquity-only code [17:59] persia, i could even put the install of oem-config till very late in the build and check if xorg and a WM are there [17:59] strikes me ... [17:59] hmm, i'll do exactly that :D [17:59] this is probably a regression introduced by superm1 converting Install to be a plugin [17:59] superm1: ^- [17:59] (bug 519398) [17:59] ogra: That's even better. You probably want to have some logic that does gtk/qt detection as well. [17:59] Launchpad bug 519398 in ubiquity "oem-config with debconf frontent goes into endless loop" [Undecided,New] https://launchpad.net/bugs/519398 [18:00] the approach taken by us in d-i is to select the oem-config frontend by preseeding [18:00] persia, yeah, thats easy, it just didnt occur to me that i could just run a second apt-get install after the rootfs is there and check whats installed [18:01] persia, so thanks for your question, it gave me the right idea :) [18:02] cjwatson, those changes were only made to gtk_ui [18:03] * ogra sees a oem-config screen \o/ [18:05] looks awful when unthemed but it seems to do its job ... [18:06] hmm, does it expect K/GDM to be there at the end ? [18:07] it just loops as well now [18:07] * ogra grabs the log [18:08] argh [18:08] it wipes the log on restart it seems [18:09] superm1: hmm [18:09] nothing useful in there [18:11] ah, sorry, looks like maybe a regression due to the big merge [18:12] I'm obviously confused, since Install *is* meant to be called in oem-config - it just does less [18:12] * cjwatson blames having a wriggling child in his lap [18:13] http://paste.ubuntu.com/372649/ is the log thats left over after gtk-ui restarted [18:14] seems its removed before the new startup [18:14] since i ran through all steps [18:14] but PROGRESS REGION obviously can't work with debconf_ui [18:15] I'll abstract that, I guess [18:15] will make the code clearer anyway [18:23] can we have a change to not delete the log with the next upload so i can get some erros msg more easily for you guys ? [18:38] ubiquity: cjwatson * r3746 ubiquity/ (debian/changelog scripts/install.py): Don't issue PROGRESS REGION command under debconf_ui (LP: #519398). [18:39] ogra: which log are you seeing being deleted? all the code I can find that writes to oem-config.log is careful to append [18:48] ogra: (if you answered, I missed it, sorry) [19:57] cjwatson, http://paste.ubuntu.com/372649/ has the full log after i went though a full oem-install-gtk run that restarted, thats after the restart and i would expect to simply have some more content in it [20:03] ogra: definitely not being erased - you can see that it has "Ubiquity 2.1.16 (oem-config) [20:03] " in there multiple times, which is only emitted at the start of a run [20:04] ah [20:04] ogra: you'll get more if you run in debug mode [20:04] well, then i wonder why its so empty [20:04] debconf is clearly more noisy [20:04] because you aren't running in debug mode :-) [20:04] yeah [20:04] understood [20:04] the last line is intresting though [20:05] given my HW doesnt deal with any grub stuff [20:05] fairly cosmetic, I'd expect [20:05] the code in question is run unconditionally [20:05] yes, likely, since thats at the start [20:05] i'll do some debug runs tomorrow [20:05] it doesn't imply that that bit of the UI is actually used [20:06] effectively it feels like it behaves the same as the debconf ui [20:06] is that a feature or a bug? :) [20:07] it seems to get a little further before restarting, but that might be caused by the separate progressbar that pops up [20:07] well, i mean the same in the way it restarts [20:07] :) [20:07] which would indeed be a bug [20:08] must be a different crash, since the one I just fixed is definitely specific to debconf_ui [20:09] exactly what command are you using to start it? [20:09] none, i boot the image [20:09] ok, and please confirm which log file you're looking at there? [20:10] in advance i run "touch /var/lib/oem-config/run" at the end of the image build [20:10] the log file is oem-config.log [20:10] in /var/log [20:10] so upstart starts it [20:10] please check if there's anything of interest in syslog [20:11] oh, a *lot* ! [20:19] hmm, it seems to try to run update-initramfs [20:19] http://paste.ubuntu.com/372712/ [20:20] but that doesnt seem to stop it ... [21:19] locking trouble? odd [21:26] ogra: is libc6-vfp gone for good? if so, there's an installer patch I can drop [21:29] ogra: configure_hardware might just be wrong for the oem-config case. I think running *some* of it is deliberate but it might need some thought ... [21:30] and certainly, anything that involves debconf access there by reconfigured packages can never have worked since the merge, since it doesn't go to the effort of setting up a throwaway db [21:30] cjwatson: hey, what more useful information can be provided here? https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/517797 [21:30] Ubuntu bug 517797 in ubiquity "apt does not time out during initial update" [Undecided,Incomplete] [21:31] i feel like it's pretty obvious what's going on [21:31] i can attach syslog but it just sounds like a waste of time [21:31] it's a regression from karmic and earlier, the same code still hangs on earlier releases but eventually times out, which is fine by me [21:34] joshk: gently larted bug triager and reassigned to apt [21:35] oh, and tagged regression-potential [21:37] nothing jumps out at me, mvo will have to look at this one [21:47] cjwatson: thank you! [21:47] yeah, 9.10 uses the same flag