| mfl_ (~mfl@adonis.fnb.maschinenbau.tu-darmstadt.de) joined #fai. |
| mfl (~mfl@adonis.fnb.maschinenbau.tu-darmstadt.de) left irc: Read error: No route to host |
| 04:57 \sh | moins |
| 04:58 mgoetze | jetzt schon? |
| 05:00 \sh | jo |
| 05:00 \sh | konnt nich pennen ;) |
| 05:01 \sh | wohl gestern noch zuviel gecoded |
| 05:01 \sh | und jetzt steht noch ein update von zend-framework for ubuntu an...grmpf |
| 05:01 mgoetze | ieh zend |
| Action: mgoetze geht jetzt erstmal inne vorlesung |
| 05:02 \sh | jetzt schon? :) |
| 05:02 mgoetze | tja seitdem ich wieder studiere ist das leben hart |
| 05:02 mgoetze | als ich vollzeit gearbeitet habe musste ich vor 11 meistens nichts machen :( |
| 05:03 \sh | hehe :) |
| ErKa (keryell@m6.wifi.enstb.org) joined #fai. |
| kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) joined #fai. |
| 07:13 telmich | moin moin |
| allstars (~oscar@newcolo.all-stars.nl) joined #fai. |
| 07:16 allstars | jaunty fai continued... |
| 07:17 allstars | Hi, i managed to run fai-setup without erros on jaunty |
| 07:17 allstars | the problem with udevinfo: change to udevadm on a proper place in the make-nfsroot script. |
| 07:18 allstars | then I copied (rsync -a) the nfsroot and config to our kickstart server |
| 07:18 allstars | everything goes well except for grub, the shell.log says: |
| 07:18 allstars | grub-probe: error: Cannot open `/boot/grub/device.map' |
| 07:19 allstars | dpkg-query: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory |
| 07:19 allstars | chroot: cannot run command `/usr/sbin/update-grub': No such file or directory |
| 07:19 allstars | I'm not a grub specialist, someone knows what's going on here? |
| 07:20 allstars | whene I reboot the just install fai-client I get the grub> prompt. |
| mancz (~mancz@atom.nerds-online.nl) joined #fai. |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. |
| Rattlesnake (~421Bomber@dyn-dosen-074.foo.fh-furtwangen.de) joined #fai. |
| uchimata_ (~uchimata@i3ED6C5E0.versanet.de) joined #fai. |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. |
| uchimata (~uchimata@i3ED6C11E.versanet.de) left irc: Ping timeout: 480 seconds |
| sep_ (~sep@93.94.9.3) joined #fai. |
| 07:50 allstars | for the just joined: |
| 07:50 allstars | jaunty fai continued... |
| 07:50 allstars | Hi, i managed to run fai-setup without erros on jaunty |
| 07:50 allstars | the problem with udevinfo: change to udevadm on a proper place in the make-nfsroot script. |
| 07:51 allstars | then I copied (rsync -a) the nfsroot and config to our kickstart server |
| 07:51 allstars | everything goes well except for grub, the shell.log says: |
| 07:51 allstars | grub-probe: error: Cannot open `/boot/grub/device.map' |
| 07:51 allstars | dpkg-query: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory |
| 07:51 allstars | chroot: cannot run command `/usr/sbin/update-grub': No such file or directory |
| 07:51 allstars | I'm not a grub specialist, someone knows what's going on here? |
| 07:51 allstars | when I reboot the just install fai-client I get the grub> prompt. |
| 07:52 oz_ | allstars: when you list /boot on the client, is the a vmlinuz* file? (a kernel?) |
| 07:53 allstars | nope, ls /boot : |
| 07:53 allstars | System.map-2.6.28-11-server config-2.6.28-11-server memtest86+.bin vmlinuz-2.6.28-11-server |
| 07:53 allstars | abi-2.6.28-11-server initrd.img-2.6.28-11-server vmcoreinfo-2.6.28-11-server |
| 07:53 allstars | sorry, yes :) |
| 07:53 oz_ | allstars: allstars : there is no 'grub' dir? |
| 07:54 allstars | no, seemed strange to me to... |
| 07:54 oz_ | allstars: did you do a "fai-setup"? |
| 07:55 Mrfai | have a look at: http://faiwiki.informatik.uni-koeln.de/index.php/FAIUbuntuGrubProblems |
| 07:55 allstars | Yep, as I said in my first lines |
| 07:58 oz_ | hm. could be that this problem is a bit different...grub seems to to be installed on the host. |
| 08:01 Mrfai | allstars: your are rsyncing the nfsroot to another server. Then you get the cannot open error. I guess this is not the error message from rsync. |
| tempel (~mettler@dsl-62-220-14-162.berlikomm.net) joined #fai. |
| 08:01 tempel | hai |
| 08:01 allstars | No, the error is in the shell.log (from the fai install) |
| 08:02 Mrfai | allstars: put your fai.log and shell.log onto paste.debian.net |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. |
| 08:03 allstars | ok, just a moment to find out how. And I put set -x in the grub script so you have a bit more output.. |
| edoreld (~Adium@p57A09CEA.dip0.t-ipconnect.de) joined #fai. |
| 08:07 stockholm | Mrfai: when creating the nfsroot with the current version from the köln repository it fails because it does not mount /sys (not sure if it mounts proc, but it needs both) |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. |
| 08:13 stockholm | for udev |
| 08:14 Mrfai | stockholm: please show me a log file. It works perfectly for me and others. |
| 08:14 stockholm | will do |
| 08:15 stockholm | i am setting up a new fai server in the near future |
| 08:16 allstars | Mrfai: pasting done |
| 08:16 Mrfai | which url? |
| 08:19 allstars | sorry: 38865, 38866 and http://paste.debian.net/38867 |
| 08:23 Mrfai | allstars: you are using a very old version of FAI. Try with 3.2.20. Ask \sh because he had successfully installed ubuntu with FAI. |
| 08:23 \sh | not right successfullly...I just got some problems with /etc/init.d/mountkernfs.sh after initramfs |
| 08:23 \sh | but most of the job is done |
| 08:25 \sh | I wonder if anyone saw something similar: after initramfs finished it starts /etc/init.d/mountkernfs.sh (mounting /var/run, /var/lock as tmpfs |
| 08:25 \sh | adn this is failing for some unknown reason |
| 08:25 allstars | Mrfai: I installed fai on jaunty with apt-get install fai-quickstart |
| 08:26 allstars | Is there a better way? |
| 08:27 \sh | allstars: fai on ubuntu is broken :) |
| 08:28 \sh | until I find the time to fix it...which will be done during this cycle and next |
| 08:29 \sh | allstars: use debian lenny + all non-free firmware packages + fai from the koeln repository which you can find on http://www.informatik.uni-koeln.de/fai and use that to install jaunty server/desktops |
| 08:30 allstars | yep, thx, saw it already. Come back when tried 3.2.20. |
| 08:30 \sh | lazyb0y: I wanted to ask you if you saw that issue when you do ubuntu installs via fai... |
| 08:31 \sh | oh noes |
| 08:32 \sh | I'm such a fart |
| 08:33 oz_ | ? :-) |
| sep_ (sep@93.94.9.3) left #fai (Leaving). |
| 08:38 allstars | BTW: it all works nice on hardy.. |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. |
| 08:39 \sh | ROOT_FS == / and / needs /var/run and /var/lock ... and I doedel forget that part |
| 08:42 \sh | this I did in the past for sles, too...but I had to skiptask mountdisk and had to do all the formatting and mounting by myself (because of setup_harddisk couldn't deal with EIT/GPT labels)...now we have setup_storage and this works out of the box...so I need to hook task mountdisk and mount / create /var/run and /var/lock and unmount it, to let standard task mountdisk do its job |
| 08:42 \sh | oh I need to bang my head really hard on my desk...*bangbangbang |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. |
| 08:52 \sh | Mrfai: tell me, where did you define mount2dir? |
| 08:57 \sh | http://www.mail-archive.com/linux-fai-devel@uni-koeln.de/msg00116.html waere eine loesung |
| 09:02 \sh | vergiss es :) ich habs :) |
| 09:25 stockholm | Mrfai: http://paste.debian.net/38870/ |
| 09:25 stockholm | Mrfai: # |
| 09:25 stockholm | udev requires a mounted sysfs, not started. ^[[31mfailed!^[[39;49m |
| Rattlesnake (~421Bomber@dyn-dosen-074.foo.fh-furtwangen.de) left irc: |
| 09:38 stockholm | it works with this fix: |
| 09:38 stockholm | mount sys $NFSROOT/sys -t sysfs |
| 09:38 stockholm | in upgrade_nfsroot |
| 09:39 stockholm | trivial fix |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. |
| 09:42 \sh | and it looks like that my ubuntu installation now works... |
| 09:51 \sh | Mrfai: btw...new slogan for FAI: The Installation and Deployment Framework for SysAdmins Pro++ ;) |
| 10:03 stockholm | how does a config file for tftp look like with lennies inetd? |
| 10:03 stockholm | inetutils-inetd |
| 10:03 stockholm | and |
| 10:05 stockholm | tftpd-hpa |
| 10:05 \sh | stockholm: if you are using tftpd-hpa you should start it as standalone service, not via inetd |
| 10:06 stockholm | \sh: oh? why? i always started it via inetd |
| 10:06 \sh | stockholm: I had the problem when too many installation clients were hitting tftpd inetd closed the tftp port |
| 10:07 \sh | using it as standalone fixed it |
| 10:07 stockholm | ah |
| 10:07 Mrfai | stockholm: it would be nice if you copuld write a bug report for this |
| 10:07 stockholm | Mrfai: i can do that |
| 10:07 \sh | so I remove the service from inetd and set /etc/default/tftpd-hpa RUN_DAEMON="yes' |
| 10:08 stockholm | \sh: and how did you configure the demon? |
| 10:08 Mrfai | \sh inetd has a maximum number of connections per minute. default to 256. |
| 10:09 Mrfai | you can change it with wait.800 or nowait.900 or similar |
| 10:09 stockholm | yes, the standard "DoS" protection |
| 10:09 \sh | stockholm: plain tftpd-hpa from debian has a default file under /etc/default... just say RUN_DAEMON="yes" and set the tftpd opts below that line |
| ErKa (keryell@m6.wifi.enstb.org) left irc: Ping timeout: 480 seconds |
| 10:13 stockholm | \sh: i dont see a daemon |
| 10:13 stockholm | RUN_DAEMON="yes" |
| 10:13 stockholm | OPTIONS="-l -s /srv/tftp/fai/" |
| 10:14 \sh | then restart inetd with removed tftp service (openbsd-inetd) and /etc/init.d/tftp-hpa start |
| 10:15 \sh | /etc/init.d/tftpd-hpa start is more correct |
| 10:15 \sh | debian-lenny-fai:/usr/lib/fai# ps -ef|grep tftp |
| 10:15 \sh | root 2830 1 0 09:30 ? 00:00:00 /usr/sbin/in.tftpd -l -s /srv/fai/tftp |
| 10:17 stockholm | got it |
| 10:17 \sh | hmm...somehow my debconf settings are not applied...let's see if my fix works now...booting works now like a charm |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving |
| Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai. |
| ErKa (keryell@m6.wifi.enstb.org) joined #fai. |
| mancz (mancz@atom.nerds-online.nl) left #fai. |
| 11:26 \sh | Mrfai: there is a strange problem with fai-debconf |
| 11:27 \sh | Mrfai: when I call fai-debconf $FAI/debconf inside a script/<CLASS>/10-debconf e.g. it tells me, that it tries to debconf the packages and tries to reconfigure them...but in the end, the changes are not inside the /target |
| 11:27 \sh | Mrfai: when I do that manually from the console of the installation client...it works |
| 11:28 \sh | ah stop..now it make sens |
| 11:30 oz_ | :-) |
| 11:31 \sh | ah no |
| 11:31 \sh | the debconf settings are in, but e.g. for console-setup it doesn |
| 11:32 \sh | 't execute console-setup.postinst somehow...so all my console setups are still US english |
| tempel (~mettler@dsl-62-220-14-162.berlikomm.net) left irc: Quit: leaving |
| 11:33 oz_ | \sh: try to get the setting from a 'fresh' host... |
| 11:34 oz_ | I was fiddling around with keyboard setting also a long time |
| 11:34 \sh | oz_: I have...but they are not applied ... and I think I know why...lemme try |
| 11:34 oz_ | getting correct debconfdata fixed this issue |
| 11:35 \sh | debconf-utils (where debconf-get-selections sits) is not installed as essential in ubuntu....therefore fai-debconf fails (it uses it inside the chroot) |
| 11:36 oz_ | whut? |
| 11:36 \sh | reconfigure_packages() { |
| 11:36 \sh | local packages p tmpdb |
| 11:36 \sh | [ -s $LOGDIR/debconf.data ] || return # nothing to do if is size 0 or missing |
| 11:36 \sh | if [ -r $LOGDIR/debconf.old ] ; then |
| 11:36 \sh | $ROOTCMD debconf-get-selections > $LOGDIR/debconf.new |
| 11:37 \sh | and debconf-get-selections is not installed by default in ubuntu...I wonder if it's installed by default in debian |
| 11:37 \sh | (the package debconf-utils is not installed by default in ubuntu, where debconf-get-selections is part of) |
| 11:41 \sh | http://faiwiki.informatik.uni-koeln.de/index.php/FAIUbuntuAndVarRunVarLockProblem |
| 11:53 \sh | I hope this workaround help people installing ubuntu with fai ;) |
| 11:53 \sh | it looks evil, and yes it is, but it works :) |
| 11:54 \sh | until we patch setup-storage ;) |
| 11:56 Mrfai | \sh: the patch for lock and run is already included in mount2disk in a slightly different way |
| 11:57 \sh | in a newer version? |
| 11:57 Mrfai | sorry, in the same way |
| 11:57 Mrfai | it was added in 3.2.18 |
| 11:58 \sh | argl..I should sync the deb sources for make-fai-nfsroot ... don't use two different version |
| 12:00 Mrfai | you should sync all FAI sources, not only make-fia-nfsroot |
| 12:00 \sh | yes...I see now my problem... |
| 12:06 oz_ | \sh: what would be you rrecommended docu if one wanted to start with FAI and jaunty? |
| Action: oz_ would be willing to test |
| 12:07 \sh | oz_: actually the multidistro-fai documentation is enough to get started... you need to change some things...but the way is the same |
| 12:09 \sh | ok...the debconf settings are applied correctly now..but /etc/default/console-setup is not correctly generated |
| 12:11 \sh | if "dpkg-reconfigure -f noninteractive console-setup" ran afterwards, everything is back to US english |
| 12:11 \sh | even the debconf stuff |
| 12:13 lazyb0y | \sh: hmm, don't know what issue - ot imte to check now - please write mail... |
| 12:13 lazyb0y | \sh: I wanted to say: "not time to check" now ;) |
| 12:14 \sh | lazyb0y: forget everything solved. |
| 12:22 \sh | did I say, that I hate totally borked postinst scripts? |
| allstars (~oscar@newcolo.all-stars.nl) left irc: Quit: leaving |
| 12:48 \sh | Mrfai: I just had a talk with Colin Watson about a special problem ;) could be interesting for everybody, though |
| 12:48 \sh | quote: |
| 12:48 \sh | 14:40 < \sh> cjwatson: hmmm...if I change on an installed ubuntu system some new debconf db entries for console-setup, and do a dpkg-reconfigure -f noninteractive console-setup, /etc/default/console-setup is not properly regenerated with the new debconf values |
| 12:48 \sh | 14:41 < cjwatson> the canonical source for configuration is the filesystem, not debconf |
| 12:48 \sh | 14:41 < cjwatson> if they differ the filesystem wins |
| 12:49 \sh | regarding packages like console-setup this could be a tricky task debconf ;) |
| 12:50 oz_ | bloody. |
| 12:51 \sh | well... |
| 12:52 \sh | the fun part: console-setup is installed somehow in the debootstrap (IMHO) with default values like "kbmodel=us" |
| 12:52 \sh | now I changed the debconf values to be "de" |
| 12:53 \sh | dpkg-reconfigure -f noninteractive console-setup (or what fai-debconf does) doesn't recreated the /etc/default/console-setup file, but is reading it, and grepping through the vars and takes the old values and rewrites the new file with old values, not from debconf |
| 12:53 \sh | therefore, the debconf always fails |
| 12:53 \sh | better "the debconf way always fails" |
| 12:53 Mrfai | \sh: maybe ucf wins, not debconf. Same problem as with grub? |
| 12:54 \sh | deleting /etc/default/console-setup and dpkg-reconfigure console-setup ... then it creates a complete new one, and uses the debconf values |
| 12:54 \sh | Mrfai: console-setup is not under ucf it seems |
| 12:55 \sh | yeah..it's not ucf managed |
| 12:55 \sh | Mrfai: you can check console-setup.postinst and you see the problem...or much better set -x after set -e |
| Mrfai (~lange@suenner.informatik.uni-koeln.de) left irc: Ping timeout: 480 seconds |
| Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai. |
| incognitu (incognitu@nettuning.nl) joined #fai. |
| 13:44 incognitu | guys is there any documentation about setting up a custom kernel in fai |
| 13:45 incognitu | for deployment |
| 13:57 edoreld | x |
| 13:57 edoreld | sorry, wrong text box... |
| 14:11 Mrfai | incognitu: use make-kpkg for building a package containing your custom kernel. Then create a local package repository and add this to sources.list |
| 14:12 incognitu | thx |
| 14:12 incognitu | hard to do? |
| 14:14 oz_ | http://www.debian.org/doc/FAQ/ch-kernel.en.html |
| 14:14 oz_ | this question is not FAI specific, btw |
| 14:15 incognitu | ty |
| 14:36 incognitu | i make-kpkg the kernel and tried dpkg -i <kernelimage> on diff machine |
| 14:36 incognitu | does that machine needs the same configuration? |
| Mrfai (~lange@suenner.informatik.uni-koeln.de) left irc: Quit: leaving |
| teratoma (~teratoma@i.dont.get.mad.i.get.stabby.net) joined #fai. |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. |
| edoreld (~Adium@p57A09CEA.dip0.t-ipconnect.de) left irc: Quit: Leaving. |
| simNIX (~simNIX@156-60.bbned.dsl.internl.net) left irc: Quit: Ik ga weg |
| hasenhirn (~Bastian@dyn-dosen-006.foo.fh-furtwangen.de) joined #fai. |
| hasenhirn (Bastian@dyn-dosen-006.foo.fh-furtwangen.de) left #fai. |
| kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) left irc: Quit: Verlassend |
| uchimata (~uchimata@i3ED6DBE1.versanet.de) joined #fai. |
| uchimata_ (~uchimata@i3ED6C5E0.versanet.de) left irc: Ping timeout: 480 seconds |
| Nic0 (~courtel@fw.tls.cena.fr) left irc: Quit: Leaving. |
| ErKa (keryell@m6.wifi.enstb.org) left irc: Ping timeout: 480 seconds |
| teratoma (~teratoma@i.dont.get.mad.i.get.stabby.net) left irc: Quit: leaving |
| darkness (~darkness@p5B24EDE0.dip.t-dialin.net) joined #fai. |
| darkness (~darkness@p5B24EDE0.dip.t-dialin.net) left irc: |
| derrell (~derrell@dsl092-075-243.bos1.dsl.speakeasy.net) joined #fai. |
| 20:10 derrell | Hi all. I'm using 3.2.17 in Lenny. I discovered a bug similar to one reported where vol_id -u returns no UUID on a swap device. In the old report, it was due to needing to run "mdadm --zero-superblock <device>". In my case, the device had never been part of a raid array. I solved the problem with "mke2fs <device>" followed by "mkswap <device>". |
| 20:15 derrell | A subsequent run of an FAI install completed the partitioning. |
| 20:16 derrell | There was talk of adding the zero-superblock to setup_storage. I also adding mke2fs for swap devices makes sense? |
| 20:16 derrell | It'd be better to know why mkswap doesn't properly clear things out as it should... |
| 20:17 derrell | s/I also/I wonder if/ |
| --- Sat Jun 13 2009 |