| 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 telmich | guten 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 stockhol1 | moin! |
| Nick change: stockhol1 -> stockholm |
| 11:22 telmich | narf |
| 11:23 telmich | raid0 mit setup-storage schlägt hier fehl |
| 11:23 telmich | mdmadm 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 telmich | argh, das ist bekannt: http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg593675.html |
| 11:26 Mrfai | AFAIK geht sparse und missing nicht mit raid0 |
| 11:26 Mrfai | probiers mal ohne |
| 11:26 telmich | ja, ohne geht es |
| 11:27 telmich | setup-storage macht halt aus "raid0 /local disk1.3,disk2.3 xfs rw" |
| 11:27 telmich | dann nachher --spare-devices 0 |
| 11:40 \sh | mahlzeit |
| 11:41 telmich | huch, laut http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508192 sollte es den bug nicht mehr geben |
| 11:41 telmich | ahh, 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 telmich | not a perl guru - but from general coding: there should be none |
| 11:49 Mrfai | scalar and array context. For futher info ask your perl books |
| 11:49 oz_ | thx, was just enuff info already :) |
| 11:51 telmich | hmm, wenn volume groups vorhanden sind, schlägt die installation immer noch fehl |
| 11:53 telmich | Unexpected vgdisplay output: (und dann die vg infos) |
| 11:53 telmich | was 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 \sh | woosaaahhh...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 telmich | Mrfai: was ist das normale verhalten von fai, wenn es VGs findet? |
| 13:36 telmich | beim setup-storage; sollte es dann einen fehler bringen? imho sollte es die ausgabe einfach ignorieren |
| 13:43 Mrfai | telmich: 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 \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 mgoetze | the way of installing? you mean whether to use apt-get or aptitude? |
| 14:18 \sh | no..in what order... |
| 14:19 Mrfai | 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 Mrfai | 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 |
| drewr (drew@adsl-065-013-142-013.sip.bna.bellsouth.net) left #fai (ERC Version 5.2 (IRC client for Emacs)). |
| 14:22 Mrfai | I never had this problem with AMD64 and grub |
| 14:23 mgoetze | hm |
| 14:23 mgoetze | @commands = qw/y2i y2r yast rpmr urpmi urpme yumgroup yumi yumr smarti smartr hold taskrm ta |
| 14:23 mgoetze | skinst clean-internal aptitude aptitude-r install unpack remove dselect-upgrade/; |
| 14:23 Mrfai | but it should install linux-image-server and grub in the same run. Check MAXPACKAGES, maybe it was set to 1 |
| 14:23 mgoetze | 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 Mrfai | yep |
| 14:24 mgoetze | 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 Mrfai | \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 Mrfai | IMO it looks good. |
| 14:33 hrist | except for /usr/sbin/grub-install: line 374: [: =: unary operator expected |
| 14:33 hrist | in shell.log |
| 14:33 Mrfai | this is a known bug. Just ignore it |
| 14:34 hrist | I found your bugreports :) |
| 14:34 hrist | 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 oz_ | \sh: keren is installed? |
| 14:42 oz_ | kernel, even |
| 14:42 \sh | oz_: yepp |
| 14:44 oz_ | shell.log, does it comment on that? |
| 14:45 \sh | just redoing an install try...give me 1 min ;) |
| 14:46 Mrfai | 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 Mrfai | 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 oz_ | \sh: try to run update-grub manually directly after installation |
| nik0la_ (~nik0la@admin.objectifgroove.com) joined #fai. |
| 14:49 \sh | oz_: just trying..and no it's not done correctly |
| 14:49 nik0la_ | hello |
| 14:49 Mrfai | 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 oz_ | \sh: thought so...what's the error there? |
| 14:51 \sh | oz_: no error at all :) |
| 14:51 \sh | anyways..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 Mrfai | do never use -r with fai-setup or make-fai-nfsroot. |
| 14:54 Mrfai | read 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 Mrfai | you're welcome |
| 15:03 nik0la_ | ^^ |
| 15:15 edoreld | 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 edoreld | 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 edoreld | working as in you're stuck or as in making progress :)? |
| 15:18 oz_ | \sh:always progress |
| 15:19 \sh | edoreld: just the last kernel install bits and then it should be ready |
| 15:19 oz_ | :) |
| 15:19 \sh | means...kernel is installed, menu.lst is still not updated |
| 15:20 edoreld | \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 edoreld | 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}/ ;) |
| 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 edoreld | if you do so please let s/us/me/ know :) |
| 15:23 \sh | oz_: 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 \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 oz_ | /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 oz_ | gold:~# wc -l /usr/sbin/grub-install |
| 15:28 oz_ | 436 /usr/sbin/grub-install |
| 15:28 Mrfai | fau is only using /bin/bash |
| 15:28 Mrfai | s/fau/fai/ |
| 15:29 \sh | oz_: correct |
| 15:29 \sh | so what is bugging here |
| 15:29 oz_ | \sh try to debianize you ubuntu |
| 15:29 \sh | sorry...I just looked at update-grub |
| 15:29 \sh | not grub-install |
| 15:30 oz_ | ? |
| 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 oz_ | how many line does your grub-install have? |
| 15:33 oz_ | 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 |
| Action: oz_ never saw much sense in dash |
| 15:36 oz_ | 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 oz_ | because dash is smaller? |
| 15:37 oz_ | *hrmpf* at least, it was working... |
| 15:37 \sh | don'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 \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 oz_ | okay. at least I now see the sense. |
| 15:39 oz_ | LHAL? |
| 15:39 \sh | lets have a look |
| 15:40 oz_ | ok :) |
| 15:44 oz_ | \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 edoreld | 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 edoreld | 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 <path_to_tar_file> ? |
| 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. |
| 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 \sh | edoreld: sorry..I wanted to pastebin it...but this is the snippet of my extrbase.<FAI_CLASS> for untarring jaunty chroot |
| 17:23 edoreld | No need to worry, (As long as you can explain to me how to use ftar of course :D) |
| 17:23 edoreld | just joking, u don't need to ^_^ |
| 17:24 \sh | hehe |
| 17:43 edoreld | 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 edoreld | 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 edoreld | $FAICONFIG/files/home/tarfile/MYCLASS |
| 17:44 edoreld | 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/<CLASS>.tar.gz ; then in your script ftar -s /files -t /target |
| 17:48 \sh | edoreld: 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 \sh | just a shot |
| 17:49 edoreld | isn't -s files & -t target already set up by default to those values? |
| 17:50 edoreld | and 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 edoreld | so "ftar /" would suffice? |
| 17:52 edoreld | 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 edoreld | :) |
| 17:57 edoreld | ahrg no time! |
| 17:57 edoreld | will see 2morrow :/ |
| 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 oz_ | \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 oz_ | \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 oz_ | \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 oz_ | hm. |
| 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 Mrfai | thaht'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 \sh | argl |
| 18:19 \sh | that'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 \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 mgoetze | i'm so serious i've never installed ubuntu anywhere |
| 18:21 mgoetze | \sh: special wishes as in new software versions? |
| 18:21 \sh | mgoetze: correct. |
| 18:21 mgoetze | \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 mgoetze | 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 mgoetze | 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 mgoetze | 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 mgoetze | i mean rug, zypper, whatever... |
| 18:28 mgoetze | 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 Mrfai | 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 Mrfai | 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 Mrfai | then you should divert update-grub, so that no programm can all it |
| 18:58 Mrfai | 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 Mrfai | yep. 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 |