[00:22] debian-installer: cjwatson * r868 ubuntu/ (build/config/powerpc.cfg debian/changelog): [00:22] debian-installer: * Drop powerpc/cell subarchitecture at least for now, as the kernel no [00:22] debian-installer: longer builds it. [00:32] console-setup: cjwatson * r39 ubuntu/debian/changelog: releasing version 1.19ubuntu2 [01:11] :q [01:11] whoops [01:44] I'm trying to do "d-i preseed/include string common.cfg" to put common bits (like the locale) across Gutsy and Etch in a separate .cfg file. [01:44] d-i fails to fetch common.cfg, is it because after setting mirror/http/proxy it uses the proxy for the preseed files, too? [01:47] newsflash! It does use the proxy [01:48] Can I use d-i apt-setup/something to set the proxy *only* for apt-get, (well, and anna-install)? [01:48] Or, can I set a no_proxy variable? [09:21] hi :) [10:10] okay :) [10:10] I managed to start ubuntu 7.10 by pxe / nf [10:10] nfs [10:11] all what's needed is to disable network manager launch by dbus [10:11] because it causes network connection reset [10:11] and thus, break the / [10:18] but there's still something I don't like [10:18] with the livecd, I get a gnome session [10:18] with the pxe/nfs boot, I get gdm login screen [10:19] do you know what's the problem could be ? [10:20] are you sure it's set up a tmpfs correctly? [10:20] the code that sets up autologin doesn't look like it should care whether it's booting from CD or net [10:20] tmpfs for what ? [10:20] but it will need to write to /etc/gdm/gdm.conf ... [10:21] as in, the root filesystem should have ended up as a unionfs containing the read-only squashfs plus a writable tmpfs [10:21] yes... that's not the case [10:21] here is how it works for now [10:22] boot with root=/dev/nfs nfsroot=/path/to/squash/nfs/export ip=dhcp [10:22] so casper is not used at all [10:22] so now unionfs [10:22] well that won't work [10:22] you have to have casper involved :) [10:22] I guess I'll have to do this by hand [10:23] it's not possible to boot an Ubuntu live session without either casper or a reinvention of casper [10:23] mmmh [10:23] so what's the right way ? [10:23] find something a casper'ized initrd ? [10:23] well, I sketched it yesterday [10:23] what went wrong? [10:24] dunno, I'm trying to figure out how to use casper for now :p [10:24] you should be using /casper/vmlinuz and /casper/initrd.gz from the live CD as the starting point [10:25] replace ubuntu stock kernel by the livecd one [10:25] and pass NETBOOT=nfs NFSROOT=server:/path on the kernel command line [10:25] * Le_Vert_ 's giving a try [10:25] what's to replace? they're the same [10:25] it's the initrd that's special [10:25] yes and I'm not using the right one :) [10:25] my kernel/initrd are not using casper at all [10:25] like I say, I'm sure the above won't be perfect and there'll be some things to fix, but it's the way to start [10:25] so I'll just replace them by the livecd one and check if it works better [10:26] ah, well that would be a problem yes :) [10:27] casper isn't particularly deep magic or anything, but it does do stuff like creating a live session user, setting up autologin, disabling some stuff that doesn't make sense in a live session ... [10:28] if you're netbooting, casper will put a 'static' entry in /etc/network/interfaces, which should have the effect of disabling network-manager [10:28] s/static/manual [10:30] that worked better with the ubuntu stock kernel :p [10:31] initrd doesn't initiliaze the network card [10:32] my point is not that this will work directly but that once you get it working you will not have stupid niggling issues like network-manager and autologin [10:32] and again, the kernels are bit-for-bit identical [10:33] hmm, it seems to try to use busybox ipconfig [10:33] is the network device there at all and just not being DHCPed, or is it totally missing (e.g. relevant kernel module not loaded)? [10:33] eth0: linkup [10:34] then drop me to a busybox initrd shell [10:34] (no /sbin/init) [10:34] can't see and dhcp request [10:34] what happens if you do 'ipconfig eth0' from there? [10:34] actually, first, what's in /netboot.config? [10:34] err that's strange [10:34] ifconfig show me eth0 is okay [10:34] ipconfig [10:35] that was NOT a typo [10:35] and even mount show nfsroot has been mounted to /root/cdrom [10:35] hmm, ok [10:35] /casper.log please? [10:35] (and I can read /root/cdrom) [10:35] ok, so that's a good start [10:36] full of no such file or directory [10:36] (casper.log) [10:41] got it :) [10:42] got it [10:42] !! [10:42] :) [10:43] You really want to export the iso mounted, not the squashfs image [10:54] sorry, had to clean up after the dog (don't ask) [10:54] yes, you're quite right - sorry about that, my mistake :-/ [11:04] no problem [11:04] you ware really nice to help me through this success :) [11:23] wow, did it just work after that? [11:24] I've created https://wiki.ubuntu.com/LiveCDNetboot as a starting point for documenting this [12:44] yes cjwatson [12:44] it does work :) [12:44] I just made an initial pressed config based on evand one [12:45] ps: no need to copy, mounting the iso as loop is enough [12:45] you have to pass boot=casper too [12:45] (kernel parameter) [12:47] however ubiquity failed (partman broke) [12:47] ok, made those changes. I think for some people copying will be more convenient as then they won't have to arrange for the ISO to be loop-mounted on every boot [12:48] are you sure ubiquity can be partially presseded ? [12:48] (direct loop-mounting is less worrying if squashfs isn't involved) [12:48] Le_Vert_: please show me (a) preseed file with passwords removed (b) /var/log/syslog [12:49] yes, I am sure it can be partially preseeded; but not all combinations will necessarily work :-) and you might be running into some other problem [12:49] http://paste.ubuntu.com/3472/ [12:49] (ps: you can add quiet slash as kernel parameters too ;)) [12:49] slash? [12:49] oh, splash [12:49] this presseed file is supposed to do everything, except disk partitionning and user account creation [12:50] (yes splash, sorry) [12:50] (and I guess root should be exported with no_root_squash) [12:50] (I didn't give a try without this option but I bet it will fail) [12:51] yeah [12:52] preseed file looks fine, need syslog [12:52] yep but I can't get a shell :D [12:53] I'm pretty sure ctrl+alt+fX in vmware is ctrl+fX or alt+fX [12:53] but none drop me to a console tty [12:53] :/ [12:53] ctrl-alt-shift-f1 [12:53] or ctrl-alt-space ctrl-alt-f1 [12:54] err I'm so stupid sometimes [12:54] syslog on the way.... [12:54] alternatively, cancelling the installer should drop you into a normal session [12:55] it doesn't [12:55] (probably because of auto-ubiquity kernel parameter) [12:56] for testing purposes I'd advise launching the installer manually from a shell [12:56] it'll get rather tedious otherwise [12:56] ubiquity --automatic [12:57] http://paste.ubuntu.com/3474/ [12:57] looks like being a floppy issue [12:58] but none is defined in the vmware virtual computer [12:58] red herring [12:58] ? [12:59] not a floppy issue, that just happens to be adjacent in the logs [12:59] hmm [13:00] File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 1122, in watch_debconf_fd_helper < fd_helper = floopy disk helper ? [13:00] could you run parted and see if it recognises the disk? [13:00] fd => file descriptor. Forget about floppies. They are not relevant to this. [13:00] okay :) [13:01] (you might need to run parted as root to let it poke at partition tables) [13:02] parted read the disk successfully [13:02] it's a debian etch installation on it [13:02] with ext3/swap/xfs filesystems [13:02] fdisk read it too [13:03] ok, could you reboot without auto-ubiquity, run 'ubiquity --automatic --debug' from a shell, reproduce, and get /var/log/installer/debug? [13:03] off course I do ;) [13:03] minute... [13:04] another feature request... [13:04] could you please add console-data into the cd root ? [13:04] that would be really great if azerty keyboard owner could use loadkeys :p [13:05] console-data is obsolete [13:05] (in Ubuntu) [13:05] bug 83487 is scheduled to be fixed in hardy [13:05] Launchpad bug 83487 in console-setup "old-style loadkeys invocations no longer work" [Low,Confirmed] https://launchpad.net/bugs/83487 [13:06] okay :) [13:06] I'd suggest putting console-setup/layoutcode=fr on the kernel command line for the time being [13:07] okay :) [13:07] starting ubiquity in debug mode.... [13:10] http://www.le-vert.net/divers/debug [13:16] no clue ? [13:17] evand: ^-- looks like the seen flag hack has some problems with partman - maybe we need to avoid questions being accidentally marked as seen when they're never presented to the user? [13:17] Le_Vert_: right, while partial preseeding should *in general* work, looks like it has some problems in this specific case [13:18] sounds bad [13:18] I may pressed the question as not seed ? [13:18] s/seed/seen/ [13:18] no, it's getting marked that way due to internal actions [13:20] but that internal process may be overriden by a user preseed ? [13:22] no [13:23] it's a bg [13:23] bug [13:23] ubiquity uses d-i as much as possible in order to reduce the amount of code duplication involved [13:24] but the UI models are quite different, and resolving those differences can be difficult in some places [13:24] this is one of those places [13:24] okay.... [13:25] so no preseed [13:25] or all preseed [13:27] could you please report this bug and add me as 'cc' ? [13:27] gandalf@le-vert.net [13:29] I think things other than partitioning should work OK if partially preseeded [13:29] it's just that the partitioner is weird, as always :-/ [13:29] you're launchpad.net/~gandalf-le-vert? [13:29] yes [13:30] I never created an account there [13:30] I think it got imported from debian [13:30] cause I have some packages there :) [13:30] :-) [13:34] i'm not really aware of the ubuntu specific stuff [13:34] like launchpad and ubiquity [13:34] that's why I think you'll be a really better bug reporter ;) [13:37] bug 182004 [13:37] Launchpad bug 182004 in ubiquity "partitioner fails if partially preseeded due to seen flag madness" [Undecided,New] https://launchpad.net/bugs/182004 [13:57] thanks :) [13:57] I'll just have to wait that evand fix this bug :p [14:22] hooray. I'll look into it after I release a new ubiquity. cjwatson, do you mind if I release a new oem-config as well? [14:27] go ahead [14:27] ok [14:37] ubiquity: evand * r2403 ubiquity/ (d-i/manifest debian/changelog): [14:37] ubiquity: * Automatic update of included source packages: console-setup [14:37] ubiquity: 1.19ubuntu2, partman-auto-loop 0ubuntu12. [14:51] evand: do you think the fix will be backportable to 7.10 ? [14:53] We don't backport new releases of ubiquity, but I suspect the patch will apply cleanly to 7.10. [14:56] okay... [14:56] ubiquity: evand * r2404 ubiquity/debian/changelog: releasing version 1.7.3 [14:56] then I'll backport the fix to ubiquity package or just apply the diff against the ubiquity binary directly :) [14:57] I'll see [14:58] To clarify, we don't make new releases of ubiquity for older versions of Ubuntu because nothing updates the installer from the archive before running, nor do we release new CDs (LTS aside). [14:58] But yes, I imagine it wont be hard to give you an updated deb. [14:58] Sorry about the lack of clarity on that. [14:59] that sounds great ;) [15:00] any estimated ETA for the fix ? [15:00] I'd go ahead with that project asap ;) [15:00] honestly, no idea. I've read through your conversation with cjwatson, but I have not had a chance to take a hard look at the problem yet. [15:02] just boot the ubiquity with the preseed file attached, and the bug will appear :) [15:03] heh, indeed [15:03] anyway, thanks a lot to all d-i team for your help :) [15:05] you're welcome [15:42] ubiquity: evand * r2405 ubiquity/ (configure configure.ac): bump to 1.7.4 [16:00] oem-config: evand * r394 oem-config/ (aclocal.m4 d-i/manifest debian/changelog): [16:00] oem-config: * Automatic update of included source packages: console-setup [16:00] oem-config: 1.19ubuntu2. [16:12] oem-config: evand * r395 oem-config/debian/changelog: releasing version 1.25 [16:23] uh oh [16:25] ? [16:25] cjwatson: I missed that configure{|.ac} was at 1.24 and didn't bump it to 1.25 with that upload. I'm not sure what the correct path is here. Should I just upload 1.26 with the correct versioning? [16:25] it's not critically important [16:25] just bump it in bzr [16:25] ok [16:25] I imagine nobody else will notice [16:26] it just affects --help and --version, possibly even only for ./configure [16:26] ah, fantastic [16:26] I'd actually prefer autoconf to suck it out of debian/changelog automatically, and I did try to implement that once, but it wasn't working very well [16:26] I might try it again at some point [16:31] hm, that would be quite neat [16:34] oem-config: evand * r396 oem-config/ (configure configure.ac): Bump to 1.26 [17:44] evand hi [17:44] evand hi [17:44] hi xivulon [17:44] did you have any chance to start tackling the patches? [17:45] xivulon: I looked them over and they appear to be fine. I'll start merging them in today. [17:46] I'll try to be on chat/jabber in case you have question [17:46] s [17:47] a few upstream patches are duplicated in lupin-support [17:47] ok. Worst case scenario, if I can't reach you and have a question, I'll just email you and hold off on that particular patch. [17:47] oh, you needed this by the weekend though, right? [17:47] that will need to be cleaned up, after the first round of marges [17:47] ideally yes, so I can try to play with wubi over the w/e [17:48] ok [17:48] thanks a lot [17:49] you're welcome [17:53] To make things easier you can work in this order [17:53] 1) merge ~ago/partman-auto-loop/lupin-support with partman-auto-loop [17:53] that takes care of 4 separate bug reports [17:54] 2) use the new lupin/hardy branch (no need to spend too much time over lupin-support since that will be put on diet) [17:55] that affects 2 packages lupin/casper and lupin-support [17:57] 3) grub patches: 181658 175772 [17:58] 4) init.d patches 151579 181669 [17:59] 5) poke mjg59 over 176112 [18:00] 6) poke steve over 140458 [18:00] ROOTFSTYPE and LOOPFSTYPE would be set if those options were passed. [18:00] but it seems reasonable to do the pidofs regardless. I've reassigned that bug to the correct package. [18:01] thanks [18:01] I really doubt 176112 is going to happen. I think you get to live with suspend-to-ram not working [18:01] at least I wouldn't rely on it being fixed [18:01] :( [18:02] my guess is that there is a similar situation to the one we fixed with sendsigs.omit [18:03] whereby fuse/ntfs-3g are stopped too early [18:03] suspending to RAM doesn't unmount filesystems or kill processes [18:04] do not know how it works internally, but I guess it must somehow freeze current processes to get a memory snapshot [18:05] (well, it kills *some* processes like dhclient, but not these ones) [18:08] suspend-to-RAM doesn't take a memory snapshot [18:08] it turns off devices and puts the CPU into a low-power state [18:08] you're thinking of suspend-to-disk (a.k.a. hibernate) [18:10] you are right [18:10] you are right [18:11] which mjg59 seems to think is broken anyway [18:12] I thought I remembered something matthew said about the "ordering" with which things were processed [18:12] hibernation has additional problems, in that on top of fuse, has to work with swap on a file [19:31] cjwatson: Do you have any thoughts on bug 177868? Specifically, I'm concerned about having to pull in a format script for every filesystem we want to work with. Then again, I don't see that being much of a problem as we only really care about ext3. [19:31] Launchpad bug 177868 in wubi "When loopfiles are used mkfs has to target the file and not the containing device" [Low,Fix committed] https://launchpad.net/bugs/177868 [19:36] evand: I think unfortunately we are going to have to modify all the partman-* filesystem implementations; it's annoying but hard to avoid [19:37] evand: the patch there is wrong though [19:37] evand: there's no reason to run losetup; the loop device is saved in the 'loop' file mentioned there precisely so that things that partman-ext3 can get at it [19:37] so it should just check for the loop file and use its contents [19:38] yeah, I thought the first bit might be an option, but I wasn't sure if you wanted to keep them clean of this. [19:38] ok [19:38] preferably, it should arrange to set $device to the loop device name so that you don't have to duplicate the mkfs.ext3 code [19:39] I *want* to keep them clean of this, but I'm not sure we can :-/ [19:39] heh [19:39] indeed [19:39] having the filesystem implementations out of sync in that kind of way is bad mojo [19:39] yeah, I figured as much [21:19] cjwatson: if you have a free moment, can you give this a quick look over: http://pastebin.ubuntu.com/3488/ . Always forcing isn't going to break some case that I haven't considered, will it? [21:21] hm, that's a silly question. Nevermind then. [21:25] evand: I *think* that's OK, but if you're worried, you could do force=-F inside the first if and then pass $force (without double-quotes) to mkfs.ext3 [21:26] ah, good point [21:33] ugh, I just made a mess by not realizing that we had synced the last few versions of partman-ext3 [21:33] * evand goes to unbreak things [21:52] do you prefer that I clean-up lupin-support now? [21:53] since it contains some of the upstream-patches [21:56] sure, if you so desire. [22:43] done but cannot connect to launchpad [23:02] evand lupin/hardy rev 79 [23:18] ok, thanks