[00:25] bastian (~bastian@p5B077FA6.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep [00:26] bastian (~bastian@p5B077FA6.dip.t-dialin.net) joined #fai. [00:31] bastian (~bastian@p5B077FA6.dip.t-dialin.net) left irc: [02:57] puck (~puck@leibniz.catalyst.net.nz) left irc: Ping timeout: 480 seconds [03:07] puck (~puck@leibniz.catalyst.net.nz) joined #fai. [03:30] simNIX (~simNIX@156-60.bbned.dsl.internl.net) joined #fai. [04:03] simNIX (~simNIX@156-60.bbned.dsl.internl.net) left irc: Quit: Ik ga weg [04:59] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) joined #fai. [05:03] bastian (~bastian@p5B077FA6.dip.t-dialin.net) joined #fai. [05:22] bastian (~bastian@p5B077FA6.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep [05:29] kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) left irc: Remote host closed the connection [05:48] bastian (~bastian@p5B077FA6.dip.t-dialin.net) joined #fai. [06:05] bastian (~bastian@p5B077FA6.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep [06:29] <\sh> moins [06:54] moins ook [07:35] bastian (~bastian@p5B077FA6.dip.t-dialin.net) joined #fai. [07:41] bastian (~bastian@p5B077FA6.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep [08:30] edoreld (~Adium@p57A0970D.dip0.t-ipconnect.de) joined #fai. [09:13] simNIX (~simNIX@156-60.bbned.dsl.internl.net) joined #fai. [09:15] simNIX (~simNIX@156-60.bbned.dsl.internl.net) left irc: [09:15] simNIX (~simNIX@156-60.bbned.dsl.internl.net) joined #fai. [09:29] ErKa (~keryell@APuteaux-154-1-13-187.w83-199.abo.wanadoo.fr) joined #fai. [09:44] oz: would you mind giving me a hand with this "expect" script -> http://paste.debian.net/41313/ <- It executes fine ( At least from command-line, need to test it with fai yet), but if I try to execute a command afterwards it will hang up... T_T [10:24] edoreld: remove the '-exact' and line 54 [10:24] then it should run [10:24] and I see no sense in line 49, too [10:25] oks [10:42] wow the user thing was easier than I had expected O_O. I found a line in $FAI/scripts/DEMO/10-misc -> http://paste.debian.net/41319/ <- I added my own but was getting puzzled because before rebooting there's no user on /etc/passwd or elsewhere! but after reboot the user gets added automatically :) [10:43] altough the gecos line "fai demo user" appears as "fai demo user,,," on /etc/passwd....weird [10:43] edoreld: you mean $target/etc/passwd . i see you still haven't understood the basics [10:44] on, I mean /etc/passwd [10:44] no* [10:44] on the final running system [10:44] edoreld: that's your problem then. may i recommend reading a b.... no wait, i already recommended that a month ago [10:45] Well I actually haven't checked $target/etc/passwd, I just tried to login with "user" and it didn't work, so I just assumed...wrongly ^_^ [11:18] bastian (~bastian@p5B0765A5.dip.t-dialin.net) joined #fai. [11:28] bastian (~bastian@p5B0765A5.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep [11:51] <\sh> user adding inside $target via fai: [11:51] <\sh> makepasswd --chars=8 --crypt-md5|while read pw password ; do [11:51] <\sh> $ROOTCMD useradd -d /home/${user} -s /bin/bash -G admin -m -p ${password} -U ${user} [11:52] <\sh> add_system_users_password ${user} ${pw} [11:52] <\sh> done [11:52] <\sh> the add_system_users_password is a function of mine, which pushes the temp passwords inside a db ;) so you have random secure passwords [11:52] <\sh> and only I can see them ;) [11:53] Action: edoreld praises \sh's work [11:53] <\sh> btw...I have found the bugger regarding the dhcp mess [11:53] <\sh> it's definitly klibcs ipconfig [11:54] <\sh> ipconfig is just semi-amateure software written from guys with only low cost table switches... [11:55] heh [11:56] <\sh> a timeout of -t 60 of ipconfig and using cisco switches with spanning trees and portfast configs...doesn't help, really...-t 180 doesn't help too, -t >240 helps here...because then ipconfig realizes that it has to re-request a dhcp ... other values below, kernel failes to mount nfs root ... [11:56] ErKa (~keryell@APuteaux-154-1-13-187.w83-199.abo.wanadoo.fr) left irc: Remote host closed the connection [11:57] <\sh> the explanation of this: the kernel doesn't bring up the NIC interfaces, it doesn't matter if only one NIC needs to get an ip (kernel append: ip=dhcp) or all interfaces (kernel append: ip=all) [11:57] <\sh> ipconfig does bring up the NICs and before the kernel really inits the NIC, ipconfig tries to send out the dhcp request. [11:58] <\sh> strangely, eventually not understanding the meaning of timeout in ipconfigs case, ipconfig refuses to re-request the dhcp part when -t set smaller then 240 secs... [11:59] <\sh> setting -t greater or equal 240 ipconfig manages to re-transmit the dhcp request and catches an IP from the dhcp server (time interval: exactly 60sec) and initramfs manages to mount the nfsroot (5 to 10 seconds after the ip has reached the NIC) [12:00] <\sh> this holy shit costed my 18 hours of debugging...means: reconfiguring the whole network switch infrastructure...banging head on desk, using google [12:01] 18 hours of your work time? maybe it would have been cheaper for your employer to sponsor a cisco switch for kernel developers :) [12:01] <\sh> mgoetze: one cisco switch is not enough ;) [12:02] <\sh> you need at least two of them where you setup a spanning tree. [12:02] spanning tree in a single-vendor environment is boring, anyway [12:02] <\sh> but a 2960G is not expensive, so yes agreed...but my bosses are somewhat ... strange [12:02] we have cisco *and* juniper switches, imagine the fun ;) [12:03] <\sh> mgoetze: oh well...cisco and juniper routers are ok...but I do like switch infra from one vendor ;) [12:03] <\sh> and two of our switches are 6509 ;) with fibre and copper...and some of the machines do have cisco switches inside a HP BL7000c ; [12:03] our NOC thinks differently... they insist on only juniper routers [12:04] <\sh> juniper routers are ok when you want reliable multicasting [12:04] <\sh> cisco is (or better was) in a bad shape when we needed routers and do some multicasting ;) [12:13] <\sh> btw...I'm marriaging fai amd django, fai with a nice webapp, which helps to inventarize unknown servers and then you can configure them to your needs... [12:13] \sh: whuut? [12:17] <\sh> oz_: i changed something of the task_sysinfo, it's now using python-dmidecode to gather some data like serial numbers etc. directly into a database...it catches all available hardware interfaces and (not implemented right now) also the hw disk/raid controller and all disks [12:18] <\sh> then you have your server hardware...then you can map your NICs (identifed via MAC) to linux devicenames, which are written into a 70-persistent-net.rules file for udev... [12:19] <\sh> you will get an IP database, and you can setup a host, mapped to a server hardware, and all the needed linux network interfaces (ethN, bonding, bridges, loopbacks, vlans etc.) [12:21] <\sh> the data from this db is then read via some magic python django standalone scripts and will be passed onto the $target or to determine the classes (which can be set per host also via webapp) [12:22] <\sh> eventually I'll do some work on using the first steps to create something like i-do-it as cmdb [12:37] very neat. [12:37] a dream. [12:39] <\sh> oh well...5 calls open with HP [12:39] <\sh> 4 in FFM and one in NBG [12:48] edoreld (Adium@p57A0970D.dip0.t-ipconnect.de) left #fai. [12:48] edoreld (~Adium@p57A0970D.dip0.t-ipconnect.de) joined #fai. [13:44] uchimata (~uchimata@i3ED6D81B.versanet.de) joined #fai. [13:51] uchimata_ (~uchimata@i3ED6D49D.versanet.de) left irc: Ping timeout: 480 seconds [14:40] ErKa (~keryell@APuteaux-154-1-13-187.w83-199.abo.wanadoo.fr) joined #fai. [15:23] edoreld (~Adium@p57A0970D.dip0.t-ipconnect.de) left irc: Quit: Leaving. [16:09] ErKa (~keryell@APuteaux-154-1-13-187.w83-199.abo.wanadoo.fr) left irc: Ping timeout: 480 seconds [21:15] bastian (~bastian@p5B0765A5.dip.t-dialin.net) joined #fai. [21:17] bastian (~bastian@p5B0765A5.dip.t-dialin.net) left irc: [21:27] simNIX (~simNIX@156-60.bbned.dsl.internl.net) left irc: Quit: Ik ga weg [21:49] bastian (~bastian@p5B0765A5.dip.t-dialin.net) joined #fai. [22:46] bastian (~bastian@p5B0765A5.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep [23:13] bastian (~bastian@p5B0765A5.dip.t-dialin.net) joined #fai. [23:14] bastian (~bastian@p5B0765A5.dip.t-dialin.net) left irc: [23:47] ErKa (keryell@keryell.pck.nerim.net) joined #fai. [00:00] --- Thu Jul 9 2009