jetole | Does anyone know how I can set a random hostname in preseed? | 00:51 |
---|---|---|
ted_ | um | 00:54 |
ted_ | you could certainly do it in a script | 00:54 |
jetole | ted_: where/how would I get the script to work with preseed? | 01:26 |
jetole | brb | 01:29 |
jetole | ok, sorry about that. Had to tweak my irssi and figured it was a good time to switch to freenode over ssl | 01:39 |
CIA-3 | debian-installer: cjwatson * r1299 ubuntu/ (8 files in 2 dirs): Remove multiarch (amd64-on-i386) syslinux configuration files. | 11:13 |
CIA-3 | debian-installer: cjwatson * r1300 ubuntu/ (build/util/syslinux-cfgs debian/changelog): | 12:15 |
CIA-3 | debian-installer: Don't install separate desktop syslinux configuration files; we don't | 12:15 |
CIA-3 | debian-installer: use them in Ubuntu. | 12:15 |
CIA-3 | debian-installer: cjwatson * r1301 ubuntu/debian/changelog: releasing version 20100211ubuntu1 | 12:21 |
cjwatson | just, you know, for the avoidance of doubt: this is going to break | 12:21 |
ogra | fun | 12:22 |
cjwatson | ... and there we go, a build failure. odd, I tested on i386 | 12:34 |
cjwatson | god, library reduction | 12:34 |
* cjwatson prepares to dive down the rabbit-hole | 12:34 | |
eagles0513875 | hey 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 maverick | 12:55 |
cjwatson | input/output error almost invariably means a physical problem with the CD or the drive. | 12:59 |
cjwatson | it's a very low-level problem and not an issue with the installer. | 12:59 |
eagles0513875 | cjwatson: then can you explain to me why wiht ubuntu-server i dont have that issue | 12:59 |
cjwatson | the 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 do | 12:59 |
eagles0513875 | ok | 13:00 |
cjwatson | so it might be expected not to encounter as many problems | 13:00 |
cjwatson | it's not impossible that it's a bug in the kernel's CD driver, but the probability is that it's a physical problem | 13:00 |
eagles0513875 | cjwatson: even same issue with a live usb | 13:01 |
eagles0513875 | im also starting to wonder if the capacity of my drive has something to do with it | 13:01 |
cjwatson | I don't know what that might be | 13:01 |
cjwatson | here's the definition of that error code from the libc manual: | 13:01 |
cjwatson | -- Macro: int EIO | 13:01 |
cjwatson | Input/output error; usually used for physical read or write errors. | 13:01 |
cjwatson | it's basically never an application bug, anyway | 13:02 |
eagles0513875 | cjwatson: whats funny is im not even using a cd to install lucid on this vm but an iso | 13:02 |
cjwatson | could be a bug in the virtualiser, or an underlying I/O error on your hard disk that's being shown through to the VM | 13:02 |
eagles0513875 | thing is i bet if i were to install ubuntu server that problem would disappear though | 13:03 |
eagles0513875 | and the drive isnt too old | 13:03 |
eagles0513875 | could it be a possibilty of bad ram | 13:03 |
cjwatson | sorry, 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 there | 13:04 |
cjwatson | i.e. working with people who know about the virtualisation system in question | 13:04 |
eagles0513875 | cjwatson: thing is this happened to me on this desktop unvirtualized | 13:05 |
cjwatson | frankly sounds like you have several different problems that are coming out with the same symptoms | 13:05 |
cjwatson | but that's just a guess | 13:05 |
cjwatson | all I can say is that there's basically no way EIO can be caused by an installer bug | 13:05 |
eagles0513875 | ok | 13:06 |
eagles0513875 | trying to eliminate causes of the issue | 13:06 |
cjwatson | hmm, new eglibc has broken mklibs I think | 13:14 |
rgreening | ev: you make me blush :) ha! | 13:26 |
rgreening | just saw the usb-creator note change in LP | 13:27 |
rgreening | ty | 13:27 |
ev | well deserved | 13:38 |
rgreening | I try :) | 13:40 |
rgreening | now, If I could only get a paying job on foundations team :) | 13:41 |
ted_ | hello | 14: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 lines | 14: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. i | 14: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 |
cjwatson | you're probably running into bug 315231 | 14:40 |
ubot2 | Launchpad 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/315231 | 14:40 |
ted_ | awesome | 14:40 |
cjwatson | it works if you're trying to shorten the timeout, but not if you're trying to lengthen it beyond 60 | 14:41 |
ted_ | i can't get it to go past 30 | 14:41 |
cjwatson | although | 14:41 |
cjwatson | are you doing a netboot install? | 14:41 |
ted_ | yes | 14:41 |
cjwatson | the 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 file | 14:41 |
cjwatson | e.g. netcfg/dhcp_timeout=60 | 14:42 |
ted_ | oh cool | 14:42 |
ted_ | could i also add one like 'netcfg/dhcp_options="Retry network autoconfiguration"'? | 14:44 |
ted_ | oops xming froze | 14:50 |
ted_ | anyway | 14:50 |
ted_ | thanks for your help let's see if 60 seconds is enough | 14:50 |
cjwatson | unfortunately not really, quoting doesn't work well on the kernel command line | 14:54 |
ted_ | that is not surprising | 14:54 |
cjwatson | we should really turn those into short identifiers behind the scenes, so that you can just say netcfg/dhcp_options=Retry | 14:54 |
cjwatson | or =retry | 14:54 |
cjwatson | actually, looking at the code, you may find that netcfg/dhcp_options=Retry works right now | 14:54 |
cjwatson | it's basically coincidence, but still | 14:55 |
cjwatson | horrible horrible code | 14:55 |
ted_ | heh | 14:55 |
cjwatson | make sure you capitalise it thus, it matters | 14: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_ | netcfg | 15:01 |
ted_ | not debian-installer | 15:01 |
cjwatson | 'apt-get source netcfg' | 15:05 |
cjwatson | how can I put this, it doesn't do things the standard way for d-i | 15: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 | else | 15:06 |
cjwatson | return REPLY_RETRY_AUTOCONFIG; | 15:06 |
ted_ | heh | 15:06 |
cjwatson | } | 15:06 |
* cjwatson passes the sickbag | 15:06 | |
ted_ | that is pretty gnarly | 15:07 |
ted_ | but i mean if you have strlen why not use strcmp? | 15:07 |
cjwatson | prejudices of the original author | 15:07 |
cjwatson | the standard approach now is to have Choices-C with short identifiers like retry, retry-dhcp, ..., and to have human-readable translations of those per-language | 15:08 |
ted_ | okay | 15:08 |
cjwatson | but I introduced the Choices-C mechanism some time after that code was written and nobody's got round to converting it over | 15:08 |
ted_ | that makes sense | 15:08 |
cjwatson | one of these days ... | 15:08 |
ted_ | there's always something | 15:08 |
ted_ | i mean i can understand being afriad of strcmp, but strncmp is pretty safe, right? | 15:09 |
cjwatson | it's just somebody being silly and over-obsessed by performance | 15:09 |
cjwatson | it doesn't have a rational basis as far as I'm concerned :) | 15:10 |
ted_ | heh | 15:10 |
cjwatson | but as it happens this prejudice is kind of convenient until we switch to Choices-C | 15:10 |
ted_ | dude that worked like nobody's business | 15:31 |
ted_ | one step closer to my hands-free build! | 15:31 |
ted_ | thanks | 15:31 |
cjwatson | cool | 15:34 |
CIA-3 | partman-ext3: cjwatson * r766 ubuntu/ (77 files in 4 dirs): merge from Debian 59 | 18:43 |
CIA-3 | partman-ext3: cjwatson * r767 ubuntu/debian/changelog: releasing version 59ubuntu1 | 18:45 |
CIA-3 | cdrom-detect: cjwatson * r459 ubuntu/debian/ (cdrom-detect.templates changelog): Set cdrom/suite default to maverick; drop intrepid. | 18:48 |
CIA-3 | cdrom-detect: cjwatson * r460 ubuntu/debian/changelog: releasing version 1.32ubuntu4 | 18:49 |
cody-somerville | cjwatson, Did I ever submit my cdrom-detect/try-hdd patch to you? | 19:18 |
cjwatson | cody-somerville: not sure | 22:40 |
luap | hi 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 install | 23:15 |
luap | maybe someone is available to help? | 23:15 |
dado55 | can somebody help with ubuntu installation? | 23:50 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!