ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds
drewr (~drew@adsl-065-013-142-013.sip.bna.bellsouth.net) left irc: Read error: Connection reset by peer
siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai.
uchimata_ (~uchimata@i3ED6D3B8.versanet.de) joined #fai.
uchimata (~uchimata@i3ED6D869.versanet.de) left irc: Ping timeout: 480 seconds
Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai.
09:54 oz_moin
Nic0 (~courtel@fw.tls.cena.fr) joined #fai.
edoreld (~Adium@p57A09C73.dip0.t-ipconnect.de) joined #fai.
Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving
Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai.
10:55 telmichguten morgen
10:56 oz_guten tag :)
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 stockhol1moin!
Nick change: stockhol1 -> stockholm
11:22 telmichnarf
11:23 telmichraid0 mit setup-storage schlägt hier fehl
11:23 telmichmdmadm sagt --spare-devices 0 ist nicht kompatibel mit raid level 0
11:23 telmich"mdmadm: spare-devices setting is incompatible with read level 0"
11:26 telmichargh, das ist bekannt: http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg593675.html
11:26 MrfaiAFAIK geht sparse und missing nicht mit raid0
11:26 Mrfaiprobiers mal ohne
11:26 telmichja, ohne geht es
11:27 telmichsetup-storage macht halt aus "raid0    /local         disk1.3,disk2.3   xfs    rw"
11:27 telmichdann nachher --spare-devices 0
11:40 \shmahlzeit
11:41 telmichhuch, laut http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508192 sollte es den bug nicht mehr geben
11:41 telmichahh, im nfsroot ist 3.2.17~lenny1
11:46 oz_what is the difference in perl between '$name = split(/:/)' and '($name) = split(/:/)'?
11:48 edoreld#perl
11:48 telmichnot a perl guru - but from general coding: there should be none
11:49 Mrfaiscalar and array context. For futher info ask your perl books
11:49 oz_thx, was just enuff info already :)
11:51 telmichhmm, wenn volume groups vorhanden sind, schlägt die installation immer noch fehl
11:53 telmichUnexpected vgdisplay output: (und dann die vg infos)
11:53 telmichwas ist dort der sauber weg, die vgs zu ignorieren?
ErKa (~keryell@APuteaux-154-1-7-163.w83-199.abo.wanadoo.fr) joined #fai.
12:55 \shwoosaaahhh...ubuntu chroot and packages are installed now...now the kernel is giving me a headache...(grub + kernel + fstab somehow)
siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving.
13:35 telmichMrfai: was ist das normale verhalten von fai, wenn es VGs findet?
13:36 telmichbeim setup-storage; sollte es dann einen fehler bringen? imho sollte es die ausgabe einfach ignorieren
13:43 Mrfaitelmich: ich bin kein lvm experte. Da musst du mal auf der ml suche, IIRc war das da schon mal ein Thema.
drewr (~drew@adsl-065-013-142-013.sip.bna.bellsouth.net) joined #fai.
14:17 \shMrfai: 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 mgoetzethe way of installing? you mean whether to use apt-get or aptitude?
14:18 \shno..in what order...
14:19 Mrfaithe order of classes should definie the order of packages.
14:19 \shI 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 \shok..then I have the bugger
14:20 Mrfaimmmmm. I'm not sure how install_packages handles this excatly.
14:21 \shproblem right now, AMD64 is set first, and for that, it installs the kernel package...but kernel package starts to complain about grub missing
drewr (drew@adsl-065-013-142-013.sip.bna.bellsouth.net) left #fai (ERC Version 5.2 (IRC client for Emacs)).
14:22 MrfaiI never had this problem with AMD64 and grub
14:23 mgoetzehm
14:23 mgoetze@commands = qw/y2i y2r yast rpmr urpmi urpme yumgroup yumi yumr smarti smartr hold taskrm ta
14:23 mgoetzeskinst clean-internal aptitude aptitude-r install unpack remove dselect-upgrade/;
14:23 Mrfaibut it should install linux-image-server and grub in the same run. Check MAXPACKAGES, maybe it was set to 1
14:23 mgoetzeso things supposed to be installed with aptitude come before things supposed to be installed with apt-get apparently
14:24 \shmgoetze: I'm using "install" means "apt-get" only imho
14:24 Mrfaiyep
14:24 mgoetzeyes my theory is if you install grub with aptitude it will get install first ;)
14:24 \shs/imho/really/
14:24 \shhttp://paste.ubuntu.com/190825/
14:26 Mrfai\sh: show us your fai.log and shell.log
14:27 \shhttp://paste.ubuntu.com/190826/ <- shell.log
14:28 \shhttp://paste.ubuntu.com/190829/ <- fai.log
14:33 MrfaiIMO it looks good.
14:33 hristexcept for /usr/sbin/grub-install: line 374: [: =: unary operator expected
14:33 hristin shell.log
14:33 Mrfaithis is a known bug. Just ignore it
14:34 hristI found your bugreports :)
14:34 hristwell, 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 \shwell..grub is installed..but the menu.lst not it seems.
14:42 oz_\sh: keren is installed?
14:42 oz_kernel, even
14:42 \shoz_: yepp
14:44 oz_shell.log, does it comment on that?
14:45 \shjust redoing an install try...give me 1 min ;)
14:46 MrfaiSure, menu.lst ist created. Have a look at: Updating /boot/grub/menu.lst ... done
14:47 \shbut after the reboot...grub doesn't show anything ... no kernel to boot...but it's under /target/boot
14:48 \shah but menu.lst is not generated correctly
14:48 Mrfaimaybe the mbr is missing
14:48 \shno mbr is there...menu.lst is not created correctly
14:48 \shthe kernel entries are missing
14:49 oz_\sh: try to run update-grub manually directly after installation
nik0la_ (~nik0la@admin.objectifgroove.com) joined #fai.
14:49 \shoz_: just trying..and no it's not done correctly
14:49 nik0la_hello
14:49 Mrfaiadd a cat $target/boot/grub/menu.lst to 10-setup and 50-misc, to see if the menu.lst is fine there.
14:51 oz_\sh: thought so...what's the error there?
14:51 \shoz_: no error at all :)
14:51 \shanyways..checking
14:52 nik0la_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 nik0la_if someone can help/explain me
14:53 Mrfaido never use -r with fai-setup or make-fai-nfsroot.
14:54 Mrfairead man make-fai-nfsroot
14:54 nik0la_ok, but before i try to do without -r but i had the same issue
Action: Mrfai thinks he should remove the -r option ASAP
14:59 nik0la_ok rtfm :(
14:59 nik0la_thanks so much for your help
15:02 Mrfaiyou're welcome
15:03 nik0la_^^
15:15 edoreldI'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 edoreldJust found some classes for Ubuntu...but for version 5.04 and 5.10..meh
15:17 \shedoreld: I'm working on jaunty
15:17 \shedoreld: trying to install jaunty via fai on lenny
15:18 edoreldworking as in you're stuck or as in making progress :)?
15:18 oz_\sh:always progress
15:19 \shedoreld: just the last kernel install bits and then it should be ready
15:19 oz_:)
15:19 \shmeans...kernel is installed, menu.lst is still not updated
15:20 edoreld\sh: how long u been working on it?
15:20 \shand even running it under chroot /target doesn't help
15:20 \shedoreld: hmm...actually 2days
15:20 \sh2 company working days
15:20 \shtoday is the 3rd :)
15:20 edoreldok so calculating...that will take me about 2.....3 weeks to do myself ^_^
15:21 \shedoreld: just give me a few more...and I (PROMISED THOMAS!) write a doc..(i need to write the doc anyways ;))
15:21 \shs/few/few {hours,days}/ ;)
Action: edoreld is missing a reverence emoticon to throw at \sh
15:23 oz_\sh if you run it in chroot, do you get no error message?
15:23 edoreldif you do so please let s/us/me/ know :)
15:23 \shoz_: as said...no there is no error message :)
Action: oz_ vaguely remembers to have seen this before
15:25 oz_\sh: even no complaints about device.map?
15:25 \shgrub-probe: error: Cannot open `/boot/grub/device.map'
15:25 \sh/target/usr/sbin/grub-install: line 490: [: =: unary operator expected
15:26 \shfix it and re-run the script `grub-install'.
15:26 \sh(hd0)   /dev/cciss/c0d0
15:26 \shSearching for GRUB installation directory ... found: /boot/grub
15:26 \shSearching for default file ... found: /boot/grub/default
15:26 \shTesting for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
15:26 \shSearching for splash image ... none found, skipping ...
15:26 \shbut no kernel lines inside menu.lst
15:26 oz_ /target/usr/sbin/grub-install: line 490 says what?
15:27 \sh# On XFS, sync() is not enough.
15:27 \shif [ `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 \shfi
15:28 \shdiff between debian==/bin/sh ==> /bin/bash and ubuntu == /bin/sh ==> /bin/dash
15:28 oz_gold:~# wc -l /usr/sbin/grub-install
15:28 oz_436 /usr/sbin/grub-install
15:28 Mrfaifau is only using /bin/bash
15:28 Mrfais/fau/fai/
15:29 \shoz_: correct
15:29 \shso what is bugging here
15:29 oz_\sh try to debianize you ubuntu
15:29 \shsorry...I just looked at update-grub
15:29 \shnot grub-install
15:30 oz_?
15:31 \shoz_: the wc -l on grub-install is the same as on debian ... I looked at the line 490 in update-grub
15:32 \shthe fun part...menu.lst  has the correct groot device in it...so it replaced something
15:33 oz_how many line does your grub-install have?
15:33 oz_and what's in line 490?
15:34 \sh583 and in line 490: # On XFS, sync() is not enough.
15:34 \shif [ `grub-probe -t fs ${grubdir}` = "xfs" ] ; then
Action: oz_ never saw much sense in dash
15:36 oz_can anyone tell me why ubuntu did this?
15:37 \shbecause debian will go this way, too?
15:37 \shdash is smaller and faster then bash and more POSIX compliant...something like this ...
15:37 oz_because dash is smaller?
15:37 oz_*hrmpf* at least, it was working...
15:37 \shdon't ask...I didn't understand this transition, too
15:38 oz_so, how to fix if [ `grub-probe -t fs ${grubdir}` = "xfs" ] ; then
Action: oz_ must grab coffee
15:38 \shhttps://wiki.ubuntu.com/DashAsBinSh
15:38 \shoz_: I'm calling grub-install now via $ROOTCMD and exchanged $target with / inside postinst...LHAL
15:39 oz_okay. at least I now see the sense.
15:39 oz_LHAL?
15:39 \shlets have a look
15:40 oz_ok :)
15:44 oz_\sh: maybe $rootcmd /bin/bah /usr/sbin/grub-install ? 8-)
15:53 \shoz_: trying...busy right now with something different aka 42 rules
16:48 edoreldI 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 edoreldIf 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 <path_to_tar_file> ?
16:49 \sh#!/bin/bash
16:49 \shfs=$FAI_ROOT/etc/fstab
16:49 \shUBUNTU_BASE="/var/lib/fai/config/basefiles/UBUNTU_JAUNTY.tgz"
16:49 \shgzip -dc ${UBUNTU_BASE} | tar -C $FAI_ROOT -xpf -
16:49 \sh[ -f $fs ] && mv $fs $fs.old
16:49 \shcp -ap $LOGDIR/fstab $fs
16:50 \shskiptask extrbase
16:50 \shskiptask prepareapt
16:50 \shskiptask updatebase
16:50 \shargs.
16:50 \shsorry.
aphector (aphector@static.228.33.40.188.clients.your-server.de) joined #fai.
ErKa (~keryell@APuteaux-154-1-7-163.w83-199.abo.wanadoo.fr) left irc: Ping timeout: 480 seconds
aphector (aphector@static.228.33.40.188.clients.your-server.de) left #fai.
17:22 \shedoreld: sorry..I wanted to pastebin it...but this is the snippet of my extrbase.<FAI_CLASS> for untarring jaunty chroot
17:23 edoreldNo need to worry, (As long as you can explain to me how to use ftar of course :D)
17:23 edoreldjust joking, u don't need to ^_^
17:24 \shhehe
17:43 edoreldCan 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 edoreldTried 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 edoreld$FAICONFIG/files/home/tarfile/MYCLASS
17:44 edoreldwhere 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 \shedoreld: what about /srv/fai/config/files/<CLASS>.tar.gz ; then in your script ftar -s /files -t /target
17:48 \shedoreld: what about /srv/fai/config/files/<CLASS>.tar.gz ; then in your script ftar -s /files -t /target / <-- the missing slash is important;)
17:48 \shjust a shot
17:49 edoreldisn't -s files & -t target already set up by default to those values?
17:50 edoreldand I didn't get it, do I need or not the slash :/ ?
17:50 Mrfai-s and -t is not needed. FAI does already set these
17:52 edoreldso "ftar /" would suffice?
17:52 edoreldmy 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 edoreld:)
17:57 edoreldahrg no time!
17:57 edoreldwill see 2morrow :/
edoreld (~Adium@p57A09C73.dip0.t-ipconnect.de) left irc: Quit: Leaving.
18:08 \shdamn...
18:08 \shthis update-grub doesn't work
18:09 oz_\sh: does it run with bash?
18:10 \shoz_: nope...same result
18:11 \shroot@host:/# /usr/sbin/grub-install --no-floppy --root-directory= /dev/cciss/c0d0  
18:11 \shCould not find device for /boot: Not found or not a block device.
18:12 \shbut this looks totally wrong
18:13 oz_\sh: how did you switch to bash?
18:13 \shbash -l
18:13 \shI'm in chroot /target now
18:13 \shupdate-grub is #!/bin/bash btw...as I see now
18:14 \shbut grub-install fcks me now...
18:14 oz_\sh: maybe you should change /bin/sh in grub-install or change the /bin/sb symlink on the install host?
18:14 \shoz_: changed /bin/sh now to /bin/bash same error for grub-install
18:15 oz_hm.
Action: oz_ is trying to remember...
18:16 \shhttp://www.eyrie.org/~eagle/journal/2008-06/004.html could be one solution
18:18 \shargl
18:18 Mrfaithaht's why I prefer Debian
18:18 oz_<sapperlot>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.</sapperlot>
18:19 \shargl
18:19 \shthat's it
18:19 oz_Mrfai: that's why serios ppl prefer Debian.
Action: mgoetze is very serious ;)
18:20 oz_mgoetze: so, you prefer debian? :)
18:20 \shoz_: 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 mgoetzei'm so serious i've never installed ubuntu anywhere
18:21 mgoetze\sh: special wishes as in new software versions?
18:21 \shmgoetze: correct.
18:21 mgoetze\sh: backports.org, or backport them yourself
18:22 \shmgoetze: 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 mgoetzei don't know about canonical, but based on my work experience with RHEL... community support is better than commercial support
18:23 \shmgoetze: I was working for RHAT...so this is a no go :=
18:23 mgoetzeheh
18:25 \shthe same goes for SuSE Enterprise...I installed that in my past...working for combots and installing sles9 via FAI...a shame ;)
18:26 mgoetzethe 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 \shmgoetze: you mean: update via CD/DVD and Yast? ,->
18:27 mgoetzei mean rug, zypper, whatever...
18:28 mgoetzeYaST and SuSEconfig are so horrible i don't want to talk about them ;)
18:28 \shhehe
18:29 \shI'm wondering if there is a way to trick update-grub+ucf somehow
18:39 Mrfaimaybe #239674 #226708 in launchpad will help
18:47 \shMrfai: I think I have as well another problem ... /var/run/grub/menu.lst.ucf-dist
18:47 \shlooks wrong to me
18:50 Mrfai http://www.eyrie.org/~eagle/journal/2008-06/004.html tells somethings about ucf --purge
18:54 \shyess...but it looks like that ucf is not dpkg --configured properly...because of the ucf-dist extention
18:55 \shah dump all that cra
18:55 \shp
18:55 \shI'll write a new postinst for menu.lst and do my own thing...
18:56 \shdump that too...I#ll put the whole logic inside scripts/GRUB/10-setup
18:58 Mrfaithen you should divert update-grub, so that no programm can all it
18:58 Mrfaior make it a noop
19:00 \shMrfai: 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 \shit's only during softupdate when I need to source $target/var/log/fai/disk_var.sh
19:03 Mrfaiyep. IN fai all variables are exported autom.
Mrfai (~lange@suenner.informatik.uni-koeln.de) left irc: Quit: leaving
edoreld (~Adium@dslb-088-074-210-097.pools.arcor-ip.net) joined #fai.
edoreld (~Adium@dslb-088-074-210-097.pools.arcor-ip.net) left irc:
--- Tue Jun 9 2009

Generated by irclog2html.pl 2.1_h01ger1 by Jeff Waugh - find it at freshmeat.net! Customized by Holger 'h01ger' Levsen