/srv/irclogs.ubuntu.com/2010/05/25/#ubuntu-installer.txt

jetoleDoes anyone know how I can set a random hostname in preseed?00:51
ted_um00:54
ted_you could certainly do it in a script00:54
jetoleted_: where/how would I get the script to work with preseed?01:26
jetolebrb01:29
jetoleok, sorry about that. Had to tweak my irssi and figured it was a good time to switch to freenode over ssl01:39
CIA-3debian-installer: cjwatson * r1299 ubuntu/ (8 files in 2 dirs): Remove multiarch (amd64-on-i386) syslinux configuration files.11:13
CIA-3debian-installer: cjwatson * r1300 ubuntu/ (build/util/syslinux-cfgs debian/changelog):12:15
CIA-3debian-installer: Don't install separate desktop syslinux configuration files; we don't12:15
CIA-3debian-installer: use them in Ubuntu.12:15
CIA-3debian-installer: cjwatson * r1301 ubuntu/debian/changelog: releasing version 20100211ubuntu112:21
cjwatsonjust, you know, for the avoidance of doubt: this is going to break12:21
ografun12:22
cjwatson... and there we go, a build failure.  odd, I tested on i38612:34
cjwatsongod, library reduction12:34
* cjwatson prepares to dive down the rabbit-hole12:34
eagles0513875hey guys has anyone else had issues with ubiquity on kubuntu lucid where you get an errorno5 input/output error on the live cd net install as well as the alternate cd? the ubuntu server installer works just fine. i would like to help the developers get this fixed in lucid as well as for maverick12:55
cjwatsoninput/output error almost invariably means a physical problem with the CD or the drive.12:59
cjwatsonit's a very low-level problem and not an issue with the installer.12:59
eagles0513875cjwatson: then can you explain to me why wiht ubuntu-server i dont have that issue12:59
cjwatsonthe fact that you see it on one image but not another is essentially coincidence; remember that the server installer uses a lot less of the CD than the other images do12:59
eagles0513875ok13:00
cjwatsonso it might be expected not to encounter as many problems13:00
cjwatsonit's not impossible that it's a bug in the kernel's CD driver, but the probability is that it's a physical problem13:00
eagles0513875cjwatson: even same issue with a live usb13:01
eagles0513875im also starting to wonder if the capacity of my drive has something to do with it13:01
cjwatsonI don't know what that might be13:01
cjwatsonhere's the definition of that error code from the libc manual:13:01
cjwatson -- Macro: int EIO13:01
cjwatson     Input/output error; usually used for physical read or write errors.13:01
cjwatsonit's basically never an application bug, anyway13:02
eagles0513875cjwatson: whats funny is im not even using a cd to install lucid on this vm but an iso13:02
cjwatsoncould be a bug in the virtualiser, or an underlying I/O error on your hard disk that's being shown through to the VM13:02
eagles0513875thing is i bet if i were to install ubuntu server that problem would disappear though13:03
eagles0513875and the drive isnt too old13:03
eagles0513875could it be a possibilty of bad ram13:03
cjwatsonsorry, I've given all the help I can - if you're seeing unexplained EIO errors in a virtualisation environment then I suggest treating it as a possible bug in the virtualiser and going from there13:04
cjwatsoni.e. working with people who know about the virtualisation system in question13:04
eagles0513875cjwatson: thing is this happened to me on this desktop unvirtualized13:05
cjwatsonfrankly sounds like you have several different problems that are coming out with the same symptoms13:05
cjwatsonbut that's just a guess13:05
cjwatsonall I can say is that there's basically no way EIO can be caused by an installer bug13:05
eagles0513875ok13:06
eagles0513875trying to eliminate causes of the issue13:06
cjwatsonhmm, new eglibc has broken mklibs I think13:14
rgreeningev: you make me blush :) ha!13:26
rgreeningjust saw the usb-creator note change in LP13:27
rgreeningty13:27
evwell deserved13:38
rgreeningI try :)13:40
rgreeningnow, If I could only get a paying job on foundations team :)13:41
ted_hello14:12
ted_thanks for your help yesterday, cjwatson.  i managed to delude myself into thinking that i had added some modules to the initrd when i had in fact only added some other modules and then seen the ones in question appear because the installer feteched some stuff.  once i put the right modules in the initrd, everything worked as expected.  anyway, i have another installer question today.  on 9.10 at least, it appears that some preseed configuration lines14:39
ted_ that seem like they should affect how the installer tries to grab an address from DHCP don't do much.  "d-i netcfg/dhcp_timeout string NUM" doesn't seem to change the number of seconds it takes for the installer to give up the first time it tries to get an address, nor does "d-i netcfg/dhcp_options select FOO" seem to cause any of the options from the window that appears after the first attempt to get an address fails to be selected automatically.  i14:39
ted_'ve checked /var/lib/cdebconf/questions.dat, and it looks like the values are getting into the debconf database, just not being used.  does anyone know how this dhcp business is implemented or where else i could manually change the timeout value, etc.?14:39
cjwatsonyou're probably running into bug 31523114:40
ubot2Launchpad bug 315231 in netcfg (Debian) (and 1 other project) "netcfg/dhcp_timeout doesn't take effect when installing (heat: 2)" [Unknown,Fix released] https://launchpad.net/bugs/31523114:40
ted_awesome14:40
cjwatsonit works if you're trying to shorten the timeout, but not if you're trying to lengthen it beyond 6014:41
ted_i can't get it to go past 3014:41
cjwatsonalthough14:41
cjwatsonare you doing a netboot install?14:41
ted_yes14:41
cjwatsonthe network preseed file is fetched after netcfg runs, so you need to set those values on the kernel command line, not in your network preseed file14:41
cjwatsone.g. netcfg/dhcp_timeout=6014:42
ted_oh cool14:42
ted_could i also add one like 'netcfg/dhcp_options="Retry network autoconfiguration"'?14:44
ted_oops xming froze14:50
ted_anyway14:50
ted_thanks for your help let's see if 60 seconds is enough14:50
cjwatsonunfortunately not really, quoting doesn't work well on the kernel command line14:54
ted_that is not surprising14:54
cjwatsonwe should really turn those into short identifiers behind the scenes, so that you can just say netcfg/dhcp_options=Retry14:54
cjwatsonor =retry14:54
cjwatsonactually, looking at the code, you may find that netcfg/dhcp_options=Retry works right now14:54
cjwatsonit's basically coincidence, but still14:55
cjwatsonhorrible horrible code14:55
ted_heh14:55
cjwatsonmake sure you capitalise it thus, it matters14:55
ted_whatever does the string matching only notices the first word anyway?14:55
ted_where does the code live?  are you looking at the source for debian-installer or something?14:57
ted_netcfg15:01
ted_not debian-installer15:01
cjwatson'apt-get source netcfg'15:05
cjwatsonhow can I put this, it doesn't do things the standard way for d-i15:06
cjwatson    if (client->value[0] == 'R') {      /* _R_etry ... or _R_econfigure ... */15:06
cjwatson        size_t len = strlen(client->value);15:06
cjwatson        if (client->value[len - 1] == 'e') /* ... with DHCP hostnam_e_ */15:06
cjwatson            return REPLY_RETRY_WITH_HOSTNAME;15:06
cjwatson        else if (client->value[len - 1] == 'k') /* ... wireless networ_k_ */15:06
cjwatson            return REPLY_RECONFIGURE_WIFI;15:06
cjwatson        else15:06
cjwatson            return REPLY_RETRY_AUTOCONFIG;15:06
ted_heh15:06
cjwatson    }15:06
* cjwatson passes the sickbag15:06
ted_that is pretty gnarly15:07
ted_but i mean if you have strlen why not use strcmp?15:07
cjwatsonprejudices of the original author15:07
cjwatsonthe standard approach now is to have Choices-C with short identifiers like retry, retry-dhcp, ..., and to have human-readable translations of those per-language15:08
ted_okay15:08
cjwatsonbut I introduced the Choices-C mechanism some time after that code was written and nobody's got round to converting it over15:08
ted_that makes sense15:08
cjwatsonone of these days ...15:08
ted_there's always something15:08
ted_i mean i can understand being afriad of strcmp, but strncmp is pretty safe, right?15:09
cjwatsonit's just somebody being silly and over-obsessed by performance15:09
cjwatsonit doesn't have a rational basis as far as I'm concerned :)15:10
ted_heh15:10
cjwatsonbut as it happens this prejudice is kind of convenient until we switch to Choices-C15:10
ted_dude that worked like nobody's business15:31
ted_one step closer to my hands-free build!15:31
ted_thanks15:31
cjwatsoncool15:34
CIA-3partman-ext3: cjwatson * r766 ubuntu/ (77 files in 4 dirs): merge from Debian 5918:43
CIA-3partman-ext3: cjwatson * r767 ubuntu/debian/changelog: releasing version 59ubuntu118:45
CIA-3cdrom-detect: cjwatson * r459 ubuntu/debian/ (cdrom-detect.templates changelog): Set cdrom/suite default to maverick; drop intrepid.18:48
CIA-3cdrom-detect: cjwatson * r460 ubuntu/debian/changelog: releasing version 1.32ubuntu418:49
cody-somervillecjwatson, Did I ever submit my cdrom-detect/try-hdd patch to you?19:18
cjwatsoncody-somerville: not sure22:40
luaphi I've just been at #ubuntu.... I am having an issue setting up RAID 1 via a clean install -- the system basically won't boot properly after install23:15
luapmaybe someone is available to help?23:15
dado55can somebody help with ubuntu installation?23:50

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