[00:02] ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [06:38] drewr (~drew@adsl-065-013-142-013.sip.bna.bellsouth.net) left irc: Read error: Connection reset by peer [08:13] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. [09:35] uchimata_ (~uchimata@i3ED6D3B8.versanet.de) joined #fai. [09:42] uchimata (~uchimata@i3ED6D869.versanet.de) left irc: Ping timeout: 480 seconds [09:45] Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. [09:54] moin [09:58] Nic0 (~courtel@fw.tls.cena.fr) joined #fai. [09:59] edoreld (~Adium@p57A09C73.dip0.t-ipconnect.de) joined #fai. [10:47] Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving [10:47] Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai. [10:55] guten morgen [10:56] guten tag :) [10:57] Action: telmich schaut gerade nach der konfiguration vom sw-raid mit setup-storage -- man muss zunächst die partitionen auch erzeugen, was im beispiel auf http://www.informatik.uni-koeln.de/fai/doc/man/setup-storage.html nicht steht, oder? [11:11] moin! [11:11] Nick change: stockhol1 -> stockholm [11:22] narf [11:23] raid0 mit setup-storage schlägt hier fehl [11:23] mdmadm sagt --spare-devices 0 ist nicht kompatibel mit raid level 0 [11:23] "mdmadm: spare-devices setting is incompatible with read level 0" [11:26] argh, das ist bekannt: http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg593675.html [11:26] AFAIK geht sparse und missing nicht mit raid0 [11:26] probiers mal ohne [11:26] ja, ohne geht es [11:27] setup-storage macht halt aus "raid0 /local disk1.3,disk2.3 xfs rw" [11:27] dann nachher --spare-devices 0 [11:40] <\sh> mahlzeit [11:41] huch, laut http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508192 sollte es den bug nicht mehr geben [11:41] ahh, im nfsroot ist 3.2.17~lenny1 [11:46] what is the difference in perl between '$name = split(/:/)' and '($name) = split(/:/)'? [11:48] #perl [11:48] not a perl guru - but from general coding: there should be none [11:49] scalar and array context. For futher info ask your perl books [11:49] thx, was just enuff info already :) [11:51] hmm, wenn volume groups vorhanden sind, schlägt die installation immer noch fehl [11:53] Unexpected vgdisplay output: (und dann die vg infos) [11:53] was ist dort der sauber weg, die vgs zu ignorieren? [12:17] ErKa (~keryell@APuteaux-154-1-7-163.w83-199.abo.wanadoo.fr) joined #fai. [12:55] <\sh> woosaaahhh...ubuntu chroot and packages are installed now...now the kernel is giving me a headache...(grub + kernel + fstab somehow) [13:22] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. [13:35] Mrfai: was ist das normale verhalten von fai, wenn es VGs findet? [13:36] beim setup-storage; sollte es dann einen fehler bringen? imho sollte es die ausgabe einfach ignorieren [13:43] telmich: ich bin kein lvm experte. Da musst du mal auf der ml suche, IIRc war das da schon mal ein Thema. [13:55] drewr (~drew@adsl-065-013-142-013.sip.bna.bellsouth.net) joined #fai. [14:17] <\sh> Mrfai: moins...just a simple answer, in what way is install_packages selecting the way of installing the packages...I have some problems during kernel installation and having no grub before that ;) [14:18] the way of installing? you mean whether to use apt-get or aptitude? [14:18] <\sh> no..in what order... [14:19] the order of classes should definie the order of packages. [14:19] <\sh> I have an package_config/UBUNTU_904 file...and in there I have "PACKAGES install AMD64\nlinux-image-server\n\nPACKAGES install GRUB" etc. [14:20] <\sh> ok..then I have the bugger [14:20] mmmmm. I'm not sure how install_packages handles this excatly. [14:21] <\sh> problem right now, AMD64 is set first, and for that, it installs the kernel package...but kernel package starts to complain about grub missing [14:21] drewr (drew@adsl-065-013-142-013.sip.bna.bellsouth.net) left #fai (ERC Version 5.2 (IRC client for Emacs)). [14:22] I never had this problem with AMD64 and grub [14:23] hm [14:23] @commands = qw/y2i y2r yast rpmr urpmi urpme yumgroup yumi yumr smarti smartr hold taskrm ta [14:23] skinst clean-internal aptitude aptitude-r install unpack remove dselect-upgrade/; [14:23] but it should install linux-image-server and grub in the same run. Check MAXPACKAGES, maybe it was set to 1 [14:23] so things supposed to be installed with aptitude come before things supposed to be installed with apt-get apparently [14:24] <\sh> mgoetze: I'm using "install" means "apt-get" only imho [14:24] yep [14:24] yes my theory is if you install grub with aptitude it will get install first ;) [14:24] <\sh> s/imho/really/ [14:24] <\sh> http://paste.ubuntu.com/190825/ [14:26] \sh: show us your fai.log and shell.log [14:27] <\sh> http://paste.ubuntu.com/190826/ <- shell.log [14:28] <\sh> http://paste.ubuntu.com/190829/ <- fai.log [14:33] IMO it looks good. [14:33] except for /usr/sbin/grub-install: line 374: [: =: unary operator expected [14:33] in shell.log [14:33] this is a known bug. Just ignore it [14:34] I found your bugreports :) [14:34] well, we fiddled with that and after that our fai worked again, but this could also be related to some side-effects occured during the "fiddling" [14:42] <\sh> well..grub is installed..but the menu.lst not it seems. [14:42] \sh: keren is installed? [14:42] kernel, even [14:42] <\sh> oz_: yepp [14:44] shell.log, does it comment on that? [14:45] <\sh> just redoing an install try...give me 1 min ;) [14:46] Sure, menu.lst ist created. Have a look at: Updating /boot/grub/menu.lst ... done [14:47] <\sh> but after the reboot...grub doesn't show anything ... no kernel to boot...but it's under /target/boot [14:48] <\sh> ah but menu.lst is not generated correctly [14:48] maybe the mbr is missing [14:48] <\sh> no mbr is there...menu.lst is not created correctly [14:48] <\sh> the kernel entries are missing [14:49] \sh: try to run update-grub manually directly after installation [14:49] nik0la_ (~nik0la@admin.objectifgroove.com) joined #fai. [14:49] <\sh> oz_: just trying..and no it's not done correctly [14:49] hello [14:49] add a cat $target/boot/grub/menu.lst to 10-setup and 50-misc, to see if the menu.lst is fine there. [14:51] \sh: thought so...what's the error there? [14:51] <\sh> oz_: no error at all :) [14:51] <\sh> anyways..checking [14:52] i'have some trouble with my FAi config, i'm trying to complete fai-setup but i have some error and i dont uderstand where is my problem. http://pastebin.com/d6b2e36b1 [14:53] if someone can help/explain me [14:53] do never use -r with fai-setup or make-fai-nfsroot. [14:54] read man make-fai-nfsroot [14:54] ok, but before i try to do without -r but i had the same issue [14:54] Action: Mrfai thinks he should remove the -r option ASAP [14:59] ok rtfm :( [14:59] thanks so much for your help [15:02] you're welcome [15:03] ^^ [15:15] I'm reading all about fai-multi-distribution since I'd like to install Ubuntu from my fai-server, but a) I can't find the package and b) All I read is you need to have installed old versions of fai....I'm using 3.2.17.. [15:17] Just found some classes for Ubuntu...but for version 5.04 and 5.10..meh [15:17] <\sh> edoreld: I'm working on jaunty [15:17] <\sh> edoreld: trying to install jaunty via fai on lenny [15:18] working as in you're stuck or as in making progress :)? [15:18] \sh:always progress [15:19] <\sh> edoreld: just the last kernel install bits and then it should be ready [15:19] :) [15:19] <\sh> means...kernel is installed, menu.lst is still not updated [15:20] \sh: how long u been working on it? [15:20] <\sh> and even running it under chroot /target doesn't help [15:20] <\sh> edoreld: hmm...actually 2days [15:20] <\sh> 2 company working days [15:20] <\sh> today is the 3rd :) [15:20] ok so calculating...that will take me about 2.....3 weeks to do myself ^_^ [15:21] <\sh> edoreld: just give me a few more...and I (PROMISED THOMAS!) write a doc..(i need to write the doc anyways ;)) [15:21] <\sh> s/few/few {hours,days}/ ;) [15:22] Action: edoreld is missing a reverence emoticon to throw at \sh [15:23] \sh if you run it in chroot, do you get no error message? [15:23] if you do so please let s/us/me/ know :) [15:23] <\sh> oz_: as said...no there is no error message :) [15:23] Action: oz_ vaguely remembers to have seen this before [15:25] \sh: even no complaints about device.map? [15:25] <\sh> grub-probe: error: Cannot open `/boot/grub/device.map' [15:25] <\sh> /target/usr/sbin/grub-install: line 490: [: =: unary operator expected [15:26] <\sh> fix it and re-run the script `grub-install'. [15:26] <\sh> (hd0) /dev/cciss/c0d0 [15:26] <\sh> Searching for GRUB installation directory ... found: /boot/grub [15:26] <\sh> Searching for default file ... found: /boot/grub/default [15:26] <\sh> Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst [15:26] <\sh> Searching for splash image ... none found, skipping ... [15:26] <\sh> but no kernel lines inside menu.lst [15:26] /target/usr/sbin/grub-install: line 490 says what? [15:27] <\sh> # On XFS, sync() is not enough. [15:27] <\sh> if [ `grub-probe -t fs ${grubdir}` = "xfs" ] ; then xfs_freeze -f ${grubdir} && xfs_freeze -u ${grubdir} # We don't have set -e. If xfs_freeze failed, it's worth trying anyway, # maybe we're lucky. [15:27] <\sh> fi [15:28] <\sh> diff between debian==/bin/sh ==> /bin/bash and ubuntu == /bin/sh ==> /bin/dash [15:28] gold:~# wc -l /usr/sbin/grub-install [15:28] 436 /usr/sbin/grub-install [15:28] fau is only using /bin/bash [15:28] s/fau/fai/ [15:29] <\sh> oz_: correct [15:29] <\sh> so what is bugging here [15:29] \sh try to debianize you ubuntu [15:29] <\sh> sorry...I just looked at update-grub [15:29] <\sh> not grub-install [15:30] ? [15:31] <\sh> oz_: the wc -l on grub-install is the same as on debian ... I looked at the line 490 in update-grub [15:32] <\sh> the fun part...menu.lst has the correct groot device in it...so it replaced something [15:33] how many line does your grub-install have? [15:33] and what's in line 490? [15:34] <\sh> 583 and in line 490: # On XFS, sync() is not enough. [15:34] <\sh> if [ `grub-probe -t fs ${grubdir}` = "xfs" ] ; then [15:36] Action: oz_ never saw much sense in dash [15:36] can anyone tell me why ubuntu did this? [15:37] <\sh> because debian will go this way, too? [15:37] <\sh> dash is smaller and faster then bash and more POSIX compliant...something like this ... [15:37] because dash is smaller? [15:37] *hrmpf* at least, it was working... [15:37] <\sh> don't ask...I didn't understand this transition, too [15:38] so, how to fix if [ `grub-probe -t fs ${grubdir}` = "xfs" ] ; then [15:38] Action: oz_ must grab coffee [15:38] <\sh> https://wiki.ubuntu.com/DashAsBinSh [15:38] <\sh> oz_: I'm calling grub-install now via $ROOTCMD and exchanged $target with / inside postinst...LHAL [15:39] okay. at least I now see the sense. [15:39] LHAL? [15:39] <\sh> lets have a look [15:40] ok :) [15:44] \sh: maybe $rootcmd /bin/bah /usr/sbin/grub-install ? 8-) [15:53] <\sh> oz_: trying...busy right now with something different aka 42 rules [16:48] I have read extensively the documentation on ftar, and also I have tried different approachs to it. However, I cannot seem to make it work. [16:48] If I have a "example.tar.gz". Where should I put it (Do I need to make a directory named "example.tar.gz" with MYCLASSNAME inside it?). Do I need to fcopy the tar file and then use ftar? And how should the ftar command be used? ftar ? [16:49] <\sh> #!/bin/bash [16:49] <\sh> fs=$FAI_ROOT/etc/fstab [16:49] <\sh> UBUNTU_BASE="/var/lib/fai/config/basefiles/UBUNTU_JAUNTY.tgz" [16:49] <\sh> gzip -dc ${UBUNTU_BASE} | tar -C $FAI_ROOT -xpf - [16:49] <\sh> [ -f $fs ] && mv $fs $fs.old [16:49] <\sh> cp -ap $LOGDIR/fstab $fs [16:50] <\sh> skiptask extrbase [16:50] <\sh> skiptask prepareapt [16:50] <\sh> skiptask updatebase [16:50] <\sh> args. [16:50] <\sh> sorry. [16:50] aphector (aphector@static.228.33.40.188.clients.your-server.de) joined #fai. [16:55] ErKa (~keryell@APuteaux-154-1-7-163.w83-199.abo.wanadoo.fr) left irc: Ping timeout: 480 seconds [17:17] aphector (aphector@static.228.33.40.188.clients.your-server.de) left #fai. [17:22] <\sh> edoreld: sorry..I wanted to pastebin it...but this is the snippet of my extrbase. for untarring jaunty chroot [17:23] No need to worry, (As long as you can explain to me how to use ftar of course :D) [17:23] just joking, u don't need to ^_^ [17:24] <\sh> hehe [17:43] Can anyone illuminate me on the use on ftar (I have read the man page several times already and can't figure it out...) [17:43] Tried a directory called test with my tar file in it called MYCLASS, but it gave me an error (exited with code 1) on fai-client install [17:44] $FAICONFIG/files/home/tarfile/MYCLASS [17:44] where MYCLASS is the tar file, but it didn't work, so I'm guessing it doesn't work as fcopy does O_o [17:47] <\sh> edoreld: what about /srv/fai/config/files/.tar.gz ; then in your script ftar -s /files -t /target [17:48] <\sh> edoreld: what about /srv/fai/config/files/.tar.gz ; then in your script ftar -s /files -t /target / <-- the missing slash is important;) [17:48] <\sh> just a shot [17:49] isn't -s files & -t target already set up by default to those values? [17:50] and I didn't get it, do I need or not the slash :/ ? [17:50] -s and -t is not needed. FAI does already set these [17:52] so "ftar /" would suffice? [17:52] my boss is hurrying me up to leave (he has to close), I only have 1 minute to obtain this vital piece of information! [17:52] :) [17:57] ahrg no time! [17:57] will see 2morrow :/ [17:57] edoreld (~Adium@p57A09C73.dip0.t-ipconnect.de) left irc: Quit: Leaving. [18:08] <\sh> damn... [18:08] <\sh> this update-grub doesn't work [18:09] \sh: does it run with bash? [18:10] <\sh> oz_: nope...same result [18:11] <\sh> root@host:/# /usr/sbin/grub-install --no-floppy --root-directory= /dev/cciss/c0d0 [18:11] <\sh> Could not find device for /boot: Not found or not a block device. [18:12] <\sh> but this looks totally wrong [18:13] \sh: how did you switch to bash? [18:13] <\sh> bash -l [18:13] <\sh> I'm in chroot /target now [18:13] <\sh> update-grub is #!/bin/bash btw...as I see now [18:14] <\sh> but grub-install fcks me now... [18:14] \sh: maybe you should change /bin/sh in grub-install or change the /bin/sb symlink on the install host? [18:14] <\sh> oz_: changed /bin/sh now to /bin/bash same error for grub-install [18:15] hm. [18:15] Action: oz_ is trying to remember... [18:16] <\sh> http://www.eyrie.org/~eagle/journal/2008-06/004.html could be one solution [18:18] <\sh> argl [18:18] thaht's why I prefer Debian [18:18] There is one other fairly serious Ubuntu design misfeature that is only tangentially related but that cost me a lot of time. Ubuntu has modified update-grub to make it use ucf, which breaks the traditional update-grub semantics in extremely strange and confusing ways that took hours for me to diagnose. [18:19] <\sh> argl [18:19] <\sh> that's it [18:19] Mrfai: that's why serios ppl prefer Debian. [18:19] Action: mgoetze is very serious ;) [18:20] mgoetze: so, you prefer debian? :) [18:20] <\sh> oz_: if you have devs with special wishes, you can run SID and going into the valley of poopoo...or use Ubuntu and workaround those issues [18:20] i'm so serious i've never installed ubuntu anywhere [18:21] \sh: special wishes as in new software versions? [18:21] <\sh> mgoetze: correct. [18:21] \sh: backports.org, or backport them yourself [18:22] <\sh> mgoetze: nope...I need some LTS stuff with support of C. ... that's was the only "yes, you can use a debian alike distro...but it needs to have commercial support" [18:23] i don't know about canonical, but based on my work experience with RHEL... community support is better than commercial support [18:23] <\sh> mgoetze: I was working for RHAT...so this is a no go := [18:23] heh [18:25] <\sh> the same goes for SuSE Enterprise...I installed that in my past...working for combots and installing sles9 via FAI...a shame ;) [18:26] the advantage of SuSE enterprise vs. regular SuSE: they don't have new releases so often, so you don't have to learn a new way to update your system so often... [18:27] <\sh> mgoetze: you mean: update via CD/DVD and Yast? ,-> [18:27] i mean rug, zypper, whatever... [18:28] YaST and SuSEconfig are so horrible i don't want to talk about them ;) [18:28] <\sh> hehe [18:29] <\sh> I'm wondering if there is a way to trick update-grub+ucf somehow [18:39] maybe #239674 #226708 in launchpad will help [18:47] <\sh> Mrfai: I think I have as well another problem ... /var/run/grub/menu.lst.ucf-dist [18:47] <\sh> looks wrong to me [18:50] http://www.eyrie.org/~eagle/journal/2008-06/004.html tells somethings about ucf --purge [18:54] <\sh> yess...but it looks like that ucf is not dpkg --configured properly...because of the ucf-dist extention [18:55] <\sh> ah dump all that cra [18:55] <\sh> p [18:55] <\sh> I'll write a new postinst for menu.lst and do my own thing... [18:56] <\sh> dump that too...I#ll put the whole logic inside scripts/GRUB/10-setup [18:58] then you should divert update-grub, so that no programm can all it [18:58] or make it a noop [19:00] <\sh> Mrfai: during ACTION=install the disk_var.sh is exported globally, right? so I can use BOOT_DEVICE and BOOT_PARTITION without any force [19:01] <\sh> it's only during softupdate when I need to source $target/var/log/fai/disk_var.sh [19:03] yep. IN fai all variables are exported autom. [19:03] Mrfai (~lange@suenner.informatik.uni-koeln.de) left irc: Quit: leaving [20:26] edoreld (~Adium@dslb-088-074-210-097.pools.arcor-ip.net) joined #fai. [20:26] edoreld (~Adium@dslb-088-074-210-097.pools.arcor-ip.net) left irc: [00:00] --- Tue Jun 9 2009