/srv/irclogs.ubuntu.com/2011/09/19/#ubuntu-installer.txt

evstgraber: thanks for the ubiquity fixes!09:19
CIA-45ubiquity: evand * r4952 trunk/ (3 files in 3 dirs):11:34
CIA-45ubiquity: Manually connect the activate-link signal on the advanced11:34
CIA-45ubiquity: partitioning tool link on the automatic partitioning page.11:34
CIA-45ubiquity: GtkBuilder signal mapping appears to be broken (LP: #852054).11:34
stgrabercjwatson: hi! I was wondering, is there an easy way I can run netcfg in the exact same way d-i does without starting d-i entirely?14:14
cjwatsonnot really, I'm afraid14:14
cjwatsonnetcfg is quite close to the start of d-i though so it's not too time-consuming14:14
stgraberok, back to trying to get d-i to run in lxc then ;)14:15
cjwatsonyou need a debconf frontend in place, it probably relies on details of cdebconf, and I bet it isn't robust against all sorts of things only true in d-i14:15
=== bdmurray_ is now known as bdmurray
stgraberyeah! got d-i to start in an lxc container ;)14:57
stgraberand netcfg seems to work fine in there14:57
highvoltagehmm, that's interesting. so someone could install an lxc host like it's a VM?15:11
highvoltage*guest, that is15:11
stgraberwell, if you have a separate block device for the container, I guess it'd work yes15:14
stgraberin my case, I don't and I didn't allow the container to see any of my block devices, so I can install using iscsi on my iscsi server but that's about it ;)15:14
evI'm working on a fix for bug 837406, which actually appears to be the partitioning page's fault.  At the same time, I'm trying to construct a test to ensure that the installer window does not grow beyond the minimum netbook resolution we've set as the lower bound as we hit these sizing bugs multiple times a release, and I'd like to catch them a lot sooner :)15:33
ubot2Launchpad bug 837406 in ubiquity "installer dialogue buttons fall off bottom of the screen on netbooks with small displays" [High,In progress] https://launchpad.net/bugs/83740615:33
CIA-45debian-installer: cjwatson * r1532 ubuntu/ (57 files in 2 dirs): Update help text translations from Launchpad.15:43
CIA-45debian-installer: cjwatson * r1533 ubuntu/debian/changelog: releasing version 20101020ubuntu6415:45
cjwatsonev: do you have any notion about bug 848938?  I looked at it a bit on Friday, but I couldn't find documentation of the NM API we're using15:59
ubot2Launchpad bug 848938 in ubiquity ""Download updates" unavailable after connecting to WiFi" [Critical,New] https://launchpad.net/bugs/84893815:59
cjwatsonit's Critical and beta-2, so we need to either deal with it or explicitly defer it15:59
evhttp://projects.gnome.org/NetworkManager//developers/api/09/spec.html16:00
evI'll have a look after this page sizing stuff16:00
evshould be fairly straightforward16:01
evmight take the opportunity to better handle online/offline globally within ubiquity while I'm there16:01
cjwatsonaha.  great, thanks16:01
cjwatsonif you don't do an upload before you finish today, BTW, please let me know whether there's anything blocking me doing one, since I expect beta-2 CD builds to start tomorrow morning16:02
CIA-45ubiquity: cjwatson * r4955 trunk/debian/changelog: typo16:03
evcjwatson: will do, thanks16:03
stgrabercjwatson: http://www.stgraber.org/download/installer01.tar.gz if you unpack that in /var/lib/lxc, then run rebuild.sh from /var/lib/lxc/installer01 and finally run lxc-start -n installer01, you'll get d-i running in a container17:15
stgrabercjwatson: everything seems to work fine as long as you don't try to partition anything (as the container isn't allowed access to block devices)17:15
cjwatsonwhat's in that tarball?17:16
stgraberLXC config, a replacement init script, an initrd.gz from the installer (guess I could just have left a link to archive.u.c for that one), a preseed file and a script that unpacks the initrd and converts it into a container17:17
stgraberrebuild.sh basically unpacks the initrd into the rootfs directory (root of the container), then replaces /sbin/init by a script that tweaks the environment to simulate what we usually have on a cd and copies a preseed file to the / of the container17:18
stgraberlxc-start then simply starts that container showing you d-i executing the preseed. calling "lxc-stop -n installer01" from another shell is currently the only safe way of killing the container (reboot/halt don't work at the moment)17:19
cjwatsonmight be worth a target in debian-installer/build/Makefile to build it17:23
cjwatsonor debian-installer/build/config/x86.cfg or whatever's appropriate17:23
cjwatsongrabbed, thanks, may have a look at some point :)17:24
CIA-45ubiquity: evand * r4956 trunk/ (4 files in 4 dirs):17:28
CIA-45ubiquity: The first partitioning page does not translate its options ahead of17:28
CIA-45ubiquity: time, so ensure that the placeholder text isn't so long as to create17:28
CIA-45ubiquity: the installer window to grow excessively large before partitioning17:28
CIA-45ubiquity: is reached (LP: #837406).17:28
stgraberoh, that was the problem, interesting17:31
CIA-45ubiquity: evand * r4957 trunk/ (3 files in 3 dirs):17:59
CIA-45ubiquity: Use the new network-manager interface on the prepare page to disable17:59
CIA-45ubiquity: options that need an Internet connection when one is not available17:59
CIA-45ubiquity: (LP: #848938).17:59
CIA-45ubiquity: evand * r4958 trunk/ (151 files in 3 dirs): Update translations from Launchpad.18:24
CIA-45ubiquity: evand * r4959 trunk/ (d-i/manifest debian/changelog):18:26
CIA-45ubiquity: Automatic update of included source packages: flash-kernel18:26
CIA-45ubiquity: 2.28ubuntu32.18:26
evflash-kernel is busted, uploading a fix now18:30
evubiquity's shell syntax checker caught it (yay)18:30
CIA-45ubiquity: evand * r4960 trunk/ (d-i/manifest debian/changelog): Update to fixed flash-kernel.18:37
CIA-45ubiquity: evand * r4961 trunk/tests/pyflakes.exclude: ignore unused import in tests/test_ubi_partman. It's needed by GtkBuilder.18:39
stgrabercjwatson: I'm finally doing some ipv6 tests with d-i. I'm getting a permission denied on dhcpv6-info as it's 644 instead of 755, I'm guessing that's a bug? :)18:48
stgraber(result is no working ipv6 when using dhcpv6 at least)18:49
cjwatsonoops18:49
CIA-45netcfg: cjwatson * r1270 ubuntu/ (debian/changelog print-dhcp6c-info print-dhcpv6-info): Make print-dhcp6c-info and print-dhcpv6-info executable.18:53
stgrabercjwatson: when making them executable before starting netcfg, dhclient seems to run just fine but after that I still don't have an IPv6 address on the interface or DNS config in /etc/resolv.conf18:53
stgrabercjwatson: though all the details are correct in /var/lib/dhcp/dhclient6.leases18:53
stgrabersyslog: http://paste.ubuntu.com/693245/18:55
cjwatsonle sigh18:55
stgraberdhclient6.leases: http://paste.ubuntu.com/693246/18:55
stgraberdhclient.leases: http://paste.ubuntu.com/693249/18:56
stgraberresolv.conf: http://paste.ubuntu.com/693250/18:56
cjwatsonhm, the syslog looks plausible enough18:57
cjwatsonthis usually requires strace18:58
CIA-45netcfg: cjwatson * r1271 ubuntu/debian/changelog: releasing version 1.68ubuntu318:58
cjwatsonlast time I saw this it was the DHCP client tearing stuff down, but I thought I'd fixed that18:58
stgraberlet me see if I can get the same happening in a container (that was in a VM), if I do, strace/gdb/whatever will be extremely easy :)18:59
cjwatsonheh, yeah, though strace in d-i is easy enough19:00
cjwatsonanna-install strace-udeb19:00
cjwatsonor anna/choose_modules=strace-udeb as a boot parameter19:00
CIA-45ubiquity: evand * r4962 trunk/debian/changelog: releasing version 2.7.3019:00
evright, home. Text me if the world catches fire.19:00
cjwatsonk19:01
cjwatsonthanks19:01
stgrabercjwatson: http://paste.ubuntu.com/693257/ (strace -fF of netcfg)19:06
cjwatsonhmm, I misread the syslog anyway, print-dhcp6c-info apparently didn't print anything19:08
cjwatson... or even print-dhcpv6-info19:08
cjwatsonstgraber: I could use -v on strace as well19:09
cjwatsonwhere the heck did my CD-RWs go?  having to use a DVD-RW and it takes forever to blank19:10
stgrabercjwatson: with -v http://paste.ubuntu.com/693261/19:10
cjwatson14733 execve("/lib/netcfg/print-dhcpv6-info", ["/lib/netcfg/print-dhcpv6-info"], ["pid=14732", "reason=PREINIT6", "interface=eth0", "/build/buildd/isc-dhcp-4.1.1-P1/"...]) = 019:11
cjwatsonwonder if that's truncated19:11
stgrabercjwatson: I'm guessing print-dhcpv6-info isn't supposed to print "end" before printing useful stuff?19:12
cjwatsonwould sort of expect stuff like PATH19:13
cjwatsonit prints end at the end19:13
stgraberwell, for me it prints it at the beginning and at the end19:13
cjwatsonit's the last line in the script ...19:13
cjwatsonand your strace doesn't show it printing anything else19:13
stgraberrunning: "dhclient -6 -cf /varlib/netcfg/dhclient6.conf -sf /lib/netcfg/print-dhcpv6-info" gives me: http://paste.ubuntu.com/693263/19:14
cjwatsonARGH.  accidentally SIGQUITting dvd+rw-format is NOT GOOD19:14
cjwatsonone coaster19:14
cjwatsonin fact one unejectable coaster, eek19:14
cjwatsonoh, it's still running in the background I think19:15
cjwatsonhate hardware19:15
cjwatsonoh, that's interesting, it runs print-dhcpv6-info twice19:16
cjwatsonI think print-dhcpv6-info needs to check $reason19:16
cjwatsontry http://paste.ubuntu.com/693267/ ?19:17
stgraberok, I only see it run once now, though I still don't get an IP on eth0 and resolv.conf still only has ipv4 dns servers19:20
cjwatsoncan I have an updated strace?19:21
stgrabercjwatson: http://paste.ubuntu.com/693273/19:21
* stgraber needs to make a udeb for pastebinit (though that probably means porting it to C ;))19:22
CIA-45netcfg: cjwatson * r1272 ubuntu/ (debian/changelog print-dhcpv6-info):19:22
CIA-45netcfg: print-dhcpv6-info: Exit immediately if reason is not BOUND6, RENEW6, or19:22
CIA-45netcfg: REBIND6.19:22
cjwatsonurgh, truncated strings19:26
cjwatsonstgraber: (a) for subsequent straces could I have -s1024 as well (b) could I have an updated syslog?19:26
cjwatsonsilly strace defaults19:26
cjwatson14921 sendto(7, "<15>Sep 19 19:20:59 netcfg[14921"..., 84, MSG_NOSIGNAL, NULL, 0) = 8419:26
cjwatson^- tantalising19:26
stgrabercjwatson: http://paste.ubuntu.com/693275/ (I wiped the syslog just before my last netcfg test)19:27
CIA-45netcfg: cjwatson * r1273 ubuntu/ (autoconfig.c debian/changelog):19:28
CIA-45netcfg: Don't bother unlinking /var/lib/netcfg/dhcp6c-finished unless we're19:28
CIA-45netcfg: using dhcp6c.19:28
cjwatsonSep 19 19:21:06 main-menu[332]: (process:14919): ip: RTNETLINK answers: File exists19:29
cjwatsonhmm, may not be relevant19:29
stgrabercjwatson: new strace http://paste.ubuntu.com/693278/19:29
cjwatsonwait, with ISC-DHCP the dhclient-script is meant to *actually bring the interface up* isn't it?19:29
cjwatsonI think WIDE was entirely different19:30
cjwatsonthat would explainn the lack of IPv6 address but not the lack of IPv6 nameservers19:30
stgraberoh, indeed. Just ran dhclient with the -sf and everything got set just fine (now to reset everything so we can still debug ;))19:31
cjwatsonoh, in fact with ISC, dhclient-script deals with resolv.conf as well19:31
cjwatsonsigh19:31
cjwatsonI suspect this may not have worked properly with WIDE either :-/19:32
cjwatsonhowever, it's not very obvious what to do if both DHCPv6 and DHCPv4 give us nameservers19:35
cjwatsonthe stock dhclient-script keeps nameservers from only the second one to run19:35
cjwatsonthough isc's udeb script could use some improvements on that front19:36
stgraberideally you'd also like to handle the case where you get 3 DNS servers from either dhcpv4 or dhcpv6 so that the first 3 nameserver entries in resolv.conf contain a mix of ipv4 and ipv619:37
cjwatsonso I guess we want http://paste.ubuntu.com/693284/ in netcfg and http://paste.ubuntu.com/693285/ in isc-dhcp, at least to start with19:42
cjwatsonit doesn't handle combining results from the two, but it should be better than what we have now19:42
stgraberyeah, I guess that'd be a good start. Can you paste the complete files so I can copy them to my VM for testing?19:43
cjwatsonand is closer to the current main dhclient-script19:46
cjwatson(I couldn't bear to copy the horrible sed thing, and I doubt it would work with busybox sed anyway.  grep -i is much simpler)19:46
stgraberyeah, I also noticed that d-i's busybox doesn't have an ipv6 aware version of ping, doesn't really help for automated testing :) at least netcat seems fine19:47
cjwatsonhttp://paste.ubuntu.com/693290/19:47
cjwatsonhttp://paste.ubuntu.com/693291/19:47
cjwatsonnetcfg and isc-dhcp respectively19:47
stgraberok, I have an IPv6! and resolv.conf is the one received from dhcpv419:52
cjwatsonwhee.  that's the best we'll manage for beta-2 IMO19:53
cjwatsonanything else that should be rolled in at the same time?19:53
stgraberif you can wait 10 more minutes, I can quickly test all my testcases on that patched netcfg19:53
cjwatsonok, sure19:54
cjwatsonI'll go downstairs then, back in a while19:54
stgrabercjwatson: http://paste.ubuntu.com/693299/20:04
stgrabercjwatson: so only problem I saw happening (just once) was eth0 being brought down by something20:05
stgrabertrying a v6-only install now to make sure there isn't something else horribly broken later in the installer20:09
CIA-45ubiquity: evand * r4963 ubiquity/ (d-i/update-control debian/changelog debian/control): Build-depend on the GTK3 version of libindicator.20:19
stgraberyeah, got ubuntu server to install on a v6-only network! will have to try again once we have these fixes in a new netcfg as that VM is far from clean ;)20:22
cjwatsonOK, that sounds a hell of a lot better than the prior state, so I'll go ahead and upload that lot20:39
cjwatsonthanks!20:39
CIA-45netcfg: cjwatson * r1274 ubuntu/ (debian/changelog print-dhcpv6-info):20:39
CIA-45netcfg: print-dhcpv6-info: Actually apply IPv6 address and resolv.conf entries20:39
CIA-45netcfg: received from the DHCPv6 server.20:39
CIA-45netcfg: cjwatson * r1275 ubuntu/debian/changelog: releasing version 1.68ubuntu420:42
CIA-45apt-setup: cjwatson * r222 ubuntu/debian/ (changelog control):21:03
CIA-45apt-setup: Make apt-setup-udeb Architecture: any so that we can use different21:03
CIA-45apt-setup: multiarch defaults on different architectures.21:03
CIA-45apt-setup: cjwatson * r223 ubuntu/debian/changelog: last commit fixes LP: #85373821:05
CIA-45apt-setup: cjwatson * r224 ubuntu/debian/changelog: releasing version 1:0.49ubuntu821:06
infinityAnyone fixing the ubiquity FTBFS?21:42
infinityI'll take that as a "no, please fix".21:43
infinityOr..21:45
infinityev: You already have a fix comitted?21:45
infinityev: Is that being tested and uploaded?21:45
CIA-45apt-setup: cjwatson * r225 ubuntu/debian/ (changelog rules): Fix non-i386 builds.22:19
CIA-45apt-setup: cjwatson * r226 ubuntu/debian/changelog: releasing version 1:0.49ubuntu922:20
cjwatsoninfinity: 20:00 <ev> right, home. Text me if the world catches fire.22:20
cjwatson(3h20m ago)22:20
infinitycjwatson: Ahh, I wasn't in the channel to see that.22:21
cjwatsoninfinity: can you pastebin the test failure?22:21
cjwatsonyeah, I noticed you joined later22:21
infinitycjwatson: Though, you'd think he was aware of the FTBFS, since he committed a fix.22:21
cjwatsonmaybe he didn't notice the subsequent failure22:21
infinityAnd I think I closed that terminal...  It's been a long day.22:22
infinityIs there a make target to run the testsuite?22:23
infinityAhh, tests.22:23
infinityI think.22:23
cjwatson'debian/rules tests', I think, although I can't vouch for its dependencies22:23
cjwatsonlook not too bad22:24
infinityhttp://lucifer.0c3.net/~adconrad/tests.log22:25
infinityJust looks like a seriously self-hating testsuite.22:26
cjwatsonhm, mysterious22:38
* cjwatson fires at pbuilder22:38
cjwatsonI mean it basically means some bit early on fell over, but not clear what22:38
infinityI blame... Everything.22:39
infinityPeople shouldn't be expected to think on Monday.22:39
cjwatsonthat's OK, most people don't22:41
infinity*rimshot*22:42
cjwatsongrr.  $ sudo pbuilder --update22:43
* cjwatson yawns22:43
cjwatsoninfinity: OK, I think I remember how to fix this kind of thing23:12
* cjwatson cargo-cults code to mock plugin methods23:18
CIA-45ubiquity: cjwatson * r4964 trunk/ (4 files in 4 dirs):23:58
CIA-45ubiquity: Move setup_power_watch out of the ubi-prepare plugin into a new23:58
CIA-45ubiquity: ubiquity.upower module, allowing us to patch it out more easily while23:58
CIA-45ubiquity: running tests. Patch ubiquity.nm.add_connection_watch and23:58
CIA-45ubiquity: ubiquity.nm.has_connection in the GTK frontend tests as well.23:58

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